diff options
author | Luca Ferretti <elle.uca@libero.it> | 2006-07-26 20:43:41 +0800 |
---|---|---|
committer | Luca Ferretti <lferrett@src.gnome.org> | 2006-07-26 20:43:41 +0800 |
commit | 428d2a25a38823da0663d9b429813fe475255a8f (patch) | |
tree | 7a9419eabbcfbed9cfa4b2fe8638f40a1cd55b99 | |
parent | 105f40169c424573ee01d284f54151e0c40b0b23 (diff) | |
download | gsoc2013-epiphany-428d2a25a38823da0663d9b429813fe475255a8f.tar gsoc2013-epiphany-428d2a25a38823da0663d9b429813fe475255a8f.tar.gz gsoc2013-epiphany-428d2a25a38823da0663d9b429813fe475255a8f.tar.bz2 gsoc2013-epiphany-428d2a25a38823da0663d9b429813fe475255a8f.tar.lz gsoc2013-epiphany-428d2a25a38823da0663d9b429813fe475255a8f.tar.xz gsoc2013-epiphany-428d2a25a38823da0663d9b429813fe475255a8f.tar.zst gsoc2013-epiphany-428d2a25a38823da0663d9b429813fe475255a8f.zip |
Define STOCK_NEW_WINDOW with named icon "window-new" and use it in File ->
2006-07-26 Luca Ferretti <elle.uca@libero.it>
* lib/ephy-stock-icons.c:
* lib/ephy-stock-icons.h:
* src/ephy-window.c:
Define STOCK_NEW_WINDOW with named icon "window-new" and use it
in File -> New Window. Use "tab-new", "bookmark-new" and
"mail-forward" named icons from Icon Naming Standard for related
actions. A first step to fix bug # 348350
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | lib/ephy-stock-icons.c | 1 | ||||
-rw-r--r-- | lib/ephy-stock-icons.h | 15 | ||||
-rw-r--r-- | src/ephy-window.c | 2 |
4 files changed, 21 insertions, 8 deletions
@@ -1,3 +1,14 @@ +2006-07-26 Luca Ferretti <elle.uca@libero.it> + + * lib/ephy-stock-icons.c: + * lib/ephy-stock-icons.h: + * src/ephy-window.c: + + Define STOCK_NEW_WINDOW with named icon "window-new" and use it + in File -> New Window. Use "tab-new", "bookmark-new" and + "mail-forward" named icons from Icon Naming Standard for related + actions. A first step to fix bug # 348350 + 2006-07-24 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-spell-check.c: (ephy_spell_check_init): diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c index 119206b17..e9898bf3c 100644 --- a/lib/ephy-stock-icons.c +++ b/lib/ephy-stock-icons.c @@ -40,6 +40,7 @@ ephy_stock_icons_init (void) static const char *icon_theme_items[] = { STOCK_NEW_TAB, + STOCK_NEW_WINDOW, STOCK_VIEW_SOURCE, STOCK_SEND_MAIL, STOCK_ADD_BOOKMARK, diff --git a/lib/ephy-stock-icons.h b/lib/ephy-stock-icons.h index b90a58bea..1a0dfcdeb 100644 --- a/lib/ephy-stock-icons.h +++ b/lib/ephy-stock-icons.h @@ -29,14 +29,15 @@ G_BEGIN_DECLS #define EPHY_STOCK_ENTRY "epiphany-entry" #define EPHY_STOCK_DOWNLOAD "epiphany-download" -#define STOCK_NEW_TAB "stock_new-tab" +#define STOCK_NEW_TAB "tab-new" +#define STOCK_NEW_WINDOW "window-new" #define STOCK_VIEW_SOURCE "stock_view-html-source" -#define STOCK_SEND_MAIL "stock_mail-send" -#define STOCK_ADD_BOOKMARK "stock_add-bookmark" -#define STOCK_BOOKMARK "stock_bookmark" -#define STOCK_PRINT_SETUP "stock_print-setup" -#define STOCK_LOCK_INSECURE "stock_lock-open" -#define STOCK_LOCK_SECURE "stock_lock" +#define STOCK_SEND_MAIL "mail-forward" +#define STOCK_ADD_BOOKMARK "bookmark-new" +#define STOCK_BOOKMARK "stock_bookmark" +#define STOCK_PRINT_SETUP "stock_print-setup" /*document-page-setup*/ +#define STOCK_LOCK_INSECURE "stock_lock-open" +#define STOCK_LOCK_SECURE "stock_lock" #define STOCK_LOCK_BROKEN "stock_lock-broken" #define STOCK_DRAG_MODE "stock_drag-mode" diff --git a/src/ephy-window.c b/src/ephy-window.c index 166b4b9c3..eb7010067 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -126,7 +126,7 @@ static const GtkActionEntry ephy_menu_entries [] = { /* File menu */ - { "FileNewWindow", GTK_STOCK_NEW, N_("_New Window"), "<control>N", + { "FileNewWindow", STOCK_NEW_WINDOW, N_("_New Window"), "<control>N", N_("Open a new window"), G_CALLBACK (window_cmd_file_new_window) }, { "FileNewTab", STOCK_NEW_TAB, N_("New _Tab"), "<control>T", |