diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-03-28 22:15:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-03-28 22:15:07 +0800 |
commit | 86efefd39f4e0b9c5f7eaaee4048ecb52260559e (patch) | |
tree | c42f164e35d2b51ff2f5da929d6e0ccfbf99d2bb /mail/message-list.h | |
parent | bf58178b2a47da0c540582091b4a6a079f6c8359 (diff) | |
download | gsoc2013-evolution-86efefd39f4e0b9c5f7eaaee4048ecb52260559e.tar.gz gsoc2013-evolution-86efefd39f4e0b9c5f7eaaee4048ecb52260559e.tar.zst gsoc2013-evolution-86efefd39f4e0b9c5f7eaaee4048ecb52260559e.zip |
Bug 468448 - Kill "Hide Read Messages" and "Hide Selected Messages"
Removed the following menu items under View:
Hide Selected Messages
Hide Read Messages
Show Hidden Messages
These options are confusing and don't fit with the rest of the mailer
design.
Hidden messages were tracked by folder in:
~/.evolution/mail/config/hidestate-<<folder-uri>>
So by simply not loading those files any more we reveal all previously
hidden messages and avoid any risk of lost messages.
Also inverted "Hide Deleted Messages" to "Show Deleted Messages".
Diffstat (limited to 'mail/message-list.h')
-rw-r--r-- | mail/message-list.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mail/message-list.h b/mail/message-list.h index c7efc5dc14..a651235cc1 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -106,13 +106,6 @@ struct _MessageList { GHashTable *normalised_hash; - /* UID's to hide. Keys in the mempool */ - /* IMPORTANT: You MUST have obtained the hide lock, to operate on this data */ - GHashTable *hidden; - struct _EMemPool *hidden_pool; - gint hide_unhidden; /* total length, before hiding */ - gint hide_before, hide_after; /* hide ranges of messages */ - /* Current search string, or %NULL */ gchar *search; @@ -147,9 +140,6 @@ struct _MessageList { /* Row-selection and seen-marking timers */ guint idle_id, seen_id; - /* locks */ - GMutex *hide_lock; /* for any 'hide' info above */ - /* list of outstanding regeneration requests */ GList *regen; GMutex *regen_lock; /* when writing to the regen, guard with this lock too */ @@ -218,14 +208,6 @@ void message_list_copy (MessageList *message_list, gboolean cut); void message_list_paste (MessageList *message_list); guint message_list_length (MessageList *message_list); -guint message_list_hidden (MessageList *message_list); -void message_list_hide_add (MessageList *message_list, - const gchar *expr, - guint lower, - guint upper); -void message_list_hide_uids (MessageList *message_list, - GPtrArray *uids); -void message_list_hide_clear (MessageList *message_list); void message_list_set_threaded (MessageList *message_list, gboolean threaded); void message_list_set_threaded_expand_all |