[Xfce4-commits] <ristretto:ristretto-0.0> Rename save-as to save-copy

Stephan Arts noreply at xfce.org
Sun Oct 23 19:16:56 CEST 2011


Updating branch refs/heads/ristretto-0.0
         to 33d935289ebb30f921f25dd2ecf472dffaa8c755 (commit)
       from 2182434ce9cc1ec909e0eafdd141ad8921b21981 (commit)

commit 33d935289ebb30f921f25dd2ecf472dffaa8c755
Author: Stephan Arts <stephan at xfce.org>
Date:   Mon May 25 11:20:40 2009 +0200

    Rename save-as to save-copy

 ChangeLog              |    6 ++++++
 src/main_window.c      |    8 ++++----
 src/main_window_ui.xml |    2 +-
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b271d0d..1662933 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-05-25  Stephan Arts <stephan at xfce.org>
 
+	* src/main_window.c
+	  src/main_window_ui.xml: Rename save-as to save-copy (suggested by cody
+	  somerville)
+
+2009-05-25  Stephan Arts <stephan at xfce.org>
+
 	* src/image_cache.c
 	  src/preferences_dialog.c
 	  src/settings.c
diff --git a/src/main_window.c b/src/main_window.c
index 4e479f5..016bbfb 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -166,7 +166,7 @@ cb_rstto_main_window_close (GtkWidget *widget, RsttoMainWindow *window);
 static void
 cb_rstto_main_window_close_all (GtkWidget *widget, RsttoMainWindow *window);
 static void
-cb_rstto_main_window_save_as (GtkWidget *widget, RsttoMainWindow *window);
+cb_rstto_main_window_save_copy (GtkWidget *widget, RsttoMainWindow *window);
 static void
 cb_rstto_main_window_delete (GtkWidget *widget, RsttoMainWindow *window);
 
@@ -223,7 +223,7 @@ static GtkActionEntry action_entries[] =
   { "open-folder", NULL, N_ ("Open _Folder"), NULL, N_ ("Open a folder"), G_CALLBACK (cb_rstto_main_window_open_folder), },
   { "t_open", GTK_STOCK_OPEN, N_ ("_Open"), "<control>O", N_ ("Open an image"), G_CALLBACK (cb_rstto_main_window_open_image), },
   { "t_open-folder", GTK_STOCK_OPEN, N_ ("Open _Folder"), NULL, N_ ("Open a folder"), G_CALLBACK (cb_rstto_main_window_open_folder), },
-  { "save-as", GTK_STOCK_SAVE_AS, N_ ("_Save as"), "<control>s", N_ ("Save the image"), G_CALLBACK (cb_rstto_main_window_save_as), },
+  { "save-copy", GTK_STOCK_SAVE_AS, N_ ("_Save copy"), "<control>s", N_ ("Save a copy the image"), G_CALLBACK (cb_rstto_main_window_save_copy), },
   { "print", GTK_STOCK_PRINT, N_ ("_Print"), "<control>p", N_ ("Print the image"), G_CALLBACK (cb_rstto_main_window_print), },
   { "close", GTK_STOCK_CLOSE, N_ ("_Close"), "<control>W", N_ ("Close this image"), G_CALLBACK (cb_rstto_main_window_close), },
   { "close-all", NULL, N_ ("_Close All"), NULL, N_ ("Close all images"), G_CALLBACK (cb_rstto_main_window_close_all), },
@@ -1212,13 +1212,13 @@ cb_rstto_main_window_open_recent(GtkRecentChooser *chooser, RsttoMainWindow *win
 }
 
 static void
-cb_rstto_main_window_save_as (GtkWidget *widget, RsttoMainWindow *window)
+cb_rstto_main_window_save_copy (GtkWidget *widget, RsttoMainWindow *window)
 {
     GtkWidget *dialog;
     gint response;
     GFile *file, *s_file;
 
-    dialog = gtk_file_chooser_dialog_new(_("Save as"),
+    dialog = gtk_file_chooser_dialog_new(_("Save copy"),
                                          GTK_WINDOW(window),
                                          GTK_FILE_CHOOSER_ACTION_SAVE,
                                          GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
diff --git a/src/main_window_ui.xml b/src/main_window_ui.xml
index 9169ff3..c96d5e7 100644
--- a/src/main_window_ui.xml
+++ b/src/main_window_ui.xml
@@ -9,7 +9,7 @@
             <menuitem action="open-folder"/>
             <placeholder name="placeholder-open-recent"/>
             <separator/>
-            <menuitem action="save-as"/>
+            <menuitem action="save-copy"/>
             <separator/>
             <menuitem action="print"/>
             <separator/>


More information about the Xfce4-commits mailing list