aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-search.c
Commit message (Collapse)AuthorAgeFilesLines
* Put frame around dialog vbox, put mail subject in that frame's label.Jon Trowbridge2001-05-151-49/+64
| | | | | | | | | | | 2001-05-14 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Put frame around dialog vbox, put mail subject in that frame's label. (Patch by Duncan.) (mail_search_set_subject): Break out subject-setting code. Truncate long subjects with ellipses. svn path=/trunk/; revision=9813
* set the dialog's window_icon to jimmac's new find_message.xpm.Duncan Mak2001-05-151-1/+4
| | | | | | | | | 2001-05-14 Duncan Mak <duncan@ximian.com> * mail-search.c (mail_search_construct): set the dialog's window_icon to jimmac's new find_message.xpm. svn path=/trunk/; revision=9808
* Use secondary searches here, so that we control the interference betweenJon Trowbridge2001-05-141-12/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-14 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use secondary searches here, so that we control the interference between the two bits of searching UI. 2001-05-13 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Destroy the MailSearch dialog if the underlying MailDisplay is destroyed. I don't like the way that label in the dialog with the message subject in it looks, so I've #ifdef-ed it out for now. Center the Matches label --- it makes the dialog look more balanced, I think. (dialog_clicked_cb): Changed to reflect adjusted ESearchingTokenizer API, using primary searches. (toggled_case_cb): Use the primary search API. * e-searching-tokenizer.c: Make searching routines utf8-friendly. Rationalize how the match begin/end markup is handled; allow for begin/end markup that varies by search. Add concept of primary and secondary matching, to disentangle possible interactions between search-bar searches and search-dialog searches. svn path=/trunk/; revision=9789
* Updates the subject on refresh and sets subject to "Untitled Message" ifDuncan Mak2001-05-141-26/+53
| | | | | | | | | | | | | 2001-05-13 Duncan Mak <duncan@ximian.com> * mail-search.c (begin_cb): Updates the subject on refresh and sets subject to "Untitled Message" if subject is NULL. (mail_search_construct): Moved msg_subject to its own GtkLabel, sets subject to "Untitled Message" if subject is NULL. Give focus to entry by default. Made <enter> in entry run dialog_clicked_cb by setting gnome_dialog_editable_enters. svn path=/trunk/; revision=9786
* Use the ESearchingTokenizer to highlight search matches for folder-levelJon Trowbridge2001-05-111-7/+76
| | | | | | | | | | | | | | | | | | | | | 2001-05-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use the ESearchingTokenizer to highlight search matches for folder-level searches. Still mildly broken, but it works for the simple cases. * mail-display.c (mail_display_new): Use our ESearchingTokenizer for the mail display GtkHTML widget. * mail-search.c (dialog_clicked_cb): Use the ESearchingTokenizer to highlight search matches. (mail_search_construct): Add a match count to the search dialog. * e-searching-tokenizer.c (e_searching_tokenizer_set_search_string): Added. A custom HTML tokenizer that does highlighting of search strings. svn path=/trunk/; revision=9754
* Fix for #2253 (search names not translated), mail-search i18n fixes.Gediminas Paulauskas2001-05-081-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * searches.xml: replace title> with _title>. Part of fix to #2253. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * mail-search.c: convert search entry to utf8. * mail-local.c: d() debugging message. * mail-send-recv.c: replace " ..." with "..." * Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * POTFILES.in: add mail/mail-search.c 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * misc/e-search-bar.c (add_dropdown), (set_option): first try to translate, then if not suceeded -- convert from utf8. This handles cases when menuitem needs to be translated (it is passed as N_()), or is utf8 search title. However you cannot have a search like "Folders" -- it is translated. Part of fix for #2253. * misc/e-filter-bar.c: d() debugging strings. Use E_FILTERBAR_ADVANCED macro instead of own "Advanced ..." for consistency. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * filter-rule.c (xml_decode): allow "_title" in user rules. translate them and encode to utf8. (get_rule_part_widget): do not call gettext on part->title. It is always translated already. svn path=/trunk/; revision=9706
* Added "MessageSearch" verb.Jon Trowbridge2001-04-261-0/+230
2001-04-26 Jon Trowbridge <trow@ximian.com> * folder-browser-factory.c: Added "MessageSearch" verb. * mail-callbacks.c (search_msg): Added search callback. (are_you_sure): Added some casts to fix compiler warnings. * mail-search.c: Added. A simple search-in-message widget, that uses GtkHTML's searching capabilities. 2001-04-26 Jon Trowbridge <trow@ximian.com> * evolution-mail.xml: Added "Search Message" to "View" menu. svn path=/trunk/; revision=9575