001-07-03 Peter Williams <peterw@ximian.com>
* filter-source.c (get_widget): Prevent crashing while we work this out.
* filter-rule.c (get_widget): Don't try to gtk_widget_grab_default
with a widget that can't be the default. Altough it should be able
to....
svn path=/trunk/; revision=10771
2001-07-02 Sam Creasey <sammy@oh.verio.com>
* filter-int.c: Added an integer type for filtering values. used
for size.
* Makefile.am (SOURCES): added filter-int.c, filter-int.h
* filtertypes.xml: added a part entry for size based filters
svn path=/trunk/; revision=10717
2001-07-02 Anna Marie Dirks <anna@ximian.com>
* filter-rule.c (get_widget): Changed "Add criterion" button to have
normal button relief in response to complaints of it not appearing
clickable.
* filter-filter.c: Changed "Add action" button to have normal button
relief in response to complaints of it not appearing clickable.
svn path=/trunk/; revision=10705
2001-06-29 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_editor_construct): Set the filter-rule
dialog to be user-resizable.
svn path=/trunk/; revision=10607
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-04-26 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_edit): Set the default size of the dialog to
600x400, which seems to be a nice size that fits all the widgets
into it.
(rule_add): Same.
svn path=/trunk/; revision=9604
2001-04-26 Not Zed <NotZed@Ximian.com>
* filter-part.c (filter_part_xml_create): Blah blah fix for xml1
broken utf8 encoding, and use "g" memory for all allocations.
(filter_part_finalise): Free our data properly.
svn path=/trunk/; revision=9572
2001-04-20 Kjartan Maraas <kmaraas@gnome.org>
* filter-rule.c: Pull up fix for translation of filter
direction drop down menu from the branch.
svn path=/trunk/; revision=9475
2001-04-15 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: s/Is/is/ and s/Is Not/is not/ to be more
consistant with the rest.
svn path=/trunk/; revision=9331
2001-04-13 Jon Trowbridge <trow@gnu.org>
* camel-filter-search.c (get_source): Make the (previously unused)
get-source command actually do the right thing, properly shrouding
any passed-in source and falling back to use the source attached
to the mime message.
2001-04-13 Jon Trowbridge <trow@gnu.org>
* filtertypes.xml: Add XML specs for source account filtering.
* filter-element.c (filter_element_new_type_name): Recognize
type "source", construct a FilterSource.
* filter-source.c: Added. A FilterElement for the account e-mail
comes from.
svn path=/trunk/; revision=9304
2001-04-02 Jeffrey Stedfast <fejj@ximian.com>
* filter-filter.c (option_activate): Set the newpart on the
container object.
(less_parts): Remove the rule tht the user wants to remove.
(attach_rule): Attach a new rule and it's remove button to the end
of the table.
(more_parts): Fix to resize the table and such.
(get_widget): Don't have a remove action button, we are putting
this next to the rule part now.
* filter-rule.c (option_activate): Set the newpart on the
container object.
(less_parts): Remove the rule tht the user wants to remove.
(attach_rule): Attach a new rule and it's remove button to the end
of the table.
(more_parts): Fix to resize the table and such.
(get_widget): Don't have a remove action button, we are putting
this next to the rule part now.
svn path=/trunk/; revision=9115
2001-03-22 Jeffrey Stedfast <fejj@ximian.com>
* filter-datespec.c (validate): Oops, an unspecified date is '0',
not -1.
svn path=/trunk/; revision=8910
2001-03-20 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_edit): Set the editor dialog modal rather
than setting the filter dialog insensitive. Also ref re->edit
since we unref it when the editor closes. This should fix bug
#1905.
(edit_editor_clicked): No need to set the filter dialog sensitive
again.
(rule_add): Set the add-rule dialog modal and don't set the filter
dialog insensitive.
(add_editor_clicked): No need to set the filter dialog sensitive
again.
svn path=/trunk/; revision=8858
2001-03-17 Jeffrey Stedfast <fejj@ximian.com>
* filter-option.c (build_code): Since we are now using
filter-option widgets in place of system-flag, we do not need a
"code" part so if there isn't a code part, don't build it.
(clone): Updated to allow NULL code parts.
svn path=/trunk/; revision=8789
2001-03-17 Jeffrey Stedfast <fejj@ximian.com>
* filter-element.c (filter_element_new_type_name): If the filter
type is a "system-flag", use the optionlist type as type
system-flag has been removed. This should allow backward
compatability.
svn path=/trunk/; revision=8785
2001-03-17 Jeffrey Stedfast <fejj@ximian.com>
* filter-editor.c (filter_editor_construct): Remove the menu that
is in the glade file because we want to replace it with our menu,
not append items to that menu.
* filtertypes.xml: Oops, missed the system-flag action-set.
* vfoldertypes.xml: Update "status" ruleset.
svn path=/trunk/; revision=8780
2001-03-16 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Removed filter-url.[c,h] and
filter-system-flag.[c,h]
* filter-element.c (filter_element_new_type_name): Removed
references to the url-type and system-flag types.
* filtertypes.xml: Removed "source" type and fixed "status" to use
the optionmenu.
* filter-url.[c,h]: Removed.
* filter-system-flag.[c,h]: Removed (just use optionmenu).
svn path=/trunk/; revision=8768
2001-03-15 Not Zed <NotZed@Ximian.com>
* filter.glade: Changed the edit_filter to be a standalone window
rather than a widget, so we can get the rule editor part out
separately. Same for vfolder editor, and new score, and basic rule
editors.
* score-editor.c (score_editor_new): Turned back on object
stuff, subclass rule-editor, and removed most of the code.
* filter-editor.c (filter_editor_new): Turned into an object,
subclass rule-editor, removed most of the code. Now we accept the
source list during create, and plug that into the glade.
* vfolder-editor.c (vfolder_editor_new): Turned back on object
stuff, subclass rule-editor, and removed most of the code.
* Makefile.am (libfilter_la_SOURCES): Added rule-editor.[ch].
* filter-filter.c (validate): inherit the validate function and
also validate the actions part of a filterfilter.
* filter-rule.c (filter_rule_validate): New method so that filter
rules can validate themselves.
(validate): Default implementation, validates base rules.
* rule-editor.h: New generic rule editor, to be used for filter
editor/vfolder editor/score editor/saved searches editor.
svn path=/trunk/; revision=8729
2001-03-14 Gediminas Paulauskas <menesis@delfi.lt>
* configure.in: create doc/devel/executive-summary/Makefile
* doc/C/Makefile.am: there's no apx-fdl.sgml and evolution-guide.sgml
anymore
* filter/filter-system-flag.c: translate status flag title.
svn path=/trunk/; revision=8714
2001-03-12 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Added an "Attachments" filter option where you
can filter messages that have (or do not have) attachments. This
does not allow you to filter based on the types of the
attachments.
svn path=/trunk/; revision=8652
2001-03-08 Jeffrey Stedfast <fejj@ximian.com>
* vfolder-editor.c (double_click): Make sure we have something
selected first ;-)
* filter-editor.c (double_click): And here too.
svn path=/trunk/; revision=8599
2001-03-03 Not Zed <NotZed@Ximian.com>
* filter.glade: Added option menu to vfolder editor.
2001-03-02 Not Zed <NotZed@Ximian.com>
* vfolder-rule.c (get_widget): Setup the data on the base source
opiton menu, and make hte option menu reflect the source.
(select_source_with): Set the source type for this
rule. e.g. these folders, "with ..."
* filter-editor.c: Removed the N_() stuff from the source_names
array, they must not be internationalised!!!
svn path=/trunk/; revision=8533
2001-02-23 Not Zed <NotZed@Ximian.com>
* filtertypes.xml:
renamed mailing list options to be more meaningful.
* vfoldertypes.xml:
renamed mailing list options to be more meaningful.
svn path=/trunk/; revision=8357
Removed all files where glade writes strings.
Changed Makefile.am to not distribute them.
Changed all glade files to not write strings to those files.
Removed *.desktop and evolution.keys files, because they are generated.
Added them to .cvsignore
Added *.desktop.in evolution.keys.in files without transalted strings.
Added all existing entries from desktop files to po files.
Changed Makefile.am to distribute only .in files, and merge translations into
desktop files.
Removed obsolete files from po/ dir
svn path=/trunk/; revision=8164
2001-01-22 Not Zed <NotZed@Ximian.com>
* filter-message-search.[ch]: Removed, now lives in
camel-filter-search.*
* Makefile.am (libfilter_la_SOURCES): Removed filter-driver.[ch]
and filter-message-search.[ch].
* filter-driver.[ch]: Removed. now lives in camel-filter-driver.*
svn path=/trunk/; revision=7703
2001-01-19 Jeffrey Stedfast <fejj@ximian.com>
* filter-driver.c (filter_driver_filter_message): Set the delete
bit *before* copying to the default folder.
svn path=/trunk/; revision=7656
2001-01-18 Jeffrey Stedfast <fejj@ximian.com>
* filter-filter.c (less_parts): Er, don't set the button
insensitive if there is *1* action, set it insensitive if there
are less than or equal to *1* actions. Doh!
(more_parts): Only set the remove button sensitive if there is
more than 1 action.
(get_widget): Here too.
svn path=/trunk/; revision=7616
2001-01-13 Jeffrey Stedfast <fejj@ximian.com>
* filter-driver.c (do_copy): Moved p->copied to the inner part of
the loop so that in the case of a folder not existing, it doesn't
think that the message was already copied to some place and thus
not save it to the Inbox.
(do_move): Same.
svn path=/trunk/; revision=7478
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com>
* filter-option.c (get_widget): Attach to the "activate" signal -
this should now make it so that a filter-option will "remember"
what a user changed.
* filter-system-flag.c (get_widget): Don't reset fsf->value to the
first system flag, this should already be defaulted to the
appropriate flag. This should fix the problem of always defaulting
to the first menu option and thus "forgetting" the user's settings.
svn path=/trunk/; revision=7356
2001-01-04 Jeffrey Stedfast <fejj@helixcode.com>
* filter-system-flag.c: comment out some of the system flags as we
don't want to use them.
(xml_encode): Update the printf
(get_widget): Use strcmp instead of g_strcasecmp.
svn path=/trunk/; revision=7244