GNOME Bugzilla – Bug 632307
Need to disable resize grip on gdm panel when building against gtk+ 3.0
Last modified: 2011-01-21 20:21:38 UTC
Created attachment 172502 [details] [review]
Disables the resize grip
In gtk+ 3.0 the resize grips are on GtkWindow instead of GtkStatusbar, and we need to disable them in a couple places. gdm seems to be one of them.
any reason gtk doesn't call gdk_window_get_decorations under the hood and omit the resize grip if the window lacks GDK_DECOR_RESIZEH ?
Then this would work without the above patch, I think.
Review of attachment 172502 [details] [review]:
@@ +888,3 @@
panel->priv = GDM_GREETER_PANEL_GET_PRIVATE (panel);
+ gtk_window_set_has_resize_grip (GTK_WINDOW (panel), FALSE);
If this is required, we probably want it in setup_panel with everything else instead of on its own here.
panel on master has no resize grip