[gnome-terminal] Remove last bits of GTK_STOCK



commit e67e8e88d8975d6af851b3fa52c231b3c401f074
Author: Baptiste Mille-Mathias <baptiste millemathias gmail com>
Date:   Tue Dec 17 22:00:03 2013 +0100

    Remove last bits of GTK_STOCK
    
    Remove GTK_STOCK items in favor of standard icon name.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720637

 src/terminal-window.c |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 885538a..2d138fa 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2361,52 +2361,52 @@ terminal_window_init (TerminalWindow *window)
       { "FileNewTerminal", STOCK_NEW_TAB, N_("Open _Terminal"), NULL,
         NULL,
         G_CALLBACK (file_new_terminal_callback) },
-      { "FileNewProfile", GTK_STOCK_OPEN, N_("New _Profile"), "",
+      { "FileNewProfile", "document-open", N_("New _Profile"), "",
         NULL,
         G_CALLBACK (file_new_profile_callback) },
-      { "FileSaveContents", GTK_STOCK_SAVE, N_("_Save Contents"), "",
+      { "FileSaveContents", "document-save", N_("_Save Contents"), "",
         NULL,
         G_CALLBACK (file_save_contents_callback) },
-      { "FileCloseTab", GTK_STOCK_CLOSE, N_("C_lose Terminal"), "<shift><control>W",
+      { "FileCloseTab", "window-close", N_("C_lose Terminal"), "<shift><control>W",
         NULL,
         G_CALLBACK (file_close_tab_callback) },
-      { "FileCloseWindow", GTK_STOCK_CLOSE, N_("_Close All Terminals"), "<shift><control>Q",
+      { "FileCloseWindow", "window-close", N_("_Close All Terminals"), "<shift><control>Q",
         NULL,
         G_CALLBACK (file_close_window_callback) },
 
       /* Edit menu */
-      { "EditCopy", GTK_STOCK_COPY, NULL, "<shift><control>C",
+      { "EditCopy", "edit-copy", N_("Copy"), "<shift><control>C",
         NULL,
         G_CALLBACK (edit_copy_callback) },
-      { "EditPaste", GTK_STOCK_PASTE, NULL, "<shift><control>V",
+      { "EditPaste", "edit-paste", N_("Paste"), "<shift><control>V",
         NULL,
         G_CALLBACK (edit_paste_callback) },
-      { "EditPasteURIPaths", GTK_STOCK_PASTE, N_("Paste _Filenames"), "",
+      { "EditPasteURIPaths", "edit-paste", N_("Paste _Filenames"), "",
         NULL,
         G_CALLBACK (edit_paste_callback) },
-      { "EditSelectAll", GTK_STOCK_SELECT_ALL, NULL, NULL,
+      { "EditSelectAll", "edit-select-all", N_("Select All"), NULL,
         NULL,
         G_CALLBACK (edit_select_all_callback) },
       { "EditPreferences", NULL, N_("Pre_ferences"), NULL,
         NULL,
         G_CALLBACK (edit_preferences_callback) },
-      { "EditCurrentProfile", GTK_STOCK_PREFERENCES, N_("_Profile Preferences"), NULL,
+      { "EditCurrentProfile", "preferences-system", N_("_Profile Preferences"), NULL,
         NULL,
         G_CALLBACK (edit_current_profile_callback) },
 
       /* View menu */
-      { "ViewZoomIn", GTK_STOCK_ZOOM_IN, NULL, "<control>plus",
+      { "ViewZoomIn", "zoom-in", N_("Zoom In"), "<control>plus",
         NULL,
         G_CALLBACK (view_zoom_in_callback) },
-      { "ViewZoomOut", GTK_STOCK_ZOOM_OUT, NULL, "<control>minus",
+      { "ViewZoomOut", "zoom-out", N_("Zoom Out"), "<control>minus",
         NULL,
         G_CALLBACK (view_zoom_out_callback) },
-      { "ViewZoom100", GTK_STOCK_ZOOM_100, NULL, "<control>0",
+      { "ViewZoom100", "zoom-original", N_("Normal Size"), "<control>0",
         NULL,
         G_CALLBACK (view_zoom_normal_callback) },
 
       /* Search menu */
-      { "SearchFind", GTK_STOCK_FIND, N_("_Find…"), "<shift><control>F",
+      { "SearchFind", "edit-find", N_("_Find…"), "<shift><control>F",
        NULL,
        G_CALLBACK (search_find_callback) },
       { "SearchFindNext", NULL, N_("Find Ne_xt"), "<shift><control>H",
@@ -2419,10 +2419,10 @@ terminal_window_init (TerminalWindow *window)
        NULL,
        G_CALLBACK (search_clear_highlight_callback) },
 #if 0
-      { "SearchGoToLine", GTK_STOCK_JUMP_TO, N_("Go to _Line..."), "<shift><control>I",
+      { "SearchGoToLine", "go-jump", N_("Go to _Line..."), "<shift><control>I",
        NULL,
        G_CALLBACK (search_goto_line_callback) },
-      { "SearchIncrementalSearch", GTK_STOCK_FIND, N_("_Incremental Search..."), "<shift><control>K",
+      { "SearchIncrementalSearch", "edit-find", N_("_Incremental Search..."), "<shift><control>K",
        NULL,
        G_CALLBACK (search_incremental_search_callback) },
 #endif
@@ -2463,10 +2463,10 @@ terminal_window_init (TerminalWindow *window)
         G_CALLBACK (tabs_detach_tab_callback) },
 
       /* Help menu */
-      { "HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1",
+      { "HelpContents", "help-browser", N_("_Contents"), "F1",
         NULL,
         G_CALLBACK (help_contents_callback) },
-      { "HelpAbout", GTK_STOCK_ABOUT, N_("_About"), NULL,
+      { "HelpAbout", "help-about", N_("_About"), NULL,
         NULL,
         G_CALLBACK (help_about_callback) },
 
@@ -2490,13 +2490,13 @@ terminal_window_init (TerminalWindow *window)
         NULL,
         G_CALLBACK (popup_copy_url_callback) },
       { "PopupTerminalProfiles", NULL, N_("P_rofiles") },
-      { "PopupCopy", GTK_STOCK_COPY, NULL, "",
+      { "PopupCopy", "edit-copy", N_("Copy"), "",
         NULL,
         G_CALLBACK (edit_copy_callback) },
-      { "PopupPaste", GTK_STOCK_PASTE, NULL, "",
+      { "PopupPaste", "edit-paste", N_("Paste"), "",
         NULL,
         G_CALLBACK (edit_paste_callback) },
-      { "PopupPasteURIPaths", GTK_STOCK_PASTE, N_("Paste _Filenames"), "",
+      { "PopupPasteURIPaths", "edit-paste", N_("Paste _Filenames"), "",
         NULL,
         G_CALLBACK (edit_paste_callback) },
       { "PopupNewTerminal", NULL, N_("Open _Terminal"), NULL,


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