fix errors

This commit is contained in:
leigh123linux 2016-09-06 22:07:46 +01:00
parent acf692a95e
commit a1d5e35535
2 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ class MainWindow( object ):
self.paneholder.pack_start( ImageBox, False, False, 0 )
self.paneholder.pack_start( PluginPane, False, False, 0 )
self.tooltipsEnable( False ))
self.tooltipsEnable( False )
def loadTheme( self ):
self.SetPaneColors( self.panesToColor )

View File

@ -1397,7 +1397,7 @@ class pluginclass( object ):
self.favorites.append( favButton )
self.favoritesPositionOnGrid( favButton )
favButton.connect( "drag-data-received", self.onFavButtonDragReorder )
favButton.drag_dest_set( Gtk.DestDefaults.MOTION | Gtk.DestDefaults.HIGHLIGHT | Gtk.DestDefaults.DROP, self.toFav, Gdk.DragAction.COPY
favButton.drag_dest_set( Gtk.DestDefaults.MOTION | Gtk.DestDefaults.HIGHLIGHT | Gtk.DestDefaults.DROP, self.toFav, Gdk.DragAction.COPY )
favButton.connect( "drag-data-get", self.onFavButtonDragReorderGet )
favButton.drag_source_set ( Gdk.ModifierType.BUTTON1_MASK, self.toFav, Gdk.DragAction.COPY )
position += 1