aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-08-12 03:26:24 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-08-12 03:26:24 +0800
commit1ae9e642b53c3668c4b74e0b043ee6cf861a2b11 (patch)
treee1b69cae65c218df1894dd800430f7769fb8fcdc /src/ephy-window.c
parentf36ca5abdf24b9562532e8743e6069dcb85866f5 (diff)
downloadgsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.tar.gz
gsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.tar.zst
gsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.zip
Respect priority text preference. Ported from gtk.
2003-08-11 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-action.c: (egg_action_class_init), (egg_action_init), (egg_action_set_property), (egg_action_get_property), (egg_action_sync_important), (connect_proxy): * lib/egg/egg-action.h: * lib/egg/eggtoolbar.c: (toolbar_item_is_homogeneous), (egg_toolbar_size_request), (get_item_size): * lib/egg/eggtoolbutton.c: (egg_tool_button_property_notify), (egg_tool_button_class_init), (egg_tool_button_construct_contents): * lib/egg/eggtoolitem.c: (egg_tool_item_class_init), (egg_tool_item_get_is_important), (egg_tool_item_set_is_important), (egg_tool_item_set_property), (egg_tool_item_get_property): * lib/egg/eggtoolitem.h: * src/ephy-window.c: (setup_window): * src/toolbar.c: (toolbar_setup_actions): Respect priority text preference. Ported from gtk.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ae6bb9e77..41944f37b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -687,6 +687,13 @@ setup_window (EphyWindow *window)
action = egg_action_group_get_action (action_group, "GoBookmarks");
g_object_set (action, "short_label", _("Bookmarks"), NULL);
+ action = egg_action_group_get_action (action_group, "EditFind");
+ g_object_set (action, "important", TRUE, NULL);
+ action = egg_action_group_get_action (action_group, "GoHome");
+ g_object_set (action, "important", TRUE, NULL);
+ action = egg_action_group_get_action (action_group, "GoBookmarks");
+ g_object_set (action, "important", TRUE, NULL);
+
action_group = egg_action_group_new ("PopupsActions");
egg_action_group_add_actions (action_group, ephy_popups_entries,
ephy_popups_n_entries);