GNOME Bugzilla – Bug 613956
Glade should use GtkToolPalette internally
Last modified: 2010-03-27 11:19:25 UTC
I thought there was an old bug for this bug I cant find it on the list any longer. Opening this temporarily as a marker, about to get rid of a lot of internal code in favor of the GtkToolPalette.
Created attachment 157109 [details] [review] Patch to integrate the toolpalette This patch integrates the GtkToolPalette as an internal member of the Glade palette without breaking any api or introducing any regressions as far as I can see. The Glade palette still serves as an api and implements the scrolled window and some optional buttons that are part of its api (used by Anjuta); This patch allows removal of the: glade-palette-box.[ch] glade-palette-expander.[ch] glade-palette-item.[ch]
Glade (git master) now uses GtkToolPalette with no regressions so far: - CNTL-click for "sticky selections" still works - Project warnings work (i.e. deprecated widgets and widgets available only in target project version's future) - Context menu works: Note, GtkToolPalette should be improved to let you do context menus as the toolbar does, currently we have to connect to the internal child button of a GtkToolButton to do context menus.
Please file a bug about the need for context-menu API in GtkToolPalette.