To add the accelerator to the ToolButton the activity must have set the 'sugar-accel-group' before. The patch does make the ToolbarButton listen to the 'hierarchy-changed' signal and repack itself accordingly. Since the ToolButtons of the subtoolbar do listen to 'hierarchy-changed' as well to set the accelerator they will set it accordingly. This fixes the accelerators for new-style-toolbar activities like Terminal, TurtleArt and Paint, more info in #10930. Signed-by-off: Gonzalo Odiard <gonzalo@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> |
||
|---|---|---|
| .. | ||
| activity | ||
| bundle | ||
| datastore | ||
| graphics | ||
| presence | ||
| _sugarext.defs | ||
| _sugarext.override | ||
| _sugarextmodule.c | ||
| .gitignore | ||
| .license | ||
| acme-volume-alsa.c | ||
| acme-volume-alsa.h | ||
| acme-volume.c | ||
| acme-volume.h | ||
| eggaccelerators.c | ||
| eggaccelerators.h | ||
| eggdesktopfile.c | ||
| eggdesktopfile.h | ||
| eggsmclient-private.h | ||
| eggsmclient-xsmp.c | ||
| eggsmclient.c | ||
| eggsmclient.h | ||
| env.py | ||
| gsm-app.c | ||
| gsm-app.h | ||
| gsm-client-xsmp.c | ||
| gsm-client-xsmp.h | ||
| gsm-client.c | ||
| gsm-client.h | ||
| gsm-session.c | ||
| gsm-session.h | ||
| gsm-xsmp.c | ||
| gsm-xsmp.h | ||
| Makefile.am | ||
| network.py | ||
| profile.py | ||
| session.py | ||
| sexy-icon-entry.c | ||
| sexy-icon-entry.h | ||
| sugar-address-entry.c | ||
| sugar-address-entry.h | ||
| sugar-grid.c | ||
| sugar-grid.h | ||
| sugar-key-grabber.c | ||
| sugar-key-grabber.h | ||
| sugar-marshal.list | ||
| sugar-menu.c | ||
| sugar-menu.h | ||
| util.py | ||
| wm.py | ||