diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-08-12 03:26:24 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-08-12 03:26:24 +0800 |
commit | 1ae9e642b53c3668c4b74e0b043ee6cf861a2b11 (patch) | |
tree | e1b69cae65c218df1894dd800430f7769fb8fcdc /src | |
parent | f36ca5abdf24b9562532e8743e6069dcb85866f5 (diff) | |
download | gsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.tar gsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.tar.gz gsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.tar.bz2 gsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.tar.lz gsoc2013-epiphany-1ae9e642b53c3668c4b74e0b043ee6cf861a2b11.tar.xz 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')
-rw-r--r-- | src/ephy-window.c | 7 | ||||
-rwxr-xr-x | src/toolbar.c | 1 |
2 files changed, 8 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); diff --git a/src/toolbar.c b/src/toolbar.c index b57284727..9cfab5693 100755 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -270,6 +270,7 @@ toolbar_setup_actions (Toolbar *t) "tooltip", _("Go back"), "window", t->priv->window, "direction", EPHY_NAVIGATION_DIRECTION_BACK, + "important", TRUE, NULL); g_signal_connect (action, "activate", G_CALLBACK (window_cmd_go_back), t->priv->window); |