diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-15 23:28:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-15 23:32:27 +0800 |
commit | 1489dc4fd85172be1604b03666a5538ef8015bc7 (patch) | |
tree | 73aab65e641c1e264a5df9bd87a54bf223f41980 /modules/addressbook/e-book-shell-sidebar.h | |
parent | a3048b477f44f3d854c32cb12cbf3022c2ca7336 (diff) | |
download | gsoc2013-evolution-1489dc4fd85172be1604b03666a5538ef8015bc7.tar.gz gsoc2013-evolution-1489dc4fd85172be1604b03666a5538ef8015bc7.tar.zst gsoc2013-evolution-1489dc4fd85172be1604b03666a5538ef8015bc7.zip |
Disable 'Rename' if source is a collection member.
For consistency with the Preferences window. We assume the display
names are server-assigned and not user-assigned, at least not assigned
through Evolution.
Diffstat (limited to 'modules/addressbook/e-book-shell-sidebar.h')
-rw-r--r-- | modules/addressbook/e-book-shell-sidebar.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/addressbook/e-book-shell-sidebar.h b/modules/addressbook/e-book-shell-sidebar.h index 9e4d9ec015..9507681541 100644 --- a/modules/addressbook/e-book-shell-sidebar.h +++ b/modules/addressbook/e-book-shell-sidebar.h @@ -54,8 +54,9 @@ typedef struct _EBookShellSidebarPrivate EBookShellSidebarPrivate; enum { E_BOOK_SHELL_SIDEBAR_HAS_PRIMARY_SOURCE = 1 << 0, - E_BOOK_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_REMOVABLE = 1 << 1, - E_BOOK_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_WRITABLE = 1 << 2 + E_BOOK_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_WRITABLE = 1 << 1, + E_BOOK_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_REMOVABLE = 1 << 2, + E_BOOK_SHELL_SIDEBAR_PRIMARY_SOURCE_IN_COLLECTION = 1 << 3 }; struct _EBookShellSidebar { |