Commit Graph

978 Commits

Author SHA1 Message Date
e013e10cc5 Kill EConfigListener. 2009-07-02 23:14:44 -04:00
42e75c9162 Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am. 2009-06-30 17:20:23 -04:00
69ad05743b Read entire UI definition in "eplug" files.
EPluginUI had a bug were given the following UI definition

    <ui-manager id="...">
      <top-level-widget-a>
      <top-level-widget-b>
      <top-level-widget-c>
    </ui-manager>

it would only read <top-level-widget-a>.  The siblings were ignored.
This doesn't affect any plugins currently using EPluginUI, but does
affect several on the "kill-bonobo" branch.
2009-06-26 12:35:09 -04:00
547e123d27 Stop abusing forward declarations. 2009-06-18 15:26:21 -04:00
67159043da Use G_BEGIN_DECLS / G_END_DECLS macros. 2009-06-18 12:56:51 -04:00
6b12be62e1 Fix coding style. 2009-06-13 22:51:11 -04:00
ba0128107c Bug #573263 - Crash in reset_layout (text) at e-text.c 2009-06-09 13:11:54 +02:00
25d235eaa2 Remove libgnome include 2009-06-03 15:03:46 +02:00
af79a822bc Replace libgnome function with equivalent glib functions. 2009-06-03 14:54:08 +02:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
9e5775a7f6 Update the address of the FSF
This fixes bug 584304.
2009-05-31 12:52:23 +02:00
6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
b33ce8f2a6 Bug #535516 - Crash in GConf Bridge while replying
A test patch, maybe not fixing the bug fully, but let's try it.
2009-05-28 14:47:27 +02:00
0cf607076d Fix compiler warnings in mail. 2009-05-26 10:58:25 -04:00
e4c6ad873b Fix compiler warnings in calendar. 2009-05-26 08:24:35 -04:00
16c8fefe96 Fix compiler warnings in filter. 2009-05-25 23:21:22 -04:00
a361cff404 Fix compiler warnings in shell. 2009-05-25 23:17:51 -04:00
a6c9a55391 Fix compiler warnings in e-util. 2009-05-25 13:42:03 -04:00
f575a7626a Eliminate redundant E_ICON_SIZE_* enumeration. 2009-05-24 11:54:43 -04:00
981f6cb4c1 Fix EConfig bugs for Anjal's account setup. 2009-05-22 17:43:57 +05:30
e4fa8fe104 Fix several types of pedantic compiler warnings. 2009-05-16 12:11:55 -04:00
dfb0db7498 Bug 580900 – Kill libgnomeui/gnome-dateedit
Remove unnecessary <libgnomeui/gnome-dateedit.h> includes, and kill the
unused e_dialog_dateedit_set() and e_dialog_dateedit_get() functions.
2009-05-06 13:28:18 -04:00
6e72a236dc ** BUGFIX: 573830 - g_timeout_add_seconds should be preferred to g_timeout_add
According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to
the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a
timeout in seconds is desired.
2009-05-04 10:10:55 +05:30
b4d7c0892e Bug 572977 – Use g_strerror() instead of strerror() 2009-05-02 23:11:12 -04:00
d523f10dfe Use Behdad's brilliant git.mk to generate .gitignore files. 2009-05-02 11:37:10 -04:00
8b32dcadba Bug 581032 – Some links can't be opened 2009-05-01 22:17:20 -04:00
1c198bd711 Bug 580896 – Kill libgnome/gnome-program
Removed e-util/e-gui-utils.[ch].
2009-04-30 16:28:36 -04:00
de003c135a Use consistent variable names for GtkUIManager 2009-04-27 20:27:02 -04:00
4449a34101 Commit the rest of the attachment UI rewrite
Oops, last commit only included the -new- files.
This also removes EExpander, which is no longer used.
2009-04-27 15:36:19 -04:00
0f7060ee7d Define .error files correctly and external-editor crash fix
** Fix for bug #561188
2009-04-27 11:34:11 +02:00
8a072ffc7c GN-bug #572348 - Removed deprecated Gtk+ symbols
Some still left, because those gone in kill-bonobo branch.
2009-04-24 11:45:21 +02:00
0006bfb58a Bug 577898 – Port ExoBinding to Evolution
Port Xfce's ExoBinding API to Evolution as EBinding.  What this does is
allow you to bind two GObject properties together such that their values
are automatically kept in sync.  The API also supports transformation
functions, such as boolean inversion.

I use this API heavily on the kill-bonobo branch and also in the
attachment UI rewrite, so I'm merging this feature early.
2009-04-23 16:50:54 -04:00
16c6f0a307 Add a missing file. 2009-04-23 13:46:43 -04:00
e42f276527 Bug 577929 – Consolidate marshallers
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04:00
80b575ffb8 ** Fixes bug #577989
2009-04-07  Tobias Mueller  <tobiasmue@gnome.org>

    ** Fixes bug #577989

    * conf-bridge.c (error_handler):
    Call gtk_message_dialog_new with a proper format string ("%s")


svn path=/trunk/; revision=37496
2009-04-07 00:39:58 +00:00
9c28e70fb0 ** Fixes part of bug #564229
2009-02-13  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes part of bug #564229

	* e-util/e-plugin-ui.c (plugin_ui_hook_class_init):
	Initialize the EPluginUI registry during class initialization,
	so that it's sure to be there when we need it.

	* plugins/email-custom-header/email-custom-header.c:
	(e_plugin_lib_get_configure_widget):
	Do not use uninitialized variable.


svn path=/trunk/; revision=37265
2009-02-14 04:25:11 +00:00
7f8cab85e3 Compiler warning fix.
2009-01-15  Milan Crha  <mcrha@redhat.com>

	* e-plugin.c: (epl_construct): Compiler warning fix.


svn path=/trunk/; revision=37081
2009-01-15 15:42:17 +00:00
79e0bf750c e-util/e-plugin.c e-util/e-plugin.h EPlugins must be loaded after Bonobo
2009-01-12  Philip Van hoof  <philip@codeminded.be>

	* e-util/e-plugin.c
	* e-util/e-plugin.h
	* shell/main.c: EPlugins must be loaded after Bonobo init, else variables
	like `session` are not available for plugin's initialization functions.
	(Fixes Bug #565681)


svn path=/trunk/; revision=37052
2009-01-12 08:44:53 +00:00
2b820fc4e2 New convenience function calls gtk_show_uri() and displays an error dialog
2009-01-11  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-util.c (e_show_uri):
	New convenience function calls gtk_show_uri() and displays an
	error dialog if the URI cannot be shown.

	* addressbook/gui/widgets/eab-contact-display.c
	(eab_uri_popup_link_open), (on_link_clicked):
	* calendar/gui/e-cal-component-preview (on_link_clicked):
	* calendar/gui/e-cal-component-memo-preview (on_link_clicked):
	* calendar/gui/e-memo-table.c (open_url_cb):
	* calendar/gui/dialogs/comp-editor.c (open_attachment):
	* composer/e-msg-composer.c (msg_composer_link_clicked):
	* mail/em-folder-view.c (emfv_format_link_clicked):
	* mail/em-popup.c (emp_uri_popup_link_open):
	* plugins/mailing-list-actions/mailing-list-actions.c
	(emla_list_action_do):
	* shell/e-shell-window-commands.c (command_open_faq):
	* widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb):
	* widgets/misc/e-url-entry.c (button_clicked_cb):
	Call e_show_uri() instead of gnome_url_show().

	* e-util/e-error.c (ee_response):
	Call e_display_help() instead of gnome_url_show().

	* mail/em-config.c:
	* mail/em-menu.c:
	Remove unneeded #include <libgnome/gnome-url.h>


svn path=/trunk/; revision=37037
2009-01-11 13:55:04 +00:00
577f9fdffb Remove unneeded #include <libgnome/gnome-util.h>.
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/widgets/e-addressbook-view.c:
	* addressbook/printing/e-contact-print.c:
	* calendar/gui/calendar-commands.c:
	* calendar/gui/e-cal-list-view.c:
	* calendar/gui/e-day-view.c:
	* calendar/gui/e-itip-control.c:
	* calendar/gui/e-meeting-list-view.c:
	* calendar/gui/e-meeting-store.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/gnome-cal.c:
	* calendar/gui/memos-control.c:
	* calendar/gui/tasks-control.c:
	* e-util/e-dialog-utils.c:
	* mail/em-folder-view.c:
	* mail/importers/mail-importer.c:
	* shell/e-shell.c:
	* shell/evolution-shell-component-utils.c:
	* shell/importer/intelligent.c:
	* shell/main.c:
	* widgets/menus/gal-view-collection.c:
	* widgets/menus/gal-view-instance.c:
	Remove unneeded #include <libgnome/gnome-util.h>.


svn path=/trunk/; revision=37036
2009-01-11 04:52:38 +00:00
5b8d789977 Now that we require GTK+ 2.14, use gtk_show_uri() instead of
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-util.c (e_display_help):
	Now that we require GTK+ 2.14, use gtk_show_uri() instead of
	gnome_help_display().


svn path=/trunk/; revision=37034
2009-01-11 01:49:39 +00:00
ce59fcad4c Use the translated the EConfigItem label when building the UI.
2009-01-01  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-config.c (ec_rebuild):
	Use the translated the EConfigItem label when building the UI.


svn path=/trunk/; revision=36961
2009-01-01 22:17:12 +00:00
fd635b6325 ** Fixes bug #564860
2008-12-22  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #564860

	* e-util/e-util-label.c (e_util_labels_parse):
	Don't crash on malformed label strings.


svn path=/trunk/; revision=36929
2008-12-22 16:10:28 +00:00
f9987008de ** Fixes bug #563250
2008-12-10  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #563250

	* e-util/e-util.c (e_get_accels_filename):
	New function returns the filename where custom keyboard
	accelerators are stored.  Currently only applies to the
	various editor windows in Evolution.

	* shell/main.c (main):
	Load on startup and save on shutdown, custom keyboard accelerators.


svn path=/trunk/; revision=36864
2008-12-10 11:55:08 +00:00
65145381a6 ** Fix for bug #563870
2008-12-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #563870

	* e-util/e-util-labels.h: (e_util_labels_get_filter_options):
	* e-util/e-util-labels.c: (e_util_labels_get_filter_options):
	New helper function to be used in FilterOption.

	* filter/Makefile.am:
	* filter/filter-label.h:
	* filter/filter-label.c: Drop, not used anywhere.
	* filter/filter-element.c:
	* filter/rule-context.c: Remove dropped include and code.

	* filter/filter-option.c: (get_dynamic_options), (xml_create), (get_widget):
	Evaluate dynamic options even on create, to have them available for
	saved searches even before the widget itself is shown.

	* mail/vfoldertypes.xml:
	* mail/filtertypes.xml:
	* mail/searchtypes.xml: Use dynamic filter option.
	* mail/message-list.c: Drop unused header include.


svn path=/trunk/; revision=36863
2008-12-10 11:05:01 +00:00
f21ef40ef3 ** Fix for bug #555663
2008-12-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #555663

	* gconf-bridge.c: (struct WindowBinding), (gconf_bridge_bind_window),
	(window_binding_unbind): Do not overwrite signal id.


svn path=/trunk/; revision=36853
2008-12-09 12:40:08 +00:00
7b221ebc07 ** Fix for bug #332629
2008-12-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #332629

	* filter/filter-option.h: (struct _filter_option),
	(struct _FilterOption), (filter_option_add):
	* filter/filter-option.c: (filter_option_init), (filter_option_finalise),
	(filter_option_add), (xml_create), (get_widget), (clone):
	Be able to define optionlist with dynamically created list of options.

	* filter/filter-label.c: (fill_options): Adapt.

	* addressbook/gui/widgets/addresstypes.xml:
	* calendar/gui/caltypes.xml:
	* calendar/gui/memotypes.xml:
	* calendar/gui/tasktypes.xml:
	Use dynamically created list of categories in the option's widget.


svn path=/trunk/; revision=36836
2008-12-05 19:20:28 +00:00
a75b727efe ** Fix for bug #332729
2008-11-27  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #332729

	* e-config.c: (ep_finalise): Disconnect handlers on the widget before
	freeing the structure it is using.


svn path=/trunk/; revision=36816
2008-11-27 12:59:25 +00:00