Commit Graph

281 Commits

Author SHA1 Message Date
362260797f Bug #599740 - Crashing in g_thread_init 2009-10-27 10:53:48 +01:00
8fffb9de5d Bug 596952 - Offline mode does not stick when set from command line 2009-10-07 15:05:15 -05:00
ad4df4c04b Clean up includes in main.c. 2009-10-07 14:50:07 -05:00
3b2cfae176 Trim unused or unnecessary bits from the import framework. 2009-09-26 10:28:05 -04:00
461f022eb7 Kill the killev program, and the whole tools directory.
The --force-shutdown option now simply runs "pkill evolution".
2009-09-18 11:58:19 -04:00
3f1448b011 Restore the alarm notify daemon.
Convert evolution-alarm-notify to an autostart program, add a .desktop
file for it, and use libunique to ensure only one instance is running.
2009-09-18 11:58:19 -04:00
3f00bdbfcb Bug #590707 - Initialize DBus threading on start 2009-09-10 12:14:13 +02:00
8f0093b0d8 Start migration -after- loading all modules and plugins. 2009-09-01 16:52:04 -04:00
32f545cdf0 Simplify EPlugin loading at startup.
- Require all EPlugin and EPluginHook subtypes be registered before
  loading plugins.  This drastically simplifies the EPlugin/EPluginHook
  negotiation.

- Turn most EPluginHook subtypes into GTypeModules and register their
  types from an e_module_load() function (does not include shell hooks).

- Convert EPluginLib and the Mono and Python bindings to GTypeModules
  and register their types from an e_module_load() function, and kill
  EPluginTypeHook.
2009-08-29 17:23:20 -04:00
2b8c7c62aa Exit if no command-line URIs are handled. 2009-08-24 23:08:13 -04:00
ffde0e3758 Stop killing evolution-data-server services.
That includes startup and --force-shutdown.
2009-08-23 10:53:42 -04:00
ff7084ffe4 Bug 571488 - Migrate from deprecated gnome_sound to libcanberra 2009-08-23 08:31:14 -04:00
6dd8576ebb Remove an unnecessary libgnomeui include. 2009-08-18 10:17:43 -04:00
374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
c4d1d29eaa Fix a problem with EShell initialization. 2009-07-12 08:59:41 -04:00
10eab23500 Implement the shutdown protocol and stub in session management.
The shutdown protocol is modelled after online/offline preparation.
Session management code is copied from libegg.  Not yet used.
2009-07-10 18:47:29 -04:00
31fd01398c Merge branch 'master' into kill-bonobo
Conflicts:
	addressbook/util/addressbook.h
	calendar/gui/e-week-view-main-item.c
	configure.ac
	e-util/Makefile.am
	mail/em-account-editor.c
	mail/em-folder-selection-button.c
	shell/e-shell.c
2009-07-10 14:11:48 -04:00
cc1e4cfed2 [win32] When started from a console, get console output (Windows XP or
later only).
2009-07-03 19:05:44 +02:00
8dc6bbd250 Get the "startup-wizard" plugin working again. 2009-06-30 10:47:59 -04:00
433eac7844 More code cleanup. 2009-06-02 10:35:03 -04:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -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
948235c3d1 Prefer GLib basic types over C types. 2009-05-27 10:29:19 -04:00
cc3a98fc1a Merge branch 'master' into kill-bonobo
Conflicts:
	a11y/widgets/ea-combo-button.c
	a11y/widgets/ea-combo-button.h
	addressbook/gui/component/addressbook-component.c
	addressbook/gui/component/addressbook-component.h
	addressbook/gui/component/addressbook-view.c
	addressbook/gui/component/addressbook-view.h
	addressbook/gui/component/component-factory.c
	addressbook/gui/widgets/e-addressbook-view.c
	addressbook/gui/widgets/eab-contact-display.c
	addressbook/gui/widgets/eab-gui-util.h
	addressbook/gui/widgets/eab-menu.c
	addressbook/gui/widgets/eab-menu.h
	addressbook/gui/widgets/eab-popup-control.c
	addressbook/gui/widgets/eab-popup-control.h
	addressbook/gui/widgets/eab-popup.c
	addressbook/gui/widgets/eab-popup.h
	calendar/gui/cal-search-bar.c
	calendar/gui/calendar-commands.c
	calendar/gui/calendar-component.c
	calendar/gui/comp-editor-factory.c
	calendar/gui/comp-editor-factory.h
	calendar/gui/control-factory.c
	calendar/gui/dialogs/comp-editor.c
	calendar/gui/e-cal-component-memo-preview.c
	calendar/gui/e-cal-component-memo-preview.h
	calendar/gui/e-calendar-table.c
	calendar/gui/e-memo-table.c
	calendar/gui/e-memos.c
	calendar/gui/e-tasks.c
	calendar/gui/gnome-cal.c
	calendar/gui/gnome-cal.h
	calendar/gui/itip-bonobo-control.c
	calendar/gui/itip-bonobo-control.h
	calendar/gui/main.c
	calendar/gui/memos-component.c
	calendar/gui/memos-control.c
	calendar/gui/memos-control.h
	calendar/gui/migration.c
	calendar/gui/migration.h
	calendar/gui/tasks-component.c
	calendar/gui/tasks-control.c
	calendar/importers/main.c
	composer/Makefile.am
	composer/e-composer-header-table.c
	composer/e-composer-header.c
	composer/e-composer-header.h
	composer/e-composer-name-header.c
	composer/e-composer-private.c
	composer/e-composer-text-header.c
	composer/e-msg-composer.c
	composer/e-msg-composer.h
	e-util/e-corba-utils.h
	e-util/e-logger.c
	e-util/e-logger.h
	e-util/e-util-labels.c
	e-util/e-util-labels.h
	em-format/em-format.c
	mail/Makefile.am
	mail/e-mail-shell-migrate.c
	mail/em-account-editor.c
	mail/em-account-editor.h
	mail/em-composer-prefs.c
	mail/em-composer-utils.c
	mail/em-composer-utils.h
	mail/em-folder-browser.c
	mail/em-folder-tree-model.c
	mail/em-folder-tree.c
	mail/em-folder-tree.h
	mail/em-folder-utils.c
	mail/em-folder-utils.h
	mail/em-folder-view.c
	mail/em-format-html-display.c
	mail/em-format-html.c
	mail/em-mailer-prefs.c
	mail/em-mailer-prefs.h
	mail/em-message-browser.c
	mail/em-message-browser.h
	mail/em-network-prefs.h
	mail/em-popup.c
	mail/em-utils.c
	mail/importers/Makefile.am
	mail/mail-component-factory.c
	mail/mail-component.c
	mail/mail-config-factory.c
	mail/mail-config-factory.h
	mail/mail-config.c
	mail/mail-dialogs.glade
	mail/mail-types.h
	plugins/calendar-weather/calendar-weather.c
	plugins/mail-account-disable/mail-account-disable.c
	plugins/select-one-source/select-one-source.c
	po/POTFILES.in
	shell/e-component-registry.c
	shell/e-component-registry.h
	shell/e-component-view.c
	shell/e-component-view.h
	shell/e-corba-config-page.c
	shell/e-corba-config-page.h
	shell/e-shell-constants.h
	shell/e-shell-settings-dialog.c
	shell/e-shell-settings-dialog.h
	shell/e-shell-window-commands.c
	shell/e-shell-window.c
	shell/e-shell.h
	shell/e-sidebar.c
	shell/e-sidebar.h
	shell/e-user-creatable-items-handler.c
	shell/e-user-creatable-items-handler.h
	shell/es-menu.c
	shell/es-menu.h
	shell/evolution-component.h
	shell/evolution-config-control.c
	shell/evolution-config-control.h
	shell/evolution-listener.c
	shell/evolution-listener.h
	shell/evolution-shell-component-utils.c
	shell/evolution-shell-component-utils.h
	shell/importer/evolution-importer-client.c
	shell/importer/evolution-importer-client.h
	shell/importer/evolution-importer-listener.c
	shell/importer/evolution-importer-listener.h
	shell/importer/evolution-importer.c
	shell/importer/evolution-importer.h
	shell/importer/evolution-intelligent-importer.c
	shell/importer/evolution-intelligent-importer.h
	shell/importer/intelligent.c
	shell/main.c
	shell/test/evolution-test-component.c
	shell/test/evolution-test-component.h
	widgets/menus/gal-view-instance.c
	widgets/menus/gal-view-menus.c
	widgets/menus/gal-view-menus.h
	widgets/misc/Makefile.am
	widgets/misc/e-activity-handler.c
	widgets/misc/e-activity-handler.h
	widgets/misc/e-charset-picker.c
	widgets/misc/e-combo-button.c
	widgets/misc/e-combo-button.h
	widgets/misc/e-config-page.h
	widgets/misc/e-dropdown-button.c
	widgets/misc/e-dropdown-button.h
	widgets/misc/e-filter-bar.c
	widgets/misc/e-info-label.c
	widgets/misc/e-info-label.h
	widgets/misc/e-multi-config-dialog.c
	widgets/misc/e-multi-config-dialog.h
	widgets/misc/e-search-bar.c
	widgets/misc/e-search-bar.h
	widgets/misc/e-task-bar.c
	widgets/misc/e-task-bar.h
	widgets/misc/e-task-widget.c
	widgets/misc/e-task-widget.h
	widgets/misc/test-dropdown-button.c
	widgets/misc/test-error.c
	widgets/misc/test-info-label.c
	widgets/table/e-table-example-1.c
2009-05-27 08:37:17 -04:00
e4afd3f9fb Remove trailing whitespace, again. 2009-05-26 23:21:02 -04:00
a361cff404 Fix compiler warnings in shell. 2009-05-25 23:17:51 -04:00
caa8621351 Convert EShellModule to EShellBackend
Split the GTypeModule loader out of EShellModule as EModule, and rename
EShellModule to EShellBackend.  Backends (formerly modules) should now
subclass EShellBackend.

This commit converts EShell but breaks all the shell backends.
2009-05-07 07:21:57 -04:00
4cec9fc716 Saving progress on a massive attachment handling rewrite.
svn path=/branches/kill-bonobo/; revision=37465
2009-03-20 19:06:59 +00:00
c3bfa60a7b Kill EDropdownButton.
Migrate off of gnome_program_init().

svn path=/branches/kill-bonobo/; revision=37303
2009-02-21 15:02:32 +00:00
0110c94c6a Rename EShell:online-mode to EShell:online and update docs.
Use EBindings instead of a notify callback to keep other widgets and
actions synchronized with EShell:online.  Cleaner and less error prone.

svn path=/branches/kill-bonobo/; revision=37293
2009-02-19 05:52:33 +00:00
70fce0bbb0 When invoking Evolution with URIs on the command-line (e.g. mailto:),
terminate after all the windows for those URIs have been closed.

svn path=/branches/kill-bonobo/; revision=37157
2009-01-28 22:28:57 +00:00
533d59e2cd Add unique-1.0 requirement (blessed external dependency).
Make EShell a subclass of UniqueApp and handle single-instance negotiation.

When another Evolution process is running:

  - Running "evolution" will simply present the existing windows.

  - Running "evolution -c <view>" will open a shell window set to <view>.

  - Running "evolution <uri>" will open an appropriate window for <uri>.

The second process will then terminate immediately.


svn path=/branches/kill-bonobo/; revision=37147
2009-01-28 17:19:34 +00:00
8e546420df Fix a runtime warning.
svn path=/branches/kill-bonobo/; revision=37094
2009-01-17 23:46:45 +00:00
c22126d54f Hack GtkIconTheme so we can reference category icons as named icons.
Necessary for EActionComboBox, since GtkActions can only handle named
or stock icons.  Hopefully this is just a temporary hack.  Eventually
we should make the category icons themeable.

Kill the "mail-account-disable" plugin and integrate it properly.
More dead plugins to follow...

Don't show disabled menu items in pop-up context menus.  It does the
user no good to see things he CAN'T do with the object he clicked on.

svn path=/branches/kill-bonobo/; revision=37093
2009-01-17 20:06:17 +00:00
2e3a3cf26e Merge revisions 37047:37074 from trunk.
svn path=/branches/kill-bonobo/; revision=37075
2009-01-15 03:39:43 +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
c7d3c9f956 Merge revisions 36866:37046 from trunk.
svn path=/branches/kill-bonobo/; revision=37050
2009-01-12 04:12:01 +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
8d8e4ac1c2 Tweak the EShell API.
Disable File -> Close Window when there's only one window.
Replace EMMessageBrowser with EMailBrowser.

svn path=/branches/kill-bonobo/; revision=37009
2009-01-07 18:23:46 +00:00
c51b91d1e3 ** Related to bug #562155
2008-12-28  Matthew Barnes  <mbarnes@redhat.com>

	** Related to bug #562155

	* shell/main.c (idle_cb):
	Only call e_shell_set_crash_recovery() if the EShell Bonobo object
	was constructed successfully, otherwise it will be NULL.  This fixes
	a warning shown in the terminal output of bug #562155, but the bug
	is not reproducible so it's not clear whether this fixes the bug.


svn path=/trunk/; revision=36939
2008-12-28 14:47:11 +00:00
657b235cc2 Fix memory leak. (Fixes bug #565628).
2008-12-25  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>

        * shell/main.c:
        Fix memory leak. (Fixes bug #565628).


svn path=/trunk/; revision=36932
2008-12-25 19:45:12 +00:00
d158af8cdf Merge revisions 36811:36865 from trunk.
svn path=/branches/kill-bonobo/; revision=36867
2008-12-10 18:30:29 +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
4f4615a46d Merge revisions 36737:36810 from trunk.
svn path=/branches/kill-bonobo/; revision=36811
2008-11-24 05:14:44 +00:00
8c0bd86d5f Rearranged some of the addressbook code to try and eliminate some circular
dependencies in our libraries.  The circular dependency between the composer
and the mail module is still causing me headaches.  And it doesn't help that
the addressbook and calendar also want to link to the composer.

svn path=/branches/kill-bonobo/; revision=36782
2008-11-14 03:56:01 +00:00
39f06164ed ** Fixes bug #557581
2008-11-07  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #557581

	* configure.in:
	Break up the version definitions such that we can calculate the
	latest stable version and pass a STABLE_VERSION definition to
	shell/main.c.

	* shell/main.c:
	Replace DEVELOPMENT with STABLE_VERSION, which actually defines
	the latest stable version (e.g. 2.24).  STABLE_VERSION is only
	defined if the current version is _unstable_ (e.g. 2.25).

	* shell/main.c (show_development_warning):
	Use STABLE_VERSION instead of hard-coding the version number.


svn path=/trunk/; revision=36761
2008-11-07 17:11:10 +00:00
b2cda1d0c6 Merge revisions 36016:36533 from trunk.
svn path=/branches/kill-bonobo/; revision=36534
2008-10-01 20:56:04 +00:00
1f8187e8da Change License from GPL to LGPL.
svn path=/trunk/; revision=36502
2008-09-30 15:19:23 +00:00
7d2c28c02c Begin documenting the new shell design.
svn path=/branches/kill-bonobo/; revision=36337
2008-09-15 14:55:41 +00:00