Commit Graph

245 Commits

Author SHA1 Message Date
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
c7d3c9f956 Merge revisions 36866:37046 from trunk.
svn path=/branches/kill-bonobo/; revision=37050
2009-01-12 04:12:01 +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
d158af8cdf Merge revisions 36811:36865 from trunk.
svn path=/branches/kill-bonobo/; revision=36867
2008-12-10 18:30:29 +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
b2cda1d0c6 Merge revisions 36016:36533 from trunk.
svn path=/branches/kill-bonobo/; revision=36534
2008-10-01 20:56:04 +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
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
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
f74b49344b Change Crash Recovery to Crash detection.
2008-01-30  Srinivasa Ragavan  <sragavan@novell.com>

	* apps_evolution_shell.schemas.in: Change Crash Recovery to Crash
	detection.
	* main.c: (show_recovery_warning):



svn path=/trunk/; revision=34934
2008-01-30 18:18:21 +00:00
6cf9a97579 ** Fix for bug #219197
2008-01-03  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #219197

	* e-shell.h:
	* e-shell.c: (e_shell_can_quit), (e_shell_do_quit), (e_shell_quit):
	Call of e_shell_quit divided into two functions, one to check if quit
	is acceptable by all components and second to do quit.
	* main.c: (gnome_master_client_save_yourself_cb),
	(gnome_master_client_die_cb), (main):
	Quit application when session dies.


svn path=/trunk/; revision=34754
2008-01-03 10:20:36 +00:00
a933414f93 ** Fix for bug #502501
2007-12-10  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #502501

	* main.c: (show_recovery_warning): Re use the existing string.


svn path=/trunk/; revision=34683
2007-12-10 07:39:24 +00:00
08380ae64e ** Add basic support for crash recovery
2007-12-05  Srinivasa Ragavan  <sragavan@novell.com>

	** Add basic support for crash recovery

	* apps_evolution_shell.schemas.in: Keys to recover and recovery dialog.
	* e-shell.c: (e_shell_quit): Delete the lock while quitting.
	* main.c: (show_recovery_warning), (idle_cb): Create lock and also show 
	the warning dialog.


svn path=/trunk/; revision=34652
2007-12-05 15:11:26 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
1c749ee5c6 Remove the version. Update the stable version.
2007-10-29  Srinivasa Ragavan  <sragavan@novell.com>

	* GNOME_Evolution_Shell.server.in.in: Remove the version.
	* main.c: (show_development_warning): Update the stable version.


svn path=/trunk/; revision=34444
2007-10-29 07:19:25 +00:00
d440df54a8 ** Fix for bug #471791 (Move away from asserts to g_ret*)
svn path=/trunk/; revision=34159
2007-09-02 18:56:05 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
0014b8c62e Added a command line option to disable preview/selection for crash on select.
svn path=/trunk/; revision=33967
2007-08-08 06:47:01 +00:00
cd0f8af3d8 ** Fix for bug #448201 from Gabor Kelemen
svn path=/trunk/; revision=33703
2007-06-18 05:36:29 +00:00
8bebb05056 ** Fix for bug #386503 from Matthew Barnes
svn path=/trunk/; revision=33647
2007-06-03 15:07:55 +00:00
1118857d92 Fix file descriptor leaks
svn path=/trunk/; revision=33598
2007-05-29 09:06:58 +00:00
c70d6dfd3d Bump stable version recommendation from 2.8.1 to 2.10.1.
2007-05-01  Matthew Barnes  <mbarnes@redhat.com>

	* shell/main.c (show_development_warning):
	Bump stable version recommendation from 2.8.1 to 2.10.1.


svn path=/trunk/; revision=33468
2007-05-01 17:50:54 +00:00
5ccf9eef4a ** Fixes bug #433005 (patch from Daniel Gryniewicz)
2007-04-24  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #433005  (patch from Daniel Gryniewicz)

	* shell/main.c: #include <gtk/gtkcheckbutton.h>

	* widgets/misc/e-task-widget.c: #include "e-spinner.h"


svn path=/trunk/; revision=33455
2007-04-24 18:10:25 +00:00