aboutsummaryrefslogtreecommitdiffstats
path: root/filter
Commit message (Collapse)AuthorAgeFilesLines
* ** Fix for bug #211353Milan Crha2008-01-104-46/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Milan Crha <mcrha@redhat.com> ** Fix for bug #211353 * po/POTFILES.in: Added new file e-util/e-util-labels.c * mail/filtertypes.xml: * mail/vfoldertypes.xml: * mail/em-folder-view.c: * mail/em-folder-browser.c: * mail/em-mailer-prefs.h: * mail/em-mailer-prefs.c: * mail/mail-config.h: * mail/mail-config.c: * mail/mail-config.glade: * mail/message-list.c: Label tags are now generated based on label name when creating, except of first 5 labels. New menu option "New Label" in popup menu over message list and editing of labels has been changed in Preferences. Also renaming tab in Preferences for "Labels", not "Colors", and the tab label too. mail-config-label... functions was moved to e-util/e-util-labels.c/.h. * mail/message-list.etspec: Normalized columns has been moved by one when label column has been added. * filter/filter-option.h: * filter/filter-option.c: (filter_option_get_current), (filter_option_remove_all): New functions to be able to refill options even after initialization of the filter element. * filter/filter-label.c: Added support to notify changes on labels in runtime and use actual labels. * e-util/Makefile.am: * e-util/e-util-labels.h: * e-util/e-util-labels.c: New files to work with labels. svn path=/trunk/; revision=34788
* Removing cyclic dependency caused by mail_config_get_labels.Srinivasa Ragavan2007-12-172-22/+39
| | | | | | | | | | | | 2007-12-17 Srinivasa Ragavan <sragavan@novell.com> * filter-label.c: (filter_label_count), (filter_label_label), (filter_label_index), (xml_create): Removing cyclic dependency caused by mail_config_get_labels. svn path=/trunk/; revision=34717
* ** Fix for bug #211353Milan Crha2007-12-172-33/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-14 Milan Crha <mcrha@redhat.com> ** Fix for bug #211353 * message-list.etspec: * message-list.h: * message-list.c: Added new column to show labels. * filtertypes.xml: * vfoldertypes.xml: Code for label filters/search folders has been changed. * mail-config.glade: * em-folder-view.c: (emfv_set_label), (emfv_unset_label), (emfv_popup_label_clear), (emfv_popup_label_set), (emfv_popup_labels_get_state_for_tag), (emfv_popup): Labels popup submenu is now shown with checkboxes so one can set more than one label to the message and unset only one label from message. There has been added new function, because of this. * mail-config.h: * mail-config.c: New "interface" functions to work with labels. * em-mailer-prefs.h: * em-mailer-prefs.c: Editing labels in tree. * em-folder-browser.c: Labels in show menu reflect changes in preferences. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * filter-label.c: Use global label's setup, not its own copy. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-popup.h: * e-popup.c: (ep_build_tree): Toggles can be in inconsistent state now, and can also contain an image, which is a pointer to GtkImage widget. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-search-bar.c: (e_search_bar_get_viewitem_id): Return -1 if no viewmenu is setup yet. svn path=/trunk/; revision=34715
* Patch from Bob Mauchin <zebob.m@pengzone.org>: Fix for bug #438769 (UI: ↵Suman Manjunath2007-12-072-1/+9
| | | | | | Changed label from 'Search name' to 'Rule name' in the add-new-message-filter dialog) svn path=/trunk/; revision=34666
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-1526-723/+723
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes: - NULL vs 0 - ANSIfication of declarations - mixing codeKjartan Maraas2007-10-264-4/+18
| | | | | | | | | | | | | | | | 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
* ** Fix for bug #323977Milan Crha2007-10-112-1/+9
| | | | | | | | | | | | | | 2007-10-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #323977 * filter/filter-rule.c: (get_widget): Use "Add Filter Criteria" instead of plain "Add" for button label. * mail/em-filter-rule.c: (get_widget): Use "Add Action" instead of plain "Add" for button label. svn path=/trunk/; revision=34376
* ** Fixes bug #437579Matthew Barnes2007-10-102-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-284-6/+12
| | | | | | | Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
* Remove the --enable-file-chooser configure option.Matthew Barnes2007-09-142-18/+8
| | | | | | GtkFileChooser has been around since 2004. svn path=/trunk/; revision=34257
* 2007-09-12 mcrha Fix for bug #473514Milan Crha2007-09-124-4/+15
| | | | svn path=/trunk/; revision=34239
* 2007-09-12 mcrha Fix for bug #231178Milan Crha2007-09-122-2/+13
| | | | svn path=/trunk/; revision=34236
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-035-54/+77
| | | | svn path=/trunk/; revision=34160
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-0226-46/+46
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Remove unused include.Ross Burton2007-08-132-1/+5
| | | | | | | | | 2007-08-13 Ross Burton <ross@openedhand.com> * rule-context.c: Remove unused include. svn path=/trunk/; revision=33997
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-10/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* calendar/gui/dialogs/memo-page.glade:Andre Klapper2007-07-312-2/+7
| | | | | | | | | | | | | | | | | | | | | | | 2007-07-31 Andre Klapper <a9016009@gmx.de> * calendar/gui/dialogs/schedule-page.glade: calendar/gui/dialogs/memo-page.glade: calendar/gui/dialogs/meeting-page.glade: calendar/gui/dialogs/task-page.glade: calendar/gui/dialogs/task-details-page.glade: calendar/gui/dialogs/cal-prefs-dialog.glade: calendar/gui/dialogs/event-page.glade: calendar/gui/e-itip-control.glade: smime/gui/smime-ui.glade: filter/filter.glade: plugins/attachment-reminder/attachment-reminder.glade: plugins/imap-features/imap-headers.glade: plugins/exchange-operations/exchange-permissions-dialog.glade: plugins/publish-calendar/publish-calendar.glade: remove "window1" string from translation svn path=/trunk/; revision=33913
* 2007-07-27 Johnny Jacob Fix for bug #457523.Milan Crha2007-07-272-2/+12
| | | | svn path=/trunk/; revision=33862
* ** Fix for bug #263207Srinivasa Ragavan2007-06-183-4/+32
| | | | svn path=/trunk/; revision=33689
* Added a new element for percentage.Chenthill Palanisamy2007-06-042-0/+10
| | | | svn path=/trunk/; revision=33650
* Fix compilation warnings in filter directory (#439118).Matthew Barnes2007-06-0312-109/+128
| | | | svn path=/trunk/; revision=33624
* Fix for bug #211058Srinivasa Ragavan2007-05-114-30/+91
| | | | svn path=/trunk/; revision=33502
* Fix for bug #430559Srinivasa Ragavan2007-04-202-1/+8
| | | | svn path=/trunk/; revision=33436
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+0
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #373116Matthew Barnes2007-04-024-64/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #373116 * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/e-cal-model.c (ecm_get_color_for_component): * calendar/gui/memos-component.c (ensure_sources): * calendar/gui/migration.c (create_calendar_contact_source), (create_calendar_sources), (create_task_sources), (create_memo_sources), (add_gw_esource): * calendar/gui/tasks-component.c (ensure_sources): * plugins/groupwise-account-setup/camel-gw-listener.c (add_esource): Use the new ESource color API. * calendar/gui/dialogs/cal-prefs-dialog.c: * calendar/gui/dialogs/cal-prefs-dialog.glade: * calendar/gui/dialogs/calendar-setup.c: * calendar/gui/dialogs/calendar-setup.glade: * filter-colour.c (get_widget): * mail/em-composer-prefs.c: * mail/em-composer-prefs.h: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-config.glade: Migrate from GnomeColorPicker to GtkColorButton. * filter/filter-colour.h: Store color as a GdkColor instead of separate RGBA components. * filter/filter-colour.c (color_eq): Use gdk_color_equal() to compare colors. * filter/filter-colour.c (xml_encode): Encode color as a single property ("spec"). * filter/filter-colour.c (xml_decode): Read the color from a single property ("spec"). Provide a migration path for old XML files. * calendar/gui/calendar-component.c (calendar_config_get_tasks_due_today_color), (calendar_config_get_tasks_overdue_color): Return a GdkColor instead of an X color specification. * calendar/gui/calendar-component.c (calendar_config_set_tasks_due_today_color), (calendar_config_set_tasks_overdue_color): Accept a GdkColor instead of an X color specification. * calenar/gui/e-cal-model-tasks.c (ecmt_get_color_for_component): Adapt to modified color API in calendar-component.c by converting the GdkColor to an X color specification. This is an ugly hack to be fixed later. svn path=/trunk/; revision=33349
* ** Fixes bug #419524Matthew Barnes2007-03-2110-9/+15
| | | | | | | | | | | | | | | | | | | | | | | 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
* Add mnemonic to "Find items". Fixes bug #404242.Andre Klapper2007-02-042-1/+7
| | | | | | | | | | 2007-02-04 Andre Klapper <a9016009@gmx.de> * filter-rule.c: (get_widget): Add mnemonic to "Find items". Fixes bug #404242. svn path=/trunk/; revision=33174
* Move a var into #ifndef #USE_FILECOOSER to get rid of a warning. bugKjartan Maraas2006-10-012-1/+9
| | | | | | | | | 2006-10-01 Kjartan Maraas <kmaraas@gnome.org> * filter-file.c: (get_widget): Move a var into #ifndef #USE_FILECOOSER to get rid of a warning. bug #332101. svn path=/trunk/; revision=32839
* ** Fixes bug #324882 Alignment corrected for the date filtering rule.Ushveen Kaur2006-09-292-104/+188
| | | | | | | | | 2006-09-25 Ushveen Kaur <kushveen@novell.com> ** Fixes bug #324882 * filter.glade: Alignment corrected for the date filtering rule. svn path=/trunk/; revision=32822
* ** Fixes bug #341369Hiroyuki Ikezoe2006-07-082-0/+7
| | | | | | | | | | | | | 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
* ** Fixes Bug #323853Shi Pu2006-04-302-15/+32
| | | | | | | | | | | 2006-02-24 Shi Pu <shi.pu@sun.com> ** Fixes Bug #323853 * filter-file.c: (filename_changed), (get_widget): Replace GnomeFileEntry by GtkFileChooserButton. svn path=/trunk/; revision=31932
* Remove unused code Move around some code to avoid unneccesary prototypes.Kjartan Maraas2006-02-083-94/+96
| | | | | | | | | | | 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
* Added new thread-matching mode 'single' for messages not part of anyNot Zed2006-01-253-2/+17
| | | | | | | | | | 2006-01-25 Not Zed <NotZed@Ximian.com> * filter-rule.[ch]: Added new thread-matching mode 'single' for messages not part of any conversation. Committed on behalf of Notzed - partha svn path=/trunk/; revision=31305
* adding top/bottom buttons for filter manager dialog. Fixes bug 205616.Matthew Hall2005-12-311-0/+5
| | | | | | | | | 2005-12-20 Matthew Hall <matt@castleinthesky.org> * filter.glade; rule-editor.c: adding top/bottom buttons for filter manager dialog. Fixes bug 205616. svn path=/trunk/; revision=30996
* adding top/bottom buttons for filter manager dialog (#205616) (committingMatthew Hall2005-12-212-0/+59
| | | | | | | | | | 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
* ** Fixes bug #246225 ** Fixes bug #246227Srinivasa Ragavan2005-12-202-4/+13
| | | | | | | | | | | | | 2005-12-20 Srinivasa Ragavan <sragavan@novell.comcom> ** Fixes bug #246225 ** Fixes bug #246227 * filter-rule.c: Added the UI suggestions for "Advanced search" and "Save search" Commiting patch from Arulanandan P <arulanandan@gmail.com> svn path=/trunk/; revision=30901
* filter-file.c Use libedataserver's e_xml_parse_file(). Use gstdioTor Lillqvist2005-12-183-23/+25
| | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * filter-file.c * rule-context.c: Use libedataserver's e_xml_parse_file(). Use gstdio wrappers. Use g_file_test(). svn path=/trunk/; revision=30834
* Use gstdio wrappers.Tor Lillqvist2005-12-182-5/+13
| | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * filter-file.c: Use gstdio wrappers. svn path=/trunk/; revision=30833
* cast.Not Zed2005-08-242-1/+5
| | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * filter-rule.c (get_widget): cast. svn path=/trunk/; revision=30212
* Use privsolib instead of privlib. On Unix they are the same, on Win32Tor Lillqvist2005-08-104-4/+43
| | | | | | | | | | | | | | | | | | | | | | 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
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* moved e-error to e-utilNot Zed2005-05-1611-71/+50
| | | | | | | | | | 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
* Remove markup from translatable string. Fixes #268390 Patch submitted bySarfraaz Ahmed2005-05-062-1/+9
| | | | | | | | | 2005-05-06 Sarfraaz Ahmed <asarfraaz@novell.com> * filter-rule.c : Remove markup from translatable string. Fixes #268390 Patch submitted by Priit Laes svn path=/trunk/; revision=29302
* Fix for 72676.Harry Lu2005-02-182-0/+15
| | | | | | | | | | | 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
* Install shared libraries to privlibdir.Hans Petter Jansson2005-02-102-1/+5
| | | | | | | | | | | | | | | | 2005-02-09 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-editor/Makefile.am: * addressbook/gui/contact-list-editor/Makefile.am: * addressbook/util/Makefile.am: * filter/Makefile.am: * widgets/e-timezone-dialog/Makefile.am: * widgets/menus/Makefile.am: * widgets/misc/Makefile.am: * smime/lib/Makefile.am: * smime/gui/Makefile.am: Install shared libraries to privlibdir. svn path=/trunk/; revision=28762
* cast lenght specifiers to int.Not Zed2005-01-122-2/+7
| | | | | | | | | 2005-01-11 Not Zed <NotZed@Ximian.com> * filter-part.c (filter_part_expand_code): cast lenght specifiers to int. svn path=/trunk/; revision=28372
* Added label "Show filters for mail:".Diego Sevilla Ruiz2004-12-073-1/+29
| | | | | | | | | | | 2004-12-02 Diego Sevilla Ruiz <dsevilla@dsevilla> * filter.glade: Added label "Show filters for mail:". * filter-rule.c: Capitalize Ingoing and Outgoing labels. Fixes #46229. svn path=/trunk/; revision=28078
* Moved stuff from e-util to libedataserver.Not Zed2004-12-038-7/+13
| | | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * *.c: Moved stuff from e-util to libedataserver. * filter-system-flag.c: removed gal header. svn path=/trunk/; revision=28051
* add mnemonic widget in search box.Mengjie Yu2004-12-012-2/+7
| | | | | | | | 2004-11-29 Mengjie Yu <meng-jie.yu@sun.com> * filter-rule.c: (get_widget):add mnemonic widget in search box. svn path=/trunk/; revision=28031
* added the "use_filechooser" property to the GnomeFileEntryCarlos Garnacho Parro2004-08-132-0/+6
| | | | | | | | | 2004-07-29 Carlos Garnacho Parro <carlosg@gnome.org> * filter-file.c: added the "use_filechooser" property to the GnomeFileEntry svn path=/trunk/; revision=26891
* encode entities. fixes bug #46677.Jeffrey Stedfast2004-06-222-0/+8
| | | | | | | | 2004-06-21 Jeffrey Stedfast <fejj@novell.com> * filter-input.c (xml_encode): encode entities. fixes bug #46677. svn path=/trunk/; revision=26443
* Re-added - THIS IS NOT TO BE REMOVED!!!!Jeffrey Stedfast2004-06-182-0/+28
| | | | | | | | 2004-06-18 Jeffrey Stedfast <fejj@ximian.com> * filter-errors.xml.h: Re-added - THIS IS NOT TO BE REMOVED!!!! svn path=/trunk/; revision=26416
* Remove this generated file from CVSRodney Dawes2004-06-172-24/+4
| | | | | | | | 2004-06-17 Rodney Dawes <dobey@novell.com> * filter-errors.xml.h: Remove this generated file from CVS svn path=/trunk/; revision=26389
* ** See #59885.Not Zed2004-06-1738-5731/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* give the junk test a unique name. #59567.Not Zed2004-06-082-1/+5
| | | | | | | | 2004-06-08 Not Zed <NotZed@Ximian.com> * filtertypes.xml: give the junk test a unique name. #59567. svn path=/trunk/; revision=26247
* Require e-error-toolRodney Dawes2004-05-282-0/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* Removed from CVS Generated files don't belong in CVSRodney Dawes2004-05-262-65/+5
| | | | | | | | | 2004-05-26 Rodney Dawes <dobey@novell.com> * libfilter-i18n.h: Removed from CVS Generated files don't belong in CVS svn path=/trunk/; revision=26102
* don't dist the error .h fileJP Rosevear2004-05-202-1/+4
| | | | | | | | 2004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file svn path=/trunk/; revision=25979
* fix for folder selector api change, change the ok button to "Add".Not Zed2004-05-182-1/+6
| | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (source_add): fix for folder selector api change, change the ok button to "Add". svn path=/trunk/; revision=25950
* Same.Jeffrey Stedfast2004-05-123-0/+8
| | | | | | | | | | 2004-05-12 Jeffrey Stedfast <fejj@novell.com> * vfolder-rule.c: Same. * filter-folder.c: Added a #include to fix some compile warnings. svn path=/trunk/; revision=25880
* load threading option if threading enabled. (xml_encode): write outNot Zed2004-05-126-27/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * filter-rule.c (xml_decode): load threading option if threading enabled. (xml_encode): write out threading setting. (rule_copy): copy threading option. (rule_eq): compare threading. (build_code): build the match-threads stuff if set. (fr_grouping_changed): insead of the match_all match_any activate clalbacks. (fr_threading_changed): handle threading option menu * rule-context.c (rule_context_init): set capabilities flags. * vfolder-context.c (vfolder_context_init): set capabilities flags to include threading. * rule-context.h: added a capabilities flag, grouping and threading capabilities. Sort of a hack to workaround not being able to put grouping or threading into rules. * filter-rule.h: added an option for threading as well as grouping. svn path=/trunk/; revision=25877
* fix i18n file generation rules.Not Zed2004-05-125-55/+106
| | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * Makefile.am (%.xml.h): fix i18n file generation rules. * filter-errors.xml: rename from xml.in and fix tags. * filter-errors.xml.h: add for translators. svn path=/trunk/; revision=25867
* Added the Junk status flag to the xml definition so you can vfolder onJeffrey Stedfast2004-05-032-0/+8
| | | | | | | | | 2004-05-03 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Added the Junk status flag to the xml definition so you can vfolder on that. svn path=/trunk/; revision=25755
* updateDan Winship2004-05-031-3/+3
| | | | svn path=/trunk/; revision=25751
* fix a warning.Not Zed2004-04-2811-96/+34
| | | | | | | | | | 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
* Work in progress, HIG'ing and de-coupling of errors.Michael Zucci2004-04-161-0/+51
| | | | svn path=/trunk/; revision=25493
* renamed filter_label to rule_label, and removed the vfolder-editor andNot Zed2004-03-317-659/+51
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Use the new "filter_editor" that has been added to the glade file RemoveRodney Dawes2004-03-314-274/+402
| | | | | | | | | | | | | | | 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
* Fix packing of the hbox that contains the actual input widgets to expandRodney Dawes2004-03-303-2/+8
| | | | | | | | | | 2004-03-29 Rodney Dawes <dobey@ximian.com> * filter-filter.c (get_widget): * filter-rule.c (get_widget): Fix packing of the hbox that contains the actual input widgets to expand and fill svn path=/trunk/; revision=25235
* return the added option. (clone): make sure we set the current optionNot Zed2004-03-265-9/+22
| | | | | | | | | | | | | 2004-03-26 Not Zed <NotZed@Ximian.com> * filter-option.c (filter_option_add): return the added option. (clone): make sure we set the current option properly on the new copy. See #56028. * filtertypes.xml: s/pipe to shell command/pipe to program/ s/shell command/run program/, cleans up the UI a lot. svn path=/trunk/; revision=25194
* Use ngettext for handling plurals in filter-datespec. Partial fix for #53464).Danilo Šegan2004-03-202-13/+25
| | | | svn path=/trunk/; revision=25135
* Don't ref the newly cloned rule (fix to previous patch).Jeffrey Stedfast2004-03-172-1/+5
| | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (rule_copy): Don't ref the newly cloned rule (fix to previous patch). svn path=/trunk/; revision=25089
* When copying a FilterPart of a rule, we need copy the data of partsBill Zhu2004-03-162-2/+8
| | | | | | | | | 2004-03-14 Bill Zhu <bill.zhu@sun.com> * filter-rule.c (rule_copy): When copying a FilterPart of a rule, we need copy the data of parts together but not only copy the pointer. svn path=/trunk/; revision=25086
* Credit William Jon McCann for original filter HIG patch (forgot to)Rodney Dawes2004-03-161-0/+2
| | | | svn path=/trunk/; revision=25084
* Hide the separators on these dialogs Re-pack the rule_editor widget inRodney Dawes2004-03-1614-461/+651
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* After setting the new selected iter, call cursor_changed() so we canJeffrey Stedfast2004-02-212-0/+13
| | | | | | | | | | 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
* ** See bug #54338.Not Zed2004-02-204-55/+85
| | | | | | | | | | | | | | | | | | | 2004-02-20 Not Zed <NotZed@Ximian.com> ** See bug #54338. * vfolder-rule.c: instead of overriding the filter-rule's 'source' attribute for 'with sources', add a 'with' enum. (xml_decode): handle loading old-format files, as well as new ones, where the with is a prop on the sources xml. (xml_encode): set 'with' on save. (rule_copy): copy across with value. (get_widget): just hook onto option menu changed, dont bother setting up any per-item callbacks. (select_source_with_changed): callback to monitor source 'with' type. svn path=/trunk/; revision=24815
* implement, since we dont store the min/max values in the xml output, weNot Zed2004-02-172-0/+21
| | | | | | | | | | 2004-02-17 Not Zed <NotZed@Ximian.com> * filter-int.c (int_clone): implement, since we dont store the min/max values in the xml output, we lose it otherwise. Bug #54155. svn path=/trunk/; revision=24757
* Default to an empty string for the value. (xml_decode): Remove old valuesHans Petter Jansson2004-02-072-2/+23
| | | | | | | | | | 2004-02-06 Hans Petter Jansson <hpj@ximian.com> * filter-input.c (filter_input_init): Default to an empty string for the value. (xml_decode): Remove old values before decoding the new ones. svn path=/trunk/; revision=24660
* add widgets/miscDan Winship2004-02-042-0/+5
| | | | | | * Makefile.am (INCLUDES): add widgets/misc svn path=/trunk/; revision=24587
* autogenerated file out of sync in CVSRadek Doulik2004-01-231-1/+1
| | | | svn path=/trunk/; revision=24379
* load from the just-loaded 'userdoc' rather than rc->user.Not Zed2004-01-203-22/+25
| | | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> * rule-context.c (revert): load from the just-loaded 'userdoc' rather than rc->user. (rule_context_finalise): remove user and system xmldoc files. (load): make rc->system and rc->user locals systemdoc userdoc, and free them immediately. svn path=/trunk/; revision=24321
* ** See bug #52467.Not Zed2004-01-162-11/+28
| | | | | | | | | | | | | | 2004-01-16 Not Zed <NotZed@Ximian.com> ** See bug #52467. * vfolder-rule.c (vfr_folder_response): convert the uri to an evolution uri, rather than a camel one, for storage. And remove double-calls to geT_selected_uri. (format_source): treat uri as an evolution uri and convert to a camel one to get something meaningful out of it. svn path=/trunk/; revision=24265
* s/spam/junk, added junk test rule, it must be lost while porting to 1.5Radek Doulik2004-01-153-27/+56
| | | | | | | | | 2004-01-15 Radek Doulik <rodo@ximian.com> * filtertypes.xml: s/spam/junk, added junk test rule, it must be lost while porting to 1.5 svn path=/trunk/; revision=24240
* ** See bug #47751.Not Zed2004-01-074-25/+28
| | | | | | | | | | | | | | 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
* call peek instead of get as the function was renamedJP Rosevear2003-12-232-1/+6
| | | | | | | | | 2003-12-23 JP Rosevear <jpr@ximian.com> * vfolder-rule.c (source_add): call peek instead of get as the function was renamed svn path=/trunk/; revision=24006
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-072-1/+4
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* added FILTER_SOURCE_JUNKTEST - perform only junktest on incoming mailRadek Doulik2003-12-042-0/+6
| | | | | | | | | 2003-12-04 Radek Doulik <rodo@ximian.com> * filter-rule.h: added FILTER_SOURCE_JUNKTEST - perform only junktest on incoming mail svn path=/trunk/; revision=23628
* turn on deprecated gtk stuffJP Rosevear2003-11-262-1/+4
| | | | | | | | 2003-11-26 JP Rosevear <jpr@ximian.com> * Makefile.am: turn on deprecated gtk stuff svn path=/trunk/; revision=23493
* #include "em-folder-tree.h"Jeffrey Stedfast2003-11-172-2/+7
| | | | | | | | 2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c: #include "em-folder-tree.h" svn path=/trunk/; revision=23382
* fix for folder selector api changes. (vfr_folder_response): handle theNot Zed2003-11-172-27/+36
| | | | | | | | | 2003-11-17 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (source_add): fix for folder selector api changes. (vfr_folder_response): handle the dialog response. svn path=/trunk/; revision=23380
* merged spam filtering branchRadek Doulik2003-11-132-0/+7
| | | | svn path=/trunk/; revision=23302
* Remove Viewports around the treeviews, since they already have a scrolledEttore Perazzoli2003-10-234-36/+20
| | | | | | | | | | | | * 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
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-224-40/+60
| | | | svn path=/trunk/; revision=22966
* Listen to the "value-changed" signal rather than the "changed" signal.Jeffrey Stedfast2003-09-232-1/+6
| | | | | | | | | 2003-09-22 Jeffrey Stedfast <fejj@ximian.com> * filter-int.c (get_widget): Listen to the "value-changed" signal rather than the "changed" signal. Fixes bug #48166. svn path=/trunk/; revision=22646
* type should be a GType. (rule_context_add_rule_set): Likewise. UpdateJeremy Katz2003-09-173-6/+13
| | | | | | | | | | | 2003-09-16 Jeremy Katz <katzj@redhat.com> * rule-context.c (rule_context_add_part_set): type should be a GType. (rule_context_add_rule_set): Likewise. * rule-context.h: Update prototypes. Use GType instead of int for type in _part_set_map and _rule_set_map. svn path=/trunk/; revision=22593
* forgot to commit. new search types xml file.Michael Zucci2003-09-171-0/+529
| | | | svn path=/trunk/; revision=22586
* ** See Natzilla task #47524Not Zed2003-09-164-5/+41
| | | | | | | | | | | | | | | | | | 2003-09-15 Not Zed <NotZed@Ximian.com> ** See Natzilla task #47524 * filter-rule.h (FilterRule): add a system bit, for rules that shouldn't be edited/saved. * rule-context.c (load): check for ruleset maps in the system file, and if they exist, load in as system rules. (save): ignore system rules if they exist. * searchtypes.xml: Added a search-specific types folder. Also contains system searches that cannot be deleted. svn path=/trunk/; revision=22581
* ** See bug #42636.Not Zed2003-08-063-4/+20
| | | | | | | | | | | | | | | | | | 2003-08-05 Not Zed <NotZed@Ximian.com> ** See bug #42636. * vfoldertypes.xml: Fix some of the subject rules, they were missing matching ')'s. 2003-08-01 Not Zed <NotZed@Ximian.com> ** See bug #47208. * filter-code.c (build_code): wrap the expression in a match-all so boolean expressions work properly for folder searches. svn path=/trunk/; revision=22090
* Use EVO_MARSHAL_RULEDan Winship2003-07-242-11/+5
| | | | | | * Makefile.am: Use EVO_MARSHAL_RULE svn path=/trunk/; revision=21919
* free current_url.Larry Ewing2003-06-142-1/+6
| | | | | | | | 2003-06-13 Larry Ewing <lewing@ximian.com> * filter-source.c (filter_source_finalize): free current_url. svn path=/trunk/; revision=21435
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-2/+7
| | | | svn path=/trunk/; revision=21426
* stat the user file before parsing.Mike Kestner2003-06-112-1/+8
| | | | | | | | 2003-06-11 Mike Kestner <mkestner@ximian.com> * rule-context.c (load): stat the user file before parsing. svn path=/trunk/; revision=21408
* Fixes some leaks from bug #43883.Jeffrey Stedfast2003-06-104-6/+28
| | | | | | | | | | | | | | | | | | | | 2003-06-06 Jeffrey Stedfast <fejj@ximian.com> Fixes some leaks from bug #43883. * filter-file.c (xml_decode): Free file->path and set it to NULL before entering the loop to decode it. This way if the value is already set we don't leak it. Set file->path = g_strdup (str ? str : ""); and then xmlFree the str. 2003-05-21 Jeffrey Stedfast <fejj@ximian.com> * filter-source.c (filter_source_get_sources): Same as below. * filter-label.c (xml_create): Unref the gconf client when we're finished with it. svn path=/trunk/; revision=21390
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-2967/+2967
| | | | svn path=/trunk/; revision=21387
* Reverted unwanted commitRodrigo Moya2003-05-141-22/+22
| | | | svn path=/trunk/; revision=21168
* Updated NEWSRodrigo Moya2003-05-141-22/+22
| | | | svn path=/trunk/; revision=21167
* Format the colour string in a way that gdk_color_parse() will handle.Jeffrey Stedfast2003-05-072-1/+7
| | | | | | | | | | 2003-05-05 Jeffrey Stedfast <fejj@ximian.com> * filter-colour.c (format_sexp): Format the colour string in a way that gdk_color_parse() will handle. Apparently it no longer handles rgb:<red>/<green>/<blue>? Fixes bug #42345. svn path=/trunk/; revision=21115
* Fix for bug #41578.Jeffrey Stedfast2003-04-304-11/+28
| | | | | | | | | | | | | | | | | | | | | 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
* removed debug spew.Not Zed2003-04-233-6/+55
| | | | | | | | | | | | | | | | | | 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
* updated the bug list that my last commit fixed (since more bugs have been ↵Jeffrey Stedfast2003-04-121-1/+1
| | | | | | submitted that were fixed by that previous fix). svn path=/trunk/; revision=20830
* added more bug #'sJeffrey Stedfast2003-04-121-2/+2
| | | | svn path=/trunk/; revision=20826
* Fixes for bugs: #41149, #41150, #41151, #41152, #41153, #41155 and #41156.Jeffrey Stedfast2003-04-128-42/+78
| | | | | | | | | | | | | | | | | | | | | 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
* cast warning.Not Zed2003-03-282-1/+5
| | | | | | | | 2003-03-28 Not Zed <NotZed@Ximian.com> * filter-datespec.c (button_clicked): cast warning. svn path=/trunk/; revision=20555
* Loop over child nodes here too in order to not be affected by libxml2Jeffrey Stedfast2003-03-273-20/+36
| | | | | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> * filter-file.c (xml_decode): Loop over child nodes here too in order to not be affected by libxml2 crack. * filter-source.c (xml_decode): Fixed to disreguard libxml2 crack. (get_widget): Use strcmp instead of e_url_equal(). svn path=/trunk/; revision=20523
* (button_clicked): Fix this so we don't get stuck insideDan Winship2003-03-212-13/+7
| | | | | | gtk_dialog_run's main loop forever. svn path=/trunk/; revision=20433
* Change the strings in the timespans array from "second" / "seconds" to "1Dan Winship2003-03-212-9/+17
| | | | | | | | | | * filter-datespec.c (timespans, set_button): Change the strings in the timespans array from "second" / "seconds" to "1 second ago" / "%d seconds ago", etc, and update the code in set_button that uses them. Fixes #36245, translation clash between the "second" here and the one in the calendar (where it's used as "2nd"). svn path=/trunk/; revision=20432
* Don't return here - this is a void function. (rule_editor_set_source):Jeffrey Stedfast2003-03-202-2/+8
| | | | | | | | | | 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
* use the same code as in filter-rule to enforce unique names for allNot Zed2003-03-182-1/+18
| | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * rule-context.c (new_rule_response): use the same code as in filter-rule to enforce unique names for all rules/vfolders. svn path=/trunk/; revision=20332
* Set the default window size to something reasonable (350x400?). Fixes bugJeffrey Stedfast2003-03-182-0/+4
| | | | | | | | | 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
* Fixed to work properly. Fixes bug #39654.Jeffrey Stedfast2003-03-182-17/+27
| | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c (source_remove): Fixed to work properly. Fixes bug #39654. svn path=/trunk/; revision=20321
* Always add a Cancel button here, but if !enable_undo - make the responseJeffrey Stedfast2003-03-184-43/+55
| | | | | | | | | | | | 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
* go to the proper level of child node before looking for rule sets, fix forNot Zed2003-03-102-216/+222
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * rule-context.c (revert): go to the proper level of child node before looking for rule sets, fix for #39165 to make 'cancel' work. svn path=/trunk/; revision=20230
* Fixes for bug #39170Jeffrey Stedfast2003-03-062-3/+12
| | | | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39170 * filter-element.c (filter_element_xml_create): Remove return keyword. (filter_element_build_code): Same. (filter_element_format_sexp): Here too. svn path=/trunk/; revision=20189
* Change to use EAccountList, etc.Not Zed2003-02-242-52/+28
| | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * filter-source.c (filter_source_get_sources): Change to use EAccountList, etc. svn path=/trunk/; revision=20014
* Get rid of the need for the GTK_WIDGET_DESTROYED() check.Jeffrey Stedfast2003-02-132-17/+15
| | | | | | | | | 2003-02-12 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c (source_add): Get rid of the need for the GTK_WIDGET_DESTROYED() check. svn path=/trunk/; revision=19898
* Use g_object_new() instead of gtk_type_new().Jeffrey Stedfast2003-02-089-16/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Defined in configure.in now (filterdir): Define using privdatadirDan Winship2003-02-062-2/+6
| | | | | | | * Makefile.am (gladedir): Defined in configure.in now (filterdir): Define using privdatadir svn path=/trunk/; revision=19776
* (gladedir): Version using $(BASE_VERSION).Ettore Perazzoli2003-01-232-2/+7
| | | | | | (filterdir): Likewise. svn path=/trunk/; revision=19559
* dont re-use 'widget', its the return value!Not Zed2003-01-162-7/+12
| | | | | | | | | 2003-01-15 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (get_widget): dont re-use 'widget', its the return value! svn path=/trunk/; revision=19488
* Back to using e_xml_save_file().Jeffrey Stedfast2003-01-162-3/+5
| | | | | | | | 2003-01-15 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (save): Back to using e_xml_save_file(). svn path=/trunk/; revision=19483
* Change dialog from OK/Cancel to Cancel/OK to match HIG. (rule_edit):Ettore Perazzoli2003-01-154-10/+33
| | | | | | | | | | | | | | | * 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
* more bug #'sJeffrey Stedfast2003-01-041-1/+1
| | | | svn path=/trunk/; revision=19229
* added a bug # that was fixedJeffrey Stedfast2003-01-041-1/+1
| | | | svn path=/trunk/; revision=19227
* Scroll to the newly added row. (rule_delete): Scroll to the selected row.Jeffrey Stedfast2003-01-042-10/+41
| | | | | | | | | | | | 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
* more fixesJeffrey Stedfast2003-01-033-9/+9
| | | | svn path=/trunk/; revision=19203
* Fixed to build with -DG_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATEDJeffrey Stedfast2003-01-0310-46/+76
| | | | | | | | | 2003-01-02 Jeffrey Stedfast <fejj@ximian.com> Fixed to build with -DG_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED svn path=/trunk/; revision=19202
* Use an easier method for getting the iter.Jeffrey Stedfast2002-12-132-11/+15
| | | | | | | | | 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
* New custom function for creating the source_list widget. (get_widget):Jeffrey Stedfast2002-12-134-70/+150
| | | | | | | | | | | | | | | | | 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
* updatedJeffrey Stedfast2002-12-051-2/+2
| | | | svn path=/trunk/; revision=19004
* Add a textcellrenderer to display the folders. (get_widget): Remove FIXMENot Zed2002-11-262-1/+8
| | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (get_widget): Add a textcellrenderer to display the folders. (get_widget): Remove FIXME which was wrong. svn path=/trunk/; revision=18924
* FILTER_RULE_CLASS -> _GET_CLASSNot Zed2002-11-2622-74/+97
| | | | | | | | | | | | | | | | | | | | | | | 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
* free the list dataJeffrey Stedfast2002-11-211-8/+5
| | | | svn path=/trunk/; revision=18862
* gconfify.Jeffrey Stedfast2002-11-212-26/+42
| | | | | | | | 2002-11-20 Jeffrey Stedfast <fejj@ximian.com> * filter-label.c (xml_create): gconfify. svn path=/trunk/; revision=18861
* Updated to use GtkTreeView.Jeffrey Stedfast2002-11-195-80/+141
| | | | | | | | | | 2002-11-18 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c: Updated to use GtkTreeView. * vfolder-rule.c: Same. svn path=/trunk/; revision=18830
* Get the root node properly.Not Zed2002-11-1316-33/+49
| | | | | | | | | | | | | | | | | | 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
* comment out gtk_destroyed check.Not Zed2002-11-135-25/+86
| | | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (source_add): comment out gtk_destroyed check. * filter-label.c: Added back some of the guts. Might not work but some of the code uses it :-/. Gives u a fixed set of non-editable labels. svn path=/trunk/; revision=18729
* Use weak_ref instead of connecting to "destroy". (rule_add): Same.Jeffrey Stedfast2002-11-092-3/+9
| | | | | | | | | | 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
* Use a GtkDialog instead of a GnomeDialog for reporting errors.Jeffrey Stedfast2002-11-0812-121/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use GtkDialog instead of GnomeDialog here.Jeffrey Stedfast2002-11-0810-96/+131
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Deleted most of the internals until we devise a gconf schema and redesignJeffrey Stedfast2002-11-073-78/+13
| | | | | | | | | | 2002-11-06 Jeffrey Stedfast <fejj@ximian.com> * filter-label.c (xml_create): Deleted most of the internals until we devise a gconf schema and redesign how we want to do this. It didn't work correctly for 1.2 anyway. svn path=/trunk/; revision=18618
* Converted to the glade-2 format.Jeffrey Stedfast2002-11-062-933/+1240
| | | | | | | | 2002-11-06 Jeffrey Stedfast <fejj@ximian.com> * filter.glade: Converted to the glade-2 format. svn path=/trunk/; revision=18585
* use G_STRUCT_OFFSET instead of GTK_SIGNAL_OFFSETJeffrey Stedfast2002-11-062-4/+4
| | | | svn path=/trunk/; revision=18584
* more build fixesJeffrey Stedfast2002-11-063-39/+39
| | | | svn path=/trunk/; revision=18583
* a ton more build fixesJeffrey Stedfast2002-11-067-114/+91
| | | | svn path=/trunk/; revision=18582
* more build fixesJeffrey Stedfast2002-11-064-12/+8
| | | | svn path=/trunk/; revision=18581
* don't #include gnome-defs.hJeffrey Stedfast2002-11-061-1/+0
| | | | svn path=/trunk/; revision=18579
* fixed gnome-stock stuffJeffrey Stedfast2002-11-062-33/+19
| | | | svn path=/trunk/; revision=18578
* more build fixesJeffrey Stedfast2002-11-062-9/+7
| | | | svn path=/trunk/; revision=18577
* build fixesJeffrey Stedfast2002-11-062-36/+27
| | | | svn path=/trunk/; revision=18576
* some build fixesJeffrey Stedfast2002-11-065-21/+22
| | | | svn path=/trunk/; revision=18575
* Ported.Jeffrey Stedfast2002-11-069-212/+202
| | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Jeffrey Stedfast <fejj@ximian.com> * filter-filter.c: Ported. * filter-source.c (get_widget): Don't use e_utf8_to_gtk_string. * filter-option.c (xml_create): Don't use e_utf8_xml1_decode. * filter-input.c (xml_encode): Don't use e_utf8_xml1_encode. (xml_decode): Don't use e_utf8_xml1_decode. (entry_changed): Don't use e_utf8_gtk_entry_get_text. (get_widget): Don't use e_utf8_gtk_entry_set_text. * filter-file.c (xml_encode): Don't use e_utf8_xml1_encode shit. (xml_decode): Don't use e_utf8_xml1_decode. (entry_changed): Don't use e_utf8_gtk_entry_get_text. (get_widget): Don't use e_utf8_gtk_entry_set_text. svn path=/trunk/; revision=18570
* Ported.Jeffrey Stedfast2002-11-0610-320/+304
| | | | | | | | | | | | 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
* oopsJeffrey Stedfast2002-11-061-14/+13
| | | | svn path=/trunk/; revision=18564
* Ported.Jeffrey Stedfast2002-11-065-171/+173
| | | | | | | | 2002-11-05 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c: Ported. svn path=/trunk/; revision=18563
* Ported.Jeffrey Stedfast2002-11-068-202/+192
| | | | | | | | | | | | | 2002-11-05 Jeffrey Stedfast <fejj@ximian.com> * score-rule.c: Ported. * score-editor.c: Ported. Again, thise code seems to be unused. * score-context.c: Ported. Although it seems this code isn't really used anywhere? svn path=/trunk/; revision=18562
* Ported.Jeffrey Stedfast2002-11-055-124/+117
| | | | | | | | 2002-11-04 Jeffrey Stedfast <fejj@ximian.com> * filter-part.c: Ported. svn path=/trunk/; revision=18540
* Also ported.Jeffrey Stedfast2002-11-055-234/+225
| | | | | | | | | | 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
* Ported this too.Jeffrey Stedfast2002-11-025-171/+171
| | | | | | | | | | 2002-11-02 Jeffrey Stedfast <fejj@ximian.com> * filter-context.c: Ported this too. * rule-context.c: Ported to glib2/GObject. svn path=/trunk/; revision=18502
* Ported to glib2/GObject.Jeffrey Stedfast2002-11-023-359/+370
| | | | | | | | 2002-11-02 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c: Ported to glib2/GObject. svn path=/trunk/; revision=18501
* Ported to GObject.Jeffrey Stedfast2002-11-0211-426/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c: Ported to GObject. * filter-input.c: Same. * filter-code.c: This too. * filter-colour.c: And this. * filter-datespec.c: You guessed it. * filter-file.c: And again... * filter-folder.c: Wheee! This is fun... * filter-int.c: Gee, I wonder... * filter-label.c: Also ported. * filter-option.c: Yep, this too. * filter-source.c: And finally this one. svn path=/trunk/; revision=18495
* Ported to GObject.Jeffrey Stedfast2002-11-027-165/+175
| | | | | | | | | | | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c: Ported to GObject. * filter-input.c: Same. * filter-code.c: This too. * filter-colour.c: And this. * filter-datespec.c: You guessed it. * filter-file.c: And again... svn path=/trunk/; revision=18493
* Ported to GObject.Jeffrey Stedfast2002-11-029-355/+362
| | | | | | | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * filter-element.c: Ported to GObject. * filter-input.c: Same. * filter-code.c: This too. * filter-colour.c: And this. svn path=/trunk/; revision=18492
* Adjust default rule editor size to accomodate the menu widening caused byDan Winship2002-11-012-1/+7
| | | | | | | | * 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
* Removed the Run Once filter action.Jeffrey Stedfast2002-10-113-28/+26
| | | | | | | | 2002-10-10 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Removed the Run Once filter action. svn path=/trunk/; revision=18364
* Sync for 1.1.2.Ettore Perazzoli2002-10-081-22/+22
| | | | svn path=/trunk/; revision=18347
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-013-3/+10
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* Use "mail/*" as the allowed folder type.Dan Winship2002-09-263-2/+9
| | | | | | | | | * filter-folder.c (get_widget): Use "mail/*" as the allowed folder type. * vfolder-rule.c (source_add): Likewise svn path=/trunk/; revision=18225
* add empty statement after label to make it ANSI.Dan Winship2002-09-232-0/+6
| | | | | | | * filter-context.c (filter_delete_uri): add empty statement after label to make it ANSI. svn path=/trunk/; revision=18158
* Changed source account, use header-source rather than (= (get-source) ...)Not Zed2002-09-192-2/+7
| | | | | | | | | 2002-09-19 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Changed source account, use header-source rather than (= (get-source) ...) svn path=/trunk/; revision=18113
* Add a Run Once action to run a command only once rather than for eachJeffrey Stedfast2002-09-143-0/+11
| | | | | | | | | 2002-09-13 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Add a Run Once action to run a command only once rather than for each message that has that action applied. svn path=/trunk/; revision=18068
* Dont allow duplicate names. (edit_editor_clicked): Same here. For #24803.Not Zed2002-08-082-2/+34
| | | | | | | | | 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
* Don't need to save temp/backup files anymore, e_xml_save_file() nowJeffrey Stedfast2002-08-072-15/+10
| | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (save): Don't need to save temp/backup files anymore, e_xml_save_file() now handles this for us (well, at least the saving of temp files). I'm not sure we need a backup file anymore now that we can depend on e_xml_save_file() to "Just Work" svn path=/trunk/; revision=17727
* Use e_xml_save_file(). (xml_doc_save): Removed this code and added it toJeffrey Stedfast2002-08-072-300/+11
| | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (save): Use e_xml_save_file(). (xml_doc_save): Removed this code and added it to gal so that e-table and all other parts of evolution and so forth could use it. svn path=/trunk/; revision=17720
* New internal function to replace xmlSaveFile. Does proper error checkingJeffrey Stedfast2002-08-062-4/+317
| | | | | | | | | | | | 2002-08-05 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (xml_doc_save): New internal function to replace xmlSaveFile. Does proper error checking and so forth to ensure that the resulting file does not ever get truncated. (save): Cal xml_doc_save rather than xmlSaveFile. Fixes bug #25980. svn path=/trunk/; revision=17703
* Added a datespec editor window.Not Zed2002-08-024-478/+485
| | | | | | | | | | | | 2002-08-02 Not Zed <NotZed@Ximian.com> * filter.glade: Added a datespec editor window. * filter-datespec.c (button_clicked): Rewritten to use glade. Simplified all the code around it as a result, etc, and fixed bug #21798. svn path=/trunk/; revision=17684
* If the value was unset, initialize it to now.Peter Williams2002-08-022-11/+16
| | | | | | | | | 2002-08-01 Peter Williams <peterw@ximian.com> * filter-datespec.c (activate_specified): If the value was unset, initialize it to now. svn path=/trunk/; revision=17670
* (xml_create): Remove unused variable.Ettore Perazzoli2002-08-012-1/+4
| | | | svn path=/trunk/; revision=17662
* Translate the rule name when filling in the name entry.Peter Williams2002-07-312-1/+6
| | | | | | | | | 2002-07-30 Peter Williams <peterw@ximian.com> * filter-rule.c (get_widget): Translate the rule name when filling in the name entry. svn path=/trunk/; revision=17648
* Add xml to unset system flags.Jeffrey Stedfast2002-07-293-0/+28
| | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Add xml to unset system flags. svn path=/trunk/; revision=17626
* Use fs->type in xmlGetProp since we already free'd 'type'. Fixes bugJeffrey Stedfast2002-07-276-34/+30
| | | | | | | | | 2002-07-26 Jeffrey Stedfast <fejj@ximian.com> * filter-int.c (xml_decode): Use fs->type in xmlGetProp since we already free'd 'type'. Fixes bug #28113. svn path=/trunk/; revision=17622
* Use GtkType (I only changed this one because I turned on debugging for aJeffrey Stedfast2002-07-255-7/+24
| | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * filter-int.[c,h]: Use GtkType (I only changed this one because I turned on debugging for a bit). * filter-file.c (validate): Fix the strcmp logic a bit, I had it the exact opposite of what I really wanted. Oops :-) svn path=/trunk/; revision=17586
* Do some minimalistic validation of command-lines (ie, make sure it isn'tJeffrey Stedfast2002-07-254-20/+38
| | | | | | | | | | | | | | 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * filter-file.c (validate): Do some minimalistic validation of command-lines (ie, make sure it isn't an empty string). * filtertypes.xml: s/shell-exec/shell/ (for the action) and pass "/bin/sh" "-c" as the first 2 arguments. For the shell-exec *rule*, change the name to "pipe-message" and add the "/bin/sh" "-c" arguments too. svn path=/trunk/; revision=17584
* Use the U_() macro to get the UTF-8 translation.Jeffrey Stedfast2002-07-183-21/+28
| | | | | | | | | 2002-07-17 Jeffrey Stedfast <fejj@ximian.com> * filter-label.c (xml_create): Use the U_() macro to get the UTF-8 translation. svn path=/trunk/; revision=17495
* cvs remove.Not Zed2002-07-167-132/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * filter-score.[ch]: cvs remove. * filter-element.c: Remove reference to filter-score.h * vfoldertypes.xml: Fix label vfolder rule as below, also add score and size rules from filtertypes.xml. * filtertypes.xml (score): Use (cast-int (user-tag "score")) to get the value directly, rather than (get-score). (label): Use (user-tag "label") to get the value directly, rather than (get-label). The label is now a string too. * filter-label.c (filter_label_get_type): Make filter-label inherit from filter-option. Which makes more sense doesn't it ... surely. (validate): Removed, optionlists are self-validating. (xml_create): Initialise the list of options from our configuration database. If it isn't working, ignore it and set it up anyway. (filter_label_init): Override the xml type. (filter_label_count): (filter_label_label): (filter_label_index): Some helper functions for external interfaces. All of the mail config/etc should use this. * filter-option.c (free_option): (xml_create): (clone): Made the "value" type in glib memory rather than xml memory space. (filter_option_add): Utility function to add a new option to the list. (clone): Use above function to simplify code. (xml_create): Same here. (xml_encode): Allow subclasses to override the type. svn path=/trunk/; revision=17472
* Changelog is pending some other patch approval so i'm not commiting.Not Zed2002-07-153-290/+0
| | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * filter-score.[ch]: cvs remove. * filter-element.c: Remove reference to filter-score.h svn path=/trunk/; revision=17454
* ** fixes for #10781Not Zed2002-07-1524-139/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-10 Not Zed <NotZed@Ximian.com> ** fixes for #10781 * filter-int.c (xml_encode): (xml_decode): Handle encoding/decoding with a type name, in a manner compatible with the score/label elemtns. (filter_int_new_type): New constructor to create a generic 'int' type. * filter-score.c: Removed. Now relies on using a filter-int with appropriate settings. * filter-label.[ch]: Now inherits from filter-int. * rule-context.c (rule_context_revert): New method to revert a filter context back to a user-file's definition. (revert): implementation. * filter-rule.h: Added new virtual method _eq and wrapper, and fixed all subclasses to implement it. * filter-element.h: Added new virtual method _eq and wrapper. Fixed all subclasses to implement it. svn path=/trunk/; revision=17448
* Make the sound type for (play-sound ) a "file" type rather than "string"Jeffrey Stedfast2002-07-094-3/+20
| | | | | | | | | | | | | | | | | 2002-07-08 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Make the sound type for (play-sound ) a "file" type rather than "string" since users will want to use a filesel to select it most likely. Fixes bug #26921. * filter-file.c (validate): If the type is "file" check that it is a valid file, otheriwse if it is a command-line just ignore it for now. * filter-element.c (filter_element_new_type_name): A filter type of "file" should also use the filter-file object. svn path=/trunk/; revision=17385
* fixed a spelling mistakeJeffrey Stedfast2002-05-251-1/+1
| | | | svn path=/trunk/; revision=17009
* *** empty log message ***Ettore Perazzoli2002-05-251-1/+1
| | | | svn path=/trunk/; revision=17007
* Add libfilter-i18n.h.Ettore Perazzoli2002-05-251-0/+1
| | | | svn path=/trunk/; revision=17006
* Fix English grammar.Ettore Perazzoli2002-05-252-1/+5
| | | | | | * filter-rule.c (get_widget): Fix English grammar. svn path=/trunk/; revision=17005
* Added a label definition.Jeffrey Stedfast2002-05-1712-7/+445
| | | | | | | | | | | | | | | | | 2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Added a label definition. * filtertypes.xml: Added a label definition. * filter-label.c: New filter widget for labels. * filter-element.c (filter_element_new_type_name): Add support for the new label widget. * filter-int.c (format_sexp): Fixed a memory leak. svn path=/trunk/; revision=16936
* Set the path in the entry widget.Jeffrey Stedfast2002-05-102-0/+4
| | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.c (get_widget): Set the path in the entry widget. svn path=/trunk/; revision=16741
* Add filter-file.[c,h] to the build.Jeffrey Stedfast2002-05-106-20/+66
| | | | | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Add filter-file.[c,h] to the build. * filtertypes.xml: Add a "Command" filter rule. * filter-element.c (filter_element_new_type_name): Add support for type "command" which uses the new FilterFile widget. svn path=/trunk/; revision=16739
* New filter widgets for choosing files and/or command-line's (?). Not yetJeffrey Stedfast2002-05-103-0/+375
| | | | | | | | | | 2002-05-09 Jeffrey Stedfast <fejj@ximian.com> * filter-file.[c,h]: New filter widgets for choosing files and/or command-line's (?). Not yet hooked up or anything, just for future use. svn path=/trunk/; revision=16735
* Changed to return a GList *, a list of the names of the rules affected byNot Zed2002-05-085-42/+126
| | | | | | | | | | | | | | | | | 2002-05-08 Not Zed <NotZed@Ximian.com> * rule-context.c (rule_context_delete_uri): Changed to return a GList *, a list of the names of the rules affected by the delete, fixed all implementors. (rule_context_rename_uri): Similarly for delete_uri, for api consistency. (rule_context_free_uri_list): Util function to free the return from above. * filter-context.c (filter_delete_uri): Actually implement it, fix for #18826, and some related bugs. svn path=/trunk/; revision=16718
* Get rid of ibex stuff, we no longer use it.Jeffrey Stedfast2002-04-272-1/+4
| | | | | | | | 2002-04-26 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Get rid of ibex stuff, we no longer use it. svn path=/trunk/; revision=16622
* The score "is" rule should have a value of "is" and not "less-than".Jeffrey Stedfast2002-04-192-1/+6
| | | | | | | | | 2002-04-18 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: The score "is" rule should have a value of "is" and not "less-than". svn path=/trunk/; revision=16514
* Fixed a grammer mistake, or so according to bug #23376. Whatever.Jeffrey Stedfast2002-04-133-19/+25
| | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (get_widget): Fixed a grammer mistake, or so according to bug #23376. Whatever. svn path=/trunk/; revision=16454
* Fix "Follow Up" searches by comparing to the empty string, rather than justRussell Steinthal2002-04-123-4/+16
| | | | | | looking at the string value (which isn't a boolean) (Bug #233340 svn path=/trunk/; revision=16444
* Check that there is a value to setup. Fixes #15470.Not Zed2002-04-102-1/+4
| | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filter-input.c (validate): Check that there is a value to setup. Fixes #15470. svn path=/trunk/; revision=16420
* This needs to return a gboolean (TRUE). (rule_edit): UsingJeffrey Stedfast2002-04-102-5/+15
| | | | | | | | | | | 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
* Added closing ) for "not starts with" subject rule. Added closing ) forNot Zed2002-04-102-5/+6
| | | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added closing ) for "not starts with" subject rule. Added closing ) for all the other broken rules too ... svn path=/trunk/; revision=16408
* Added closing ) for "not starts with" subject rule.Not Zed2002-04-103-19/+24
| | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added closing ) for "not starts with" subject rule. svn path=/trunk/; revision=16406
* Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton.Dan Winship2002-04-056-126/+40
| | | | | | | | | | | | | | | | * filter-folder.c: Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton. Remove FilterFolder->name since it's no longer needed. * filter-context.c (filter_rename_uri): Update for removal of FilterFolder->name. * filter-element.c (filter_element_copy_value): Likewise. * vfolder-rule.c (source_add): Update for evolution_shell_client_user_select_folder API change. svn path=/trunk/; revision=16354
* Set 're' as the parent window rather than as the parent widget.Jeffrey Stedfast2002-04-023-7/+14
| | | | | | | | | | 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
* Free account_name so we don't leak. Also after getting the source uri, useJeffrey Stedfast2002-03-192-34/+72
| | | | | | | | | | | | | | | 2002-03-18 Jeffrey Stedfast <fejj@ximian.com> * filter-source.c (filter_source_get_sources): Free account_name so we don't leak. Also after getting the source uri, use camel-url to hide unwanted stuff. (xml_decode): Use xmlFree on the buffer returned from xmlNodeGetContent rather than g_free, as I think they are incompatable. Also use camel-url here to hide any params in the decoded url (to make things compatable with what older versions may have saved). svn path=/trunk/; revision=16196
* updated i18n headerJeffrey Stedfast2002-03-071-18/+20
| | | | svn path=/trunk/; revision=15951
* Added beep and play-sound actions.Jeffrey Stedfast2002-03-072-0/+13
| | | | | | | | 2002-03-06 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Added beep and play-sound actions. svn path=/trunk/; revision=15950
* Copy values across to new part.Not Zed2002-02-269-18/+126
| | | | | | | | | | | | | | | | | | 2002-02-26 Not Zed <NotZed@Ximian.com> * filter-filter.c (option_activate): Copy values across to new part. * filter-rule.c (option_activate): copy values across to new part, if they are compatible. * filter-element.c (filter_element_copy_value): New function to copy values (where they can be) from one filter element to another. * filter-part.c (filter_part_copy_values): New function to copy values of a filter part. #1359. svn path=/trunk/; revision=15841
* Re-added contains and not-contains. Also added filter/vfolder rules forJeffrey Stedfast2002-02-134-2/+43
| | | | | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: * filtertypes.xml: Re-added contains and not-contains. Also added filter/vfolder rules for Flag-for-Followup. svn path=/trunk/; revision=15694
* Re-added contains and not-contains.Jeffrey Stedfast2002-02-134-1/+20
| | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Re-added contains and not-contains. svn path=/trunk/; revision=15687
* NeedsReply no longer existsJeffrey Stedfast2002-02-082-6/+0
| | | | svn path=/trunk/; revision=15600
* Same here.Jeffrey Stedfast2002-02-053-66/+9
| | | | | | | | | | | 2002-02-04 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Same here. * filtertypes.xml: For mlist matching, we only want "is" and "is not" because that is all we really support anyway. svn path=/trunk/; revision=15570
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-282-5/+6
| | | | svn path=/trunk/; revision=15486
* check if re->edit != NULL before trying to unref it. Fixes a segfault whenMikael Hallendal2002-01-272-1/+10
| | | | | | | | | | 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
* If we write "" to an xml file, we read back NULL. So if we read back NULL,Not Zed2002-01-152-4/+13
| | | | | | | | | | | 2002-01-15 Not Zed <NotZed@Ximian.com> * filter-input.c (xml_decode): If we write "" to an xml file, we read back NULL. So if we read back NULL, convert it to "". Sigh. This makes a fix for #7801, although new gui may also be required. svn path=/trunk/; revision=15326
* Get the account name because that is the string we'd like to use forJeffrey Stedfast2002-01-043-27/+40
| | | | | | | | | | | | | 2002-01-03 Jeffrey Stedfast <fejj@ximian.com> * filter-source.c (filter_source_get_sources): Get the account name because that is the string we'd like to use for display. (get_widget): Generate the account label the same as we do for the composer's From optionmenu. (filter_source_finalize): Free the account_name. (clone): Pass along the account_name member to filter_add_source svn path=/trunk/; revision=15241
* Make the date comparisons read the same as the ones in filtertypes.xmlJeffrey Stedfast2002-01-033-36/+39
| | | | | | | | | 2002-01-02 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Make the date comparisons read the same as the ones in filtertypes.xml svn path=/trunk/; revision=15232
* Add new action to execute a shell command.Jeffrey Stedfast2001-12-183-18/+29
| | | | | | | | 2001-12-17 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Add new action to execute a shell command. svn path=/trunk/; revision=15138
* Oops... this didn't get committed before.Jon Trowbridge2001-12-101-0/+8
| | | | svn path=/trunk/; revision=14947
* Implements marking messages as "Need Reply".Jon Trowbridge2001-12-102-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements marking messages as "Need Reply". 2001-12-09 Jon Trowbridge <trow@ximian.com> * mail-need-reply.xpm: Added a really, really ugly and awful icon to symbolize "message needs a reply". * Makefile.am (EXTRA_DIST): Added mail-need-reply.xpm. 2001-12-09 Jon Trowbridge <trow@ximian.com> * camel-folder-summary.c: Add "NeedsReply" to the flag_names array for CAMEL_MESSAGE_NEEDS_REPLY. * camel-folder-summary.h: Added CAMEL_MESSAGE_NEEDS_REPLY flag. 2001-12-09 Jon Trowbridge <trow@ximian.com> * vfoldertypes.xml: Add "Needs Reply" option to different status types. * filtertypes.xml: Add "Needs Reply" option to different status types. 2001-12-09 Jon Trowbridge <trow@ximian.com> * message-list.c: #include "art/mail-need-reply.xpm". (ml_tree_value_at): Adjust magic numbers, show "Need Reply" icon if the message needs reply. (message_list_create_extras): Adjust magic numbers to add new icon. (on_click): Changed to toggle between unread, read, and need reply when the status icon is clicked. * mail-callbacks.c (mark_as_needing_reply): Added. (mark_as_not_needing_reply): Added. Add "set" value to struct post_send_data. (composer_sent_cb): Use both "flags" and "set" elements of post_send_data when setting message flags. (mail_reply): Clear "Needs Reply" flag when we actually reply to a message. * folder-browser.c: Changed flag values to be given by bit-shifting (1<<5) vs. base-ten (32). Added CAN_MARK_DOESNT_NEED_REPLY flag. Added "Mark as Needing Reply" and "Mark as Not Needing Reply" elements to context menu. (on_right_click): Hide "Mark as (Not) Needing Reply" context menu elements as appropriate. svn path=/trunk/; revision=14946
* Removed U_. Fixes #15415.Zbigniew Chyla2001-11-282-1/+5
| | | | | | | | 2001-11-15 Zbigniew Chyla <cyba@gnome.pl> * rule-editor.c (set_source): Removed U_. Fixes #15415. svn path=/trunk/; revision=14797
* Hook onto destroy event. (edit_editor_destroyed): IF we get destroyed,Not Zed2001-11-285-27/+76
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Force the user to name the filter.Jeffrey Stedfast2001-11-133-9/+35
| | | | | | | | | | 2001-11-12 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (validate): Force the user to name the filter. * vfolder-rule.c (validate): Force the user to name the vfolder. svn path=/trunk/; revision=14679
* Require gal 0.15.99.8Joe Shaw2001-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Need to ref rule since add doesn't. This doesn't crash anymore but doesn't92001-10-292-0/+3
| | | | | | | | | | 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
* Fixed previous fix.Michael Zucci2001-10-292-1/+2
| | | | svn path=/trunk/; revision=14311
* Some debug printf fixes for printf's that dont like null %s's.92001-10-292-2/+7
| | | | | | | | | 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
* Fix enable undo logic.Michael Zucci2001-10-292-1/+2
| | | | | | | * rule-editor.c (rule_editor_add_undo): Fix enable undo logic. svn path=/trunk/; revision=14308
* Implement, change any folder uri's that have been renamed, to the new one.82001-10-287-8/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add undo for move. (rule_editor_add_undo): Add extra rank item.82001-10-286-12/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix the address of the FSF in the licensing comments.Ettore Perazzoli2001-10-282-2/+0
| | | | svn path=/trunk/; revision=14243
* Fixing the license text.Ettore Perazzoli2001-10-2846-517/+508
| | | | svn path=/trunk/; revision=14215
* Fixing the license text.Ettore Perazzoli2001-10-282-2/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-272-4/+4
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Desensitize the parent dialog. (rule_edit): Same. (add_editor_clicked):Jeffrey Stedfast2001-10-262-0/+13
| | | | | | | | | | | 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
* Keep track of the current editor dialog window so that on exit, we canJeffrey Stedfast2001-10-263-33/+60
| | | | | | | | | | | | | 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
* added a missing close parenJeffrey Stedfast2001-10-261-1/+1
| | | | svn path=/trunk/; revision=14120