diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-28 05:58:32 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:50 +0800 |
commit | cb8915bcaa591e15c405a175e6904528ae9a446f (patch) | |
tree | 4d7bfb328c4ad0e51b1603dcc755f293f8c07b47 /modules/addressbook | |
parent | 392973975c3e4a4e8fe17731b5e397ae10a91517 (diff) | |
download | gsoc2013-evolution-cb8915bcaa591e15c405a175e6904528ae9a446f.tar gsoc2013-evolution-cb8915bcaa591e15c405a175e6904528ae9a446f.tar.gz gsoc2013-evolution-cb8915bcaa591e15c405a175e6904528ae9a446f.tar.bz2 gsoc2013-evolution-cb8915bcaa591e15c405a175e6904528ae9a446f.tar.lz gsoc2013-evolution-cb8915bcaa591e15c405a175e6904528ae9a446f.tar.xz gsoc2013-evolution-cb8915bcaa591e15c405a175e6904528ae9a446f.tar.zst gsoc2013-evolution-cb8915bcaa591e15c405a175e6904528ae9a446f.zip |
Miscellaneous GtkAction-related cleanups.
Prefer the newer GtkAction "set" functions over g_object_set().
Diffstat (limited to 'modules/addressbook')
-rw-r--r-- | modules/addressbook/e-book-shell-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c index 4f0d349ba6..3a325b0786 100644 --- a/modules/addressbook/e-book-shell-view.c +++ b/modules/addressbook/e-book-shell-view.c @@ -345,7 +345,7 @@ book_shell_view_update_actions (EShellView *shell_view) label = _("_Forward Contacts"); else label = _("_Forward Contact"); - g_object_set (action, "label", label, NULL); + gtk_action_set_label (action, label); action = ACTION (CONTACT_MOVE); sensitive = source_is_editable && any_contacts_selected; @@ -380,7 +380,7 @@ book_shell_view_update_actions (EShellView *shell_view) label = _("_Send Message to List"); else label = _("_Send Message to Contact"); - g_object_set (action, "label", label, NULL); + gtk_action_set_label (action, label); } static void |