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.
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
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
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-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
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-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
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-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
- Further refinements of the shell API.
- Kill ESMenu and EUserCreatableItemsHandler.
- Start ripping apart the addressbook component.
svn path=/branches/kill-bonobo/; revision=36093
- 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
- 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-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-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-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-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 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-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 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-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