[nautilus] view: use different titles for Move To/Copy To



commit ac38b9f25010b9cd9f52974d4f7c0b6d0365f5d1
Author: Daniel Schürmann <daschuer gmx de>
Date:   Wed Dec 11 21:04:10 2013 +0100

    view: use different titles for Move To/Copy To
    
    Set file chooser title to different strings for copy and move.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720272

 src/nautilus-view.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 4a4f580..8487670 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -5972,10 +5972,17 @@ copy_or_move_selection (NautilusView *view,
        char *uri;
        CopyCallbackData *copy_data;
        GList *selection;
+       const gchar *title;
+
+       if (is_move) {
+               title = _("Select Move Destination");
+       } else {
+               title = _("Select Copy Destination");
+       }
 
        selection = nautilus_view_get_selection_for_file_transfer (view);
 
-       dialog = gtk_file_chooser_dialog_new (_("Select Destination"),
+       dialog = gtk_file_chooser_dialog_new (title,
                                              GTK_WINDOW (nautilus_view_get_window (view)),
                                              GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
                                              _("_Cancel"), GTK_RESPONSE_CANCEL,


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