diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-28 05:58:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-03-28 06:38:39 +0800 |
commit | 63c26d5712c807f65db9c1b0c98ca06aad76171a (patch) | |
tree | ec87dbb63434333bab6d98f73a9e266d4b56777a /modules/mail/e-mail-shell-view.c | |
parent | ba6a2343869f6be82f44261f183cd6925659d5ee (diff) | |
download | gsoc2013-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/mail/e-mail-shell-view.c')
-rw-r--r-- | modules/mail/e-mail-shell-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index 0c7feba0cf..2a3e2550ae 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -952,7 +952,7 @@ mail_shell_view_update_actions (EShellView *shell_view) else label = _("_Disable Account"); gtk_action_set_sensitive (action, sensitive); - g_object_set (action, "label", label, NULL); + gtk_action_set_label (action, label); action = ACTION (MAIL_ACCOUNT_EXPUNGE); sensitive = folder_is_trash; |