Cleaning up old monitors

This commit is contained in:
Clement Lefebvre 2010-10-26 15:23:41 +01:00
parent db45018cc6
commit 6bd0599106

View File

@ -20,7 +20,7 @@ from execute import Execute
from easygconf import EasyGConf
from easyfiles import *
from filemonitor import monitor as filemonitor
#from filemonitor import monitor as filemonitor
#import xdg.Menu
import gmenu
@ -300,7 +300,7 @@ class pluginclass( object ):
self.categoryList = []
self.applicationList = []
self.menuFileMonitors = []
#self.menuFileMonitors = []
self.rebuildLock = False
self.activeFilter = (1, "")
@ -359,8 +359,8 @@ class pluginclass( object ):
self.gconf.notifyRemoveAll()
for mId in self.menuFileMonitors:
filemonitor.removeMonitor( mId )
#for mId in self.menuFileMonitors:
# filemonitor.removeMonitor( mId )
def changePluginSize( self, client, connection_id, entry, args ):
if entry.get_key() == self.gconf.gconfDir+"width":