aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook/e-book-shell-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-14 07:18:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-14 07:18:26 +0800
commit77a05d6576078fbd7495668bfa95b0a66d0c2fa5 (patch)
tree08229379e02502ded230a953e51f1d5dbbe59eea /modules/addressbook/e-book-shell-view.c
parentd428935b383f96cc8c95fd345b8cc5c68c6fde8d (diff)
downloadgsoc2013-evolution-77a05d6576078fbd7495668bfa95b0a66d0c2fa5.tar
gsoc2013-evolution-77a05d6576078fbd7495668bfa95b0a66d0c2fa5.tar.gz
gsoc2013-evolution-77a05d6576078fbd7495668bfa95b0a66d0c2fa5.tar.bz2
gsoc2013-evolution-77a05d6576078fbd7495668bfa95b0a66d0c2fa5.tar.lz
gsoc2013-evolution-77a05d6576078fbd7495668bfa95b0a66d0c2fa5.tar.xz
gsoc2013-evolution-77a05d6576078fbd7495668bfa95b0a66d0c2fa5.tar.zst
gsoc2013-evolution-77a05d6576078fbd7495668bfa95b0a66d0c2fa5.zip
BugĀ 601769 - Print issues in address book
Diffstat (limited to 'modules/addressbook/e-book-shell-view.c')
-rw-r--r--modules/addressbook/e-book-shell-view.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c
index 88a503b024..d5f160d407 100644
--- a/modules/addressbook/e-book-shell-view.c
+++ b/modules/addressbook/e-book-shell-view.c
@@ -287,6 +287,14 @@ book_shell_view_update_actions (EShellView *shell_view)
sensitive = has_primary_source && !primary_source_is_system;
gtk_action_set_sensitive (action, sensitive);
+ action = ACTION (ADDRESS_BOOK_PRINT);
+ sensitive = has_primary_source;
+ gtk_action_set_sensitive (action, sensitive);
+
+ action = ACTION (ADDRESS_BOOK_PRINT_PREVIEW);
+ sensitive = has_primary_source;
+ gtk_action_set_sensitive (action, sensitive);
+
action = ACTION (ADDRESS_BOOK_RENAME);
sensitive = has_primary_source;
gtk_action_set_sensitive (action, sensitive);
@@ -336,10 +344,6 @@ book_shell_view_update_actions (EShellView *shell_view)
sensitive = any_contacts_selected;
gtk_action_set_sensitive (action, sensitive);
- action = ACTION (CONTACT_PRINT_PREVIEW);
- sensitive = any_contacts_selected;
- gtk_action_set_sensitive (action, sensitive);
-
action = ACTION (CONTACT_SAVE_AS);
sensitive = any_contacts_selected;
gtk_action_set_sensitive (action, sensitive);