Cleaning up old monitors
This commit is contained in:
parent
db45018cc6
commit
6bd0599106
@ -20,7 +20,7 @@ from execute import Execute
|
|||||||
from easygconf import EasyGConf
|
from easygconf import EasyGConf
|
||||||
from easyfiles import *
|
from easyfiles import *
|
||||||
|
|
||||||
from filemonitor import monitor as filemonitor
|
#from filemonitor import monitor as filemonitor
|
||||||
|
|
||||||
#import xdg.Menu
|
#import xdg.Menu
|
||||||
import gmenu
|
import gmenu
|
||||||
@ -300,7 +300,7 @@ class pluginclass( object ):
|
|||||||
|
|
||||||
self.categoryList = []
|
self.categoryList = []
|
||||||
self.applicationList = []
|
self.applicationList = []
|
||||||
self.menuFileMonitors = []
|
#self.menuFileMonitors = []
|
||||||
|
|
||||||
self.rebuildLock = False
|
self.rebuildLock = False
|
||||||
self.activeFilter = (1, "")
|
self.activeFilter = (1, "")
|
||||||
@ -359,8 +359,8 @@ class pluginclass( object ):
|
|||||||
|
|
||||||
self.gconf.notifyRemoveAll()
|
self.gconf.notifyRemoveAll()
|
||||||
|
|
||||||
for mId in self.menuFileMonitors:
|
#for mId in self.menuFileMonitors:
|
||||||
filemonitor.removeMonitor( mId )
|
# filemonitor.removeMonitor( mId )
|
||||||
|
|
||||||
def changePluginSize( self, client, connection_id, entry, args ):
|
def changePluginSize( self, client, connection_id, entry, args ):
|
||||||
if entry.get_key() == self.gconf.gconfDir+"width":
|
if entry.get_key() == self.gconf.gconfDir+"width":
|
||||||
|
Loading…
Reference in New Issue
Block a user