| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=35664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #201011
* filter/filter-rule.h: (struct _FilterRule): New property 'enabled'
to be able to disable filter rules.
* filter/filter-rule.c: (filter_rule_init), (rule_eq), (xml_encode),
(xml_decode), (rule_copy): Store/restore/use 'enabled' value.
* filter/rule-editor.c: (add_editor_response), (rule_move), (set_source):
Set the 'enabled' column properly.
* filter/rule-editor.c: (rule_able_toggled), (rule_editor_treeview_new):
Add column "Enabled" to the tree, but have it hidden by default, only
those whom supports it can show it.
* mail/em-filter-editor.c: (em_filter_editor_construct):
Show Enabled column in the editor, because we support it here.
* mail/mail-session.c: (main_get_filter_driver): Skip disabled rules.
svn path=/trunk/; revision=35620
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Kjartan Maraas <kmaraas@gnome.org>
* filter-datespec.c: (set_values):
* filter-rule.c: (filter_rule_get_type), (filter_rule_new),
(rule_copy):
* rule-editor.c: (editor_response), (rule_delete), (rule_move):
Warning fixes:
- NULL vs 0
- ANSIfication of declarations
- mixing code and declarations
svn path=/trunk/; revision=34429
|
|
|
|
| |
svn path=/trunk/; revision=34160
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
| |
svn path=/trunk/; revision=33689
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #419524
* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
* mail/em-migrate.c (emm_setup_initial):
* shell/e-component-registry.c (query_components):
* shell/e-shell-settings-dialog.c (load_pages):
* shell/e-shell-window-commands.c (command_quick_reference):
* tools/killev.c (main):
Use g_get_language_names() instead of gnome_i18n_get_language_list().
* e-util/e-util.c: Remove e_gettext().
* e-util/Makefile.am: Remove e-i18n.h.
svn path=/trunk/; revision=33319
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-07-07 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug #341369
* filter/rule-editor.c:
* plugins/exchange-operations/exchange-calendar.c:
* plugins/exchange-operations/exchange-contacts.c:
* plugins/save-attachments/save-attachments.c:
fixing memory leaks.
svn path=/trunk/; revision=32256
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-27 Kjartan Maraas <kmaraas@gnome.org>
* filter-element.c: (filter_element_get_type): Remove unused code
* rule-editor.c: (rule_editor_add_undo), (rule_editor_play_undo),
(editor_response), (set_source): Move around some code to avoid
unneccesary prototypes.
svn path=/trunk/; revision=31447
|
|
|
|
|
|
|
|
|
|
| |
2005-12-20 Matthew Hall <matt@castleinthesky.org>
* filter.glade; rule-editor.c: adding top/bottom buttons for
filter manager dialog (#205616)
(committing this on behalf of Matthew and as discussed with srag)
svn path=/trunk/; revision=30908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-10 Tor Lillqvist <tml@novell.com>
* Makefile.am: Use privsolib instead of privlib. On Unix they are
the same, on Win32 privsolibdir is the same as libdir. Use the
macro name EVOLUTION_GLADEDIR as in e-util/e-util-private.h
instead of FILTER_GLADEDIR, so that the Win32 run-time path lookup
mechanism works. Use NO_UNDEFINED. Link explicitly with the actual
libraries used.
* filter-datespec.c: No localtime_r() on Win32, but we can use
plain localtime() which is thread-safe in the Microsoft C library.
* filter-datespec.c
* rule-editor.c: Include e-util-private.h for Win32 path run-time
lookup. Use EVOLUTION_GLADEDIR instead of FILTER_GLADEDIR, and do
the filter.glade pathname construction at run-time so it works
even when EVOLUTION_GLADEDIR is a function call on Win32.
svn path=/trunk/; revision=30063
|
|
|
|
|
|
|
|
|
|
| |
2005-05-16 Not Zed <NotZed@Ximian.com>
* moved e-error to e-util
* Makefile.am: fix error i18n extraction
svn path=/trunk/; revision=29364
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-17 Harry Lu <harry.lu@sun.com>
Fix for 72676.
* rule-editor.c: (double_click): call gtk_tree_selection_get_selected
to see if there is a row selected.
svn path=/trunk/; revision=28808
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
** Moved all of the mailer specific filter stuff into mail/*.
* filter-element.c (copy_value): implement for base types.
* filter-element.c (filter_element_copy_value): do this as a
virtual method.
* filter.glade: moved the vfolder stuff to mail/
* libfilter-i18n.h: removed, moved to mailer.
* filter-errors.xml: moved the vfolder/filtering errors to the
mail error file.
* Makefile.am (EXTRA_DIST): moved *types.xml to mail.
(INCLUDES): removed a bunch of mail dependencies.
* filter-*.[ch], vfolder-*.[ch]: Moved all mail related filter and
vfolder stuff to mail directory.
* score-*.[ch]: Removed all of it.
* vfolder-context.c (vfolder_new_element): and for vfolders.
* filter-context.c (filter_new_element): implement for filter
element types.
* rule-context.c (rc_new_element): replacement for old
filter_element_new_type_name. only has the basics.
* filter-part.c (filter_part_xml_create): take a rule context
as an argument & and look up the element name off the context.
* rule-context.c (rule_context_new_element): new virtual method to
get an element for a given name.
* filter-element.c (filter_element_new_type_name): removed.
svn path=/trunk/; revision=26379
|
|
|
|
|
|
|
|
|
|
| |
2004-04-28 Not Zed <NotZed@Ximian.com>
* filter-option.c (filter_option_add): fix a warning.
** Changed error messages to use EError.
svn path=/trunk/; revision=25651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-31 Not Zed <NotZed@Ximian.com>
* filter.glade: renamed filter_label to rule_label, and removed
the vfolder-editor and filter-editor windows.
* rule-editor.c (rule_editor_new): hide the source widget.
* vfolder-editor.c (vfolder_editor_new): hide the source widget.
* rule-editor.c (rule_editor_new): add a label argument.
* vfolder-editor.c (vfolder_editor_new): ditto below.
* filter-editor.c (filter_editor_new): dont add any label here.
* rule-editor.c (rule_editor_construct): Put the widget back in
the dialogue box here. Add an argument for the area label.
** Revert Rodney's last patch.
svn path=/trunk/; revision=25257
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-30 Rodney Dawes <dobey@ximian.com>
* filter-editor.c (filter_editor_new): Use the new "filter_editor"
that has been added to the glade file
* filter.glade: Remove an unused piece of UI definition and add a
new "filter_editor" that is the same as rule_editor, only for the
filter editor dialogs, and change "Filter Rules" to "Search Rules"
in the rule_editor
* rule-editor.c (rule_editor_new): Set the child widget of the editor
dialog appropriately
svn path=/trunk/; revision=25251
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-15 Rodney Dawes <dobey@ximian.com>
* filter-datespec.c (validate):
(button_clicked): Hide the separators on these dialogs
* filter-editor.c (filter_editor_new): Re-pack the rule_editor widget
in here, and get rid of the GtkFrame-related code
* filter-file.c (validate): Hide the separators on these dialogs
* filter-filter.c (get_widget): Get rid of the GtkFrame, and relayout
the widgets to be HIG-compliant
* filter-folder.c (validate): Hide the separator on this dialog
* filter-input.c (validate): Hide the separator on this dialog
* filter-part.c (main): Hide the separator on this dialog
* filter-rule.c (validate): Hide the separator on this dialog
(get_widget): Get rid of the GtkFrame, and relayout the widgets to be
HIG-compliant
* filter.glade: Make the widget layouts here be HIG-compliant
* rule-context.c (new_rule_response):
(rule_context_add_rule_gui): Hide the separators on these dialogs
* rule-editor.c (rule_editor_new): Get rid of the GtkFrame-related code
(add_editor_response): Hide the dialog separator here
(rule_add): Hide the dialog separator here
(edit_editor_response): Hide the dialog separator here
(rule_edit): Hide the dialog separator here
(rule_editor_construct): Remove the rule_editor repacking code
Set the dialog vbox's border width to 12
Set the mnemonic for the filter label here
Hide the dialog separator on the filter editor dialog
* vfolder-editor.c (vfolder_editor_new): Re-pack the appropriate
editor widget in here
Get rid of the GtkFrame-related code
* vfolder-rule.c (validate): Hide the dialog separators here
svn path=/trunk/; revision=25083
|
|
|
|
|
|
|
|
|
|
| |
2004-02-20 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_delete): After setting the new selected
iter, call cursor_changed() so we can update state. Fixes bug
#54205.
svn path=/trunk/; revision=24823
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Not Zed <NotZed@Ximian.com>
** See bug #47751.
* rule-editor.c (add_editor_response, edit_editor_response)
(rule_edit, rule_add, rule_editor_construct, editor_response):
* rule-context.c (new_rule_response, rule_context_add_rule_gui):
* filter-datespec.c (button_clicked): RESPONSE_REJECT/ACCEPT ->
RESPONSE_CANCEL/OK
svn path=/trunk/; revision=24082
|
|
|
|
|
|
|
|
|
|
|
|
| |
* filter.glade: Remove Viewports around the treeviews, since they
already have a scrolled window around them and the viewports cause
a double bevel to appear.
* rule-editor.c (rule_editor_treeview_new): Make the scrolled
window have a GTK_SHADOW_IN shadow.
* vfolder-rule.c (vfolder_editor_sourcelist_new): Likewise
svn path=/trunk/; revision=22997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-24 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #41578.
* rule-editor.c (rule_move): Pass re->source instead of
re->current->source to rule_context_get_rank_rule(). Also updated
to pass re->source to rule_context_rank_rule().
(rule_editor_play_undo): Updated to pass re->source to
rule_context_rank_rule().
* rule-context.c (rule_context_rank_rule): Now takes a 'source'
argument rather than using rule->source (vfolder editor lists
rules of all sources, not just same-source rules).
(revert): Pass frule->source/part->source to
rule_context_rank_rule() - might not be right but should preserve
the prior behaviour at least.
svn path=/trunk/; revision=21006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-18 Not Zed <NotZed@Ximian.com>
* rule-editor.c (d): removed debug spew.
* addresses #41398
* vfolder-rule.c (format_source): helper function to decode a url
into a more user-friendly format.
(source_add, get_widget): add the formatted data as another
column to the table.
(vfolder_editor_sourcelist_new): add another column to the table,
a formatted uri as well as the raw one.
(d): turned off debug vomit while i'm here.
svn path=/trunk/; revision=20929
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-11 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bugs: #41149, #41150, #41151, #41152, #41153, #41155 and
#41156.
* filter-filter.c (get_widget): Same as with filter-rule.
* filter-rule.c (get_widget): Changed border widths of frame
vboxes and other padding to comply with the HIG.
* rule-editor.c (rule_add): Change window border and padding
around the 'rules' widget to comply with the HIG.
(rule_edit): Same.
(rule_editor_construct): Same here as well.
* filter.glade: Many HIG compliance fixes.
svn path=/trunk/; revision=20823
|
|
|
|
|
|
|
|
|
|
| |
2003-03-20 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_editor_set_sensitive): Don't return here -
this is a void function.
(rule_editor_set_source): Same.
svn path=/trunk/; revision=20429
|
|
|
|
|
|
|
|
|
| |
2003-03-17 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_editor_construct): Set the default window
size to something reasonable (350x400?). Fixes bug #39808.
svn path=/trunk/; revision=20323
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-17 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_editor_construct): Always add a Cancel
button here, but if !enable_undo - make the response id
GTK_RESPONSE_CANCEL rather than GTK_RESPONSE_REJECT (which does
undo). This mimics the behaviour that was done in the mail/ code
previously. Fixes bug #39809.
svn path=/trunk/; revision=20315
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-07 Jeffrey Stedfast <fejj@ximian.com>
* filter-editor.c (filter_editor_new): Use g_object_new()
instead of gtk_type_new().
* vfolder-editor.c (vfolder_editor_new): Use g_object_new()
instead of gtk_type_new().
* score-editor.c (score_editor_new): Use g_object_new() instead of
gtk_type_new().
* rule-editor.c (rule_editor_new): Use g_object_new() instead of
gtk_type_new().
(rule_add): Use gtk_window_set_resizable() instead of the
deprecated gtk_window_set_policy().
(rule_edit): Same here.
(rule_editor_construct): Here too.
* rule-context.c (rule_context_add_rule_gui): Use
gtk_window_set_resizable() instead of the deprecated
gtk_window_set_policy().
svn path=/trunk/; revision=19847
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rule-editor.c (rule_add): Change dialog from OK/Cancel to
Cancel/OK to match HIG.
(rule_edit): Likewise.
(rule_editor_construct): Likewise.
* rule-context.c (rule_context_add_rule_gui): Change dialog from
OK/Cancel to Cancel/OK to match HIG.
* filter-datespec.c (button_clicked): Change dialog from OK/Cancel
to Cancel/OK to match HIG.
svn path=/trunk/; revision=19470
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-03 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (add_editor_response): Scroll to the newly added
row.
(rule_delete): Scroll to the selected row.
(rule_move): After moving the row, re-select it and then scroll to
make sure that it is still visible.
svn path=/trunk/; revision=19226
|
|
|
|
|
|
|
|
|
| |
2003-01-02 Jeffrey Stedfast <fejj@ximian.com>
Fixed to build with -DG_DISABLE_DEPRECATED and
-DGTK_DISABLE_DEPRECATED
svn path=/trunk/; revision=19202
|
|
|
|
|
|
|
|
|
| |
2002-12-12 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (cursor_changed): Use an easier method for getting
the iter.
svn path=/trunk/; revision=19108
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-12 Jeffrey Stedfast <fejj@ximian.com>
* vfolder-rule.c (vfolder_editor_sourcelist_new): New custom
function for creating the source_list widget.
(get_widget): Removed the source_list creation code.
* rule-editor.c (rule_editor_construct): Listen to row-activated
for double-click events. Also, removed the model creation code out
of here.
(rule_editor_treeview_new): Moved the treeview and model creation
code into here instead, and made the glade widgets into custom
widgets.
svn path=/trunk/; revision=19106
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-26 Not Zed <NotZed@Ximian.com>
* filter-rule.c (filter_rule_validate): FILTER_RULE_CLASS ->
_GET_CLASS
* rule-context.c (rule_context_save): RULE_CONTEXT_CLASS ->
RULE_CONTEXT_GET_CLASS
(rule_context_revert): "
* *.[ch]: Ran fix.sh over all files.
* rule-editor.c (rule_add): widget:set_parent ->
window:set_transient_for
(editor_response): renamed from editor_clicked, handle gtk dialog
response codes.
(rule_edit): connect to response rather than clicked.
(rule_editor_construct): Setup a text column in the tree view.
Not sure if this can be handled via glade.
svn path=/trunk/; revision=18922
|
|
|
|
|
|
|
|
|
|
| |
2002-11-18 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c: Updated to use GtkTreeView.
* vfolder-rule.c: Same.
svn path=/trunk/; revision=18830
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-13 Not Zed <NotZed@Ximian.com>
* rule-context.c (load): Get the root node properly.
* rule-editor.c (rule_add): cast g_object_weak_ref
(rule_edit): "
* all: xml2 node change - childs->children. Also, ignore 'text'
nodes while scanning tree.
* rule-context.h: gnome-xml->libxml.
* filter-element.h: gnome-xml->libxml
svn path=/trunk/; revision=18732
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_edit): Use weak_ref instead of connecting to
"destroy".
(rule_add): Same.
svn path=/trunk/; revision=18679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Jeffrey Stedfast <fejj@ximian.com>
* vfolder-rule.c (validate): Use a GtkDialog instead of a
GnomeDialog for reporting errors.
* rule-editor.c (rule_add): Use a GtkDialog instead of
GnomeDialog.
(rule_edit): Same.
(add_editor_response): Use a GtkMessageDialog for the error
reporting instead of a GnomeDialog.
(edit_editor_response): Same.
* rule-context.c (rule_context_add_rule_gui): Use a GtkDialog
instead of a GnomeDialog.
* filter-rule.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-input.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-folder.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-file.c (validate): Use GtkDialog instead of GnomeDialog
here.
* rule-editor.c: Subclass GtkDialog instead of GnomeDialog.
* filter-datespec.c (validate): Use GtkDialog instead of
GnomeDialog.
(button_clicked): Same.
svn path=/trunk/; revision=18651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Jeffrey Stedfast <fejj@ximian.com>
* filter-rule.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-input.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-folder.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-file.c (validate): Use GtkDialog instead of GnomeDialog
here.
* rule-editor.c: Subclass GtkDialog instead of GnomeDialog.
* filter-datespec.c (validate): Use GtkDialog instead of
GnomeDialog.
(button_clicked): Same.
svn path=/trunk/; revision=18635
|
|
|
|
| |
svn path=/trunk/; revision=18582
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Jeffrey Stedfast <fejj@ximian.com>
* vfolder-rule.c: Ported.
* vfolder-editor.c: Ported.
* vfolder-context.c: Ported.
svn path=/trunk/; revision=18569
|
|
|
|
|
|
|
|
|
|
| |
2002-11-04 Jeffrey Stedfast <fejj@ximian.com>
* filter-editor.c: Also ported.
* rule-editor.c: Ported to gtk2 and removed unnecessary e_utf8 snot.
svn path=/trunk/; revision=18539
|
|
|
|
|
|
|
|
| |
* rule-editor.c (rule_add): Adjust default rule editor size to
accomodate the menu widening caused by "Pipe Message to Shell
Command".
svn path=/trunk/; revision=18470
|
|
|
|
|
|
|
|
|
| |
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
|