Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbars.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolbars.py')
-rw-r--r--toolbars.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolbars.py b/toolbars.py
index 0c0b8cb..fb5406b 100644
--- a/toolbars.py
+++ b/toolbars.py
@@ -166,3 +166,7 @@ class FramesToolbar(gtk.Toolbar):
move_down.set_tooltip(_('Move down'))
move_down.connect('clicked', lambda w: self.emit('go-down'))
self.insert(move_down, -1)
+
+ def set_buttons_sensitive(self, widget, running):
+ for button in self.get_children():
+ button.set_sensitive(not running)