gimp r25108 - in trunk: . plug-ins/uri



Author: neo
Date: Tue Mar 18 09:23:41 2008
New Revision: 25108
URL: http://svn.gnome.org/viewvc/gimp?rev=25108&view=rev

Log:
2008-03-18  Sven Neumann  <sven gimp org>

	* plug-ins/uri/gimpmountoperation.c: set alternative button order
	on the password dialog (same change done in GTK+).


Modified:
   trunk/ChangeLog
   trunk/plug-ins/uri/gimpmountoperation.c

Modified: trunk/plug-ins/uri/gimpmountoperation.c
==============================================================================
--- trunk/plug-ins/uri/gimpmountoperation.c	(original)
+++ trunk/plug-ins/uri/gimpmountoperation.c	Tue Mar 18 09:23:41 2008
@@ -448,6 +448,11 @@
                           NULL);
   gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK);
 
+  gtk_dialog_set_alternative_button_order (dialog,
+                                           GTK_RESPONSE_OK,
+                                           GTK_RESPONSE_CANCEL,
+                                           -1);
+
   /* Build contents */
   hbox = gtk_hbox_new (FALSE, 12);
   gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
@@ -613,7 +618,7 @@
     }
   else
     g_mount_operation_reply (op, G_MOUNT_OPERATION_ABORTED);
- 
+
   priv->dialog = NULL;
   g_object_notify (G_OBJECT (operation), "is-showing");
   gtk_widget_destroy (GTK_WIDGET (dialog));



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