dia r4036 - in trunk: . app



Author: hans
Date: Sun May 18 14:39:18 2008
New Revision: 4036
URL: http://svn.gnome.org/viewvc/dia?rev=4036&view=rev

Log:
2008-05-18  Hans Breuer  <hans breuer org>

	* app/properties.c : work around the disability of Gtk on win32 to 
	shrink the property dialog when it is hidden (by destroying instead)
	Fixes bug #333751.



Modified:
   trunk/ChangeLog
   trunk/app/properties.c

Modified: trunk/app/properties.c
==============================================================================
--- trunk/app/properties.c	(original)
+++ trunk/app/properties.c	Sun May 18 14:39:18 2008
@@ -160,7 +160,13 @@
   }
 
   if (response_id != GTK_RESPONSE_APPLY) {
+#ifdef G_OS_WIN32
+    /* on windows we are not hiing the ialog, because shrinking when hidden does
+     * not work (the dialog shows up with the same size as before, bug #333751) */
+    gtk_widget_destroy (dialog);
+#else
     properties_dialog_hide();
+#endif
   }
 
   return 0;



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