fix indent (#183)

This commit is contained in:
Leigh Scott 2017-08-26 16:35:45 +01:00 committed by Clement Lefebvre
parent a082473a66
commit ce675497d1
12 changed files with 23 additions and 29 deletions

View File

@ -3,4 +3,3 @@
import compileall import compileall
compileall.compile_dir(".", force=1) compileall.compile_dir(".", force=1)

View File

@ -702,7 +702,7 @@ class MenuWin( object ):
def showPreferences( self, action, userdata = None ): def showPreferences( self, action, userdata = None ):
# Execute( "mateconf-editor /apps/mintMenu" ) # Execute( "mateconf-editor /apps/mintMenu" )
Execute( os.path.join( PATH, "mintMenuConfig.py" ) ) Execute( os.path.join( PATH, "mintMenuConfig.py" ) )
def showMenuEditor( self, action, userdata = None ): def showMenuEditor( self, action, userdata = None ):
@ -826,4 +826,3 @@ def quit_all(widget):
MatePanelApplet.Applet.factory_main("MintMenuAppletFactory", True, MatePanelApplet.Applet.factory_main("MintMenuAppletFactory", True,
MatePanelApplet.Applet.__gtype__, MatePanelApplet.Applet.__gtype__,
applet_factory, None) applet_factory, None)

View File

@ -515,7 +515,7 @@ class mintMenuConfig( object ):
self.systemHeightButton.set_sensitive(False) self.systemHeightButton.set_sensitive(False)
def updatePlacesGSettings(self, treemodel, path, iter = None, new_order = None): def updatePlacesGSettings(self, treemodel, path, iter = None, new_order = None):
# Do only if not partway though an append operation; Append = insert+change+change and each creates a signal # Do only if not partway though an append operation; Append = insert+change+change and each creates a signal
if ((iter == None) or (self.customplacestreemodel.get_value(iter, 1) != None)): if ((iter == None) or (self.customplacestreemodel.get_value(iter, 1) != None)):
treeiter = self.customplacestreemodel.get_iter_first() treeiter = self.customplacestreemodel.get_iter_first()
customplacenames = [ ] customplacenames = [ ]

View File

@ -90,5 +90,3 @@ class EasyGSettings:
setattr( obj, varName, settings.get_boolean(key) ) setattr( obj, varName, settings.get_boolean(key) )
else: else:
setattr( obj, varName, settings.get_value(key) ) setattr( obj, varName, settings.get_value(key) )

View File

@ -44,4 +44,3 @@ def Execute( cmd , commandCwd=None):
except Exception, detail: except Exception, detail:
print detail print detail
return False return False

View File

@ -70,4 +70,3 @@ class PointerMonitor(GObject.GObject, threading.Thread):
self.running = False self.running = False
self.root.ungrab_button(X.AnyButton, X.AnyModifier) self.root.ungrab_button(X.AnyButton, X.AnyModifier)
self.display.close() self.display.close()