summaryrefslogtreecommitdiff
path: root/geneticone/gui/gtk/windows.py
diff options
context:
space:
mode:
authornecoro <>2006-11-24 11:37:48 +0000
committernecoro <>2006-11-24 11:37:48 +0000
commit38a7fdbeff355e5df5c6552306a23d46074e3e0a (patch)
tree5b304dfa3a352607a193845b72eda132be9d5622 /geneticone/gui/gtk/windows.py
parent580ebfccad88986c4f5f91f346ab5bf555f45ced (diff)
downloadportato-38a7fdbeff355e5df5c6552306a23d46074e3e0a.tar.gz
portato-38a7fdbeff355e5df5c6552306a23d46074e3e0a.tar.bz2
portato-38a7fdbeff355e5df5c6552306a23d46074e3e0a.zip
Added a save-flags-menu
Diffstat (limited to '')
-rw-r--r--geneticone/gui/gtk/windows.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/geneticone/gui/gtk/windows.py b/geneticone/gui/gtk/windows.py
index 8623e51..ee50ca4 100644
--- a/geneticone/gui/gtk/windows.py
+++ b/geneticone/gui/gtk/windows.py
@@ -812,6 +812,14 @@ class MainWindow (Window):
self.queue.sync(cmd)
else:
self.queue.sync()
+
+ def cb_save_flags_clicked (self, action):
+ if not backend.am_i_root():
+ not_root_dialog()
+ else:
+ flags.write_use_flags()
+ flags.write_testing()
+ flags.write_masked()
@Window.watch_cursor
def cb_reload_clicked (self, action):