aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the profiler plugin.Matthew Barnes2011-06-301-4/+0
| | | | | | | This plugin was for developers, but no one uses it anymore. Plus the only profiling hooks left in Evolution were in the MessageList widget, which performs fine. There's better ways to collect profiling data these days anyway (sysprof, systemtap, etc.).
* Port EShell to GtkApplication.Matthew Barnes2011-06-301-9/+23
|
* Coding style and whitespace cleanup.Matthew Barnes2011-06-301-2/+5
|
* Drop backward-compatibility cruft.Matthew Barnes2011-06-301-3/+0
|
* Bug #590245 - 'evolution --force-shutdown' should kill factoriesMilan Crha2011-06-301-4/+40
|
* Clarify command line parameter stringAndre Klapper2011-06-301-1/+2
|
* Bug #597567 - Crash in comp_subject()Milan Crha2010-10-211-0/+8
| | | | Fix works only when compiled with libical 0.46 or later
* Bug 461769 - Add a --force-online command line optionMatthew Barnes2010-10-141-3/+15
| | | | | Use it to override network availability detection as reported by NetworkManager or other network monitoring software.
* Coding style and whitespace cleanup.Matthew Barnes2010-10-041-3/+9
|
* Increase safety on WindowsFridrich Štrba2010-09-151-3/+29
| | | | Call SetDllDirectory() to reduce risk of DLL hijacking, and call SetProcessDEPPolicy() to reduce risk of rogue code execution.
* Re-work my GtkDialog:has-separator workaround.Matthew Barnes2010-09-111-3/+2
| | | | | | | If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is deprecated but the property is still present and defaults to TRUE), we still need to set the property to FALSE. So instead use g_object_set() up through GTK+ 2.90.6, after which the property itself is gone.
* Work around deprecation of gtk_dialog_set_has_separator()Matthew Barnes2010-09-111-0/+2
| | | | | | Unfortunately the default value for this property is TRUE (bzzt, WRONG!) so we can't just remove the function outright until we require GTK+ 2.22. It was deprecated in GTK+ 2.21.8.
* Coding style and whitespace cleanup.Matthew Barnes2010-08-291-7/+7
|
* Remove the last traces of dbus-glib.Matthew Barnes2010-08-291-1/+0
|
* We are not using dbus-glib anymore, don't call dbus_g_thread_initFridrich Štrba2010-08-051-1/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-261-7/+7
|
* Add optional clutter support.Srinivasa Ragavan2010-07-261-0/+15
|
* Coding style and whitespace cleanup.Matthew Barnes2010-06-201-2/+2
|
* [win32] Don't run evolution when asked to register handlers.Fridrich Štrba2010-06-181-0/+3
|
* [win32] add --register-handlers and --unregister-handlers optionsFridrich Štrba2010-06-181-2/+16
| | | | and don't tamper with registry unless asked for it explicitely.
* Bug 603468 - Improve handling of --quit optionMatthew Barnes2010-06-131-5/+11
|
* Coding style and whitespace cleanup.Matthew Barnes2010-05-271-2/+2
|
* Merge branch 'express2'Matthew Barnes2010-05-271-0/+12
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-251-2/+2
| |
| * Fix compiler warnings.Matthew Barnes2010-05-251-1/+1
| |
| * Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-251-7/+43
| |\
| | * [win32] Try to get the default application registration rightFridrich Štrba2010-05-191-3/+3
| | |
| | * Bug 619010 - Mailer's crash avoidance features are brokenMatthew Barnes2010-05-191-0/+3
| | |
| | * [win32] Implement --reinstall, --show-icons, --hide-icons optionsFridrich Štrba2010-05-181-0/+28
| | | | | | | | | | | | to be used by windows default application setting dialogue
| | * [win32] Don't call glib functions before g_thread_init was called andFridrich Štrba2010-05-171-7/+12
| | | | | | | | | | | | register evolution as capable to handle mailto: protocol on startup
| * | Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-171-0/+9
| |\|
| | * [win32] Set patch to evolution's bindir because some child processesFridrich Štrba2010-05-111-0/+9
| | | | | | | | | | | | need it in some situations.
| * | Store the initial view request and use that to decide whether to showSrinivasa Ragavan2010-04-221-0/+5
| | | | | | | | | | | | startup wizard or not. Show only for mail and not calendar.
| * | Detect MeeGo, and propagate settings variously.Michael Meeks2010-04-121-0/+7
| |/ | | | | | | Adapt widget naming on MeeGo for theming etc.
* | [win32} Register evolution as "Contacts" application and .vcf handlerFridrich Štrba2010-05-191-0/+1
| |
* | [win32] Try to get the default application registration rightFridrich Štrba2010-05-191-3/+3
| |
* | Bug 619010 - Mailer's crash avoidance features are brokenMatthew Barnes2010-05-191-0/+3
| |
* | [win32] Implement --reinstall, --show-icons, --hide-icons optionsFridrich Štrba2010-05-181-0/+28
| | | | | | | | to be used by windows default application setting dialogue
* | [win32] Don't call glib functions before g_thread_init was called andFridrich Štrba2010-05-171-7/+12
| | | | | | | | register evolution as capable to handle mailto: protocol on startup
* | Convert "default-mailer" plugin to an extension.Matthew Barnes2010-05-131-0/+3
| |
* | [win32] Set patch to evolution's bindir because some child processesFridrich Štrba2010-05-111-0/+9
| | | | | | | | need it in some situations.
* | Bug #608766 - Replace pthread with GLib's GThreadMilan Crha2010-04-151-7/+5
| |
* | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-7/+8
| |
* | Fix a compiler warning in main.c.Matthew Barnes2010-03-301-1/+1
| |
* | Drop support for migrating from Evolution < 2.0.Matthew Barnes2010-03-301-29/+0
|/ | | | | | | There's too much ancient, crufty code there that we can't realistically support anymore. A workaround for those poor users still on 1.x is to upgrade to some 2.x release first, then upgrade again to 3.x. An error dialog explaining this will be shown at startup.
* Don't use the previous stored default shell type in express mode.Michael Meeks2010-03-171-1/+4
| | | | | This avoids closing the mail, then addressbook, and getting only an addressbook when re-run (with no switchers in express mode).
* Remove some more unnecessary windows workarounds.Fridrich Strba2010-03-151-50/+1
|
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the EVO_EXPRESS environment variable with an --express command line option. (Note, this adds a new translatable string for --help.) Add an EUIManager class with an "express-mode" property and custom load functions that use our new "express" preprocessor. This replaces the UI manager functions in e-utils.c. (Also going to see if I can get GTK+ to add an "add_ui_from_string" method to GtkUIManagerClass that we can override. Then we could just call gtk_ui_manager_add_ui_from_string() and the preprocessor would automatically do its thing and chain up.) Add an "express-mode" read-only GObject property to EShell. Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this just creates a one-way property binding: EShell:express-mode -> EUIManager:express-mode Call this immediately after e_ui_manager_new(). (EUIManager can't do this itself because it lives too low in the dependency hierarchy and doesn't know about EShell.)
* Remove left-over ORBit2 calls on windowsFridrich Strba2010-03-061-8/+0
|
* Bug 608340 - Help text missing --debug parameterMatthew Barnes2010-01-281-1/+1
|
* Changes in mingw.org last w32api/mingw-rt packages.Fridrich Strba2010-01-281-1/+1
|
* Bug 606342 - PST option not offered in single file importMatthew Barnes2010-01-231-0/+2
|
* Bug 604520 - Create first account window hidden behind main windowMatthew Barnes2010-01-121-2/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-051-18/+34
|
* Remove some obsolete GConf keys.Matthew Barnes2009-12-191-1/+0
| | | | | | | | | /apps/evolution/mail/display/show_preview /apps/evolution/mail/display/thread_list These keys are no longer needed since we're storing the settings by folder now in ~/.evolution/mail/config/state. To simplify things we use hard-coded defaults: TRUE for PreviewVisible, FALSE for GroupByThreads.
* Move icon theme path setup from main() to EShell.Matthew Barnes2009-12-151-4/+0
| | | | So Anjal picks it up.
* Revise the EShell ref-leak check to not upset Valgrind.Matthew Barnes2009-12-031-13/+11
|
* Add an EShell:module-directory constructor property.Matthew Barnes2009-12-021-0/+1
| | | | | | | | | | | | | | | | | This tells EShell where to look for EModules. Best practice is to define the directory in your CPPFLAGS and then pass it to EShell at instantiation time, like so: Makefile.am: evolution_CPPFLAGS = \ -DMODULEDIR=\""$(moduledir)"\" ... main.c: shell = g_object_new ( E_TYPE_SHELL, "module-directory", MODULEDIR, ...);
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-1/+0
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Implement a new 'killev' program.Matthew Barnes2009-11-271-19/+3
| | | | | For now this only terminates Evolution, but the same basic approach should also be used with the Evolution-Data-Server D-Bus services.
* Make EShell more subclassable.Matthew Barnes2009-11-271-11/+0
| | | | | | | | Add method pointers to EShellClass for all the EShell signals. Also rework my previous --quit corner case workaround: we'll want to do the full shutdown procedure after all, since the backends have already spun up.
* Add a --quit command-line option.Matthew Barnes2009-11-261-2/+6
| | | | | | | This -asks- an existing Evolution process to quit. It is equivalent to selecting File->Quit in the main window. It does not kill the process. My plan is to use this as part of a new --force-shutdown implementation.
* Add a --geometry command-line option.Matthew Barnes2009-11-261-0/+4
| | | | | Applies the user's window geometry string to the first main window. Suggested in bug #529565.
* Kill Evolution's icon cache once and for all.Matthew Barnes2009-11-201-3/+4
| | | | | GTK+ already does this. Eliminates e_icon_factory_init() and e_icon_factory_shutdown().
* Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-2/+0
|
* Bug #588093 - Allow import of local files from command lineMilan Crha2009-11-121-1/+4
|
* Rearrange variables and Windows-only code to avoid warningTor Lillqvist2009-11-111-10/+11
|
* Kill e-cursor(s) (both of them).Matthew Barnes2009-11-101-4/+0
|
* Bug #599740 - Crashing in g_thread_initMilan Crha2009-10-271-1/+2
|
* Bug 596952 - Offline mode does not stick when set from command lineMatthew Barnes2009-10-081-9/+15
|
* Clean up includes in main.c.Matthew Barnes2009-10-081-27/+17
|
* Trim unused or unnecessary bits from the import framework.Matthew Barnes2009-09-261-2/+0
|
* Kill the killev program, and the whole tools directory.Matthew Barnes2009-09-181-9/+30
| | | | The --force-shutdown option now simply runs "pkill evolution".
* Restore the alarm notify daemon.Matthew Barnes2009-09-181-1/+1
| | | | | Convert evolution-alarm-notify to an autostart program, add a .desktop file for it, and use libunique to ensure only one instance is running.
* Bug #590707 - Initialize DBus threading on startMilan Crha2009-09-101-0/+6
|
* Start migration -after- loading all modules and plugins.Matthew Barnes2009-09-021-0/+5
|
* Simplify EPlugin loading at startup.Matthew Barnes2009-08-301-22/+18
| | | | | | | | | | | | | - Require all EPlugin and EPluginHook subtypes be registered before loading plugins. This drastically simplifies the EPlugin/EPluginHook negotiation. - Turn most EPluginHook subtypes into GTypeModules and register their types from an e_module_load() function (does not include shell hooks). - Convert EPluginLib and the Mono and Python bindings to GTypeModules and register their types from an e_module_load() function, and kill EPluginTypeHook.
* Exit if no command-line URIs are handled.Matthew Barnes2009-08-251-3/+4
|
* Stop killing evolution-data-server services.Matthew Barnes2009-08-231-69/+0
| | | | That includes startup and --force-shutdown.
* Bug 571488 - Migrate from deprecated gnome_sound to libcanberraH.Habighorst2009-08-231-3/+0
|
* Remove an unnecessary libgnomeui include.Matthew Barnes2009-08-181-1/+0
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-19/+14
|
* Fix a problem with EShell initialization.Matthew Barnes2009-07-121-1/+1
|
* Implement the shutdown protocol and stub in session management.Matthew Barnes2009-07-111-132/+10
| | | | | The shutdown protocol is modelled after online/offline preparation. Session management code is copied from libegg. Not yet used.
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-07-111-0/+28
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: addressbook/util/addressbook.h calendar/gui/e-week-view-main-item.c configure.ac e-util/Makefile.am mail/em-account-editor.c mail/em-folder-selection-button.c shell/e-shell.c
| * [win32] When started from a console, get console output (Windows XP orFridrich Strba2009-07-041-0/+28
| | | | | | | | later only).
| * More code cleanup.Matthew Barnes2009-06-021-1/+1
| |
| * Prefer GLib basic types over C types.Matthew Barnes2009-05-291-9/+9
| |
| * Remove trailing whitespace, again.Matthew Barnes2009-05-291-3/+3
| |
* | Get the "startup-wizard" plugin working again.Matthew Barnes2009-06-301-10/+8
| |
* | More code cleanup.Matthew Barnes2009-06-021-1/+1
| |
* | Prefer GLib basic types over C types.Matthew Barnes2009-05-271-6/+6
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-3/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Remove trailing whitespace, again.Matthew Barnes2009-05-271-3/+3
| |/
| * Fix compiler warnings in shell.Matthew Barnes2009-05-261-2/+4
| |
| * e-util/e-plugin.c e-util/e-plugin.h EPlugins must be loaded after BonoboPhilip Van hoof2009-01-121-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Remove unneeded #include <libgnome/gnome-util.h>.Matthew Barnes2009-01-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * ** Related to bug #562155Matthew Barnes2008-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix memory leak. (Fixes bug #565628).Ignacio Casal Quinteiro2008-12-261-0/+2
| | | | | | | | | | | | | | | | | | | | 2008-12-25 Ignacio Casal Quinteiro <nacho.resa@gmail.com> * shell/main.c: Fix memory leak. (Fixes bug #565628). svn path=/trunk/; revision=36932
| * ** Fixes bug #563250Matthew Barnes2008-12-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * ** Fixes bug #557581Matthew Barnes2008-11-081-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-301-13/+13
| | | | | | | | svn path=/trunk/; revision=36502
| * ** Fixes bug #508732Matthew Barnes2008-08-181-96/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Bug 543758 - Never mark empty strings for translationsTor Lillqvist2008-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Convert EShellModule to EShellBackendMatthew Barnes2009-05-071-2/+2
| | | | | | | | | | | | | | | | 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.
* | Saving progress on a massive attachment handling rewrite.Matthew Barnes2009-03-211-7/+9
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37465
* | Kill EDropdownButton.Matthew Barnes2009-02-211-16/+11
| | | | | | | | | | | | Migrate off of gnome_program_init(). svn path=/branches/kill-bonobo/; revision=37303
* | Rename EShell:online-mode to EShell:online and update docs.Matthew Barnes2009-02-191-5/+5
| | | | | | | | | | | | | | 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
* | When invoking Evolution with URIs on the command-line (e.g. mailto:),Matthew Barnes2009-01-291-9/+6
| | | | | | | | | | | | terminate after all the windows for those URIs have been closed. svn path=/branches/kill-bonobo/; revision=37157
* | Add unique-1.0 requirement (blessed external dependency).Matthew Barnes2009-01-291-54/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix a runtime warning.Matthew Barnes2009-01-181-1/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37094
* | Hack GtkIconTheme so we can reference category icons as named icons.Matthew Barnes2009-01-181-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge revisions 37047:37074 from trunk.Matthew Barnes2009-01-151-0/+8
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37075
* | Merge revisions 36866:37046 from trunk.Matthew Barnes2009-01-121-1/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37050
* | Tweak the EShell API.Matthew Barnes2009-01-081-4/+3
| | | | | | | | | | | | | | Disable File -> Close Window when there's only one window. Replace EMMessageBrowser with EMailBrowser. svn path=/branches/kill-bonobo/; revision=37009
* | Merge revisions 36811:36865 from trunk.Matthew Barnes2008-12-111-0/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36867
* | Merge revisions 36737:36810 from trunk.Matthew Barnes2008-11-241-7/+12
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36811
* | Rearranged some of the addressbook code to try and eliminate some circularMatthew Barnes2008-11-141-9/+15
| | | | | | | | | | | | | | | | 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
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-13/+13
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Begin documenting the new shell design.Matthew Barnes2008-09-151-2/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36337
* | Fix some bugs in the way the shell widgets get initialized.Matthew Barnes2008-09-091-2/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36279
* | Progress update:Matthew Barnes2008-09-091-8/+21
| | | | | | | | | | | | | | | | - Merge ETaskBar into EShellTaskbar. - Remember the last view, and make --component work. svn path=/branches/kill-bonobo/; revision=36278
* | Progress update:Matthew Barnes2008-08-271-2/+0
| | | | | | | | | | | | | | | | | | - Further refinements of the shell API. - Kill ESMenu and EUserCreatableItemsHandler. - Start ripping apart the addressbook component. svn path=/branches/kill-bonobo/; revision=36093
* | Progress update:Matthew Barnes2008-08-241-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Progress update:Matthew Barnes2008-08-231-55/+113
| | | | | | | | | | | | | | | | | | | | - 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
* | Merge revisions 35993:36015 from trunk.Matthew Barnes2008-08-191-94/+4
| | | | | | | | | | | | Adapt recent "crash recovery" changes to new architecture. svn path=/branches/kill-bonobo/; revision=36018
* | Demonstrate loading the test module.Matthew Barnes2008-08-141-1/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35983
* | Work through more compilation errors.Matthew Barnes2008-08-091-126/+45
| | | | | | | | | | | | Rewrite EMultiConfigDialog to not use ETable. svn path=/branches/kill-bonobo/; revision=35942
* | Merge revisions 35747:35930 from trunk.Matthew Barnes2008-08-081-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35931
* | Disable all components and plugins. Begin rewriting the shell.Matthew Barnes2008-07-171-1/+1
|/ | | | svn path=/branches/kill-bonobo/; revision=35748
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-13/+1
| | | | | | | | | | 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
* ** Fixes bug #525241 (EPluginUI)Matthew Barnes2008-05-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* If no message catalog is installed for the current locale language, don'tTor Lillqvist2008-05-081-0/+11
| | | | | | | | | | | | 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
* Changed stable version to 2.22.1 in Beta version warning messageAkhil Laddha2008-04-291-1/+1
| | | | | | * shell/main.c : Changed stable version to 2.22.1 in Beta version warning message svn path=/trunk/; revision=35433
* Move the call to set_paths() on Windows earlier beforeTor Lillqvist2008-03-041-4/+4
| | | | | | gnome_program_init() so that it affects gconfd-2. svn path=/trunk/; revision=35130
* Drop the call to gtk_rc_parse_string() to set gtk-fallback-icon-theme =Tor Lillqvist2008-03-041-1/+0
| | | | | | | | | | | | | | 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
* On Windows, set PATH to include Evolution's "bin" folder and theTor Lillqvist2008-03-031-1/+62
| | | | | | | | | | | 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
* Committing the build fix that comes up if DEVELOPMENT is enabled.Srinivasa Ragavan2008-03-021-3/+4
| | | | | | | | | 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
* Add commands to kill recent versions of evolution-data-server.Matthew Barnes2008-02-141-0/+2
| | | | | | | | | | 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
* Change Crash Recovery to Crash detection.Srinivasa Ragavan2008-01-311-1/+1
| | | | | | | | | | | | 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
* ** Fix for bug #219197Milan Crha2008-01-031-0/+19
| | | | | | | | | | | | | | | | | 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
* ** Fix for bug #502501Srinivasa Ragavan2007-12-101-1/+1
| | | | | | | | | | | 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
* ** Add basic support for crash recoverySrinivasa Ragavan2007-12-051-1/+99
| | | | | | | | | | | | | | 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
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-14/+14
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Remove the version. Update the stable version.Srinivasa Ragavan2007-10-291-1/+1
| | | | | | | | | | 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
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-2/+2
| | | | svn path=/trunk/; revision=34159
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Added a command line option to disable preview/selection for crash on select.Srinivasa Ragavan2007-08-081-2/+10
| | | | svn path=/trunk/; revision=33967
* ** Fix for bug #448201 from Gabor KelemenSrinivasa Ragavan2007-06-181-0/+2
| | | | svn path=/trunk/; revision=33703
* ** Fix for bug #386503 from Matthew BarnesSrinivasa Ragavan2007-06-031-1/+1
| | | | svn path=/trunk/; revision=33647
* Fix file descriptor leaksJules Colding2007-05-291-1/+1
| | | | svn path=/trunk/; revision=33598
* Bump stable version recommendation from 2.8.1 to 2.10.1.Matthew Barnes2007-05-021-1/+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
* ** Fixes bug #433005 (patch from Daniel Gryniewicz)Matthew Barnes2007-04-251-0/+1
| | | | | | | | | | | | | 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
* Fix build breaksSrinivasa Ragavan2007-04-231-1/+2
| | | | svn path=/trunk/; revision=33446
* Fix for bug #271851Srinivasa Ragavan2007-04-231-1/+5
| | | | svn path=/trunk/; revision=33444
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+0
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* ** Fixes bug #419469 - Miscellaneous main.c cleanupsMatthew Barnes2007-03-201-78/+54
| | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fixes bug #360946Matthew Barnes2007-02-131-7/+1
| | | | | | | | | | | | | | 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
* Register import eplugin type. Fixes bug #372528.Chris Halls2006-12-031-0/+2
| | | | | | | | | 2006-11-29 Chris Halls <halls@debian.org> * main.c: Register import eplugin type. Fixes bug #372528. svn path=/trunk/; revision=33033
* Update last stable version.Harish Krishnaswamy2006-10-171-1/+1
| | | | | | | | | 2006-10-17 Harish Krishnaswamy <kharish@novell.com> * main.c: (show_development_warning): Update last stable version. svn path=/trunk/; revision=32903
* update last stable version number from 2.6.3 to 2.8.0Andre Klapper2006-09-141-1/+1
| | | | | | | | 2006-09-14 Andre Klapper <a9016009@gmx.de> * main.c: update last stable version number from 2.6.3 to 2.8.0 svn path=/trunk/; revision=32764
* ** Fix for bug #334821 by Tollef Fog HeenSrinivasa Ragavan2006-08-231-1/+2
| | | | svn path=/trunk/; revision=32642
* update last stable version number from 2.6.2 to 2.6.3Andre Klapper2006-08-021-1/+1
| | | | | | | | 2006-08-02 Andre Klapper <a9016009@gmx.de> * main.c: update last stable version number from 2.6.2 to 2.6.3 svn path=/trunk/; revision=32464
* update last stable version number from 2.6.1 to 2.6.2Andre Klapper2006-06-171-1/+1
| | | | | | | | 2006-06-17 Andre Klapper <a9016009@gmx.de> * main.c: update last stable version number from 2.6.1 to 2.6.2 svn path=/trunk/; revision=32164
* update last stable version number from 2.4.2.1 to 2.6.1Andre Klapper2006-04-271-1/+1
| | | | | | | 2006-04-27 Andre Klapper <a9016009@gmx.de> * main.c: update last stable version number from 2.4.2.1 to 2.6.1 svn path=/trunk/; revision=31915
* add eds-1.4 and eds-1.6 to the list of old instances.Harish Krishnaswamy2006-04-241-0/+2
| | | | | | | | | 2006-04-24 Harish Krishnaswamy <kharish@novell.com> * main.c: (kill_dataserver): add eds-1.4 and eds-1.6 to the list of old instances. svn path=/trunk/; revision=31883
* Replaced popt with GOption APIPhilip Van Hoof2006-04-191-34/+36
| | | | | | | | 2006-04-19 Philip Van Hoof <pvanhoof@gnome.org> * shell/main.c: Replaced popt with GOption API svn path=/trunk/; revision=31833
* On Win32, set the gtk-fallback-icon-theme to "gnome".Tor Lillqvist2006-02-211-0/+4
| | | | | | | | | 2006-02-21 Tor Lillqvist <tml@novell.com> * main.c (main): On Win32, set the gtk-fallback-icon-theme to "gnome". svn path=/trunk/; revision=31553
* On Win32, finally call link_shutdown() (from ORBit2/linc2), otherwise weTor Lillqvist2006-02-211-1/+6
| | | | | | | | | | | 2006-02-21 Tor Lillqvist <tml@novell.com> * main.c (main): On Win32, finally call link_shutdown() (from ORBit2/linc2), otherwise we hang with the link_io_thread still running (blocked in g_poll()). Sigh, the linc2 code is a mystery. Why this is necessary I have no idea. svn path=/trunk/; revision=31550
* Remove unused code and fix format specifiers in some cases.Kjartan Maraas2006-01-301-3/+0
| | | | | | | | | | | | | | | 2006-01-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-config-page.c: (e_corba_config_page_class_init): * e-shell-folder-title-bar.c: (e_shell_folder_title_bar_construct): * e-shell-window.c: (init_view): * e-shell.c: (detect_version), (e_shell_construct), (e_shell_new), (e_shell_attempt_upgrade), (e_shell_create_window), (e_shell_save_settings): * main.c: (idle_cb): Remove unused code and fix format specifiers in some cases. svn path=/trunk/; revision=31367
* s/don't/do not/ string change. Fixes #325276.Harish Krishnaswamy2006-01-291-1/+1
| | | | | | | | | 2006-01-29 Harish Krishnaswamy <kharish@novell.com> * main.c: (show_development_warning): s/don't/do not/ string change. Fixes #325276. svn path=/trunk/; revision=31339
* updated Evolution release number in unstable warning popupAndre Klapper2005-12-211-1/+1
| | | | | | | 2005-12-20 Andre Klapper <a9016009@gmx.de> * main.c: updated Evolution release number in unstable warning popup svn path=/trunk/; revision=30907
* Use libedataserver's e_xml_parse_file() instead of xmlParseFile()Tor Lillqvist2005-12-181-12/+16
| | | | | | | | | | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-config-upgrade.c: Use libedataserver's e_xml_parse_file() instead of xmlParseFile() directly. * e-shell.c * e-shell-importer.c: Use GLib API when applicable. * e-shell-importer.c * e-shell-window.c: Construct pathname of glade file at run-time. * e-shell-window-commands.c: Include e-util-private.h for Win32 redefinition of EVOLUTION_DATADIR. * main.c: No SIGSEGV handling on Win32. (main): Drop unused evolution_directory variable. svn path=/trunk/; revision=30849
* Update version and bugzilla information.Harish Krishnaswamy2005-10-251-2/+2
| | | | | | | | | 2005-10-25 Harish Krishnaswamy <kharish@novell.com> * main.c: (show_development_warning): Update version and bugzilla information. svn path=/trunk/; revision=30560
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-1/+1
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* remove mono registrtion, this is implemented using a plugin now. registerNot Zed2005-05-251-14/+1
| | | | | | | | | 2005-05-25 Not Zed <NotZed@Ximian.com> * main.c (main): remove mono registrtion, this is implemented using a plugin now. register the plugin type loader hook. svn path=/trunk/; revision=29413
* fix error file build/path changesNot Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * Makefile.am: fix error file build/path changes svn path=/trunk/; revision=29367
* add evolution-data-server-1.2 to the list of old dataserver instances.)Harish Krishnaswamy2005-05-121-0/+1
| | | | | | | | | 2005-05-12 Harish Krishnaswamy <kharish@novell.com> * main.c: (kill_dataserver): add evolution-data-server-1.2 to the list of old dataserver instances.) svn path=/trunk/; revision=29342
* setup the profiling plugin hook if profiling is compiled in.Not Zed2005-04-281-0/+4
| | | | | | | | | 2005-04-28 Not Zed <NotZed@Ximian.com> * main.c (main): setup the profiling plugin hook if profiling is compiled in. svn path=/trunk/; revision=29241
* switch #ifdef DEVELOPMENT to #if DEVELOPMENT so the configure.in fooJP Rosevear2005-03-211-10/+6
| | | | | | | | | 2005-03-21 JP Rosevear <jpr@novell.com> * main.c: switch #ifdef DEVELOPMENT to #if DEVELOPMENT so the configure.in foo actually controls this svn path=/trunk/; revision=29070
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* 2.0 is the current stable version.Rodrigo Moya2004-12-301-1/+1
| | | | | | | | | 2004-12-29 Rodrigo Moya <rodrigo@novell.com> * main.c (show_development_warning): 2.0 is the current stable version. svn path=/trunk/; revision=28206
* include es-event.h to fix 64 bit platform problems.David Mosberger2004-12-081-0/+1
| | | | | | | | 2004-12-08 David Mosberger <davidm@napali.hpl.hp.com> * main.c: include es-event.h to fix 64 bit platform problems. svn path=/trunk/; revision=28082
* Evolution product name spelled with an uppercase EJoan Sanfeliu2004-11-231-1/+1
| | | | | | | | | | 2004-11-22 Joan Sanfeliu <joan@fibranet.com> * main.c: Evolution product name spelled with an uppercase E Fixes #61605 svn path=/trunk/; revision=27965
* register event hook.Not Zed2004-10-251-2/+6
| | | | | | | | | | | | | | | | | | | | | 2004-10-25 Not Zed <NotZed@Ximian.com> * main.c (main): register event hook. * e-shell.c (offline_procedure_finished_cb, e_shell_go_online): emit new state changed event. * main.c (main): register the menu hook. (): only define DEVELOPMENT if not already. * e-shell-window.c (init): setup menu manager. (e_shell_window_new): activate menu manager. (update_offline_toggle_status): update the menu manager when the offline state changes (currently only state which requires it) * es-menu.[ch]: Shell plugin menu manager. svn path=/trunk/; revision=27712
* initialise plugin system. (main): add --disable-eplugin and --disable-monoNot Zed2004-10-071-0/+23
| | | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * main.c (main): initialise plugin system. (main): add --disable-eplugin and --disable-mono arguments. svn path=/trunk/; revision=27492
* init epasswords.Not Zed2004-08-121-1/+3
| | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> * main.c (main): init epasswords. svn path=/trunk/; revision=26884
* Remove AUTOHELP option since GNOME adds this itself. Fixes bug #60374.Jeffrey Stedfast2004-06-191-1/+3
| | | | | | | | | | 2004-06-18 Jeffrey Stedfast <fejj@novell.com> * main.c (main): Remove AUTOHELP option since GNOME adds this itself. Fixes bug #60374. (main): Before exiting from main(), call shutdown() routines. svn path=/trunk/; revision=26431
* test for skip_warning_dialog value in gconf here and not inRadek Doulik2004-06-191-11/+9
| | | | | | | | | | | 2004-06-18 Radek Doulik <rodo@ximian.com> * main.c (main): test for skip_warning_dialog value in gconf here and not in show_development_warning, otherwise we don't add or call idle_cb and evo will not run (show_development_warning): do not read skip_warning_dialog here svn path=/trunk/; revision=26423
* ** See bug #54498.Not Zed2004-06-181-33/+12
| | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> ** See bug #54498. * main.c (idle_cb): don't do dev warning stuff here anymore. * main.c (main): show the dev warning before doing anything else if we are going to. (warning_dialog_response_callback): kick off the actual application once we're finished. (window_map_callback, new_window_created_callback): removed, not needed anymore. svn path=/trunk/; revision=26412
* Call gnome_sound_init() before bonobo_main().Jeffrey Stedfast2004-06-171-1/+4
| | | | | | | | 2004-06-17 Jeffrey Stedfast <fejj@ximian.com> * main.c (main): Call gnome_sound_init() before bonobo_main(). svn path=/trunk/; revision=26386
* added noshell and noshell-reason error strings. the latter seems a waste,Not Zed2004-05-181-5/+4
| | | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * shell-errors.xml: added noshell and noshell-reason error strings. the latter seems a waste, but ... * main.c (idle_cb): use e_error for the new no shell errors. svn path=/trunk/; revision=25946
* #include <gtk/gtkvbox.h>Jeffrey Stedfast2004-05-181-1/+1
| | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * main.c: #include <gtk/gtkvbox.h> * e-shell-startup-wizard.c (make_importer_page): Use E_ICON_SIZE_DIALOG svn path=/trunk/; revision=25936
* Call e_icon_factory_shutdown() after bonobo_main() exits.Jeffrey Stedfast2004-05-131-2/+4
| | | | | | | | | 2004-05-12 Jeffrey Stedfast <fejj@novell.com> * main.c (main): Call e_icon_factory_shutdown() after bonobo_main() exits. svn path=/trunk/; revision=25888
* set title to just Evolution (show_development_warning): ditto for warningJP Rosevear2004-05-101-6/+6
| | | | | | | | | | | | | | | | | 2004-05-10 JP Rosevear <jpr@ximian.com> * main.c (show_development_warning): set title to just Evolution (show_development_warning): ditto for warning (idle_cb): ditto for title * e-shell-window.c (update_offline_toggle_status): set tooltip to just Evolution (e_shell_window_new): ditto for window title * e-shell-window-commands.c (command_about_box): set title to just Evolution svn path=/trunk/; revision=25835
* Call gnome_program_init with PACKAGE "-" BASE_VERSION so that we start upRodney Dawes2004-04-291-1/+1
| | | | | | | | | | | | 2004-04-28 Rodney Dawes <dobey@ximian.com> * main.c (main): Call gnome_program_init with PACKAGE "-" BASE_VERSION so that we start up the right version of evolution when we get killed by logout or whatever Fixes #54087 svn path=/trunk/; revision=25673
* Change component icons to use the icon theme names for icons RemoveMichael Terry2004-04-191-3/+8
| | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Test.server.in.in: Change component icons to use the icon theme names for icons * Makefile.am: Remove e-icon-factory.[ch] * e-component-registry.c: Use the icon theme for component icons * e-icon-factory.[ch]: Removed these files * e-shell-importer.c: * e-shell-settings-dialog.c: * e-shell-startup-wizard.c: * e-shell-window-commands.c: * e-user-creatable-items-handler.c: * evolution-shell-component-utils.[ch]: * main.c: * glade/evolution-startup-wizard.glade: * importer/import.glade: Use the icon theme via EIconFactory for all of the icons in the shell, and the window icons svn path=/trunk/; revision=25512
* Don't activate the components here. (e_shell_construct): Activate them allJeffrey Stedfast2004-04-101-1/+1
| | | | | | | | | | | | | | 2004-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-shell.c (e_shell_attempt_upgrade): Don't activate the components here. (e_shell_construct): Activate them all here instead (before we attempt to upgrade). Fixes a bug where the shell would start up in online mode but never notify the components to go online. * main.c (idle_cb): s/Cannot access/Cannot register/ svn path=/trunk/; revision=25405
* Remove dialog separators Change the border with of the dialog's vbox andRodney Dawes2004-04-011-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-31 Rodney Dawes <dobey@ximian.com> * e-shell-importer.c (choose_importer_from_list): (start_import): (prepare_intelligent_page): Remove dialog separators * e-shell-offline-handler.c (pop_up_confirmation_dialog): Change the border with of the dialog's vbox and action area to be HIG-compliant * e-shell-settings-dialog.c (init): Remove the dialog separator * e-shell-startup-wizard.c (prepare_importer_page): Remove the dialog separator to be more HIG-compliant (key_press_event_callback): Fix compile warnings and cast to the correct widget types for calling various gtk api Remove the dialog separator to be more HIG-compliant * main.c (show_development_warning): Make the devel warning dialog that pops up for unstable versions be HIG-compliant * glade/e-active-connection-dialog.glade: Make the active connection dialog for going off-line be HIG-compliant * importer/intelligent.c (create_gui): Remove the dialog separator and set the dialog's vbox and action area border widths to be more compliant with the HIG svn path=/trunk/; revision=25267
* ** See bug #53683.Not Zed2004-02-041-58/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53683. * Evolution-Component.idl: added EvolutionComponent::quit() call. * main.c (quit_box_new): removed, dont show quit box anymore at the end, we've already shutdown by now with the new shutdown sequence. * e-shell-window-commands.c (command_quit): call e_shell_quit to quit. * e-shell.c (e_shell_prepare_for_quit): renamed es_run_quit, now internal, and a gtktimeout function, so return code inverted. (e_shell_quit): new public entry, find out if we can shutdown, if so, then trigger a shutdown. (e_shell_request_close_window): just call e_shell_quit to exit when we've run out of windows. (e_shell_quit): desensitise all of the app windows before running shutdown. looks a bit weird, but not doing so looks worse. svn path=/trunk/; revision=24609
* turn development stuff back onJP Rosevear2004-01-291-1/+1
| | | | | | | | 2004-01-29 JP Rosevear <jpr@ximian.com> * main.c: turn development stuff back on svn path=/trunk/; revision=24519
* g_message this (destroy_config): remove the various pieces to create aJP Rosevear2004-01-291-6/+42
| | | | | | | | | | | 2004-01-28 JP Rosevear <jpr@ximian.com> * main.c (kill_dataserver): g_message this (destroy_config): remove the various pieces to create a cleanish state for re-migrating from 1.4.x (main): add --force-migrate option when in development mode svn path=/trunk/; revision=24504
* attempt the upgrade before trying to startup the wizard.Not Zed2004-01-271-76/+0
| | | | | | | | | | | | 2004-01-21 Not Zed <NotZed@Ximian.com> * e-shell.c (attempt_upgrade, detect_version, e_shell_construct): attempt the upgrade before trying to startup the wizard. * main.c (detect_version, attempt_upgrade): move to e-shell.c (idle_cb): remove call to attempt_upgrade. svn path=/trunk/; revision=24461
* drop now useless gtkhtml/gconf checkJP Rosevear2004-01-271-4/+0
| | | | | | | | 2004-01-26 JP Rosevear <jpr@ximian.com> * main.c: drop now useless gtkhtml/gconf check svn path=/trunk/; revision=24437
* Move uri_list loop into a separate function so we don't duplicate code inRodney Dawes2004-01-241-15/+30
| | | | | | | | | | | | | 2004-01-23 Rodney Dawes <dobey@ximian.com> * main.c (idle_cb): Move uri_list loop into a separate function so we don't duplicate code in both instances where we are creating a new shell or using a current one, and don't open a new shell window if we are passing in a uri and a shell is already up Fixes #53216 svn path=/trunk/; revision=24394
* kill the correct binary, tidy includesJP Rosevear2004-01-161-2/+3
| | | | | | | | 2004-01-15 JP Rosevear <jpr@ximian.com> * main.c (kill_dataserver): kill the correct binary, tidy includes svn path=/trunk/; revision=24243
* move version detection hereJP Rosevear2004-01-151-3/+61
| | | | | | | | | | | | | | 2004-01-15 JP Rosevear <jpr@ximian.com> * main.c (detect_version): move version detection here * e-config-upgrade.c: remove it from here; clean out all the mailer and bonobo conf conversion stuff, its been moved to the mailer and e-util * e-config-upgrade.h: remove proto svn path=/trunk/; revision=24242
* detect the version more completely with the new util routine (main): don'tJP Rosevear2004-01-141-12/+10
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-13 JP Rosevear <jpr@ximian.com> * main.c (attempt_upgrade): detect the version more completely with the new util routine (main): don't upgrade the config db here * e-shell.h: update proto * e-shell.c (e_shell_attempt_upgrade): take the current version as numerical params * e-config-upgrade.h: update prototypes * e-config-upgrade.c (e_config_upgrade): remove version detection and saving code (e_upgrade_detect_version): routine to do the version detection * e-config-upgrade.c: drop my-evolution upgrade code svn path=/trunk/; revision=24205
* these just handle creating the ~/evolution dir and so are no longer neededJP Rosevear2003-12-301-4/+1
| | | | | | | | | | | | | | | | 2003-12-30 JP Rosevear <jpr@ximian.com> * e-setup.[hc]: these just handle creating the ~/evolution dir and so are no longer needed * main.c (main): don't setup the old ~/evolution dir * Makefile.am: don't build dead files * e-shell.c (e_shell_go_online): get the id from the component info svn path=/trunk/; revision=24024
* If component_id is the empty string, pass NULL for it toEttore Perazzoli2003-12-041-1/+4
| | | | | | | | | | | * e-shell.c (impl_Shell_createNewWindow): If component_id is the empty string, pass NULL for it to e_shell_create_window() so we get the default. * main.c (idle_cb): Pass an empty string for component_id to createNewWindow() if the default_component_id is NULL. svn path=/trunk/; revision=23620
* Reimplemented using EComponentRegistry.Ettore Perazzoli2003-11-211-5/+4
| | | | | | | | | | | | | * e-shell.c (impl_Shell_handleURI): Reimplemented using EComponentRegistry. * main.c (idle_cb): Create a new window even if we have a URI list. * e-component-registry.c (e_component_registry_peek_info_for_uri_schema): New. svn path=/trunk/; revision=23461
* New helper function. (idle_cb): Call it if we have a local shell. Also,Ettore Perazzoli2003-11-181-2/+22
| | | | | | | | | | | | * main.c (attempt_upgrade): New helper function. (idle_cb): Call it if we have a local shell. Also, remove unused variables. * e-shell.c (e_shell_attempt_upgrade): New. * Evolution-Component.idl (Component.upgradeFromeVersion): New. svn path=/trunk/; revision=23403
* Do not #include "e-local-folder.h".Ettore Perazzoli2003-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-setup.c: Do not #include "e-local-folder.h". * Makefile.am: Don't build evolution-test-component for now since it's all out of date. * main.c (evolution_debug_log): Make static instead of extern. * e-user-creatable-items-handler.c: #include <bonobo/bonobo-control.h>. * e-shell.h: Do not include "e-uri-schema-registry.h" or "evolution-shell-component-client.h". * e-shell.c: Likewise. * e-shell.c (struct _EShellPrivate): Removed member uri_schema_registry. (impl_Shell_handleURI): #if 0 it out for now. (e_shell_peek_uri_schema_registry): Disabled for now. * e-corba-storage-registry.c: Remove. * e-corba-storage-registry.h: Remove. * e-corba-storage.c: Remove. * e-corba-storage.h: Remove. * e-folder-dnd-bridge.c: Remove. * e-folder-dnd-bridge.h: Remove. * e-folder-selection-dialog.c: Remove. * e-folder-selection-dialog.h: Remove. * e-folder-type-registry.c: Remove. * e-folder-type-registry.h: Remove. * e-local-folder.c: Remove. * e-local-folder.h: Remove. * e-local-storage.c: Remove. * e-local-storage.h: Remove. * e-shell-folder-selection-dialog.c: Remove. * e-shell-folder-selection-dialog.h: Remove. * e-shell-view.c: Remove. * e-shell-view.h: Remove. * e-storage-browser.c: Remove. * e-storage-browser.h: Remove. * e-storage-set-view.c: Remove. * e-storage-set-view.h: Remove. * e-storage-set.c: Remove. * e-storage-set.h: Remove. * e-storage.c: Remove. * e-storage.h: Remove. * evolution-shell-component-client.c: Remove. * evolution-shell-component-client.h: Remove. * evolution-shell-component-dnd.c: Remove. * evolution-shell-component-dnd.h: Remove. * evolution-storage-listener.c: Remove. * evolution-storage-listener.h: Remove. * evolution-storage-set-view-listener.c: Remove. * evolution-storage-set-view-listener.h: Remove. svn path=/trunk/; revision=23396
* Remove spurious puts()s.Ettore Perazzoli2003-11-141-3/+0
| | | | svn path=/trunk/; revision=23342
* (DEVELOPMENT_WARNING): Define.Ettore Perazzoli2003-11-141-6/+13
| | | | svn path=/trunk/; revision=23337
* kill the right thing (kill_old_dataserver): rename and check the versionJP Rosevear2003-11-121-10/+10
| | | | | | | | | | | | | | 2003-11-11 JP Rosevear <jpr@ximian.com> * main.c (kill_dataserver): kill the right thing (kill_old_dataserver): rename and check the version correctly 2003-11-11 JP Rosevear <jpr@ximian.com> * configure.in: determine the e-d-s version, version the gettext files properly svn path=/trunk/; revision=23288
* Added a new "-c" command-line arg. (idle_cb): If the arg is specified,Ettore Perazzoli2003-11-111-39/+11
| | | | | | | | | | | | | | | | | | | * main.c: Added a new "-c" command-line arg. (idle_cb): If the arg is specified, open the component with that id/alias. * e-shell.c (impl_Shell_createNewView): New, implementation for the Shell::createNewView() CORBA method. (e_shell_class_init): Install. (e_shell_create_window): Get a component_id arg. * e-shell-window.c (e_shell_window_new): Get a component_id arg and create the window with that component activated if not NULL. * Evolution-Shell.idl (createNewView): Remove. (createNewWindow): New. svn path=/trunk/; revision=23274
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-4/+4
| | | | svn path=/trunk/; revision=23206
* New member "component_registry". (e_shell_construct): Don't callEttore Perazzoli2003-10-231-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (struct _EShellPrivate): New member "component_registry". (e_shell_construct): Don't call e_shell_unregister_all(). (e_shell_unregister_all): Removed. (e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE assignments. (e_shell_init): Initialize the component_registry. (e_shell_peek_uri_schema_registry): Rename from e_shell_get_uri_schema_registry. (e_shell_peek_component_registry): New. (setup_components): Remove. (e_shell_construct): Don't call. * main.c (no_windows_left_cb): Don't call e_shell_unregister_all(). * e-shell.c (parse_default_uri): Removed. (parse_evolution_uri): Removed. (e_shell_parse_uri): Removed. * e-component-info.c: Remove. * e-component-info.h: Remove. svn path=/trunk/; revision=23017
* Remove e_proxy_init call. (e-proxy is gone now)Dan Winship2003-10-221-2/+0
| | | | | | * main.c: Remove e_proxy_init call. (e-proxy is gone now) svn path=/trunk/; revision=22975
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-25/+20
| | | | svn path=/trunk/; revision=22964
* Ooops, revert changes: wrong branch.Ettore Perazzoli2003-07-241-7/+2
| | | | svn path=/trunk/; revision=21926
* Create a new EShellWindow and show it.Ettore Perazzoli2003-07-241-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | * main.c (idle_cb): Create a new EShellWindow and show it. * e-storage.c: New signal "async_open_folder". (impl_async_open_folder): Removed. (class_init): Declare new signal. * e-shell.c (setup_components): Don't actually activate any components. * e-storage-browser.c, e-storage-browser.h: New. * e-shell-window.c, e-shell-window.h: New. * e-shell-marshal.list: Add an entry for NONE:STRING,POINTER,POINTER. * Evolution.idl: Include Evolution-Component.idl. * Evolution-Component.idl: New interface for Evolution components. svn path=/trunk/; revision=21925
* Removed "forced_upgrade" unused variable. (show_development_warning): PutEttore Perazzoli2003-05-201-5/+6
| | | | | | | | | | | | | | | | | | | | | * main.c: Removed "forced_upgrade" unused variable. (show_development_warning): Put in a DEVELOPMENT_WARNING cpp conditional. (warning_dialog_response_callback): Likewise. (view_map_callback): Likewise. (new_view_created_callback): Likewise. (idle_cb) [DEVELOPMENT_WARNING]: Do not connect new_view_created_callback() to the "new_view" shell signal anymore. * Makefile.am (install-evolution) [DEFAULT_BINARY]: Make a symbolic link from evolution to evolution-$(BASE_VERSION). * e-shell-folder-creation-dialog.c (dialog_data_destroy): g_object_weak_unref shell and dialog if they are not NULL. (dialog_destroy_notify): Set ->dialog to NULL in all cases. svn path=/trunk/; revision=21267
* #ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD isRodrigo Moya2003-05-151-0/+8
| | | | | | | | | | 2003-05-15 Rodrigo Moya <rodrigo@ximian.com> * main.c: #ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD is defined or not. (kill_wombat): kill also the alarm daemon process. svn path=/trunk/; revision=21190
* Add a #include to fix a warning.Jeremy Katz2003-05-091-0/+1
| | | | | | | | | | | 2003-05-09 Jeremy Katz <katzj@redhat.com> * main.c: Add a #include to fix a warning. * e-shell-offline-handler.c (update_dialog_clist): Use a list store instead of a tree model for the store. svn path=/trunk/; revision=21136
* (main): Add e_proxy_init()Ettore Perazzoli2003-04-291-0/+1
| | | | svn path=/trunk/; revision=20987
* Add a "--setup-only" flag, to just run e_setup() and exit. (For #40889)Dan Winship2003-04-101-0/+5
| | | | | | | * main.c (main): Add a "--setup-only" flag, to just run e_setup() and exit. (For #40889) svn path=/trunk/; revision=20788
* Substitute version number into the evolution binary name in the serverDan Winship2003-04-081-0/+11
| | | | | | | | | | | | | | * Makefile.am ($(server_in_files)): Substitute version number into the evolution binary name in the server file (INCLUDES): define EVOLUTION_TOOLSDIR * GNOME_Evolution_Shell.server.in.in: Clean up server names. Add "-@VERSION@" to the end of the shell binary name * main.c (main): if KILL_PROCESS_CMD is defined, add a --force-shutdown argument that runs killev and exits. svn path=/trunk/; revision=20702
* (kill_old_wombat): New.Ettore Perazzoli2003-03-291-1/+51
| | | | | | | (kill_wombat): New. (idle_cb): Call kill_old_wombat(). svn path=/trunk/; revision=20565
* Update for e_notice move. Likewise Likewise Likewise Likewise LikewiseDan Winship2003-03-251-1/+1
| | | | | | | | | | | | | | | | | | | * e-folder-dnd-bridge.c: Update for e_notice move. * e-setup.c: Likewise * e-shell-folder-commands.c: Likewise * e-shell-folder-creation-dialog.c: Likewise * e-shell-offline-sync.c: Likewise * e-shell-shared-folder-picker-dialog.c: Likewise * e-shell-view-menu.c: Likewise * e-shell.c: Likewise * evolution-shell-component-utils.c: Likewise * Makefile.am (libeshell_la_LIBADD): libeshell depends on libeutil. * e-corba-storage.c: Fix warnings svn path=/trunk/; revision=20500
* [Patch from Not Zed <NotZed@Ximian.com>]Ettore Perazzoli2003-03-071-7/+12
| | | | | | | | (show_development_warning): Separated the current stable version number from the warning prompt, and fixed a minor grammatical error. For bug #38775. svn path=/trunk/; revision=20196
* Added a key for /apps/evolution/version - seems the best place to put it.Not Zed2003-02-261-32/+6
| | | | | | | | | | | | | | | | | | 2003-02-26 Not Zed <NotZed@Ximian.com> * apps_evolution_shell.schemas: Added a key for /apps/evolution/version - seems the best place to put it. This should not return any value if unset, so i'm not sure if this is the right mechanism ... * e-config-upgrade.c: Upgrade settings from earlier versions of evolution. * main.c (upgrade_from_1_0_if_needed): Removed. (main): Call e_config_upgrade before going into gmainloop. (main): Turn off the --force-upgrade option, since it doesn't work yet ... svn path=/trunk/; revision=20068
* fix the conf keys, currently unused.Not Zed2003-02-241-2/+2
| | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * main.c (upgrade_from_1_0_if_needed): fix the conf keys, currently unused. * e-shell.c (save_settings_for_component): lower-case the config prefix. svn path=/trunk/; revision=20021
* (segv_redirect): New, SIGSEGV signal handler.Ettore Perazzoli2003-02-141-0/+57
| | | | | | | (setup_segv_redirect): New function to set it up. (main): Call setup_segv_redirect(). svn path=/trunk/; revision=19907
* Suggest people use 1.2.x instead of 1.0.x.Joe Shaw2003-02-121-1/+1
| | | | | | | | | 2003-02-11 Joe Shaw <joe@ximian.com> * main.c (show_development_warning): Suggest people use 1.2.x instead of 1.0.x. svn path=/trunk/; revision=19886
* s/glade_gnome_init/glade_init/Dan Winship2003-02-061-1/+1
| | | | | | | | | * e-folder-list.c (e_folder_list_class_init): s/glade_gnome_init/glade_init/ * main.c (main): Likewise svn path=/trunk/; revision=19761
* Set GTK_RESPONSE_OK as the default response.Ettore Perazzoli2003-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-importer.c (choose_importer_from_list): Set GTK_RESPONSE_OK as the default response. * Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED, -DBONOBO_DISABLE_DEPRECATED. * e-shortcuts.c (update_shortcut_and_emit_signal): Use g_signal_emit() instead of gtk_signal_emit(). * e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox to GtkMessageDialog. * e-shell.c (get_icon_path_for_component_info): Use gnome_program_locate_file() instead of gnome_pixmap_file(). (impl_finalize): Use bonobo_activation_unregister_active_server() instead of bonobo_activation_active_server_register(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). * e-shell-view-menu.c (command_submit_bug): Use e_notice(). (launch_pilot_settings): Use g_find_program_in_path() instead of gnome_is_program_in_path(). (command_submit_bug): Likewise. * e-shell-utils.c (get_icon_path): Use g_file_test() instead of g_file_exists(). * e-shell-startup-wizard.c (prepare_importer_page): Port from GnomeMessageBox to GtkMessageDialog. * e-shell-shared-folder-picker-dialog.c (show_dialog): Update for GtkDialog. (progress_dialog_close_callback): Removed. (progress_dialog_clicked_callback): Removed. (progress_dialog_response_callback): New. (create_progress_dialog): Ported to GnomeDialog. * e-shell-offline-sync.c: Add member parent_window to struct SyncData. (e_shell_offline_sync_all_folders): Set it from the parent_window arg. (progress_dialog_close_callback): Removed. (progress_dialog_clicked_callback): Removed. (progress_dialog_response_callback): New. (setup_dialog): Create a GtkDialog instead of a GnomeDialog. (sync_folder): Updated for GtkDialog. * e-shell-offline-handler.c (dialog_handle_ok): Make it get a GtkDialog instead of a GnomeDialog. (dialog_handle_cancel): Likewise. (dialog_clicked_cb): Removed. (dialog_response_cb): New. (pop_up_confirmation_dialog): Connect the new dialog_response_cb() instead of the old dialog_clicked_cb(). Removed gnome_dialog_set_default() call. * e-shell-folder-creation-dialog.c (dialog_response_cb): Make first arg a GtkDialog, not a GnomeDialog. * e-shell-folder-commands.c (e_shell_command_delete_folder): Expect delete_dialog() to return a GtkResponseType. (delete_dialog): Ported to GtkMessageDialog; Return a GtkResponseType. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): Removed unused variable. * e-setup.c (check_evolution_directory): Remove Evolution directory installation message. (e_setup): Remove check for the Executive-Summary directory. * e-local-storage.c (create_folder_directory): Use g_file_test() instead of g_file_exists(). * evolution-shell-component-utils.c (e_pixmaps_update): Use g_build_filename() of g_concat_dir_and_file(). * e-folder-dnd-bridge.c (handle_data_received_path): Likewise. * e-local-folder.c (construct_loading_metadata): Likewise. (save_metadata): Likewise. * e-local-storage.c (remove_folder_directory): Likewise. (append_xfer_item_list): Likewise. * e-setup.c (check_dir_recur): Likewise. (e_shell_rm_dir): Likewise. (setup_bonobo_conf_private_directory): Likewise. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Likewise. (e_shell_command_rename_folder): Likewise. * e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise. * e-shell-settings-dialog.c (load_pages): Likewise. * e-shell-utils.c (get_icon_path): Likewise. * e-shell.c (setup_local_storage): Likewise. (get_icon_path_for_component_info): Likewise. (e_shell_construct): Likewise. * main.c (main): Likewise. svn path=/trunk/; revision=19658
* Generate the URI list from the popt context fetched from the GnomeProgramEttore Perazzoli2003-01-111-7/+14
| | | | | | | | | | | * main.c (main): Generate the URI list from the popt context fetched from the GnomeProgram object. * e-shell-view.c (setup_defaults): Removed @setup_default_uri arg. Don't load any URI here. (e_shell_view_construct): Open the URI here instead. svn path=/trunk/; revision=19409
* setup gettextDan Winship2003-01-081-0/+4
| | | | | | * main.c (main): setup gettext svn path=/trunk/; revision=19264
* [With this commit, the shell compiles without deprecatedEttore Perazzoli2002-12-201-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLib/GTK+ functions, except for a couple of places were we use GtkCList.] * Makefile.am (INCLUDES): Add `-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED'. * evolution-test-component.c (create_new_folder_selector): No gtk_window_set_policy(). * main.c (quit_box_new): gtk_window_set_resizable() instead of gtk_window_set_policy(). (view_map_callback): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (main): No need to push the GdkRGB visual/cmap anymore. (new_view_created_callback): Likewise. * e-task-widget.c: Renamed member pixmap of ETaskWidgetPrivate to `image'. (init): Updated accordingly. (e_task_widget_construct): Use GtkImage, not GtkPixmap. * e-storage.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set-view.c (setup_folder_properties_items_if_corba_storage_clicked): g_string_append_printf() instead of g_string_sprintfa(). (class_init): Converted from gtk_signal_new() to g_signal_new(). (setup_folder_changed_callbacks): Use e_signal_connect_while_alive() and e_signal_connect_full_while_alive(). * e-splash.c (e_splash_construct): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shortcuts.c: Do not #include e-unicode.h. (shortcut_item_update): Use g_path_get_basename() instead of g_basename(). (e_shortcuts_add_default_shortcuts): No need to de-utfize strings. (e_shortcuts_add_default_group): Same here. * e-shortcuts-view.c: Do not #include <e-unicode.h>. (class_init): Converted from gtk_signal_new() to g_signal_new(). (destroy_group_cb): No need to convert the text from UTF8. * e-shell.c (impl_dispose): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-shell-view.c: Do not #include e-unicode.h. Renamed member offline_toggle_pixmap to offline_toggle_image in EShellViewPrivate. (update_folder_title_bar): No need to de-UTF8-ize the title. (cleanup_delayed_selection): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (ui_engine_add_hint_callback): gtk_label_set_text(), not gtk_label_set(). (class_init): Use g_signal_new() instead of gtk_signal_new(). (update_for_current_uri): No need to convert the title from UTF8. (setup_offline_toggle): Changed to set up a GtkImage, not a GtkPixmap. (update_offline_toggle_status): Accordingly (gtk_image* instead of gtk_pixmap*). (set_current_notebook_page): gtk_notebook_set_current_page(), not gtk_notebook_set_page(). (get_storage_set_path_from_uri): g_ascii_strncasecmp() instead of g_strncasecmp(). (folder_bar_popup_map_callback): Use e_signal_connect_while_alive() instead of gtk_signal_connect_while_alive(). (e_shell_view_construct): Likewise. (display_uri): g_signal_connect_after() instead of gtk_signal_connect_full(). (update_for_current_uri): g_signal_handlers_{block,unblock}_by_func() instead of gtk_signal_handler_{block,unblock}_by_func(). * e-shell-view-menu.c (command_about_box): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shell-utils.c (get_mini_name): g_path_get_basename() instead of g_basename(). * e-shell-user-creatable-items-handler.c (append_xml_for_menu_item): g_string_append_printf() instead of g_string_sprintfa(). (create_menu_xml): Likewise. * e-shell-shared-folder-picker-dialog.c: Do not #include e-unicode.h. (progress_bar_timeout_callback): Expect a GtkProgressBar data and just use gtk_progress_bar_pulse(). (create_progress_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). No gtk_progress_set_activity_mode(). (setup_server_option_menu): Just use gtk_menu_item_new_with_label() instead of e_utf8_gtk_menu_item_new_with_label(). * e-shell-settings-dialog.c (set_dialog_size): Ported to Pango. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_updateProgress): gtk_progress_set_fraction() instead of gtk_progress_bar_set_percentage(). (sync_folder): Likewise. (setup_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). (sync_folder): No gtk_progress_set_activity_mode(). * e-shell-offline-handler.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). (class_init): Use g_signal_new() * e-shell-importer.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). * e-shell-folder-title-bar.c (create_image_widget_from_xpm): Renamed from create_pixmap_widget_from_xpm(); handle GtkImage instead of GtkPixmap. (new_empty_image_widget): Renamed from new_empty_pixmap_widget(); return a GtkImage instead of a GtkPixmap. (add_navigation_buttons): Updated accordingly; so use GtkImages instead of GtkPixmaps. (e_shell_folder_title_bar_construct): Likewise. (e_shell_folder_title_bar_set_icon): Use gtk_image_* instead of gtk_pixmap_* on the image widgets. (class_init): Converted to use g_signal_new() instead of gtk_signal_new(). (e_shell_folder_title_bar_new): No need for pushing the GdkRGB visual/cmap anymore. * e-shell-folder-selection-dialog.c (check_folder_type_valid): Just use strcmp instead of strcasecmp(). (class_init): g_signal_new() instead of gtk_signal_new(). (e_shell_folder_selection_dialog_construct): Removed call to gtk_window_set_policy(). * e-shell-folder-creation-dialog.c (type_with_display_name_compare_func): Changed to use g_utf8_casefold(). * e-shell-folder-commands.c: Do not #include e-unicode.h. (e_shell_command_rename_folder): g_path_get_dirname() instead of g_dirname(). (folder_selection_dialog_folder_selected_callback): g_path_get_basename() instead of g_basename(). (rename_cb): Likewise. (delete_dialog): Do not convert from UTF8 for display purposes. (e_shell_command_rename_folder): Likewise. * e-shell-about-box.c (timeout_callback): Ported to Pango and use gdk_window_invalidate_rect() instead of gtk_widget_draw(). * e-setup.c (check_evolution_directory): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-local-storage.c: Do not include e-unicode.h. (create_folder): Use g_path_get_basename() instead of g_basename(). (create_folder_directory): Likewise. (remove_folder_directory): Likewise. (append_xfer_item_list): Likewise. * e-local-folder.c (construct_loading_metadata): Use g_path_get_basename() instead of g_basename(). * e-folder-dnd-bridge.c (handle_evolution_path_drag_motion): Use g_path_get_basename() instead of g_basename(). * e-corba-storage-registry.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-corba-shortcuts.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-component-registry.c (sleep_with_g_main_loop_timeout_callback): g_main_loop_* instead of g_main_*. (sleep_with_g_main_loop): Likewise. * e-activity-handler.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-wizard.c (evolution_wizard_class_init): g_signal_new() instead of gtk_signal_new(). * evolution-storage-listener.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-view.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-component-dnd.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-shell-component.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-session.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-folder-selector-button.c: Do not include e-unicode.h. (set_folder): No need to convert from UTF8 to locale encoding anymore. Removed unused variable. * evolution-config-control.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * evolution-activity-client.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-folder-list.c: Do not include e-unicode.h. Use E_MAKE_TYPE(). (e_folder_list_get_type): Removed explicit implementation of this. (e_folder_list_set_arg): Removed. (e_folder_list_get_arg): Removed. (e_folder_list_set_property): New. (e_folder_list_get_property): New. (e_folder_list_destroy): Removed. (e_folder_list_dispose): New. (e_folder_list_class_init): Updated accordingly. * e-folder.c (impl_save_info): Use G_OBJECT_TYPE_NAME() instead of gtk_type_name(). (impl_load_info): Likewise. (impl_remove): Likewise. (class_init): Use g_signal_new() instead of gtk_signal_new(). svn path=/trunk/; revision=19170
* changed to use a gtkdialog instead of a gnome one.Not Zed2002-12-021-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * main.c (show_development_warning): changed to use a gtkdialog instead of a gnome one. (warning_dialog_response_callback): clicked->response. * e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h * e-shell-folder-creation-dialog.c: include gnome-dialog.h (dialog_response_cb): gtk_entry_get_text now returns const. Dont free result. * e-setup.c: include gnome-messagebox.h * *.c: (re)run fix.sh over all, for e_notice changes & pick up some deprecated functions. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_callback): reformat e_notice call for script. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_reportFailure): Fix e_notice call, we weren't passing type in. * e-shell-folder-commands.c (xfer_result_callback): changed around slightly to save some processing & allow a script to run. (e_shell_command_rename_folder): reformat e_notice call to help script. Include gnome-messagebox.h svn path=/trunk/; revision=18977
* (idle_cb): Set displayed_any in the case when we areEttore Perazzoli2002-11-211-1/+3
| | | | | | | | calling e_shell_create_view(). Also initialize displayed_any to FALSE earlier so we dont' end up opening two views at startup by default. svn path=/trunk/; revision=18870
* Disabled for now.Ettore Perazzoli2002-11-201-64/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (upgrade_from_1_0_if_needed): Disabled for now. * e-shell-startup-wizard.c: Removed member config_listener from struct SWData. (e_shell_startup_wizard_create): Updated accordingly, just use GConf, checking the /apps/evolution/mail/account-list key. (finish_func): Use GConf. * e-shell-config-default-folders.c: Removed member config_listener in struct EvolutionDefaultFolderConfig. (e_shell_config_default_folders_create_widget): Do not initialize here. GConfified the paths. (config_control_destroy_notify): No unref of the config_listener anymore. (config_control_apply_cb): Use GConf. (setup_folder_selector): Likewise. * e-shell-config-autocompletion.c: Removed member config_listener from EvolutionAutocompletionConfig. (config_control_destroy_notify): Do not unref. (config_control_apply_callback): Use a GConfClient. * e-folder-list.c (e_folder_list_init): Add missing cast. * main.c (show_development_warning): Use GConf. * e-setup.c (e_setup_check_config): Removed arg @listener. GConfified. * e-shell-view.c (e_shell_view_save_defaults): New. (e_shell_view_save_settings): Removed. (e_shell_view_load_settings): Removed. (setup_defaults): New helper function. (e_shell_view_construct): New arg @uri. (e_shell_view_new): New arg @uri. * e-shell.c: Removed member config_listener in struct EShellPrivate. (impl_dispose): Do not unref. (init): Do not initialize. (get_config_start_offline): New helper function. (e_shell_construct): Use this to get the startup mode in case E_SHELL_STARTUP_LINE_MODE_CONFIG. (save_misc_settings): Changed to use GConfClient instead of EConfigListener. (e_shell_create_view_from_settings): Removed. (e_shell_restore_from_settings): Removed. (e_shell_get_config_listener): Removed. (e_shell_disconnect_db): Removed. (parse_default_uri): Use GConf. * main.c (idle_cb): Simplified the logic here. Always assume that the view will be created with the default folder open by just using e_shell_create_view(). svn path=/trunk/; revision=18844
* Use bonobo_main_quit() instead of gtk_main_quit(). (shell_weak_notify):Ettore Perazzoli2002-11-151-5/+5
| | | | | | | | | | | | | | | | | * main.c (no_views_left_cb): Use bonobo_main_quit() instead of gtk_main_quit(). (shell_weak_notify): Likewise. (idle_cb): Likewise. * e-shell.c (notify_no_views_left_idle_cb): New idle function to emit the "no_views_left" signal. (view_weak_notify): Put it on the idle loop instead of firing the signal here. * e-task-widget.c (e_task_widget_construct): Ref/sink the GtkTooltips object. svn path=/trunk/; revision=18763
* Removed. (no_views_left_cb): Use g_object_add_weak_pointer() instad ofEttore Perazzoli2002-11-151-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (quit_box_destroyed_callback): Removed. (no_views_left_cb): Use g_object_add_weak_pointer() instad of connecting to the "destroy" signal. (destroy_cb): Removed. (shell_weak_notify): New. (idle_cb): Use g_object_weak_ref() on the shell object instead of connecting to the "destroy" signal. * evolution-test-component.c (dialog_destroy_callback): Removed. (dialog_weak_notify): New. (create_new_folder_selector): Use g_object_weak_ref() on the dialog instead of connecting the "destroy" signal. * e-shortcuts.c (view_destroyed_cb): Removed. (view_weak_notify): New. (e_shortcuts_new_view): g_object_weak_ref() the new view instead of connecting the "destroy" signal. (impl_dispose): Free the ->views and g_object_weak_unref() all the items. * e-shell.c (view_destroy_cb): Removed. (view_weak_notify): New. (create_view): Use g_object_weak_ref() on the newly created view instead of connecting to the "destroy" signal. (impl_dispose): g_object_weak_unref() the views. (e_shell_show_settings): Use g_object_add_weak_pointer() on the settings_dialog instead of connecting to the "destroy" signal. (settings_dialog_destroy_cb): Removed. * e-shell-shared-folder-picker-dialog.c (progress_bar_weak_notify): New. (progress_bar_destroy_callback): Removed. (create_progress_dialog): Use g_object_weak_ref() on the progress bar object instead of connecting to its "destroy" signal. (shell_destroy_callback): Removed. (shell_view_destroy_callback): Removed. (storage_destroy_callback): Removed. (shell_weak_notify): New. (shell_view_weak_notify): New. (storage_weak_notify): New. (discover_folder): Use g_object_weak_ref() on the shell, parent, storage objects instead of connecting to their "destroy" signals. * e-shell-importer.c: Removed member destroyed from ImporterComponentData. (import_cb): Instead of checking if ->destroyed is TRUE, check if ->dialog is NULL to decide whether the dialog has been destroyed or not. (dialog_destroy_cb): Removed. (start_import): Use g_object_weak_ref() on the dialog object instead of connecting to its "destroy" signal. (dialog_close): Removed. (dialog_weak_notify): New. (show_import_wizard): Use g_object_weak_ref() on the dialog object instead of connecting to its "destroy" signal. (import_druid_destroy): New. (import_druid_weak_notify): New. (show_import_wizard): Use g_object_weak_ref() on the druid object instead of connecting to its "destroy" signal. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): g_object_weak_ref() the shell object instead of connecting to its "destroy" signal. * e-shell-folder-creation-dialog.c (dialog_destroy_cb): Removed. (dialog_destroy_notify): New. (e_shell_show_folder_creation_dialog): g_object_weak_ref() the dialog instead of connecting to its "destroy" signal. (shell_destroy_cb): Removed. (shell_destroy_notify): New. (e_shell_show_folder_creation_dialog): g_object_weak_ref() the shell object instead of connecting to its "destroy" signal. * e-shell-config-offline.c (config_control_destroy_callback): Removed. (config_control_destroy_notify): New. (e_shell_config_offline_create_widget): g_object_weak_ref() the config_control instead of connecting to its "destroy" signal. * e-shell-config-default-folders.c (config_control_destroy_callback): Removed. (config_control_destroy_notify): New. (e_shell_config_default_folders_create_widget): g_object_weak_ref() instead of connecting to the "destroy" signal. * e-shell-config-autocompletion.c (config_control_destroy_notify): New. (config_control_destroy_callback): Removed. (e_shell_config_autocompletion_create_widget): g_object_weak_ref() instead of connecting to the "destroy" signal. * e-activity-handler.c (task_bar_destroy_cb): Removed. (task_bar_destroy_notify): New. (e_activity_handler_attach_task_bar): Weak_ref the task_bar using task_bar_destroy_notify. (impl_dispose): Weak_unref the task bars in priv->task_bars. svn path=/trunk/; revision=18756
* New. (impl_finalize): New. (destroy): Removed. (class_init): InstallEttore Perazzoli2002-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-shell-client.c (impl_dispose): New. (impl_finalize): New. (destroy): Removed. (class_init): Install dispose, finalize handlers. * All: Use evolution_shell_client_corba_objref() or evolution_shell_component_client_corba_objref() instead of BONOBO_OBJREF() or bonobo_object_corba_objref() where needed. * e-folder-type-registry.c (set_handler): Use g_object_ref() for the handler, not bonobo_object_ref(). (folder_type_free): Likewise for unref. * evolution-shell-component-client.c (evolution_shell_component_client_corba_objref): New. (impl_dispose): Moved from impl_destroy; only unref things. (impl_finalize) New. (class_init): Install dispose/finalize. (evolution_shell_component_client_get_dnd_source_interface): Use priv->corba_objref instead of bonobo_object_corba_objref() since we are not a BonoboObject anymore. (evolution_shell_component_client_get_dnd_destination_interface): Likewise. (evolution_shell_component_client_get_offline_interface): Likewise. (evolution_shell_component_client_set_owner): Likewise. (evolution_shell_component_client_unset_owner): Likewise. (evolution_shell_component_client_create_view): Likewise. (evolution_shell_component_client_handle_external_uri): Likewise. (evolution_shell_component_client_async_create_folder): Likewise. (evolution_shell_component_client_async_xfer_folder): Likewise. (evolution_shell_component_client_populate_folder_context_menu): Likewise. (evolution_shell_component_client_unpopulate_folder_context_menu): Likewise. * e-component-registry.c (register_component): Use evolution_shell_component_client_corba_objref(). (e_component_registry_restart_component): Likewise. (component_free): Likewise. * evolution-shell-component-client.c: g_object_new() instead of gtk_type_new(). * e-component-registry.c: Likewise. * e-corba-config-page.c * e-folder-list.c: Likewise. * e-folder-type-registry.c: Likewise. * e-folder.c: Likewise. * e-gray-bar.c: Likewise. * e-history.c: Likewise. * e-local-folder.c: Likewise. * e-local-folder.c: Likewise. * e-local-storage.c: Likewise. * e-shell-about-box.c: Likewise. * e-shell-config-default-folders.c: Likewise. * e-shell-folder-selection-dialog.c: Likewise. * e-shell-folder-title-bar.c: Likewise. * e-shell-offline-handler.c: Likewise. * e-shell-settings-dialog.c: Likewise. * e-shell-user-creatable-items-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shortcuts-view-model.c: Likewise. * e-shortcuts-view.c: Likewise. * e-shortcuts.c: Likewise. * e-splash.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage-set.c: Likewise. * e-storage.c: Likewise. * e-task-bar.c: Likewise. * e-task-widget.c: Likewise. * e-uri-schema-registry.c: Likewise. * evolution-activity-client.c: Likewise. * evolution-folder-selector-button.c: Likewise. * evolution-shell-client.c: Likewise. * evolution-shell-view.c: Likewise. * evolution-storage-listener.c: Likewise. * evolution-storage-set-view-listener.c: Likewise. * evolution-storage-set-view.c: Likewise. * evolution-wizard.c: Likewise. * GNOME_Evolution_TestComponent.server: Renamed from GNOME_Evolution_TestComponent.oaf. * evolution-test-component.c (spit_out_shortcuts): Use BONOBO_EX_REPOID(). (create_new_folder_selector): Ported to use GtkDialog instead of GnomeDialog. (storage_cancel_discover_shared_folder_callback): Add missing G_OBJECT() cast. (shared_folder_discovery_timeout_callback): Likewise. (storage_discover_shared_folder_callback): Likewise. (timeout_callback_2): Likewise. (timeout_callback_1): Likewise. (shared_folder_discovery_timeout_callback): Use g_object_get_data() instead of gtk_object_get_data(). (storage_cancel_discover_shared_folder_callback): Likewise. (timeout_callback_2): Likewise. (timeout_callback_2): g_timeout_add() instead of gtk_timeout_add(). (create_view_fn): Likewise. (timeout_callback_1): Likewise. (timeout_callback_1): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). (register_component): Use bonobo-activation instead of OAF. * e-shell-about-box.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Install finalize handler, not destroy. * e-shell-about-box.c (e_shell_about_box_construct): Removed. svn path=/trunk/; revision=18554