gimp r26022 - in trunk: . app/dialogs



Author: mitch
Date: Mon Jun 30 09:03:31 2008
New Revision: 26022
URL: http://svn.gnome.org/viewvc/gimp?rev=26022&view=rev

Log:
2008-06-30  Michael Natterer  <mitch gimp org>

	* app/dialogs/file-open-dialog.c (file_open_dialog_response):
	restore code that sets the dialog back to sensitive when opening
	fails because it stays open. Fixes bug #540801.



Modified:
   trunk/ChangeLog
   trunk/app/dialogs/file-open-dialog.c

Modified: trunk/app/dialogs/file-open-dialog.c
==============================================================================
--- trunk/app/dialogs/file-open-dialog.c	(original)
+++ trunk/app/dialogs/file-open-dialog.c	Mon Jun 30 09:03:31 2008
@@ -170,6 +170,10 @@
 
       gtk_widget_destroy (open_dialog);
     }
+  else
+    {
+      gimp_file_dialog_set_sensitive (dialog, TRUE);
+    }
 
   g_slist_foreach (uris, (GFunc) g_free, NULL);
   g_slist_free (uris);



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