[nautilus] Improve the buttons of the type selection dialog



commit a4dabd2d63a56f76623bf662a2b199deb603871b
Author: William Jon McCann <jmccann redhat com>
Date:   Sun Jul 15 07:33:36 2012 -0400

    Improve the buttons of the type selection dialog
    
    We didn't have an easy way to cancel the dialog and the button
    label didn't match the action.

 src/nautilus-query-editor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c
index 40c866a..99bed8d 100644
--- a/src/nautilus-query-editor.c
+++ b/src/nautilus-query-editor.c
@@ -582,7 +582,8 @@ type_combo_changed (GtkComboBox *combo_box, NautilusQueryEditorRow *row)
 		dialog = gtk_dialog_new_with_buttons (_("Select type"),
 						      GTK_WINDOW (toplevel),
 						      0,
-						      GTK_STOCK_OK, GTK_RESPONSE_OK,
+						      GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+						      _("Select"), GTK_RESPONSE_OK,
 						      NULL);
 		gtk_window_set_default_size (GTK_WINDOW (dialog), 400, 600);
 			



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