diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-04-19 18:31:36 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-04-19 18:31:36 +0800 |
commit | af383e7037101bcbe21e3da8f33159a66839a220 (patch) | |
tree | 174f85cf948874d10f4116ae303d8550c796f6e8 /src/ephy-history-window.c | |
parent | 033f0ac34a64aebbfb42878d0243b08c631e8042 (diff) | |
download | gsoc2013-epiphany-af383e7037101bcbe21e3da8f33159a66839a220.tar.gz gsoc2013-epiphany-af383e7037101bcbe21e3da8f33159a66839a220.tar.zst gsoc2013-epiphany-af383e7037101bcbe21e3da8f33159a66839a220.zip |
Use gtk_action_set_[sensitive|visible] instead of g_object_set.
2005-04-19 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_update_menu):
* src/ephy-encoding-menu.c: (update_encoding_menu_cb):
* src/ephy-history-window.c: (ephy_history_window_update_menu):
* src/ephy-toolbar.c: (ephy_toolbar_set_zoom):
* src/ephy-window.c: (update_edit_actions_sensitivity),
(enable_edit_actions_sensitivity), (sync_tab_load_status),
(sync_tab_zoom), (show_embed_popup),
(update_tabs_menu_sensitivity):
* src/ppview-toolbar.c: (toolbar_update_sensitivity):
Use gtk_action_set_[sensitive|visible] instead of g_object_set.
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r-- | src/ephy-history-window.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 1147db4af..e499a19f8 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -731,24 +731,24 @@ ephy_history_window_update_menu (EphyHistoryWindow *editor) action_group = editor->priv->action_group; action = gtk_action_group_get_action (action_group, "OpenInWindow"); - g_object_set (action, "sensitive", open_in_window, - "label", open_in_window_label, NULL); + gtk_action_set_sensitive (action, open_in_window); + g_object_set (action, "label", open_in_window_label, NULL); action = gtk_action_group_get_action (action_group, "OpenInTab"); - g_object_set (action, "sensitive", open_in_tab, - "label", open_in_tab_label, NULL); + gtk_action_set_sensitive (action, open_in_tab); + g_object_set (action, "label", open_in_tab_label, NULL); action = gtk_action_group_get_action (action_group, "Cut"); - g_object_set (action, "sensitive", cut, NULL); + gtk_action_set_sensitive (action, cut); action = gtk_action_group_get_action (action_group, "Copy"); - g_object_set (action, "sensitive", copy, - "label", copy_label, NULL); + gtk_action_set_sensitive (action, copy); + g_object_set (action, "label", copy_label, NULL); action = gtk_action_group_get_action (action_group, "Paste"); - g_object_set (action, "sensitive", paste, NULL); + gtk_action_set_sensitive (action, paste); action = gtk_action_group_get_action (action_group, "SelectAll"); - g_object_set (action, "sensitive", select_all, NULL); + gtk_action_set_sensitive (action, select_all); action = gtk_action_group_get_action (action_group, "Delete"); - g_object_set (action, "sensitive", delete, NULL); + gtk_action_set_sensitive (action, delete); action = gtk_action_group_get_action (action_group, "BookmarkLink"); - g_object_set (action, "sensitive", bookmark_page, NULL); + gtk_action_set_sensitive (action, bookmark_page); } static void |