diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-08 04:04:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-08 04:04:52 +0800 |
commit | 14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f (patch) | |
tree | ec49b42bc6e0cfb3115ca56f41106e63a0b67d85 /ui | |
parent | fee5916b60c605ff5086d8fdc2a85c5ea21351f6 (diff) | |
download | gsoc2013-evolution-14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f.tar gsoc2013-evolution-14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f.tar.gz gsoc2013-evolution-14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f.tar.bz2 gsoc2013-evolution-14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f.tar.lz gsoc2013-evolution-14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f.tar.xz gsoc2013-evolution-14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f.tar.zst gsoc2013-evolution-14e8637d6b1a98b4ed6bedc70d0fca744b7b3e0f.zip |
Rewrite the mail label code from top to bottom.
- Kill the e-util-labels API and read label information into a
single-column GtkListStore. Use GConfBridge to automatically
keep GConf synched with the list store.
- The list store (a singleton instance) is stored in EShellSettings
so it's available everywhere.
- The list store serves as the model for EMailLabelTreeView,
which itself is embedded in EMailLabelManager; a complete
label management UI as seen in the preferences dialog.
- EMailLabelDialog is used to add or edit a label. Avoid using a
color button, instead embed a GtkColorSelection directly in the
dialog so everything is in one window.
Open issues:
- The weird toggle/color/text menu items in the popup menu aren't
there. For now they're just regular toggle items. I'll deal
with it later.
- Filter intergration is broken at the moment.
svn path=/branches/kill-bonobo/; revision=37233
Diffstat (limited to 'ui')
-rw-r--r-- | ui/evolution-mail-reader.ui | 30 | ||||
-rw-r--r-- | ui/evolution-mail.ui | 23 |
2 files changed, 32 insertions, 21 deletions
diff --git a/ui/evolution-mail-reader.ui b/ui/evolution-mail-reader.ui index 55e7ee56db..b4eeb4a124 100644 --- a/ui/evolution-mail-reader.ui +++ b/ui/evolution-mail-reader.ui @@ -125,27 +125,15 @@ </placeholder> </toolbar> <popup name='mail-message-popup'> - <menuitem action='mail-popup-reply-sender'/> - <menuitem action='mail-popup-reply-all'/> - <menuitem action='mail-popup-forward'/> - <separator/> - <menuitem action='mail-popup-message-edit'/> - <menuitem action='mail-popup-save-as'/> - <menuitem action='mail-popup-print'/> - <separator/> - <menuitem action='mail-popup-delete'/> - <menuitem action='mail-popup-undelete'/> - <menuitem action='mail-popup-copy'/> - <menuitem action='mail-popup-move'/> - <separator/> - <menuitem action='mail-popup-mark-read'/> - <menuitem action='mail-popup-mark-unread'/> - <menuitem action='mail-popup-mark-important'/> - <menuitem action='mail-popup-mark-unimportant'/> - <menuitem action='mail-popup-mark-junk'/> - <menuitem action='mail-popup-mark-notjunk'/> - <menuitem action='mail-popup-flag-for-followup'/> - <menu action='mail-label-menu'/> + <placeholder name='mail-message-popup-common-actions'> + <menuitem action='mail-popup-reply-sender'/> + <menuitem action='mail-popup-reply-all'/> + <menuitem action='mail-popup-forward'/> + <separator/> + <menuitem action='mail-popup-message-edit'/> + <menuitem action='mail-popup-save-as'/> + <menuitem action='mail-popup-print'/> + </placeholder> </popup> <popup name='mail-uri-popup'> <menuitem action='mail-uri-call-to'/> diff --git a/ui/evolution-mail.ui b/ui/evolution-mail.ui index c8a9960d72..c381e6a046 100644 --- a/ui/evolution-mail.ui +++ b/ui/evolution-mail.ui @@ -83,6 +83,29 @@ <separator/> <menuitem action='mail-popup-folder-properties'/> </popup> + <popup name='mail-message-popup'> + <placeholder name='mail-message-popup-common-actions'/> + <separator/> + <menuitem action='mail-popup-delete'/> + <menuitem action='mail-popup-undelete'/> + <menuitem action='mail-popup-copy'/> + <menuitem action='mail-popup-move'/> + <separator/> + <menuitem action='mail-popup-mark-read'/> + <menuitem action='mail-popup-mark-unread'/> + <menuitem action='mail-popup-mark-important'/> + <menuitem action='mail-popup-mark-unimportant'/> + <menuitem action='mail-popup-mark-junk'/> + <menuitem action='mail-popup-mark-notjunk'/> + <menuitem action='mail-popup-flag-for-followup'/> + <menu action='mail-label-menu'> + <menuitem action='mail-label-none'/> + <separator/> + <placeholder name='mail-label-actions'/> + <separator/> + <menuitem action='mail-label-new'/> + </menu> + </popup> <popup name='mail-search-options'> <menuitem action='mail-search-subject-or-sender-contains'/> <menuitem action='mail-search-subject-or-recipients-contains'/> |