[beryl-commits] r2209 - trunk/beryl-settings-2
quinn at server.beryl-project.org
quinn at server.beryl-project.org
Mon Jan 1 11:51:03 CET 2007
Author: quinn
Date: 2007-01-01 10:51:02 +0000 (Mon, 01 Jan 2007)
New Revision: 2209
Modified:
trunk/beryl-settings-2/main.py
Log:
regen list on active plugins change
Modified: trunk/beryl-settings-2/main.py
===================================================================
--- trunk/beryl-settings-2/main.py 2007-01-01 10:45:51 UTC (rev 2208)
+++ trunk/beryl-settings-2/main.py 2007-01-01 10:51:02 UTC (rev 2209)
@@ -18,6 +18,8 @@
Ctx=berylsettings.Context()
Aps=Ctx.Plugin("_").Setting("active_plugins")
+hideshowall=None
+
AllowUpdate=True
AllCats=[]
@@ -39,6 +41,7 @@
def PluginButtonClicked(plb,pld):
+ global hideshowall
if AllowUpdate:
if (plb.props.active):
#here is where a tryEnablePlugin would normally happen
@@ -49,6 +52,7 @@
ee=Aps.Value
ee.remove(pld[4].Name)
Aps.Value=ee
+ UpdateBindingsList(hideshowall.props.active)
print Aps.Value
def CatClicked(wid,event,CatInfo):
More information about the commits
mailing list