diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index ee02bd0..901984d 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -586,7 +586,7 @@ class pluginclass( object ): def buildButtonList( self ): if self.buildingButtonList: self.stopBuildingButtonList = True - gobject.timeout_add( 100, self.buildButtonList ) + GObject.timeout_add( 100, self.buildButtonList ) return self.stopBuildingButtonList = False @@ -1579,9 +1579,9 @@ class pluginclass( object ): def menuChanged( self, x, y ): # wait some miliseconds because there a multiple events send at the same time and we don't want to rebuild the menu for each if self.menuChangedTimer: - Gobject.source_remove( self.menuChangedTimer ) + GObject.source_remove( self.menuChangedTimer ) - self.menuChangedTimer = Gobject.timeout_add( 100, self.updateBoxes, True ) + self.menuChangedTimer = GObject.timeout_add( 100, self.updateBoxes, True ) def updateBoxes( self, menu_has_changed ): # FIXME: This is really bad! diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index e4229b3..03830e9 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -392,7 +392,7 @@ class ApplicationLauncher( easyButton ): icon = self.getIcon( Gtk.IconSize.DND ) if icon: - self.drag_source_set_icon_pixbuf( icon ) + gtk.gtk_drag_source_set_icon_pixbuf( hash(self), hash(icon) ) del icon def startupFileChanged( self, *args ):