Commit Graph

27 Commits

Author SHA1 Message Date
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
Aleksey Lim
93d65bcb2f Circular dependecy in ToolbarBox #1389 2009-09-18 13:18:46 +00:00
Aleksey Lim
ac586e5a85 Circular dependecy in ToolbarBox #1389 2009-09-18 12:24:48 +00:00
Aleksey Lim
33ea5bdee4 Circular dependecy in ToolbarBox #1389 2009-09-18 11:25:32 +00:00
Aleksey Lim
86ba52eadd Secondary toolbar widget should set a minimum height #1304 2009-09-10 09:07:25 +00:00
Aleksey Lim
c69bbe3341 Simple scheme for hidding ToolbarBox subpalettes #1300 2009-09-09 17:11:58 +00:00
Sascha Silbe
c9e63eb8ea PEP8 white space and long line fixes 2009-08-25 21:12:40 +02:00
Sascha Silbe
ecdaf6b795 trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
Simon Schampijer
6ece09d49b more pylint 2009-08-24 15:09:02 +02:00
Sascha Silbe
496090fe62 let the logger do the formatting 2009-08-24 12:54:02 +02:00
Aleksey Lim
d0485cb515 Set STATE_INSENSITIVE for toolbarbox pages 2009-08-07 08:12:25 +00:00
Aleksey Lim
7d76f06ae1 Remove redundant state argument from PaletteWindow.popup 2009-08-01 13:34:42 +00:00
Aleksey Lim
e799649f2f Fix merger artefacts 2009-08-01 11:34:45 +00:00
Aleksey Lim
f5f8c807d3 Fix pylint/pep8 warnings 2009-08-01 11:27:56 +00:00
Aleksey Lim
68fa6bf093 Fix mess with gtk.Widget.set_state and Palette.set_state 2009-08-01 11:23:20 +00:00
Aleksey Lim
35bbfe1d50 Support palettes for sub-toolbar widgets 2009-08-01 11:23:20 +00:00
Aleksey Lim
6e724c3d8d Set background color for activity.widgets.TitleEntry 2009-08-01 11:23:20 +00:00
Aleksey Lim
e0aedcd5c7 Refactor Palette class (tomeu) 2009-08-01 11:23:06 +00:00
Aleksey Lim
3ee78747d4 Fix review issues 2009-07-31 10:55:58 +00:00
Aleksey Lim
4d6a2cc9bd Fix review issues 2009-07-31 10:25:01 +00:00
Aleksey Lim
d5c5ee88ec Remove old design remains 2009-07-31 07:10:17 +00:00
Aleksey Lim
3dde9b68a5 Do not change arrow while opening palette in ToolbarBox 2009-07-31 03:58:52 +00:00
Aleksey Lim
353564f12c Fix review issues 2009-07-31 03:49:05 +00:00
Aleksey Lim
3b545cbcbb Remove redundant ToolbarBox props 2009-07-30 17:06:14 +00:00
Aleksey Lim
3dd0ac8432 Rename ToolbarBox.bar to ToolbarBox.toolbar 2009-07-30 16:25:04 +00:00
Aleksey Lim
7ca9574ca1 Rename ToolbarBox.top to ToolbarBox.bar 2009-07-30 16:20:10 +00:00
Aleksey Lim
61ab4110fa Rename toolbar.py to toolbarbox.py 2009-07-30 15:25:30 +00:00