summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2011-08-22 12:30:24 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2011-08-24 19:02:43 +0200
commit9ea56535f35abbea4cd977dea4c89247e4b01694 (patch)
tree47929def970816bde7745fb0bb42a7cac1aed20d /demos
parent7829dae1cdb8697a19c2b5e158ef0e08f6c2558b (diff)
downloadpygobject-9ea56535f35abbea4cd977dea4c89247e4b01694.tar.gz
[gtk-demo] images.py: fix 'Insensitive 'button mnenomic
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/demos/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/demos/images.py b/demos/gtk-demo/demos/images.py
index 400b477d..7e8d19e4 100644
--- a/demos/gtk-demo/demos/images.py
+++ b/demos/gtk-demo/demos/images.py
@@ -134,7 +134,7 @@ class ImagesApp:
self.start_progressive_loading(image)
# Sensistivity control
- button = Gtk.ToggleButton(label='_Insensitive')
+ button = Gtk.ToggleButton.new_with_mnemonic('_Insensitive')
button.connect('toggled', self.toggle_sensitivity_cb, vbox)
vbox.pack_start(button, False, False, 0)