Subversion Repositories basico

Rev

Rev 377 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 377 Rev 387
Line 77... Line 77...
77
        # Show the splash screen
77
        # Show the splash screen
78
        self.window.show_all()
78
        self.window.show_all()
79
        # Without this ugly one-liner, the window won't show
79
        # Without this ugly one-liner, the window won't show
80
        while Gtk.events_pending():
80
        while Gtk.events_pending():
81
            Gtk.main_iteration()
81
            Gtk.main_iteration()
82
        self.log.debug("Show the splash screen")
-
 
-
 
82
        # ~ self.log.debug("Show the splash screen")
83
83
84
84
85
    def prep_hex_color(self, hex_color):
85
    def prep_hex_color(self, hex_color):
86
        hex_color = hex_color.strip('#')
86
        hex_color = hex_color.strip('#')
87
        # Fill up with last character until length is 6 characters
87
        # Fill up with last character until length is 6 characters
Line 111... Line 111...
111
        self.log.debug("Show the splash screen")
111
        self.log.debug("Show the splash screen")
112
112
113
113
114
    def hide(self):
114
    def hide(self):
115
        self.window.hide()
115
        self.window.hide()
116
        self.log.debug("Hide the splash screen")
-
 
-
 
116
        # ~ self.log.debug("Hide the splash screen")
117
117
118
118
119
    def destroy(self):
119
    def destroy(self):
120
        while Gtk.events_pending(): Gtk.main_iteration()
120
        while Gtk.events_pending(): Gtk.main_iteration()
121
        self.window.destroy()
121
        self.window.destroy()
122
        self.log.debug("Hide the splash screen")
-
 
-
 
122
        # ~ self.log.debug("Hide the splash screen")