Re: Remove Minimize Button from GTK Window?

2013-07-01 Thread Mitchell Verter
. Pierre jstpie...@mecheye.net wrote: If you have a GdkWindow, you can tell the window manager to disable the minimize button with MWM hints using gdk_window_set_functions along with GDK_FUNC_MINIMIZE. On Fri, Jun 21, 2013 at 3:52 PM, Mitchell Verter mitchell.ver...@gmail.com wrote

Re: Remove Minimize Button from GTK Window?

2013-07-01 Thread Mitchell Verter
, sorry. richard On Mon, Jul 1, 2013 at 3:52 PM, Mitchell Verter mitchell.ver...@gmail.com wrote: Thanks so much for the advice, but it wound up not working. In gtkwindow.c::gtk_window_realize, I inserterted the following line: gdk_window_set_functions (widget-window, GDK_FUNC_ALL

Remove Minimize Button from GTK Window?

2013-06-21 Thread Mitchell Verter
Is there any way to remove the Minimize button by hacking the gtk+-2.24.18 code, or at least to prevent it from minimizing? I have been fiddling around with gtkwindow.c and gtkwindow-decorate.c, playing with gtk_window_iconify() and GtkWindow:decorated (Whether the window should be decorated by

Eliminating Recents from FileChooserDefault.c

2013-06-11 Thread Mitchell Verter
Hi all, I'm pretty new to GTK. I would like to customize the filechooserdefault.c file such that it no longer allows the user to browse to RecentLocations. I see that the recent_manager is initialized in init: === impl-recent_manager = gtk_recent_manager_get_default (); ===