aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-search.c
Commit message (Collapse)AuthorAgeFilesLines
* attach to the destroy handler to reset the tokenizer. (dialog_destroy_cb):Larry Ewing2001-08-241-5/+15
| | | | | | | | | | | | 2001-08-23 Larry Ewing <lewing@ximian.com> * mail-search.c (mail_search_construct): attach to the destroy handler to reset the tokenizer. (dialog_destroy_cb): reset the tokenizer here so that destroying the dialog with the window manager still clears the hilighted items. svn path=/trunk/; revision=12431
* Put _() instead of N_() around of the "Search" string,Zbigniew Chyla2001-08-181-1/+1
| | | | | | | | | | 2001-08-17 Zbigniew Chyla <cyba@gnome.pl> * mail-search.c (mail_search_construct): Put _() instead of N_() around of the "Search" string, gnome_dialog_constructv doesn't translate button names. svn path=/trunk/; revision=12183
* Disable the "search forward/backward" option in the search dialog. Why?Jon Trowbridge2001-08-141-0/+20
| | | | | | | | | | | | | | | 2001-08-13 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Disable the "search forward/backward" option in the search dialog. Why? Well, it doesn't work properly (bug #4869), and the reason it doesn't work is because of some scary stuff deep inside of gtkhtml that I don't understand at all. So since I'm paranoid, and since the GUI freeze is tomorrow, and since it isn't really an important feature at all, I'm #if 0-ing it out. If the gtkhtml stuff gets sorted out, we can slip it back in for 1.1. svn path=/trunk/; revision=11985
* Oops. Uncomment this code since Trow fixed GtkHTML to actually have thisJeffrey Stedfast2001-07-241-1/+1
| | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (toggled_fwd_cb): Oops. Uncomment this code since Trow fixed GtkHTML to actually have this function now. svn path=/trunk/; revision=11328
* Fixed the "Read" to be Read in the glade file per menesis' request.Jeffrey Stedfast2001-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Fixed the "Read" to be Read in the glade file per menesis' request. * mail-accounts.c (construct): Give the dialog a Close button instead of an OK button. (prompt_bcc_only_toggled): New. (threaded_list_toggled): New. (show_preview_toggled): New. (construct): Add code for the bcc-only-prompt, threaded-list, and show-preview checkboxes. * mail-ops.c (transfer_messages_transfer): If the source and destination folders are the same, just mark the uids as undeleted (in case they were marked as deleted before). svn path=/trunk/; revision=11327
* Carefully check for NULL everywhere, and do the right thing if the messageJon Trowbridge2001-07-241-1/+17
| | | | | | | | | | 2001-07-23 Jon Trowbridge <trow@ximian.com> * mail-search.c (begin_cb): Carefully check for NULL everywhere, and do the right thing if the message we are currently looking at gets expunged. (Bug #4870) svn path=/trunk/; revision=11321
* 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