aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2011-12-20 22:16:10 +0800
committerXan Lopez <xan@igalia.com>2011-12-20 22:16:10 +0800
commit463d7b377543077540bdcdc27524361dacf29e6d (patch)
treef35c64f6b04dde525d39dd263be0cd15520a7545 /src
parent57fc83935f45f10bc677f0cecda83b13e50c916c (diff)
downloadgsoc2013-epiphany-463d7b377543077540bdcdc27524361dacf29e6d.tar
gsoc2013-epiphany-463d7b377543077540bdcdc27524361dacf29e6d.tar.gz
gsoc2013-epiphany-463d7b377543077540bdcdc27524361dacf29e6d.tar.bz2
gsoc2013-epiphany-463d7b377543077540bdcdc27524361dacf29e6d.tar.lz
gsoc2013-epiphany-463d7b377543077540bdcdc27524361dacf29e6d.tar.xz
gsoc2013-epiphany-463d7b377543077540bdcdc27524361dacf29e6d.tar.zst
gsoc2013-epiphany-463d7b377543077540bdcdc27524361dacf29e6d.zip
Use symbolic icons in the toolbar
Diffstat (limited to 'src')
-rw-r--r--src/ephy-combined-stop-reload-action.c6
-rw-r--r--src/ephy-window.c5
2 files changed, 5 insertions, 6 deletions
diff --git a/src/ephy-combined-stop-reload-action.c b/src/ephy-combined-stop-reload-action.c
index 90d8b25d7..1a19358e0 100644
--- a/src/ephy-combined-stop-reload-action.c
+++ b/src/ephy-combined-stop-reload-action.c
@@ -40,10 +40,10 @@ struct _EphyCombinedStopReloadActionPrivate
};
GtkActionEntry combined_stop_reload_action_entries [] = {
- { NULL, GTK_STOCK_STOP, N_("Stop"), NULL,
+ { NULL, "process-stop-symbolic", N_("Stop"), NULL,
N_("Stop current data transfer"),
G_CALLBACK (window_cmd_view_stop) },
- { NULL, GTK_STOCK_REFRESH, N_("_Reload"), NULL,
+ { NULL, "view-refresh-symbolic", N_("_Reload"), NULL,
N_("Display the latest content of the current page"),
G_CALLBACK (window_cmd_view_reload) }
};
@@ -73,7 +73,7 @@ ephy_combined_stop_reload_action_set_loading (EphyCombinedStopReloadAction *acti
g_object_set (action,
"label", combined_stop_reload_action_entries[action_enum].label,
- "stock-id", combined_stop_reload_action_entries[action_enum].stock_id,
+ "icon-name", combined_stop_reload_action_entries[action_enum].stock_id,
"tooltip", combined_stop_reload_action_entries[action_enum].tooltip,
NULL);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 7fc4f3874..a3b2f04db 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1636,11 +1636,10 @@ setup_ui_manager (EphyWindow *window)
g_object_new (EPHY_TYPE_NAVIGATION_HISTORY_ACTION,
"name", "NavigationBack",
"label", _("_Back"),
- "stock_id", GTK_STOCK_GO_BACK,
+ "icon-name", "go-previous-symbolic",
"tooltip", _("Go to the previous visited page"),
"window", window,
"direction", EPHY_NAVIGATION_HISTORY_DIRECTION_BACK,
- "is_important", TRUE,
NULL);
gtk_action_group_add_action_with_accel (action_group, action,
"<alt>Left");
@@ -1650,7 +1649,7 @@ setup_ui_manager (EphyWindow *window)
g_object_new (EPHY_TYPE_NAVIGATION_HISTORY_ACTION,
"name", "NavigationForward",
"label", _("_Forward"),
- "stock_id", GTK_STOCK_GO_FORWARD,
+ "icon-name", "go-next-symbolic",
"tooltip", _("Go to the next visited page"),
"window", window,
"direction", EPHY_NAVIGATION_HISTORY_DIRECTION_FORWARD,