GNOME Bugzilla – Bug 621554
On startup the palette's size and style are not initialized
Last modified: 2010-12-31 17:44:44 UTC
Created attachment 163595 [details] [review] glade3-3.7.1-palette-init.patch Patch attached.
I dont fully understand the meaning, does this patch change the behavior of Glade for you in any way ? The reason I'm asking is because from what I see, the palette widgets are created at _init() time and then the item appearance and such can be setup later in construct time (this is done from the front-end when loading that information from a session file). Is there somehow a skew in the initial state of the palette for you ?
Created attachment 163625 [details] Glade3-Screenshots.jpg I do not know if this is a win32 only issue, or if not built with gconf support (if gconf support saves palette preferences), but if you look at the screenshot, then: 1. Initially the size of the icons is the default of I'd guess the GtkPalette, and as preferences it seems is not loaded, use_small_icons is the default value set during palette init, which is false. Icons however is somewhere between what Glade3 uses for small and large. 2. After I set it to use small icons, it actually updates the settings to small. 3. If I set it to not use small icons anymore, it uses the expected large icons. I am not sure if size/style is set later on with the frontend when using Gnome/Gconf, but if not set later on they are uninitialized as far as valid settings for GladePalette - or at least in in the win32 case. And even if set later on in the frontend, you would expect the init code to set it to sensible values (and in this case to corrispond with the initial properties of "item-appearance" and "use-small-item-icons"). Let me know if I was not clear on some point.
*** This bug has been marked as a duplicate of bug 536840 ***