Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-10-03 18:23:52 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-10-03 18:23:52 (GMT)
commitf2c97357e109fbf8c12c5a694c58182980c0abee (patch)
treee4e803bd3a97715e3af4408751f40384630db299
parent38d19b94d7f85ea3914115ad18ce84743fae698b (diff)
Correct accelerator for "Remove" stock item in Sugar.
-rw-r--r--sugar/sweetener/stock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/sweetener/stock.py b/sugar/sweetener/stock.py
index fe45bd8..9ceb998 100644
--- a/sugar/sweetener/stock.py
+++ b/sugar/sweetener/stock.py
@@ -24,6 +24,7 @@ import gtk
icon_factory = gtk.IconFactory()
# Set the icon name for the stock items, this is used only in Sugar.
+# Associate here every default stock id with an icon name if you need it.
icons = {gtk.STOCK_ADD: 'list-add'}
@@ -62,8 +63,7 @@ overwrite_stock(gtk.STOCK_ZOOM_100, '<Ctrl>0')
# Key accelerator will be F11 on desktops and <Alt>return on Sugar.
overwrite_stock(gtk.STOCK_FULLSCREEN, '<Alt>Return')
overwrite_stock(gtk.STOCK_ADD, '<Ctrl>A')
-# Key accelerator will be Delete on desktops and <Shift>backspace on Sugar
-overwrite_stock(gtk.STOCK_REMOVE, '<Ctrl>BackSpace')
+overwrite_stock(gtk.STOCK_REMOVE, '<Ctrl>R')
overwrite_stock(gtk.STOCK_SELECT_COLOR, '<Ctrl>L')