fix indent (#183)
This commit is contained in:
parent
a082473a66
commit
ce675497d1
@ -3,4 +3,3 @@
|
|||||||
import compileall
|
import compileall
|
||||||
|
|
||||||
compileall.compile_dir(".", force=1)
|
compileall.compile_dir(".", force=1)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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 = [ ]
|
||||||
|
@ -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) )
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,4 +44,3 @@ def Execute( cmd , commandCwd=None):
|
|||||||
except Exception, detail:
|
except Exception, detail:
|
||||||
print detail
|
print detail
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user