gtk+ r19897 - in trunk: . gtk
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19897 - in trunk: . gtk
- Date: Tue, 18 Mar 2008 09:21:16 +0000 (GMT)
Author: neo
Date: Tue Mar 18 09:21:15 2008
New Revision: 19897
URL: http://svn.gnome.org/viewvc/gtk+?rev=19897&view=rev
Log:
2008-03-18 Sven Neumann <sven gimp org>
* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
alternative button order on the password dialog.
Modified:
trunk/ChangeLog
trunk/gtk/gtkmountoperation.c
Modified: trunk/gtk/gtkmountoperation.c
==============================================================================
--- trunk/gtk/gtkmountoperation.c (original)
+++ trunk/gtk/gtkmountoperation.c Tue Mar 18 09:21:15 2008
@@ -455,6 +455,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);
@@ -620,7 +625,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]