Commit Graph
5 Commits
Author SHA1 Message Date
Sascha Silbe 85e714ecb1 fix regressions introduced by 29582de6 (fix for SL#1742)
GTK pops down the palette before it invokes the actions on the
menu item. We need to postpone destruction of the palette until
after all signals have propagated from the menu item to the
palette owner.

Symptoms included the "View Details" palette menu item in the Journal list
view not working.

Signed-off-by: Sascha Silbe <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
2011-03-27 16:39:04 +02:00
Sascha Silbe 17537c7710 Window: allow removing the toolbar_box
Allow the toolbar_box to be removed by setting it to None, like is supported
for canvas.

Signed-off-by: Sascha Silbe <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
2011-02-17 23:23:33 +01:00
Sascha Silbe 9d45394d40 fix whitespace mistake introduced by c7a80a1
Signed-off-by: Sascha Silbe <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
2011-02-15 21:45:46 +00:00
Sascha Silbe 11bfce1a31 sugar.activity.i18n: add pgettext()
Python 2 will never have pgettext() [1], so we need to ship our own version.
sugar.activity.i18n is the best place for that.

[1] http://bugs.python.org/issue2504#msg122482

Signed-off-by: Sascha Silbe <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
2011-02-15 21:44:57 +00:00
Sascha Silbe 924e2e62bf fix sugar-emulator detection logic broken by 814ab2d (has_key() cleanup)
This broke Shutdown and Restart (buddy menu).

Signed-off-by: Sascha Silbe <[email protected]>
2011-02-05 16:28:24 +01:00