Commit Graph

259 Commits

Author SHA1 Message Date
433eac7844 More code cleanup. 2009-06-02 10:35:03 -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
935897c9a2 Fix some bugs in the way the shell widgets get initialized.
svn path=/branches/kill-bonobo/; revision=36279
2008-09-09 02:53:40 +00:00
5350eebb5e Progress update:
- Merge ETaskBar into EShellTaskbar.
	- Remember the last view, and make --component work.


svn path=/branches/kill-bonobo/; revision=36278
2008-09-08 20:37:00 +00:00
cf3b010171 Progress update:
- Further refinements of the shell API.
  - Kill ESMenu and EUserCreatableItemsHandler.
  - Start ripping apart the addressbook component.


svn path=/branches/kill-bonobo/; revision=36093
2008-08-26 20:22:32 +00:00
2ef1b5bf42 Progress update:
- Get the "New" button and menu working.

  - Add a GtkMenuToolButton subclass called EMenuToolButton, which does
    some behind-the-scenes stuff to make the "New" button work properly.

  - Kill EComboButton and its associated a11y widget.


svn path=/branches/kill-bonobo/; revision=36045
2008-08-24 13:17:11 +00:00
fd6cd9e3a6 Progress update:
- Discard libnm-glib method of monitoring network connectivity.
  - Decided to make EShell a singleton GObject after all.  Makes the
    design cleaner, despite having to pass a singleton instance around.
  - Make the switcher button style persistent.


svn path=/branches/kill-bonobo/; revision=36043
2008-08-23 15:36:32 +00:00
4187293731 Merge revisions 35993:36015 from trunk.
Adapt recent "crash recovery" changes to new architecture.

svn path=/branches/kill-bonobo/; revision=36018
2008-08-18 16:18:42 +00:00
f19618ac7f ** Fixes bug #508732
2008-08-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #508732

	* shell/e-shell.c:
	Add a "crash_recovery" flag, with accessor functions for it.

	* shell/e-shell-window (init_view):
	Check and reset the "crash_recovery" flag before creating a
	new shell view.  The components can use this flag to take
	steps to recover from the previous crash.

	* shell/apps_evolution_shell.schemas.in:
	Remove the "skip_recovery_dialog" and "recovery" keys.

	* shell/Evolution-Component.idl (createView):
	Add a "select_item" boolean parameter.

	* shell/main.c:
	Kill the crash recovery dialog.  Instead just set the crash
	recovery flag in e-shell appropriately.

	* mail/mail-component.c (impl_createView):
	Add a "select_item" argument for crash recovery, which we forward
	to EMFolderBrowser as a "suppress_message_selection" flag.

	* mail/em-folder-browser.c (emfb_set_folder):
	Suppress automatic message selection if we are recovering from a
	crash.

	* addressbook/gui/component/addressbook-component.c (impl_createView):
	* calendar/gui/calendar-component.c (impl_createView):
	* calendar/gui/memos-component.c (impl_createView):
	* calendar/gui/tasks-component.c (impl_createView):
	Add a "select_item" argument for crash recovery, which these
	components do not use.

	* help/C/evolution.xml:
	Remove the bit about crash recovery.


svn path=/trunk/; revision=36009
2008-08-18 04:37:15 +00:00
4fe52955d1 Demonstrate loading the test module.
svn path=/branches/kill-bonobo/; revision=35983
2008-08-13 22:22:49 +00:00
278c1fa77b Work through more compilation errors.
Rewrite EMultiConfigDialog to not use ETable.

svn path=/branches/kill-bonobo/; revision=35942
2008-08-08 23:12:59 +00:00
cea054cd54 Merge revisions 35747:35930 from trunk.
svn path=/branches/kill-bonobo/; revision=35931
2008-08-08 04:26:12 +00:00
7692685caf Bug 543758 - Never mark empty strings for translations
2008-07-19  Tor Lillqvist  <tml@novell.com>

	Bug 543758 - Never mark empty strings for translations

	* main.c (main): Change _("") to explicit gettext ("") to avoid
	potentially confusing translation tools or translators.


svn path=/trunk/; revision=35759
2008-07-19 18:51:50 +00:00
03a3e6f846 Disable all components and plugins. Begin rewriting the shell.
svn path=/branches/kill-bonobo/; revision=35748
2008-07-16 19:37:02 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
2008-06-06  Matthew Barnes  <mbarnes@redhat.com>

	** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
	   GTK_DISABLE_SINGLE_INCLUDES defined.  (#536637)


svn path=/trunk/; revision=35606
2008-06-06 15:12:53 +00:00
116ed5dcc7 ** Fixes bug #525241 (EPluginUI)
2008-05-08  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525241 (EPluginUI)

	* e-util/Makefile.am:
	Add e-plugin-ui.[ch].

	* e-util/e-plugin.h (EPluginClass):
	Add a "get_symbol" method for extracting arbitrary symbols
	from an EPlugin.  Implementation of the method is optional.

	* e-util/e-plugin.c (e_plugin_get_symbol):
	New function invokes the new "get_symbol" EPlugin method.

	* e-util/e-plugin.c (epl_get_symbol):
	New function implements the new "get_symbol" EPlugin method.
	It extracts the given symbol name from the GModule.

	* e-util/e-plugin-ui.[ch]:
	New EPluginHook subclass that allows plugins to extend menus,
	toolbars, and popups that are managed by GtkUIManager instead
	of BonoboUI.  Should eventually replace EMenu/EPopup.

	* shell/main.c (main): Register the EPluginUIHook type.

	* composer/e-msg-composer.c (msg_composer_destroy),
	(msg_composer_init): Rip out the EMenu logic.

	* composer/e-msg-composer.c (msg_composer_init):
	Register the GtkUIManager with EPluginUI.

	* plugins/face/Makefile.am:
	* plugins/face/org-gnome-face-ui.xml:
	Remove org-gnome-face-ui.xml (obsolete).

	* plugins/face/face.c (e_plugin_ui_init):
	Initialization callback for EPluginUI.  Adds a "face" action to
	the EMsgComposer instance's "composer" action group.

	* plugins/face/org-gnome-face.eplug.xml:
	Replace the "bonobomenu" hook definition with a new one for
	EPluginUI.  Include the UI definition inline.


svn path=/trunk/; revision=35485
2008-05-08 18:11:40 +00:00
703123f651 If no message catalog is installed for the current locale language, don't
2008-05-08  Tor Lillqvist  <tml@novell.com>

	* main.c (main) [Win32]: If no message catalog is installed for
	the current locale language, don't bother with the localisations
	provided by other things then either. Reset thread locale to
	"en-US" and C library locale to "C" to ensure that.


svn path=/trunk/; revision=35479
2008-05-08 04:17:18 +00:00
c2d8d1eb95 Changed stable version to 2.22.1 in Beta version warning message
* shell/main.c : Changed stable version to 2.22.1 in Beta version warning message 

svn path=/trunk/; revision=35433
2008-04-29 04:27:12 +00:00
0a1b17b1b9 Move the call to set_paths() on Windows earlier before
gnome_program_init() so that it affects gconfd-2.

svn path=/trunk/; revision=35130
2008-03-03 22:45:45 +00:00
58c01749c2 Drop the call to gtk_rc_parse_string() to set gtk-fallback-icon-theme =
2008-03-03  Tor Lillqvist  <tml@novell.com>

	* main.c (main) [Win32]: Drop the call to gtk_rc_parse_string() to
	set gtk-fallback-icon-theme = "gnome". Instead just bundle a
	suitable gtkrc with Evolution. And actually what we want seems to
	get Tango icons seems to be gtk-fallback-icon-theme = "Tango", and
	no mention of the gnome icon theme at all in gtkrc. (It is still
	used, though.)


svn path=/trunk/; revision=35126
2008-03-03 19:39:29 +00:00
dd1c89db45 On Windows, set PATH to include Evolution's "bin" folder and the
2008-03-03  Tor Lillqvist  <tml@novell.com>

	* main.c: On Windows, set PATH to include Evolution's "bin" folder
	and the "lib/evolution/$(BASE_VERSION)/components" folder. Set
	BONOBO_ACTIVATION_PATH to the "lib/bonobo/servers" folder


svn path=/trunk/; revision=35121
2008-03-03 15:43:49 +00:00
d5b3018517 Committing the build fix that comes up if DEVELOPMENT is enabled.
2008-03-02  Srinivasa Ragavan  <sragavan@novell.com>

	* main.c: (main): Committing the build fix that comes up if
	DEVELOPMENT is enabled.

svn path=/trunk/; revision=35104
2008-03-02 12:53:38 +00:00
526e886f27 Add commands to kill recent versions of evolution-data-server.
2008-02-13  Matthew Barnes  <mbarnes@redhat.com>

	* main.c (kill_dataserver):
	Add commands to kill recent versions of evolution-data-server.


svn path=/trunk/; revision=35008
2008-02-13 19:30:45 +00:00