[epiphany] Use symbolic icons in the toolbar
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Use symbolic icons in the toolbar
- Date: Tue, 20 Dec 2011 16:56:14 +0000 (UTC)
commit 463d7b377543077540bdcdc27524361dacf29e6d
Author: Xan Lopez <xan igalia com>
Date: Tue Dec 20 15:16:10 2011 +0100
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 90d8b25..1a19358 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 7fc4f38..a3b2f04 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]