2001-08-14 Peter Williams <peterw@ximian.com>
* searches.xml: Rename <title> to <_title> so that these fields can
be translated.
in filter:
2001-08-14 Peter Williams <peterw@ximian.com>
* filter-rule.c (xml_decode): Match either "title" or "_title" to allow
for translations of the title (provided in the default files)
svn path=/trunk/; revision=12034
2001-08-13 Peter Williams <peterw@ximian.com>
* filter-datespec.c
(format_time): New function. Convert a time_t to a gchar * (with i18n)
(describe_button): Use format_time instead of ctime.
svn path=/trunk/; revision=11942
2001-08-13 Peter Williams <peterw@ximian.com>
* filter-datespec.c (make_span_editor): Add a gettext around our static
strings.
svn path=/trunk/; revision=11939
2001-08-10 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Removed comment about
the need to resolve nicknames properly, because we now do that.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* e-filter-bar.h: Set the subitems to NULL in the pre-defined
ESearchBarItems.
* e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's
subitems to NULL.
(build_items): Set the ESearchBarItem's subitems to NULL.
(e_filter_bar_new): Set the ESearchBarItem's subitems to NULL.
* e-search-bar.c: Added support for subitems, so that a search
option can key off of another option menu rather than just an
entry.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c: Set the ESearchBarItem
subitems explicitly to NULL.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/cal-search-bar.c: Where we have ESearchBarItems, set their
subitems to NULL.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* folder-browser.c: Set our ESearchBarItems subitems to NULL.
svn path=/trunk/; revision=11904
2001-08-10 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (rule_context_add_rule_gui): No need to
gtk_widget_show() the gnome dialog widget twice...
* vfolder-rule.c (get_widget): Unref the glade_xml gui object
before returning.
svn path=/trunk/; revision=11870
2001-08-07 Not Zed <NotZed@Ximian.com>
* filter-rule.c (filter_rule_finalise): Properly free the list of
parts, and the private data.
(FilterRulePrivate): Remove unused 'parts' member.
* filter-option.c (free_option): For freeing options.
(filter_option_finalise): Free options list.
* filter-element.c (filter_element_finalise): free name.
* filter-input.c (filter_input_finalise): Free type and values
list.
* filter-context.c (filter_context_finalise): Free the actions.
* rule-context.c (rule_context_finalise): Remove the totally weird
arsed *_set_list free code.
(free_part_set):
(free_rule_set): Use this to free stuff using g_list_foreach.
(rule_context_finalise): Free the error string.
(rule_context_finalise): Free the rules and parts.
svn path=/trunk/; revision=11774
2001-08-07 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Reverted my previous change, I fixed the filter
code to handle this the way danw said to handle it in bug #5886
now.
svn path=/trunk/; revision=11739
2001-08-07 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Removed the "is" and "is not" rules from the
xml file for address matching because users are easily confused.
svn path=/trunk/; revision=11737
2001-08-03 Jeffrey Stedfast <fejj@ximian.com>
* filter-rule.c (get_widget): Do an evil kludgy hack so that the
Rule Name entry widget gets focused when the filter editor is
shown.
svn path=/trunk/; revision=11626
2001-08-02 Jeffrey Stedfast <fejj@ximian.com>
* filter-rule.c: Wrap some debug printf's with d().
* rule-context.h: Removed prototype for rule_context_delete_rule()
since the function doesn't exist.
svn path=/trunk/; revision=11600
2001-07-23 Jon Trowbridge <trow@ximian.com>
* vfolder-rule.c (validate): Added a validate function
that checks to make sure that vfolders that have "specific
folders" as their source actually have a non-empty list of
source folders selected. (Bug #4937)
(get_widget): If fr->source is NULL for some reason, bring
it into sync with the default in the option menu.
svn path=/trunk/; revision=11336
2001-07-23 Peter Williams <peterw@ximian.com>
* filter-datespec.c (make_span_editor): Change the butt-ugly
UI to a saner (and just as flexible) one. Instead of all those
spinbuttons, just have one and let the user select the time unit.
(omenu_item_activated): New function. When the user changes the
time unit, convert it from the old number. Pretty.
(adj_value_changed): This function is now simpler.
(set_adjustments): Also modified for new UI model.
(button_clicked): Set the selected_type before calling the callback.
(FilterDatespecPrivate): Members change a bit.
(filter_datespec_init): No longer need to allocation spinbuttons
(filter_datespec_finalise): No longer need to free spinbuttons.
svn path=/trunk/; revision=11312
2001-07-18 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (rule_context_get_rank_rule): Return -1 if we
don't find it? This is what most of the code expected but not what
we were returning on fail.
svn path=/trunk/; revision=11206
2001-07-12 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Users should not be able to filter on "Status
is Deleted" since we don't allow that in the filter driver code.
svn path=/trunk/; revision=11049
2001-07-11 Jason Leach <jleach@ximian.com>
* vfoldertypes.xml: Copied the "Attachments" rule part over from
filtertypes.xml, would be a powerful feature for vfolders (see all
the patches across all folders, or all the attachments you've sent,
without having to duplicate potentially big files, blah blah, bug
#1155).
svn path=/trunk/; revision=10996
2001-07-10 Peter Williams <peterw@ximian.com>
* vfoldertypes.xml: Put a match-all around the not-body-contains
to make it work per-message.
* filtertypes.xml: Same.
svn path=/trunk/; revision=10962
2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
* filter-rule.c (get_widget): Set the focus on the title of the
filter rule.
svn path=/trunk/; revision=10921
*rule-context.c (rule_context_add_rule_gui): Increased the size
of the "Add Filter Rule" dialog to 600 x 400, so that no resizing
is necessary to use the dialog.
svn path=/trunk/; revision=10914
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