From 463d7b377543077540bdcdc27524361dacf29e6d Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 20 Dec 2011 15:16:10 +0100 Subject: Use symbolic icons in the toolbar --- src/ephy-combined-stop-reload-action.c | 6 +++--- src/ephy-window.c | 5 ++--- 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, "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, -- cgit v1.2.3