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
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-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
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
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-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-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-03-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #419469 - Miscellaneous main.c cleanups
* shell/main.c (kill_dataserver): Kill evolution-data-server-1.8.
* shell/main.c (show_development_warning): Call gtk_dialog_run()
instead of listening for a "response" signal. Pass the checkbox
state back to main() and let main() set the "show_dialog_warning"
GConf key.
* shell/main.c (open_uris), (idle_cb), (main): Use the
remaining_args string vector directly instead of needlessly
building a GSList out of it.
* shell/main.c (main): Manage a reference to the default GConf
client and pass it to the functions that need it.
svn path=/trunk/; revision=33318
2007-02-12 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #360946
shell/e-shell-window-commands.c (command_about): Migrate to
GtkAboutDialog, use "evolution" for the icon name, add a website link.
shell/main.c (main): Set default window icon name to "evolution".
svn path=/trunk/; revision=33212