Commit Graph

503 Commits

Author SHA1 Message Date
b30a06b9e8 Fix for bug #211058
svn path=/trunk/; revision=33502
2007-05-11 05:57:50 +00:00
c22b1bc581 Fix for bug #430559
svn path=/trunk/; revision=33436
2007-04-20 05:03:53 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
b5365bc587 ** Fixes bug #373116
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
2007-04-02 04:19:25 +00:00
cba3097cad ** Fixes bug #419524
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
2007-03-20 17:23:58 +00:00
c01699ab74 Add mnemonic to "Find items". Fixes bug #404242.
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
2007-02-04 12:45:04 +00:00
90dfa49bf6 Move a var into #ifndef #USE_FILECOOSER to get rid of a warning. bug
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
2006-10-01 11:46:45 +00:00
e21cd977d3 ** Fixes bug #324882 Alignment corrected for the date filtering rule.
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
2006-09-29 07:44:22 +00:00
91a5d90496 ** Fixes bug #341369
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-07-07 23:53:23 +00:00
b1cb5ad05f ** Fixes Bug #323853
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
2006-04-30 03:24:52 +00:00
ea9e711fe9 Remove unused code Move around some code to avoid unneccesary prototypes.
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
2006-02-08 11:44:27 +00:00
aaa9ce406e Added new thread-matching mode 'single' for messages not part of any
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
2006-01-25 08:35:36 +00:00
c057b908e0 adding top/bottom buttons for filter manager dialog. Fixes bug 205616.
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
2005-12-31 14:30:26 +00:00
0a197d13a3 adding top/bottom buttons for filter manager dialog (#205616) (committing
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-12-20 18:21:51 +00:00
18d962a8cf ** Fixes bug #246225 ** Fixes bug #246227
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
2005-12-20 10:16:34 +00:00
47a79ac806 filter-file.c Use libedataserver's e_xml_parse_file(). Use gstdio
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
2005-12-17 17:28:29 +00:00
2fdce91969 Use gstdio wrappers.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* filter-file.c: Use gstdio wrappers.

svn path=/trunk/; revision=30833
2005-12-17 17:24:22 +00:00
bc70de1c58 cast.
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * filter-rule.c (get_widget): cast.

svn path=/trunk/; revision=30212
2005-08-24 03:04:19 +00:00
a40159746e Use privsolib instead of privlib. On Unix they are the same, on Win32
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-08-09 23:29:27 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
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
2005-06-17 15:20:35 +00:00
14ea35c439 moved e-error to e-util
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-05-16 06:14:34 +00:00
a0e82d31bd Remove markup from translatable string. Fixes #268390 Patch submitted by
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
2005-05-06 07:15:01 +00:00
1002434f5c Fix for 72676.
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
2005-02-18 04:30:32 +00:00
3ee8be8e3d Install shared libraries to privlibdir.
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
2005-02-10 05:34:04 +00:00
7b7c24f6b0 cast lenght specifiers to int.
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
2005-01-12 08:40:22 +00:00
fb21b98a15 Added label "Show filters for mail:".
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
2004-12-06 23:47:03 +00:00
0c9e3730cb Moved stuff from e-util to libedataserver.
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
2004-12-03 03:41:39 +00:00
8f27b982a3 add mnemonic widget in search box.
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
2004-12-01 05:59:07 +00:00
64cf56bef3 added the "use_filechooser" property to the GnomeFileEntry
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
2004-08-12 20:35:31 +00:00
0730f269f0 encode entities. fixes bug #46677.
2004-06-21  Jeffrey Stedfast  <fejj@novell.com>

	* filter-input.c (xml_encode): encode entities. fixes bug #46677.

svn path=/trunk/; revision=26443
2004-06-21 18:53:07 +00:00
5f0f572bd1 Re-added - THIS IS NOT TO BE REMOVED!!!!
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
2004-06-18 13:24:29 +00:00
e65a333d1f Remove this generated file from CVS
2004-06-17  Rodney Dawes  <dobey@novell.com>

	* filter-errors.xml.h: Remove this generated file from CVS

svn path=/trunk/; revision=26389
2004-06-17 15:05:04 +00:00
5d5f3b88c3 ** See #59885.
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-06-17 07:34:07 +00:00
949e7d99de give the junk test a unique name. #59567.
2004-06-08  Not Zed  <NotZed@Ximian.com>

        * filtertypes.xml: give the junk test a unique name. #59567.

svn path=/trunk/; revision=26247
2004-06-08 10:49:29 +00:00
59751421bd Require e-error-tool
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
2004-05-27 18:23:57 +00:00
2efb90d0bc Removed from CVS Generated files don't belong in CVS
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
2004-05-26 15:38:56 +00:00
67d0c16f4e don't dist the error .h file
2004-05-19  JP Rosevear  <jpr@novell.com>

	* Makefile.am: don't dist the error .h file

svn path=/trunk/; revision=25979
2004-05-19 16:56:13 +00:00
7cdc173899 fix for folder selector api change, change the ok button to "Add".
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
2004-05-18 07:27:37 +00:00
02ed7388b9 Same.
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
2004-05-12 14:40:03 +00:00
1f26a903b0 load threading option if threading enabled. (xml_encode): write out
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
2004-05-12 07:14:09 +00:00
443ab1ee8c fix i18n file generation rules.
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
2004-05-12 03:32:55 +00:00
04fd8fde17 Added the Junk status flag to the xml definition so you can vfolder on
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
2004-05-03 14:54:24 +00:00
8cd76b19d0 update
svn path=/trunk/; revision=25751
2004-05-03 13:59:54 +00:00
6674bdd55b fix a warning.
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-04-28 06:38:20 +00:00
5de7b60f7a Work in progress, HIG'ing and de-coupling of errors.
svn path=/trunk/; revision=25493
2004-04-16 09:57:07 +00:00
a4606615f6 renamed filter_label to rule_label, and removed the vfolder-editor and
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-31 10:05:34 +00:00
5482126d24 Use the new "filter_editor" that has been added to the glade file Remove
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-03-30 22:20:39 +00:00
3d6efc8617 Fix packing of the hbox that contains the actual input widgets to expand
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
2004-03-29 22:25:15 +00:00
28e3d6dc45 return the added option. (clone): make sure we set the current option
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
2004-03-26 05:10:04 +00:00
d25eaf6759 Use ngettext for handling plurals in filter-datespec. Partial fix for #53464).
svn path=/trunk/; revision=25135
2004-03-20 05:01:24 +00:00