Commit Graph

16 Commits

Author SHA1 Message Date
c0cddd6d1d Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14191
2001-10-27 00:47:22 +00:00
31d99df0f4 Fixed some weird casting crack that got in here somehow, removed
2001-10-24  Jon Trowbridge  <trow@ximian.com>

	* mail-search.c (mail_search_construct): Fixed some weird casting
	crack that got in here somehow, removed superfluous box-packing
	that was generating a gtk warning.

svn path=/trunk/; revision=13988
2001-10-24 17:40:57 +00:00
8ae35107b0 Use the mail-tools convenience functions to remove and restore the
2001-09-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_send_message): Use the mail-tools convenience
	functions to remove and restore the X-Evolution headers.
	(mail_update_subfolders): Removed.

svn path=/trunk/; revision=13064
2001-09-21 21:07:33 +00:00
0d3ec1ae39 attach to the destroy handler to reset the tokenizer. (dialog_destroy_cb):
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
2001-08-24 02:59:34 +00:00
c351fabe58 Put _() instead of N_() around of the "Search" string,
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
2001-08-17 22:10:00 +00:00
45de213476 Disable the "search forward/backward" option in the search dialog. Why?
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
2001-08-14 02:45:14 +00:00
2807ad0103 Oops. Uncomment this code since Trow fixed GtkHTML to actually have this
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
2001-07-24 00:54:20 +00:00
fc59208aa9 Fixed the "Read" to be Read in the glade file per menesis' request.
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
2001-07-24 00:53:24 +00:00
7db908f5f3 Carefully check for NULL everywhere, and do the right thing if the message
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
2001-07-23 21:46:09 +00:00
3b2436017b Put frame around dialog vbox, put mail subject in that frame's label.
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
2001-05-15 15:24:00 +00:00
b3d81b588f set the dialog's window_icon to jimmac's new find_message.xpm.
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
2001-05-14 22:55:01 +00:00
1f52a5d0fa Use secondary searches here, so that we control the interference between
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
2001-05-14 05:06:16 +00:00
2b5dce7f8e Updates the subject on refresh and sets subject to "Untitled Message" if
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
2001-05-13 23:23:18 +00:00
59c9d146b9 Use the ESearchingTokenizer to highlight search matches for folder-level
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
2001-05-11 04:27:35 +00:00
0a9bafb949 Fix for #2253 (search names not translated), mail-search i18n fixes.
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
2001-05-08 00:26:58 +00:00
e2284d39dd Added "MessageSearch" verb.
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
2001-04-26 06:04:06 +00:00