summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-04 14:15:55 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-04 14:15:55 +0200
commit8e07fd436cfbf02fbf43c9e221badb55acdb546a (patch)
tree4b7df70393ecb9a1b3e5643ffb7aed4abcfd53cf /portato/gui
parentdff240a07fc6150cf313db3f745f226f0203fe51 (diff)
downloadportato-8e07fd436cfbf02fbf43c9e221badb55acdb546a.tar.gz
portato-8e07fd436cfbf02fbf43c9e221badb55acdb546a.tar.bz2
portato-8e07fd436cfbf02fbf43c9e221badb55acdb546a.zip
Some more dependency awareness
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/windows/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index b4e6353..479274d 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -1082,6 +1082,9 @@ class MainWindow (Window):
def save_plugin (p):
def _save ():
+ if p.status == p.STAT_HARD_DISABLED:
+ return ""
+
return int(p.status >= p.STAT_ENABLED)
return _save