Example #1
0
    def theme_callback(self, widget):
        '''Theme button callback.'''
        skin_window = SkinWindow(self.skin_preview_pixbuf)
        skin_window.show_all()
        skin_window.connect("show", lambda w: place_center(self.window, w))

        return False
Example #2
0
    def theme_callback(self, widget):
        """
        Invoked when the theme button is clicked.
        
        @param widget: Not used.
        @return: Always return False
        """
        skin_window = SkinWindow(self.skin_preview_pixbuf)
        skin_window.show_all()
        skin_window.connect("show", lambda w: place_center(self.window, w))

        return False