| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2002-08-08 Not Zed <NotZed@Ximian.com>
* rule-editor.c (add_editor_clicked): Dont allow duplicate names.
(edit_editor_clicked): Same here. For #24803.
svn path=/trunk/; revision=17739
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-09 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (double_click): This needs to return a gboolean
(TRUE).
(rule_edit): Using gnome_dialog_set_parent instead of
gtk_widget_set_parent_window seems to fix bug #23226.
svn path=/trunk/; revision=16415
|
|
|
|
|
|
|
|
|
|
| |
2002-04-01 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_edit): Set 're' as the parent window rather
than as the parent widget.
(add_editor_clicked): Only unref the editor if it is non-NULL.
svn path=/trunk/; revision=16317
|
|
|
|
|
|
|
|
|
|
| |
2002-01-26 Mikael Hallendal <micke@codefactory.se>
* rule-editor.c (add_editor_clicked): check if re->edit != NULL
before trying to unref it. Fixes a segfault when closing the
rule editor.
svn path=/trunk/; revision=15483
|
|
|
|
|
|
|
|
| |
2001-11-15 Zbigniew Chyla <cyba@gnome.pl>
* rule-editor.c (set_source): Removed U_. Fixes #15415.
svn path=/trunk/; revision=14797
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-21 Not Zed <NotZed@Ximian.com>
* rule-editor.c (rule_edit): Hook onto destroy event.
(edit_editor_destroyed): IF we get destroyed, fake a -1 click
event to clean up.
(rule_add): hook onto destroy of dialogue.
(add_editor_destroyed): Simulate -1 click event to clean up. Fix
for #15745.
2001-11-20 Not Zed <NotZed@Ximian.com>
* vfolder-rule.c (source_add): Desensitise button while we're
running, and if we are destroyed, exit and do nothing when we're
done. Fixes crash in #15498.
* filter-folder.c (button_clicked): Ref 'ff' around dialogue
showing incase we go away before it returns. Also desensitise
button that invoked us while its being processed & remove
'is_active' hack. Fixes similar problems to those in #15498.
svn path=/trunk/; revision=14794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Joe Shaw <joe@ximian.com>
* configure.in: Require gal 0.15.99.8
* addressbook/backend/ebook/e-card-simple.c,
addressbook/gui/component/addressbook-storage.c,
addressbook/gui/widgets/e-addressbook-view.c,
calendar/gui/e-calendar-table.c,
calendar/gui/e-itip-control.c,
calendar/gui/e-meeting-model.c,
calendar/gui/itip-utils.c,
calendar/gui/print.c,
calendar/gui/alarm-notify/alarm-notify-dialog.c,
filter/rule-editor.c,
mail/mail-config.c,
mail/mail-folder-cache.c,
mail/mail-format.c,
mail/mail-local.c,
mail/mail-ops.c,
mail/mail-vfolder.c,
shell/e-local-storage.c,
shell/e-summary-storage.c: Change includes of
e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h
svn path=/trunk/; revision=14427
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 <NotZed@Ximian.com>
* rule-editor.c:
(rule_editor_play_undo): Need to ref rule since add doesn't. This
doesn't crash anymore but doesn't seem to do everything right either.
svn path=/trunk/; revision=14312
|
|
|
|
| |
svn path=/trunk/; revision=14311
|
|
|
|
|
|
|
|
|
| |
2001-10-29 <NotZed@Ximian.com>
* rule-editor.c: Some debug printf fixes for printf's that dont
like null %s's.
svn path=/trunk/; revision=14309
|
|
|
|
|
|
|
| |
* rule-editor.c
(rule_editor_add_undo): Fix enable undo logic.
svn path=/trunk/; revision=14308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 <NotZed@Ximian.com>
* filter-context.c (filter_rename_uri): Implement, change any
folder uri's that have been renamed, to the new one.
(filter_delete_uri): Dont actually do any work (yet).
We could probably put rename_uri on every rule context/filter
part/filter element, and let their methods handle it, but for now
its easy enough just to handle the few cases that we have to
handle manually.
* rule-context.c (rule_context_delete_uri): Update a filter
context for a deleted uri, e.g. folder removed.
(rule_context_rename_uri): Update a filter context for a renamed
uri, e.g.
* filter-folder.c (filter_folder_set_value): New function to set
the uri of a folder filter.
* rule-editor.c (rule_move): Add undo for move.
(rule_editor_add_undo): Add extra rank item.
(rule_editor_play_undo): handle rank case.
(rule_editor_finalise): Clean up any hanging over undo log.
(editor_clicked): Only enable 'undo' if we have
EVOLUTION_RULE_UNDO enabled. Code still a bit flakey.
(rule_editor_construct): Only enable a cancel button if
EVOLUTION_RULE_UNDO is set.
(rule_editor_add_undo): Only add if undo enabled.
* filter-rule.c (filter_rule_set_name): Emit a changed event if it
changes.
(filter_rule_set_source): Same.
svn path=/trunk/; revision=14289
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 <NotZed@Ximian.com>
* rule-editor.c (rule_move): Add undo for move.
(rule_editor_add_undo): Add extra rank item.
(rule_editor_play_undo): handle rank case.
(rule_editor_finalise): Clean up any hanging over undo log.
(editor_clicked): Only enable 'undo' if we have
EVOLUTION_RULE_UNDO enabled. Code still a bit flakey.
(rule_editor_construct): Only enable a cancel button if
EVOLUTION_RULE_UNDO is set.
* filter-rule.c (filter_rule_set_name): Emit a changed event if it
changes.
(filter_rule_set_source): Same.
2001-10-26 <NotZed@Ximian.com>
* rule-context.c (rule_context_find_rank_rule): Find a rule at a
specific rank/source.
* rule-editor.c (add_editor_clicked): Log the added object.
(rule_editor_add_undo): New function to add an undo record to the
rule editor.
(edit_editor_clicked): Log the changed object.
(rule_delete): Add undo object.
(rule_editor_play_undo): Play an undo log back.
svn path=/trunk/; revision=14281
|
|
|
|
| |
svn path=/trunk/; revision=14243
|
|
|
|
| |
svn path=/trunk/; revision=14215
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_add): Desensitize the parent dialog.
(rule_edit): Same.
(add_editor_clicked): Re-sensitize it.
(edit_editor_clicked): Same.
svn path=/trunk/; revision=14123
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-25 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c: Keep track of the current editor dialog window so
that on exit, we can close it too.
(rule_edit): Don't make the dialog modal and set it's parent
window as well as don't allow more than a single editor window to
be popped up.
(rule_add): Same.
svn path=/trunk/; revision=14122
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 <NotZed@Ximian.com>
* rule-context.c (rule_context_class_init): Add a changed signal.
Emits if the order changes or if you add or remove a rule.
(rule_context_rank_rule): Fix rank rule to properly rank based on
source, not merely on list position.
(rule_context_add_rule): Also emit changed signal.
(rule_context_remove_rule): Same.
(rule_context_rank_rule): Emit changed signal.
svn path=/trunk/; revision=13978
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* rule-editor.c (set_source): Translate the rule names. (Bug
#13082)
svn path=/trunk/; revision=13827
|
|
|
|
|
|
|
|
|
| |
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (edit_editor_clicked): Set the item label to the
new rule name, not the old rule name. Fixes bug #11168.
svn path=/trunk/; revision=13224
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-12 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_edit): Clone the current rule before editing
it so that changes can be undone.
(edit_editor_clicked): If the user hit OK, replace the original
rule with the new one.
* vfolder-rule.c (vfolder_rule_finalise): Free the sources list.
(rule_copy): Implemented.
* filter-filter.c (rule_copy): Implemented.
* filter-rule.c (filter_rule_copy): New convenience function to
copy one rule "into" another.
(rule_copy): Default implementation.
(filter_rule_clone): Use filter_rule_copy() internally to get rid
of the nastiness/slowness of xml encoding and then decoding.
svn path=/trunk/; revision=12787
|
|
|
|
|
|
|
|
| |
2001-07-20 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Removed the "Forward To" filter action.
svn path=/trunk/; revision=11278
|
|
|
|
|
|
|
|
|
|
| |
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-05 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_delete): Select the most appropriate filter
rule.
svn path=/trunk/; revision=10836
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
| |
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-04 Kjartan Maraas <kmaraas@gnome.org>
* filter-editor.c: Fix headers.
* filter-filter.c: Same here.
* filter-option.c: Same here.
* filter-part.c: Same here.
* filter-rule.c: Same here.
* rule-editor.c: Same here.
* score-editor.c: Same here.
* vfolder-editor.c: Same here.
* vfolder-rule.c: Same here.
svn path=/trunk/; revision=9182
|
|
|
|
|
|
|
|
|
| |
2001-03-30 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Fix headers. Remove unneccesary ones and replace
with more finegrained ones where needed.
svn path=/trunk/; revision=9028
|
|
|
|
|
|
|
|
|
| |
2001-03-21 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (new_rule_clicked): Validate the rule before
closing.
svn path=/trunk/; revision=8879
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|