aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-03-28 05:58:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-03-28 06:38:39 +0800
commit63c26d5712c807f65db9c1b0c98ca06aad76171a (patch)
treeec87dbb63434333bab6d98f73a9e266d4b56777a /modules/addressbook
parentba6a2343869f6be82f44261f183cd6925659d5ee (diff)
downloadgsoc2013-evolution-63c26d5712c807f65db9c1b0c98ca06aad76171a.tar.gz
gsoc2013-evolution-63c26d5712c807f65db9c1b0c98ca06aad76171a.tar.zst
gsoc2013-evolution-63c26d5712c807f65db9c1b0c98ca06aad76171a.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.c4
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