sugar-toolkit-gtk3/src/sugar
Gonzalo Odiard 880e60bdda Sugar-toolkit: Pack page in ToolbarButton when is connected to the window - OLPC #10930
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>
2011-07-15 18:54:29 +02:00
..
activity Use 'focus-out' event instead of 'changed' event for title entry OLPC #10956, SL #2608 2011-06-20 17:48:51 +02:00
bundle Open content bundles on a external device #1748 2011-03-03 11:10:26 -05:00
datastore style cleanup: prefer ' for strings 2010-11-23 17:14:34 +01:00
graphics Sugar-toolkit: Pack page in ToolbarButton when is connected to the window - OLPC #10930 2011-07-15 18:54:29 +02:00
presence Only show joined buddies on sharer side, part of OLPC#10578 2011-05-31 16:24:08 +02:00
_sugarext.defs Shutdown/Reboot fails when multiple users are logged in #246 2009-09-30 11:53:03 +00:00
_sugarext.override Remove the hacks for asking the X server for screenshots and use gtk.Widget.get_snapshot() instead. 2008-12-20 16:51:29 +01:00
_sugarextmodule.c Add a SugarGrid object to replace the numpy implementation. Part of the fix for #8394 2008-09-13 13:30:10 +02:00
.gitignore Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
.license Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
acme-volume-alsa.c Use g_timeout_add_seconds() for power efficiency 2008-12-18 19:56:08 +00:00
acme-volume-alsa.h Alsa based volume control API, stealed from gnome-settings-daemon. #8375 2008-09-13 13:48:25 +02:00
acme-volume.c Alsa based volume control API, stealed from gnome-settings-daemon. #8375 2008-09-13 13:48:25 +02:00
acme-volume.h Alsa based volume control API, stealed from gnome-settings-daemon. #8375 2008-09-13 13:48:25 +02:00
eggaccelerators.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
eggaccelerators.h trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
eggdesktopfile.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
eggdesktopfile.h First go at session management. Not asking review since 2008-06-06 19:13:10 +02:00
eggsmclient-private.h Enable maximum warnings. 2008-08-12 01:53:28 +02:00
eggsmclient-xsmp.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
eggsmclient.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
eggsmclient.h First go at session management. Not asking review since 2008-06-06 19:13:10 +02:00
env.py fix sugar-emulator detection logic broken by 814ab2d (has_key() cleanup) 2011-02-05 16:28:24 +01:00
gsm-app.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
gsm-app.h trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
gsm-client-xsmp.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
gsm-client-xsmp.h Prefix the session server stuff with gsm, makes things a lot less confusing. 2008-06-06 21:39:50 +02:00
gsm-client.c Prefix the session server stuff with gsm, makes things a lot less confusing. 2008-06-06 21:39:50 +02:00
gsm-client.h trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
gsm-session.c Shutdown/Reboot fails when multiple users are logged in #246 2009-09-30 11:53:03 +00:00
gsm-session.h Shutdown/Reboot fails when multiple users are logged in #246 2009-09-30 11:53:03 +00:00
gsm-xsmp.c Prefix the session server stuff with gsm, makes things a lot less confusing. 2008-06-06 21:39:50 +02:00
gsm-xsmp.h Prefix the session server stuff with gsm, makes things a lot less confusing. 2008-06-06 21:39:50 +02:00
Makefile.am trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
network.py GlibTCPServer: defer shutdown_request to avoid closing the socket too early OLPC #10906 2011-06-29 14:42:53 +02:00
profile.py Debug logs for default profile 2011-06-29 10:01:51 +02:00
session.py PEP8 white space and long line fixes 2009-08-25 21:12:40 +02:00
sexy-icon-entry.c Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
sexy-icon-entry.h Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
sugar-address-entry.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
sugar-address-entry.h Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
sugar-grid.c Fix obvious error in the grid math #8626 2008-09-24 12:40:57 +02:00
sugar-grid.h Add a SugarGrid object to replace the numpy implementation. Part of the fix for #8394 2008-09-13 13:30:10 +02:00
sugar-key-grabber.c trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
sugar-key-grabber.h Change the API of the keygrabber so only one gdk_sync is neccessary. (ticket #7999) 2008-08-24 14:31:46 +02:00
sugar-marshal.list Pass the event time in key events 2009-07-12 14:11:41 +02:00
sugar-menu.c Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
sugar-menu.h Enable maximum warnings. 2008-08-12 01:53:28 +02:00
util.py pylint cleanup: disable warnings for reasonable catch-all exception handlers 2010-11-23 17:14:35 +01:00
wm.py pylint: sugar.wm._property_change_trapped: allow overriding built-in method 2010-11-23 17:14:36 +01:00