aboutsummaryrefslogtreecommitdiff
path: root/src/menubar.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-21 17:33:33 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-21 19:40:03 +0200
commit72ff799b774500d38b1835761738eb52eb972944 (patch)
treedbfa7f5ad3d39aaaf90a020c80820054ceccdb24 /src/menubar.vala
parent88523096d08e7bd400ce0b6f53857a2afe1647bc (diff)
downloadarctica-greeter-72ff799b774500d38b1835761738eb52eb972944.tar.gz
arctica-greeter-72ff799b774500d38b1835761738eb52eb972944.tar.bz2
arctica-greeter-72ff799b774500d38b1835761738eb52eb972944.zip
Support alt+super+s for enabling screen reader to match Unity shell keybinding.
Diffstat (limited to 'src/menubar.vala')
-rw-r--r--src/menubar.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/menubar.vala b/src/menubar.vala
index 128be17..2af4f2d 100644
--- a/src/menubar.vala
+++ b/src/menubar.vala
@@ -231,6 +231,7 @@ public class MenuBar : Gtk.MenuBar
var item = new Gtk.CheckMenuItem.with_label (_("Screen Reader"));
item.toggled.connect (screen_reader_toggled_cb);
item.add_accelerator ("activate", accel_group, Gdk.Key.s, Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE);
+ item.add_accelerator ("activate", accel_group, Gdk.Key.s, Gdk.ModifierType.SUPER_MASK | Gdk.ModifierType.MOD1_MASK, Gtk.AccelFlags.VISIBLE);
item.show ();
submenu.append (item);
item.set_active (UGSettings.get_boolean (UGSettings.KEY_SCREEN_READER));