Commit Graph

2638 Commits

Author SHA1 Message Date
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
4b140a897f Make action group management in shell windows more elegant.
svn path=/branches/kill-bonobo/; revision=37137
2009-01-27 05:22:57 +00:00
98d262b594 Add action groups to support lockdown, starting with printing.
Other categories to follow.  Editors still need lockdown support.

svn path=/branches/kill-bonobo/; revision=37136
2009-01-27 03:50:19 +00:00
e0f414941d Split EAccountList and ESignatureList management out of the mail module.
This reduces the dependency of the composer on the mail module, which is
currently a circular dependency.

svn path=/branches/kill-bonobo/; revision=37135
2009-01-26 22:18:58 +00:00
bc80332460 Miscellaneous stuff.
svn path=/branches/kill-bonobo/; revision=37134
2009-01-26 18:49:51 +00:00
8bfadde575 Fix more runtime warnings.
svn path=/branches/kill-bonobo/; revision=37132
2009-01-25 17:36:30 +00:00
04024bf52c Fix a crash when cancelling a task in the task bar.
Tinker with task bar padding.

svn path=/branches/kill-bonobo/; revision=37131
2009-01-25 03:58:06 +00:00
32ffc3ca1c Make the sidebar icon follow the folder icon.
Fix more runtime warnings.

svn path=/branches/kill-bonobo/; revision=37130
2009-01-25 03:28:18 +00:00
bd9f473a89 Redesign EPluginUI to accommodate merging and unmerging shell views.
Get the "mark-all-read" and "plugin-manager" plugins working.

svn path=/branches/kill-bonobo/; revision=37125
2009-01-23 21:41:01 +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
7ed2b90bda Fix online mode initialization.
svn path=/branches/kill-bonobo/; revision=37070
2009-01-14 12:45:10 +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
e0610b2e0c Continue chipping away at EMFolderView and EMFolderBrowser.
Migrate from gnome_url_show() to e_show_uri().

svn path=/branches/kill-bonobo/; revision=37038
2009-01-11 14:20:50 +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
607ce3802e Reviewed by Matthew Barnes <mbarnes@redhat.com>
2009-01-09  Takao Fujiwara  <takao.fujiwara@sun.com>

	Reviewed by Matthew Barnes  <mbarnes@redhat.com>

	* Fix for bug #566011

	* addressbook/gui/component/Makefile.am:
	* addressbook/gui/component/addressbook-component.c
	(addressbook_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* calendar/gui/Makefile.am:
	* calendar/gui/calendar-component.c (calendar_component_class_init):
	* calendar/gui/dialogs/comp-editor.c:
	* calendar/gui/memos-component.c (memos_component_class_init):
	* calendar/gui/tasks-component.c (tasks_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* composer/e-composer-header-table.c:
	* composer/e-composer-private.h:
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.

	* mail/mail-component.c (mail_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* shell/e-user-creatable-items-handler.c
	(e_user_creatable_items_handler_class_ini):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* widgets/misc/e-charset-picker.c:
	* widgets/misc/e-signature-combo-box.c:
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.


svn path=/trunk/; revision=37021
2009-01-09 07:36:29 +00:00
2b9c72826a Fix a weird UI merging bug.
svn path=/branches/kill-bonobo/; revision=37020
2009-01-09 05:13:07 +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
2cf5be809d update Copyright to 2009.
2009-01-01  Andre Klapper  <a9016009@gmx.de>

	* e-shell-window-commands.c:
	update Copyright to 2009.


svn path=/trunk/; revision=36960
2009-01-01 22:08:42 +00:00
9d915124c2 Get the Character Encoding menu working.
Kill e_charset_picker_bonobo_ui_populate().

svn path=/branches/kill-bonobo/; revision=36950
2008-12-31 20:24:59 +00:00
11e1bc38c3 Get the basic mail browser window working. No message contents yet.
svn path=/branches/kill-bonobo/; revision=36946
2008-12-29 13:42:07 +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
c6e59dfc5b Update EShell documentation.
svn path=/branches/kill-bonobo/; revision=36936
2008-12-28 06:26:01 +00:00
a6c6f6d906 Solve a translation issue related to the New menu.
svn path=/branches/kill-bonobo/; revision=36934
2008-12-28 04:16:48 +00:00
8e2b445e9d Define a new interface called EMailReader, which implements operations
common to both the main shell window and the message browser.  Replaces
EMFolderView.  Also begin to define EMailBrowser (GtkWindow subclass),
which implements EMailReader and replaces EMMessageBrowser.

svn path=/branches/kill-bonobo/; revision=36933
2008-12-27 15:14:29 +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
04531b1c0f ** Fixes bug #564416
2008-12-14  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #564416

	* shell/e-shell-nm.c:
	We've been listening for obsolete D-Bus signals.
	Update to NetworkManager's current D-Bus API.


svn path=/trunk/; revision=36878
2008-12-15 04:51:33 +00:00
22638789fa - Get offline synchronization working in the mailer (I think).
svn path=/branches/kill-bonobo/; revision=36876
2008-12-14 04:06:26 +00:00
b7333387e8 - Fix NetworkManager connection tracking.
- Implement offline preparation as an EActivity that gets broadcast in
  a signal to shell modules.  Offline preparations are complete when the
  last EActivity reference is dropped.

- Bind some of the composer preferences to EShellSettings properties.

svn path=/branches/kill-bonobo/; revision=36875
2008-12-14 02:14:41 +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
cd622d600e Jeff Cai ** Fix for bug #563077 (Don't pass NULL to gtk_icon_info_get_filename(), fixes a crash if the gnome-settings-daemon is not running).
svn path=/trunk/; revision=36844
2008-12-08 08:09:01 +00:00
4f4615a46d Merge revisions 36737:36810 from trunk.
svn path=/branches/kill-bonobo/; revision=36811
2008-11-24 05:14:44 +00:00
ab0ea462f3 Documentation improvements.
svn path=/branches/kill-bonobo/; revision=36806
2008-11-19 23:54:02 +00:00
b06cdfab92 Progress update:
- Tighter integration of GalViewInstance and EShellView.

  - EBinding.  Stolen from ExoBinding.  Lets you bind GObject properties
    together to automatically keep their values in sync.  This is a godsend.
    Added to e-util, but might even deserve a place in libedataserver.

  - EShellSettings.  This is the concept I blogged about.  Already
    started ripping apart em-mailer-prefs.c.  Others to follow.  Any
    place where we're monitoring GConf keys is a target.

  - Incremental progress on the calender and mailer.  Got EMFolderView
    somewhat working, but I think I'll be killing off EMFolderBrowser.



svn path=/branches/kill-bonobo/; revision=36795
2008-11-19 01:39:19 +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
d6445f8abf Merge revisions 36685:36729 from trunk.
svn path=/branches/kill-bonobo/; revision=36763
2008-11-07 22:04:53 +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
50c162fd76 Fix a pane resizing issue on the main window that's been driving me crazy.
Also manage the calendar's vertical pane, switching between different GConf
keys depending on whether we're in month view.

svn path=/branches/kill-bonobo/; revision=36717
2008-11-02 21:25:27 +00:00
80e6c5adad Add popup menus to the calendar memopad and taskpad.
Implement support for "hide completed tasks" option (not yet tested).
Flesh out most of the Preferences window.  Still need Certificates page.

svn path=/branches/kill-bonobo/; revision=36701
2008-10-30 20:51:26 +00:00
585ed6226b Only include the toplevel GTK+ header.
2008-10-30  Matthew Barnes  <mbarnes@redhat.com>

	* addressbook/gui/contact-editor/test-editor.c:
	* addressbook/gui/widgets/e-minicard-label.c:
	* addressbook/gui/widgets/e-minicard-view-widget.c:
	* addressbook/gui/widgets/test-reflow.c:
	* calendar/gui/control-factory.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-week-view-event-item.c:
	* calendar/gui/weekday-picker.c:
	* e-util/e-icon-factory.c:
	* shell/importer/evolution-importer-client.h:
	* shell/importer/intelligent.c:
	* shell/test/evolution-test-component.c:
	* widgets/menus/gal-view-menus.c:
	* widgets/misc/e-activity-handler.c:
	* widgets/table/e-table-config-field.h:
	Only include the toplevel GTK+ header.


svn path=/trunk/; revision=36699
2008-10-30 16:52:23 +00:00
d6b8b58bb4 Get the calendar's memopad and taskpad working.
What's interesting here is we're actually sharing the ECalModel across views.
Instead of having the Calendar view listen to GConf for changes to the Task
and Memo models, the Calendar view fetches the models directly from the Task
and Memo views -- starting the views if it has to, although the shell really
takes care of that -- and loads the models into its own taskpad and memopad.

We couldn't do that sort of thing before with Bonobo in the way.
Big chunks of redundant code should begin falling out shortly.

svn path=/branches/kill-bonobo/; revision=36696
2008-10-29 20:11:07 +00:00
17e030e202 Fix a couple minor UI bugs.
Populate the calendar's filter combo.

svn path=/branches/kill-bonobo/; revision=36691
2008-10-27 22:47:50 +00:00
14f54991f3 Disable parts of my previous calendar work, such that all modules now load!
svn path=/branches/kill-bonobo/; revision=36690
2008-10-27 20:28:57 +00:00
85b2913a38 Merge revisions 36534:36684 from trunk.
svn path=/branches/kill-bonobo/; revision=36685
2008-10-24 23:52:05 +00:00
e7a31c5035 Commit recent work so I can merge from trunk.
svn path=/branches/kill-bonobo/; revision=36684
2008-10-24 23:02:33 +00:00