gimp r25409 - in trunk: . app/widgets



Author: mitch
Date: Tue Apr  8 09:26:48 2008
New Revision: 25409
URL: http://svn.gnome.org/viewvc/gimp?rev=25409&view=rev

Log:
2008-04-08  Michael Natterer  <mitch gimp org>

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factory_set_user_pos): set GDK_HINT_MIN_SIZE on
	dialogs which had no previous sessionrc entry. Fixes the minimum
	size of the very first empty display of a new GIMP installation
	and shouldn't have any ill effects on other windows.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimpdialogfactory.c

Modified: trunk/app/widgets/gimpdialogfactory.c
==============================================================================
--- trunk/app/widgets/gimpdialogfactory.c	(original)
+++ trunk/app/widgets/gimpdialogfactory.c	Tue Apr  8 09:26:48 2008
@@ -1224,6 +1224,7 @@
                                         data);
 
   gtk_window_set_geometry_hints (GTK_WINDOW (dialog), NULL, NULL,
+                                 GDK_HINT_MIN_SIZE |
                                  GDK_HINT_USER_POS);
 
   return FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]