aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not call gtk_main_quit() on shell quit when none is runningMilan Crha2012-01-061-1/+2
|
* Reduce diff noise with account-mgmt branch.Matthew Barnes2011-12-201-0/+1
|
* Bug #663122 - Doesn't quit on exit with GLib's git masterMilan Crha2011-12-031-0/+2
|
* Remove e_shell_get_gconf_client().Matthew Barnes2011-11-251-24/+0
| | | | No longer needed.
* Miscellaneous cleanups.Matthew Barnes2011-11-231-4/+7
|
* Fix compiler warnings.Matthew Barnes2011-11-231-3/+2
|
* Build fixesRodrigo Moya2011-11-151-1/+1
|
* Migrate EShellSettings to GSettingsRodrigo Moya2011-11-151-1/+2
|
* Migrate most of the shell code to GSettingsRodrigo Moya2011-10-131-9/+4
|
* Merge branch 'master' into wip/gsettingsRodrigo Moya2011-10-101-214/+64
|\
| * Let GtkFileChooser track its own last-used-folder.Matthew Barnes2011-10-061-4/+0
| | | | | | | | | | | | GtkFileChooser in GTK+ 3.2 now keeps track of the last-used-folder itself, even across applications, so get out of its way and let it handle it.
| * GtkApplication has some new EShell-like features.Matthew Barnes2011-10-061-210/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I pushed a few EShell features up to GtkApplication for GTK+ 3.2, so we can now trim off the redundancies in EShell. 1) GtkApplication has a new "window-added" signal which replaces EShell's own "window-created" signal. 2) GtkApplication has a new "window-removed" signal which replaces EShell's own "window-destroyed" signal. 3) gtk_application_get_windows() now returns a list of windows sorted by most recently focused, replacing e_shell_get_watched_windows(). 4) GtkApplication now provides enough hooks to subclasses that we can remove e_shell_watch_window() and call gtk_application_add_window() directly.
* | Merge from masterRodrigo Moya2011-10-051-3/+9
|\|
| * Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-4/+7
| | | | | | | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
| * The EExtension framework is now in libebackend.Matthew Barnes2011-09-261-3/+3
| | | | | | | | | | | | | | | | The EModule, EExtensible and EExtension classes as well as the e_type_traverse() function have been moved to Evolution-Data-Server's libebackend library to replace e-data-server-module.c. Now Evolution-Data-Server modules use the same framework as Evolution.
| * Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
| |
| * Bug 649993 - Change behavior of --component optionMatthew Barnes2011-05-241-0/+22
| | | | | | | | | | | | | | | | | | | | This is primarily for the GNOME Shell calendar. If, for example, "evolution --component calendar" is invoked and there is already an Evolution window opened to the calendar view, present that window. Otherwise open a new Evolution window to the requested view. Same behavior applies to all requested views.
| * Bug 650491 - Shell handles forwarding uris to existing process wrongMatthew Barnes2011-05-231-41/+29
| | | | | | | | | | This adds a "handle-uris" GAction which takes a string array argument, so the URIs can be passed to the primary process verbatim.
| * Restore lockdown integration.Matthew Barnes2011-03-281-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | With lockdown settings available through GSettings, widgets can handle lockdown integration themselves without having to use EShellSettings. Also fixed a few places where printing or save-to-disk actions were either not properly wired up or not responding to lockdown settings, but much more work needs done. Attachments, for example, are not honoring the disable-save-to-disk setting at all. This too requires the recently-added gsettings-desktop-schemas dependency.
| * Fix an EShell reference leak.Matthew Barnes2011-03-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | GApplication calls g_main_loop_quit() immediately when the last window is destroyed, whereas we do it from an idle callback with an extra ref on EShell to keep it alive until the idle callback runs. But because GApplication beats us to the punch, our idle callback never runs and the EShell reference leaks. For now, we'll just disable the quit_mainloop() method of GApplication. If GtkApplication grows a signal equivalent to EShell::window-destroyed, EShell could drop its window_destroyed() method and let G[tk]Application handle things normally.
| * Port EShell to GtkApplication.Matthew Barnes2011-03-251-150/+156
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
| |
| * Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-7/+3
| |
| * Bug 642171 - Implicit libgnome dependency for lockdown GConf keysMatthew Barnes2011-02-131-0/+4
| | | | | | | | | | Lockdown keys have moved to gsettings-desktop-schemas, so disable lockdown integration until we're ready for GSettings.
| * Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-2/+2
| | | | | | | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
| * Bug #638808 - camel_shutdown() called too earlyMilan Crha2011-01-111-0/+1
| |
| * Add e_shell_submit_alert().Matthew Barnes2010-12-271-0/+66
| | | | | | | | | | | | An easy way to broadcast application-wide alerts to shell windows. These alerts will persist in all current and future shell windows until responded to (either programmatically or by the user).
| * Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-061-0/+3
| |
| * Bug #207580 - Allow new mail check on individual accountsMilan Crha2010-11-261-36/+0
| |
* | Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-06-301-0/+4
| |
* | Bug 649993 - Change behavior of --component optionMatthew Barnes2011-06-301-0/+22
| | | | | | | | | | | | | | | | | | | | This is primarily for the GNOME Shell calendar. If, for example, "evolution --component calendar" is invoked and there is already an Evolution window opened to the calendar view, present that window. Otherwise open a new Evolution window to the requested view. Same behavior applies to all requested views.
* | Bug 650491 - Shell handles forwarding uris to existing process wrongMatthew Barnes2011-06-301-41/+29
| | | | | | | | | | This adds a "handle-uris" GAction which takes a string array argument, so the URIs can be passed to the primary process verbatim.
* | Restore lockdown integration.Matthew Barnes2011-06-301-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | With lockdown settings available through GSettings, widgets can handle lockdown integration themselves without having to use EShellSettings. Also fixed a few places where printing or save-to-disk actions were either not properly wired up or not responding to lockdown settings, but much more work needs done. Attachments, for example, are not honoring the disable-save-to-disk setting at all. This too requires the recently-added gsettings-desktop-schemas dependency.
* | Fix an EShell reference leak.Matthew Barnes2011-06-301-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | GApplication calls g_main_loop_quit() immediately when the last window is destroyed, whereas we do it from an idle callback with an extra ref on EShell to keep it alive until the idle callback runs. But because GApplication beats us to the punch, our idle callback never runs and the EShell reference leaks. For now, we'll just disable the quit_mainloop() method of GApplication. If GtkApplication grows a signal equivalent to EShell::window-destroyed, EShell could drop its window_destroyed() method and let G[tk]Application handle things normally.
* | Port EShell to GtkApplication.Matthew Barnes2011-06-301-150/+156
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-301-1/+2
| |
* | Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-06-301-7/+3
| |
* | Bug 642171 - Implicit libgnome dependency for lockdown GConf keysMatthew Barnes2011-06-301-0/+4
| | | | | | | | | | Lockdown keys have moved to gsettings-desktop-schemas, so disable lockdown integration until we're ready for GSettings.
* | Remove NULL checks for GObject methods.Matthew Barnes2011-06-301-2/+2
| | | | | | | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* | Bug #638808 - camel_shutdown() called too earlyMilan Crha2011-06-301-0/+1
| |
* | Add e_shell_submit_alert().Matthew Barnes2011-06-301-0/+66
| | | | | | | | | | | | An easy way to broadcast application-wide alerts to shell windows. These alerts will persist in all current and future shell windows until responded to (either programmatically or by the user).
* | Free/busy meeting view doesn't work due to non-working extensionMilan Crha2011-06-301-0/+3
| |
* | Bug #207580 - Allow new mail check on individual accountsMilan Crha2011-06-301-36/+0
|/
* Simplify EActivity.Matthew Barnes2010-10-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* Bug 461769 - Add a --force-online command line optionMatthew Barnes2010-10-141-9/+33
| | | | | Use it to override network availability detection as reported by NetworkManager or other network monitoring software.
* Add a GCancellable to EActivity.Matthew Barnes2010-09-191-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EActivity now uses a GCancellable to manage cancellations, instead of having its own redundant cancellation API. API changes are as follows: + e_activity_get_cancellable() + e_activity_set_cancellable() - e_activity_cancel() - e_activity_is_cancelled() - e_activity_get_allow_cancel() - e_activity_set_allow_cancel() EActivity's "cancelled" signal remains, but only as a repeater for GCancellable::cancelled signals. It should not be emitted directly. The presence of a GCancellable implies that cancellation is allowed. EActivity does not create its own default GCancellable, it has to be given one. If a CamelOperation (cast as a GCancellable) is given, EActivity will configure itself to listen for status updates from the CamelOperation and propagate the information to its own "primary-text" and "percent" properties. These changes allowed me to start cleaning up some of the incredibly convoluted logic in mail-mt.c -- in particular, mail_operation_status() is completely gone now. mail-mt.c is still in a transitional state -- much more significant changes coming soon.
* Various memory leaksMilan Crha2010-09-081-1/+1
|
* Convert composer autosave to an EExtension.Matthew Barnes2010-09-031-1/+16
| | | | | | | | | | | | | | | | | | | Given the way the autosave feature was awkwardly bolted on to the composer, an EExtension seemed like a natural fit. And it helped clean up some object lifecycle hacks (and bugs). What we have now is a new module consisting of two EExtensions: EComposerAutosave extends EMsgComposer and determines when to kick off an asynchronous autosave operation. EComposerRegistry extends EShell and offers to restore orphaned autosave files on startup (which is also asynchronous now). e-autosave-utils.c holds the actual asynchronous functions and a few other miscellaneous utility functions. Source code for the new module lives in /modules/composer-autosave.
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-2/+5
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Defer the load / creation of configuration UI with changes toMichael Meeks2010-08-111-1/+1
| | | | | | | | | e_preferences_window to take factory callbacks and store a reference to the shell. - This makes start-up substantially faster, particularly on Atom (eg.). Remove a number of idle handlers used to create these UIs in the first instance, cleaning the code.
* Make EImportAssistant extensible.Matthew Barnes2010-07-311-1/+1
|
* Remove unused 'preview' argument from e_import_assistant_new_simple().Matthew Barnes2010-07-301-3/+2
| | | | We preview imported files by other means now.
* Bug 621210 - Can't get the shell back after closing itMatthew Barnes2010-06-211-1/+30
|
* EShell cleanups.Matthew Barnes2010-06-211-3/+6
|
* Bug 603468 - Improve handling of --quit optionMatthew Barnes2010-06-131-57/+59
|
* More GTK3 preparation.Matthew Barnes2010-06-041-7/+9
| | | | | This uses the new gtk_assistant_commit() I had added to GTK+ for our EImportAssistant progress page.
* Convert "startup-wizard" to an EExtension.Matthew Barnes2010-06-031-2/+6
| | | | | | | | | | | | | | Convert the "startup-wizard" EPlugin to an EExtension, and fix up the importing UI a bit (but it still needs a lot more love). Importing progress is now shown directly in the GtkAssistant window. Define a new EConfigItem type (E_CONFIG_PAGE_PROGRESS) for creating progress pages in a GtkAssistant. Also, change EMAccountEditor semantics slightly: you now have to call e_config_create_window() manually after creating a new EMAccountEditor instance. This allows extra EConfigItems (specifications for the window content) to be added manually before the window is created.
* Merge branch 'express2'Matthew Barnes2010-05-271-0/+161
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-251-5/+4
| |
| * get window sizing logic right (again)Michael Meeks2010-04-231-1/+1
| |
| * Store the initial view request and use that to decide whether to showSrinivasa Ragavan2010-04-221-0/+23
| | | | | | | | startup wizard or not. Show only for mail and not calendar.
| * revert snafu to full-screening ...Michael Meeks2010-04-191-2/+1
| |
| * Re-work the over-complicated event editor as a tabbed notebook.Michael Meeks2010-04-191-2/+3
| | | | | | | | Thanks to Sashwaat.
| * Detect MeeGo, and propagate settings variously.Michael Meeks2010-04-121-0/+139
| | | | | | | | Adapt widget naming on MeeGo for theming etc.
| * Demonstrate extending the EExtension API.Matthew Barnes2010-04-071-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce e_extensible_list_extensions(), which provides extensible objects access to their own extensions, or a subset of them. Convert EShellBackend to an abstract EExtension subtype. EShell will load its extensions with e_extensible_load_extensions(), and then obtain a list of EShellBackend extensions as follows: shell_backends = e_extensible_list_extensions ( E_EXTENSIBLE (shell), E_TYPE_SHELL_BACKEND); Because EShellBackend is abstract, its GType is skipped while traversing the GType hierarchy to find EShell extensions.
| * Move "section" documentation out of header files.Matthew Barnes2010-04-071-0/+6
| |
| * Convert NetworkManager integration to an EShell extension.Matthew Barnes2010-04-071-8/+0
| | | | | | | | | | | | | | | | | | This demonstrates how to extend EShell without having to modify and recompile e-shell.c. If NetworkManager integration is enabled, the extension is loaded automatically when the EShell is created. The same pattern can be applied to integrate other network monitoring software like ConnMan or Microsoft's Wireless Zero Configuration.
| * Make EShell and related classes extensible.Matthew Barnes2010-04-071-34/+13
| |
* | Bug #325121 - Do not translate developer strings in g_param_spec_*Milan Crha2010-04-021-10/+10
| |
* | Demonstrate extending the EExtension API.Matthew Barnes2010-03-221-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce e_extensible_list_extensions(), which provides extensible objects access to their own extensions, or a subset of them. Convert EShellBackend to an abstract EExtension subtype. EShell will load its extensions with e_extensible_load_extensions(), and then obtain a list of EShellBackend extensions as follows: shell_backends = e_extensible_list_extensions ( E_EXTENSIBLE (shell), E_TYPE_SHELL_BACKEND); Because EShellBackend is abstract, its GType is skipped while traversing the GType hierarchy to find EShell extensions.
* | Move "section" documentation out of header files.Matthew Barnes2010-03-221-0/+6
| |
* | Convert NetworkManager integration to an EShell extension.Matthew Barnes2010-03-201-8/+0
| | | | | | | | | | | | | | | | | | This demonstrates how to extend EShell without having to modify and recompile e-shell.c. If NetworkManager integration is enabled, the extension is loaded automatically when the EShell is created. The same pattern can be applied to integrate other network monitoring software like ConnMan or Microsoft's Wireless Zero Configuration.
* | Make EShell and related classes extensible.Matthew Barnes2010-03-201-34/+13
|/
* Disabling Gnome schemas for windowsFridrich Strba2010-03-151-0/+2
|
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-28/+58
| | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* Removed obsolete method signatures in em-account-editor.hMichael Meeks2010-03-141-5/+16
| | | | | | Added em_account_editor_get_widget, and cleaned up the widget listing. Cleaned the startup wizard code to find it's label by name Added disabling of power-user 'indentity' frame in the first page express capplet.
* Fix a typoSrinivasa Ragavan2010-03-141-6/+3
|
* Add 'express mode' gconf settingMichael Meeks2010-03-141-1/+21
|
* More relocation cleanup EVOLUTION_ICONSDIR -> EVOLUTION_ICONDIRFridrich Strba2010-03-111-0/+1
|
* Remove some unnecessary terminal messages.Matthew Barnes2010-03-101-12/+0
| | | | | Don't need to see status messages on the terminal when going online, offline or quitting.
* Move icon theme path setup from main() to EShell.Matthew Barnes2009-12-151-0/+6
| | | | So Anjal picks it up.
* Bug 603592 - X11 window roles should be setMatthew Barnes2009-12-041-0/+10
|
* Revise the EShell ref-leak check to not upset Valgrind.Matthew Barnes2009-12-031-6/+5
|
* Add an EShell:module-directory constructor property.Matthew Barnes2009-12-021-6/+65
| | | | | | | | | | | | | | | | | 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, ...);
* Make EShell more subclassable.Matthew Barnes2009-11-271-19/+34
| | | | | | | | 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.
* Handle a missed corner case with --quit.Matthew Barnes2009-11-261-0/+11
| | | | | If --quit is given and no other Evolution process is running, bypass our usual shutdown procedure and terminate the main loop immediately.
* Add a --quit command-line option.Matthew Barnes2009-11-261-19/+56
| | | | | | | 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-1/+46
| | | | | Applies the user's window geometry string to the first main window. Suggested in bug #529565.
* Bug #588093 - Allow import of local files from command lineMilan Crha2009-11-121-11/+55
|
* Convert some "Save As" actions to run asynchronously.Matthew Barnes2009-11-081-10/+4
| | | | | | | | | | This introduces e-shell-utils for miscellaneous utility functions that integrate with the shell or shell settings. First function is e_shell_run_save_dialog(), which automatically remembers the selected folder in the file chooser dialog. Also, kill some redundant save dialog functions, as well as some write-this-string-to-disk functions that block.
* Clean up e_shell_get_active_window()Matthew Barnes2009-10-211-12/+16
| | | | Clarify the documentation and simplify the logic.
* Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent'Milan Crha2009-10-131-0/+27
|
* Finish killing Bonobo.Matthew Barnes2009-09-091-24/+10
|
* Start migration -after- loading all modules and plugins.Matthew Barnes2009-09-021-3/+0
|
* Fix for few compiler warningsMilan Crha2009-08-311-2/+2
|
* Exit if no command-line URIs are handled.Matthew Barnes2009-08-251-1/+3
|
* Fix compiler warnings and deprecated GTK+ API usage.Matthew Barnes2009-08-161-2/+2
|
* Update GConf when the online/offline button is clicked.Matthew Barnes2009-08-141-0/+4
|
* Simplify binding EShellSettings properties to GConf keys.Matthew Barnes2009-08-011-50/+13
|
* Finish EggSMClient shell integration.Matthew Barnes2009-07-161-34/+102
|
* Add a "quit-requested" signal to the shutdown protocol.Matthew Barnes2009-07-131-28/+76
| | | | | | | The contact and contact-list editors now demonstrate this part of the shutdown protocol. They listen for the "quit-requested" signal from the shell and prompt to save changes, discard changes or cancel. If the user cancels, the editor calls e_shell_cancel_quit() to do just that.
* Fix a problem with EShell initialization.Matthew Barnes2009-07-121-5/+4
|
* Implement the shutdown protocol and stub in session management.Matthew Barnes2009-07-111-65/+95
| | | | | The shutdown protocol is modelled after online/offline preparation. Session management code is copied from libegg. Not yet used.
* Get the "startup-wizard" plugin working again.Matthew Barnes2009-06-301-0/+6
|
* Fix similar weak pointer issues throughout.Matthew Barnes2009-06-201-0/+6
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| |
| * Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-231-1/+0
| | | | | | | | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
| * 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
| * Matthew Barnes <mbarnes@redhat.com> ** Fix for bug #548469 (Drop support ↵Suman Manjunath2008-10-171-43/+7
| | | | | | | | | | | | for deprecated libnm-glib). svn path=/trunk/; revision=36631
| * Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-301-13/+13
| | | | | | | | svn path=/trunk/; revision=36502
| * Fix a little compiler warning I caused.Matthew Barnes2008-08-181-1/+1
| | | | | | | | svn path=/trunk/; revision=36010
| * ** Fixes bug #508732Matthew Barnes2008-08-181-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Convert EShellModule to EShellBackendMatthew Barnes2009-05-071-112/+106
| | | | | | | | | | | | | | | | 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.
* | Make the selected attachment view and file chooser folder persistent.Matthew Barnes2009-04-151-10/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37523
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-301-1/+19
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37482
* | Saving progress on a massive attachment handling rewrite.Matthew Barnes2009-03-211-0/+14
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37465
* | Fix crash on exit.Matthew Barnes2009-02-201-0/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37297
* | Documentation tweaks.Matthew Barnes2009-02-191-7/+19
| | | | | | | | | | | | Have e_shell_get_preferences_window() take an EShell argument. svn path=/branches/kill-bonobo/; revision=37294
* | Rename EShell:online-mode to EShell:online and update docs.Matthew Barnes2009-02-191-37/+37
| | | | | | | | | | | | | | 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
* | Clean up the EMFormat stack. Add some GObject properties to bind to.Matthew Barnes2009-02-191-2/+25
| | | | | | | | | | | | Add some handy color conversion functions to e-util. svn path=/branches/kill-bonobo/; revision=37290
* | When invoking Evolution with URIs on the command-line (e.g. mailto:),Matthew Barnes2009-01-291-70/+97
| | | | | | | | | | | | 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-40/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Make action group management in shell windows more elegant.Matthew Barnes2009-01-271-0/+12
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37137
* | Add action groups to support lockdown, starting with printing.Matthew Barnes2009-01-271-0/+73
| | | | | | | | | | | | Other categories to follow. Editors still need lockdown support. svn path=/branches/kill-bonobo/; revision=37136
* | Fix online mode initialization.Matthew Barnes2009-01-141-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37070
* | Tweak the EShell API.Matthew Barnes2009-01-081-43/+37
| | | | | | | | | | | | | | Disable File -> Close Window when there's only one window. Replace EMMessageBrowser with EMailBrowser. svn path=/branches/kill-bonobo/; revision=37009
* | Update EShell documentation.Matthew Barnes2008-12-281-6/+6
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36936
* | - Get offline synchronization working in the mailer (I think).Matthew Barnes2008-12-141-24/+87
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36876
* | - Fix NetworkManager connection tracking.Matthew Barnes2008-12-141-20/+209
| | | | | | | | | | | | | | | | | | | | - Implement offline preparation as an EActivity that gets broadcast in a signal to shell modules. Offline preparations are complete when the last EActivity reference is dropped. - Bind some of the composer preferences to EShellSettings properties. svn path=/branches/kill-bonobo/; revision=36875
* | Documentation improvements.Matthew Barnes2008-11-201-0/+156
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36806
* | Progress update:Matthew Barnes2008-11-191-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tighter integration of GalViewInstance and EShellView. - EBinding. Stolen from ExoBinding. Lets you bind GObject properties together to automatically keep their values in sync. This is a godsend. Added to e-util, but might even deserve a place in libedataserver. - EShellSettings. This is the concept I blogged about. Already started ripping apart em-mailer-prefs.c. Others to follow. Any place where we're monitoring GConf keys is a target. - Incremental progress on the calender and mailer. Got EMFolderView somewhat working, but I think I'll be killing off EMFolderBrowser. svn path=/branches/kill-bonobo/; revision=36795
* | Rearranged some of the addressbook code to try and eliminate some circularMatthew Barnes2008-11-141-6/+12
| | | | | | | | | | | | | | | | 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
* | Get the mail folder tree compiling, though I'm not yet sure why it's notMatthew Barnes2008-10-171-0/+22
| | | | | | | | | | | | showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
* | Fix some compilation errors.Matthew Barnes2008-10-051-2/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36561
* | Support migration in the new shell design.Matthew Barnes2008-10-051-0/+43
| | | | | | | | | | | | Some code got duplicated for calendars and tasks. Made a note to revisit. svn path=/branches/kill-bonobo/; revision=36560
* | Update the headers on files I've created or completely rewritten to matchMatthew Barnes2008-10-021-0/+6
| | | | | | | | | | | | Sankar's LGPLv3 template. svn path=/branches/kill-bonobo/; revision=36535
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-12/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Progress update:Matthew Barnes2008-09-181-2/+1
| | | | | | | | | | | | | | | | | | - Kill EABMenu. - Centralize marshallers to eliminate duplication. svn path=/branches/kill-bonobo/; revision=36368
* | Begin documenting the new shell design.Matthew Barnes2008-09-151-6/+186
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36337
* | Progress update:Matthew Barnes2008-08-241-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | - 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-68/+254
| | | | | | | | | | | | | | | | | | | | - 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
* | Committing the day's progress.Matthew Barnes2008-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Realized the "New" menu construction algorithm needs to live independently of shell view instances since we lazy load the shell views but have to display all possible "New" items immediately. Prototype the mechanisms for managing the various shell views and keeping track of which one is current. Various other tightening up and rethinking of APIs. svn path=/branches/kill-bonobo/; revision=36022
* | Merge revisions 35993:36015 from trunk.Matthew Barnes2008-08-191-1/+6
| | | | | | | | | | | | Adapt recent "crash recovery" changes to new architecture. svn path=/branches/kill-bonobo/; revision=36018
* | Demonstrate loading the test module.Matthew Barnes2008-08-141-3/+8
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35983
* | Add a few stub functions to get compilation to complete.Matthew Barnes2008-08-111-0/+46
| | | | | | | | | | | | Kill e-active-connection-dialog.glade (unused). svn path=/branches/kill-bonobo/; revision=35950
* | Treat the Preferences window as a singleton.Matthew Barnes2008-08-091-13/+7
| | | | | | | | | | | | Kill a bunch of Bonobo crud, which breaks compilation again. svn path=/branches/kill-bonobo/; revision=35947
* | Work through more compilation errors.Matthew Barnes2008-08-091-0/+54
| | | | | | | | | | | | Rewrite EMultiConfigDialog to not use ETable. svn path=/branches/kill-bonobo/; revision=35942
* | Fix some compilation errors.Matthew Barnes2008-08-081-4/+9
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35938
* | Commit progress, which breaks everything.Matthew Barnes2008-08-081-1300/+62
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35930
* | Disable all components and plugins. Begin rewriting the shell.Matthew Barnes2008-07-171-97/+3
|/ | | | 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-4/+2
| | | | | | | | | | 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
* Patch from James Westby <jw+debian@jameswestby.net>: Fix for bug #518103 ↵Suman Manjunath2008-04-261-1/+1
| | | | | | (Check online status from NetworkManager at startup instead of using the last-used-state) svn path=/trunk/; revision=35420
* ** Fix for bug #511232Jan Tichavsky2008-01-231-1/+1
| | | | | | | | | | | | 2008-01-22 Jan Tichavsky <Jan.Tichavsky@gmail.com> ** Fix for bug #511232 * e-shell.c: Fixed typo Uknown -> Unknown (patch committed by Andre Klapper) svn path=/trunk/; revision=34869
* Fix a regression due to my previous commit.Srinivasa Ragavan2008-01-191-1/+1
| | | | | | | | | 2008-01-19 Srinivasa Ragavan <sragavan@novell.com> * e-shell.c: (set_line_status): Fix a regression due to my previous commit. svn path=/trunk/; revision=34851
* ** Fix for bug #329712Srinivasa Ragavan2008-01-181-5/+10
| | | | | | | | | | | | | | | | | 2008-01-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #329712 * e-shell-window-commands.c: (update_offline_menu_item): * e-shell-window.c: (update_offline_toggle_status), (update_send_receive_sensitivity), (offline_toggle_clicked_callback): * e-shell.c: (e_shell_construct), (e_shell_save_settings), (set_line_status): * e-shell.h: Add a new state to maintian forced offline. svn path=/trunk/; revision=34847
* ** Fix for bug #219197Milan Crha2008-01-031-11/+32
| | | | | | | | | | | | | | | | | 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
* ** Add basic support for crash recoverySrinivasa Ragavan2007-12-051-0/+3
| | | | | | | | | | | | | | 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-55/+55
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fixes bug #492058Damien Carbery2007-11-031-14/+14
| | | | | | | | | | | | | | | | 2007-11-02 Damien Carbery <damien.carbery@sun.com> ** Fixes bug #492058 * shell/e-shell-window.c: * shell/e-shell.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-item.c: * calendar/gui/e-itip-control.c: Name the anonymous unions to build with the Sun Studio compiler. svn path=/trunk/; revision=34485
* ** Fix for bug #329823Milan Crha2007-10-111-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #329823 * Evolution-Shell.idl: (setButtonIcon): * e-sidebar.h: (e_sidebar_change_button_icon): * e-sidebar.c: (struct Button), (button_new), (button_free), (e_sidebar_change_button_icon): * e-shell.h: (EMainShellFunc), (e_shell_foreach_shell_window): * e-shell.c: (EMainShellFunc), (e_shell_foreach_shell_window): * e-component-view.h: (e_component_view_set_button_icon): * e-component-view.c: (e_component_view_set_button_icon): * e-shell-window.h: (e_shell_window_change_component_button_icon): * e-shell-window.c: (e_shell_window_change_component_button_icon): * e-shell-view.c: (struct change_icon_struct), (change_button_icon_func), (impl_ShellView_setButtonIcon), (e_shell_view_class_init): Added support to change component's button icon. * mail-component.h: (mail_indicate_new_mail): * mail-component.c: (mail_indicate_new_mail), (struct _MailComponentPrivate), (impl_dispose), (impl_createView): New function to indicate new mails on sidebar's button and storing component_view in priv struct for later use. * em-folder-view.c: (emfv_list_done_message_selected): * mail-folder-cache.c: (real_flush_updates): Indicate changes like for plugins for new mails. svn path=/trunk/; revision=34374
* ** Fixes bug #437579Matthew Barnes2007-10-101-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-281-3/+3
| | | | | | | Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-5/+5
| | | | 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 hook event after the shell is started.Srinivasa Ragavan2007-07-031-0/+8
| | | | svn path=/trunk/; revision=33742
* Revert the change from 2007-05-11. (#407104)Matthew Barnes2007-05-141-7/+13
| | | | | | | | | | 2007-05-13 Matthew Barnes <mbarnes@redhat.com> * e-shell.c (impl_Shell_handleURI): Revert the change from 2007-05-11. (#407104) svn path=/trunk/; revision=33523
* Create a shell window if the schema or an alias was found. Previously thisMatthew Barnes2007-05-121-13/+7
| | | | | | | | | | | | | 2007-05-11 Matthew Barnes <mbarnes@redhat.com> * e-shell.c (impl_Shell_handleURI): Create a shell window if the schema or an alias was found. Previously this only opened a window if an alias was found but not the schema. Makes the GNOME Clock applet able to correctly start Evolution once again. (#407104) svn path=/trunk/; revision=33514
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+2
| | | | 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
* Fix memory leak of iid.Harish Krishnaswamy2006-12-041-0/+1
| | | | | | | | 2006-12-03 Harish Krishnaswamy <kharish@novell.com> * e-shell.c: (impl_dispose): Fix memory leak of iid. svn path=/trunk/; revision=33041
* Don't call bonobo_activation_active_server_unregister() here, it's tooTor Lillqvist2006-06-191-4/+5
| | | | | | | | | | | | | | 2006-06-17 Tor Lillqvist <tml@novell.com> * e-shell.c (impl_finalize): Don't call bonobo_activation_active_server_unregister() here, it's too late, the EShell Bonobo object has already been deactivated and its associated CORBA object is NULL. (notify_no_windows_left_idle_cb): Instead, call bonobo_activation_active_server_unregister() here, when the EShell Bonobo object is still fully active. svn path=/trunk/; revision=32177
* Remove unused code and fix format specifiers in some cases.Kjartan Maraas2006-01-301-12/+4
| | | | | | | | | | | | | | | 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
* Evolution-Component.idl Evolution-Shell.idl Remove duplicate definitionsParthasarathi Susarla2005-12-221-3/+3
| | | | | | | | | | | | | | | | | | | 2005-12-22 Parthasarathi Susarla <sparthasarathi@novell.com> * Evolution-Component.idl * Evolution-Shell.idl * Evolution.idl: Remove duplicate definitions and circular dependencies. * e-shell.c: comment out the implementation for findComponent. If implemented, this creates a circular dependency between the Shell.idl and Component.idl. ** This is just a work-around ** Evolution-Component.idl Evolution-Shell.idl CVS: Evolution.idl e-shell-view.c e-shell.c CVS: ---------------------------------------------------------------------- svn path=/trunk/; revision=30934
* Evolution is now Network Aware, the day of complete awareness beckons, TheShreyas Srinivasan2005-12-221-9/+15
| | | | | | | | | | | 2005-12-22 Shreyas Srinivasan <sshreyas@novell.com> * Evolution is now Network Aware, the day of complete awareness beckons, The machines are taking over... * Network Manager support for evolution svn path=/trunk/; revision=30926
* committed these files to fix http://bugzilla.gnome.org/show_bug.cgi?id=260354Parthasarathi Susarla2005-12-211-3/+11
| | | | | | | | | | | | | | ChangeLog addressbook/ChangeLog addressbook/gui/component/addressbook-component.c calendar/ChangeLog calendar/gui/calendar-component.c calendar/gui/memos-component.c calendar/gui/tasks-component.c mail/ChangeLog mail/Evolution-Mail.idl mail/mail-component.c shell/ChangeLog shell/Evolution-Component.idl shell/Evolution-Shell.idl shell/Evolution.idl shell/Makefile.am shell/e-shell-window.c shell/e-shell-window.h shell/e-shell.c svn path=/trunk/; revision=30915
* Use libedataserver's e_xml_parse_file() instead of xmlParseFile()Tor Lillqvist2005-12-181-49/+47
| | | | | | | | | | | | | | | | | | | | | 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
* fix warning. (impl_Shell_findComponent): fix signature for warning.Not Zed2005-08-181-103/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-17 Not Zed <NotZed@Ximian.com> * e-shell.c (impl_Shell_handleURI): fix warning. (impl_Shell_findComponent): fix signature for warning. 2005-08-16 Not Zed <NotZed@Ximian.com> ** See bug #312668. * e-shell.c (set_line_status, set_line_status_complete) (set_line_status_finished): new code to set componetns on/offline. (e_shell_go_online, e_shell_go_offline): use new interface. (offline_procedure_started_cb, offline_procedure_finished_cb): removed. (impl_dispose): cleanup line status listener. (e_shell_init): setup line status listener. * evolution-listener.[ch]: skeleton listener object for new setlinestatus call. * Evolution-Offline.idl, e-shell-offline-handler.[ch]: killed. We just add a single interface on EvolutionComponent now, much simpler. svn path=/trunk/; revision=30154
* Merge back eplugin-import-branch.Michael Zucci2005-07-121-2/+0
| | | | svn path=/trunk/; revision=29725
* 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
* BonoboObject wrapper for Evolution::Component interface. Abstract, doesn'tNot Zed2005-06-021-0/+25
| | | | | | | | | | | | | | | 2005-06-02 Not Zed <NotZed@Ximian.com> * evolution-component.c: BonoboObject wrapper for Evolution::Component interface. Abstract, doesn't implement methods. * Evolution-Shell.idl: add a method to find a component by component alias. * e-shell.c (impl_Shell_findComponent): & implement it svn path=/trunk/; revision=29443
* 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
* don't build wizard related codeJP Rosevear2005-04-291-1/+0
| | | | | | | | | | | | | | | 005-04-29 JP Rosevear <jpr@novell.com> * Makefile.am: don't build wizard related code * Evolution.idl: remove wizard idl include * e-shell.c: remove wizard include * Remove wizard related code which is now in a plugin (and is much simpler due to eplugin) svn path=/trunk/; revision=29245
* fix the qualifier bit assignments for the STATE target.Not Zed2005-03-181-1/+1
| | | | | | | | | | 2005-03-17 Not Zed <NotZed@Ximian.com> * es-event.h: fix the qualifier bit assignments for the STATE target. * e-shell.c (offline_procedure_finished_cb): fix offline state event. svn path=/trunk/; revision=29057
* bump version, requiresJP Rosevear2005-03-011-7/+11
| | | | | | | | | | | | | | | | | | | 2005-02-28 JP Rosevear <jpr@novell.com> * configure.in: bump version, requires 2005-02-28 JP Rosevear <jpr@novell.com> * configure.in: add startup wizard plugin 2005-02-28 JP Rosevear <jpr@novell.com> * plugins/Makefile.am: dist standard and experimental plugins * configure.in: move "all" plugins to standard and experimental and default to building the standard set svn path=/trunk/; revision=28927
* 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
* open a new window if we get a component id type urlJP Rosevear2005-01-101-4/+11
| | | | | | | | | | | 2005-01-09 JP Rosevear <jpr@novell.com> * e-shell.c (impl_Shell_handleURI): open a new window if we get a component id type url * Evolution-Shell.idl: add ComponentNotFound exception svn path=/trunk/; revision=28302
* set start_offline gconf key when ever offline state is changed.Sivaiah Nallaagatla2004-12-241-4/+9
| | | | | | | | | | 2004-12-23 Sivaiah Nallaagatla <snallagatla@novell.com> * e-shell.c (e_shell_go_offline) (e_shell_go_online) : set start_offline gconf key when ever offline state is changed. svn path=/trunk/; revision=28198
* register event hook.Not Zed2004-10-251-1/+18
| | | | | | | | | | | | | | | | | | | | | 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
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+2
| | | | svn path=/trunk/; revision=27300
* set online status for e_passwords see #62856 (work around)Sivaiah Nallagatla2004-09-141-0/+2
| | | | | | | | | | | 2004-09-13 Sivaiah Nallagatla <snallagatla@novell.com> * e-shell.c (offline_procedure_finished_cb) (e_shell_go_online) : set online status for e_passwords see #62856 (work around) svn path=/trunk/; revision=27263
* ** See bug #62856 (workaround only)Not Zed2004-08-301-0/+6
| | | | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> ** See bug #62856 (workaround only) * e-shell.c (impl_Shell_setLineStatus, e_shell_construct): set the online state on e_passwords. svn path=/trunk/; revision=27075
* added last_version item.JP Rosevear2004-08-021-81/+177
| | | | | | | | | | | | | | | | | | | | | | | | * apps_evolution_shell.schemas.in.in: added last_version item. * shell-errors.xml: added upgrade-remove-1-4 and upgrade-remove-1-4-confirm dialogues. * e-shell.c (remove_dir): utility to recursively delete a tree of files and folders. (e_shell_attempt_upgrade): keep track of the last upgraded version, if != current version, and < 1.5, and it exists, offer to remove ~/evolution. Confirm the offer before actually doing it. * e-shell-window-commands.c: include gnome-about. (command_help_faq): fix comment structure * e-shell.c (attempt_upgrade): moved most of this into e_shell_attempt_upgrade. (e_shell_attempt_upgrade): moved most of this into attempt_upgrade, removed rev args. It makes sense, really! (e_shell_construct): call e_shell_attempt_upgrade instead. svn path=/trunk/; revision=26788
* merged this into e_shell_create_window, all it was doing was adding aNot Zed2004-07-261-24/+9
| | | | | | | | | | 2004-07-22 Not Zed <NotZed@Ximian.com> * e-shell.c (create_window): merged this into e_shell_create_window, all it was doing was adding a stack frame. (e_shell_create_window): setup the e error default window. svn path=/trunk/; revision=26729
* ** See bug #57367.Not Zed2004-06-241-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-24 Not Zed <NotZed@Ximian.com> ** See bug #57367. * e-shell-window.c (e_shell_window_new): fix gconf client leak and clean up some logic. * e-shell.c (e_shell_construct): dont activate the components individually, component registry does that implictly. * e-component-registry.c (init): dont call query_components here. (query_components): setup a run-once guard. before adding a component info to the list, make sure we can activate it. (component_info_new): take the interface as a construct argument now. (e_component_registry_peek_list): perform the component list query if we haven't already. (e_component_registry_peek_info): same. (e_component_registry_activate): just always return the reffed component, it isn't added unless it was already activated. svn path=/trunk/; revision=26490
* ** See #58827.Not Zed2004-06-011-9/+18
| | | | | | | | | | | | | | | | | | | | | 2004-05-27 Not Zed <NotZed@Ximian.com> ** See #58827. * e-shell-window.c (switch_view): api change * e-shell.c (impl_Shell_handleURI): Fixed for api change. (impl_Shell_handleURI): check the component alias for an alternate uri schema path. 'quick hack' for activating components from command line. This may, or may not, continue to function. * e-component-registry.c (e_component_registry_peek_info): added an id for search type. (e_component_registry_peek_info_for_uri_schema): ^ makes this redundant, removed. (e_component_registry_activate): fixed for api change. svn path=/trunk/; revision=26137
* Implemented. Sends the "interactive" message when the first window isSarfraaz Ahmed2004-05-261-1/+35
| | | | | | | | | 2004-05-26 Sarfraaz Ahmed <asarfraaz@novell.com> * e-shell.c (set_interactive): Implemented. Sends the "interactive" message when the first window is created to all the components. svn path=/trunk/; revision=26098
* remove unused.Not Zed2004-05-211-1/+0
| | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * e-shell.c (e_shell_attempt_upgrade): remove unused. svn path=/trunk/; revision=26032
* add for translators.Not Zed2004-05-121-32/+52
| | | | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * shell-errors.xml.h: add for translators. 2004-05-11 Not Zed <NotZed@Ximian.com> * shell-errors.xml: Shell errors. * e-shell.c (e_shell_attempt_upgrade): handle exceptions better. allow the user to keep going or abort. stop as soon as something fails. Related to #53083. (attempt_upgrade): abort and quit if the subcall failed. it will display an appropriate error box. (attempt_upgrade): abort if we don't have enough space. #57290. * Evolution-Component.idl (upgradeFromVersion): remove the return code, use exceptions to indicate failure. svn path=/trunk/; revision=25869
* Don't save window state here.Dan Winship2004-05-011-1/+4
| | | | | | | | | | * e-shell-window-commands.c (command_quit): Don't save window state here. * e-shell.c (e_shell_quit): Do it here, so it gets called if you quit by closing the last window via its close button too. #57529 svn path=/trunk/; revision=25723
* Don't activate the components here. (e_shell_construct): Activate them allJeffrey Stedfast2004-04-101-13/+25
| | | | | | | | | | | | | | 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
* make sure the component is activated before calling upgradeFromVersion.Chris Toshok2004-04-101-1/+4
| | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * e-shell.c (e_shell_attempt_upgrade): make sure the component is activated before calling upgradeFromVersion. svn path=/trunk/; revision=25400
* unref the component registryDan Winship2004-04-101-0/+5
| | | | | | * e-shell.c (impl_dispose): unref the component registry svn path=/trunk/; revision=25398
* use BASE_VERSION to supply the major/minor version, and useChris Toshok2004-04-101-6/+11
| | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * e-shell.c (e_shell_attempt_upgrade): use BASE_VERSION to supply the major/minor version, and use UPGRADE_REVISION for the revision. (attempt_upgrade): store the key based on BASE_VERSION and UPGRADE_REVISION. svn path=/trunk/; revision=25386
* Change this a lot. Now each component will maintain its ownDan Winship2004-04-091-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | * e-user-creatable-items-handler.c: Change this a lot. Now each component will maintain its own EUserCreatableItemsHandler and merge the button and menus in and out of the UI as its controls are activated and deactivated. (This lets the connector component display the correct default for the New button). Also, update to the Product Design Team's new organization (separating object types from folder types) * e-shell.c: Remove all creatable_items_handler references * e-shell-window.c (e_shell_window_new): Remove creatable_items_handler reference * Makefile.am: Move e-user-creatable-items-handler from evolution to libeshell, and make libeshell depend on libemiscwidgets (for the combo button) * Evolution-Component.idl: add another field to CreatableItemType so we can distinguish object types from folder types. svn path=/trunk/; revision=25379
* when we check the evolution dir exists, check the evolution dir exists,Not Zed2004-03-121-7/+7
| | | | | | | | | | | 2004-03-12 Not Zed <NotZed@Ximian.com> * e-shell.c (detect_version): when we check the evolution dir exists, check the evolution dir exists, not the config.xmldb file. Move filename building/usage into the else condition so it can't happen again. Fixes #53277. svn path=/trunk/; revision=25040
* make this C89 compliantJP Rosevear2004-02-051-3/+3
| | | | | | | | 2004-02-04 JP Rosevear <jpr@ximian.com> * e-shell.c (e_shell_quit): make this C89 compliant svn path=/trunk/; revision=24617
* ** See bug #53683.Not Zed2004-02-041-27/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* attempt the upgrade before trying to startup the wizard.Not Zed2004-01-271-1/+75
| | | | | | | | | | | | 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
* there is no splash screen any moreJP Rosevear2004-01-271-5/+1
| | | | | | | | | 2004-01-26 JP Rosevear <jpr@ximian.com> * e-shell.c (e_shell_construct): there is no splash screen any more svn path=/trunk/; revision=24438
* detect the version more completely with the new util routine (main): don'tJP Rosevear2004-01-141-9/+5
| | | | | | | | | | | | | | | | | | | | | | | 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
* make sure we actually upgrade between revisionsJP Rosevear2004-01-091-1/+1
| | | | | | | | | 2004-01-08 JP Rosevear <jpr@ximian.com> * e-shell.c (e_shell_attempt_upgrade): make sure we actually upgrade between revisions svn path=/trunk/; revision=24124
* these just handle creating the ~/evolution dir and so are no longer neededJP Rosevear2003-12-301-3/+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
* Mark the settings dialog as transient for the main windowRoss Burton2003-12-231-0/+1
| | | | svn path=/trunk/; revision=24004
* Implement.Ettore Perazzoli2003-12-051-31/+19
| | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Implement. * Evolution-Component.idl (Component::requestQuit): Make sync [i.e. just return a boolean instead of using a BonoboListener]. svn path=/trunk/; revision=23639
* If component_id is the empty string, pass NULL for it toEttore Perazzoli2003-12-041-0/+3
| | | | | | | | | | | * 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
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* New member offline_handler. (offline_procedure_started_cb): New.Ettore Perazzoli2003-12-011-19/+58
| | | | | | | | | | | | | | | | | | | * e-shell.c (struct _EShellPrivate): New member offline_handler. (offline_procedure_started_cb): New. (offline_procedure_finished_cb): New. (e_shell_go_offline): Implement (putting back the code that we had #if 0'ed out). (e_shell_go_online): Likewise. * e-shell-offline-handler.c, e-shell-offline-handler.h: Put back in, massage for the changes in the Offline interface. * e-shell-offline-sync.c, e-shell-offline-sync.h: Remove from CVS. * Evolution-Offline.idl (SyncFolderProgressListener): Remove. (Offline::SyncFolder): Remove. svn path=/trunk/; revision=23505
* Reimplemented using EComponentRegistry.Ettore Perazzoli2003-11-211-36/+10
| | | | | | | | | | | | | * 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
* Destroy the tooltips instead of unreffing them.Ettore Perazzoli2003-11-191-0/+23
| | | | | | | | | | | | | | | * e-shell-window.c (impl_dispose): Destroy the tooltips instead of unreffing them. * e-shell.c (struct _EShellPrivate): New member activity_handler. (setup_activity_interface): New. (impl_dispose): Add a comment about why we must not unref activity_handler here. (create_window): Attach the task bar to the new window. * e-shell-window.c (e_shell_window_peek_task_bar): New. svn path=/trunk/; revision=23439
* New helper function. (idle_cb): Call it if we have a local shell. Also,Ettore Perazzoli2003-11-181-1/+74
| | | | | | | | | | | | * 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-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* New.Ettore Perazzoli2003-11-141-0/+26
| | | | | | | | | | * e-shell.c (e_shell_send_receive): New. * Evolution-Component.idl (Component.sendAndReceive): New. * evolution.xml: Add back send/receive command and toolbar button. svn path=/trunk/; revision=23334
* New signal "component_changed". (class_init): Install. (switch_view):Ettore Perazzoli2003-11-131-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-window.c: New signal "component_changed". (class_init): Install. (switch_view): Emit. (e_shell_window_new): Call e_user_creatable_items_handler_attach_menus() to attach the "New..." menus. (e_shell_window_peek_current_component_id): New. (e_shell_window_peek_shell): Add precondition. (e_shell_window_peek_current_component_id): Likewise. (e_shell_window_peek_bonobo_ui_component): Likewise. * e-user-creatable-items-handler.c: New. * e-user-creatable-items-handler.h: New. * e-shell-window.h: #include <bonobo/bonobo-ui-component.h>. * e-shell.c (struct _EShellPrivate): Add member user_creatable_items_handler. (e_shell_get_user_creatable_items_handler): Remove. (e_shell_peek_user_creatable_items_handler): New. * Evolution-Component.idl (GNOME.Evolution.RequestCreateItem): New method. (GNOME.Evolution.creatableItems): New attribute. * e-shell-user-creatable-items-handler.c: Remove. * e-shell-user-creatable-items-handler.h: Remove. svn path=/trunk/; revision=23314
* Added a new "-c" command-line arg. (idle_cb): If the arg is specified,Ettore Perazzoli2003-11-111-39/+17
| | | | | | | | | | | | | | | | | | | * 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
* New member "component_registry". (e_shell_construct): Don't callEttore Perazzoli2003-10-231-216/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-1238/+151
| | | | svn path=/trunk/; revision=22964
* Ooops, revert changes: wrong branch.Ettore Perazzoli2003-07-241-2/+1
| | | | svn path=/trunk/; revision=21926
* Create a new EShellWindow and show it.Ettore Perazzoli2003-07-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Protect against the component name having slashes in it.Ettore Perazzoli2003-05-161-0/+5
| | | | | | | | | | * e-shell.c (parse_default_uri): Protect against the component name having slashes in it. * e-shell-view.c (display_uri): Protect against invalid "default:" URIs. [#43079] svn path=/trunk/; revision=21194
* release the interface if we got itJP Rosevear2003-05-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * e-shell.c (save_settings_for_component): release the interface if we got it * e-shell-view.c: include bonobo-exception.h (impl_dispose): release and unref the shell view corba interface (init): init to CORBA_OBJECT_NIL (e_shell_view_get_corba_interface): return the corba interface (setup_corba_interface): release the existing shell view, add as an interface and then query to get it back (get_view_for_uri): release and unref the control once we create the widget with it * e-corba-storage.c (storage_listener_servant_new): don't ref ourselves (storage_listener_servant_free): don't unref ourselves (impl_dispose): free the servant info * e-corba-storage-registry.c (impl_StorageRegistry_getStorageByName): we need to ref as well as duplicate since we didn't create the storage here svn path=/trunk/; revision=21176
* Free the temporary string.Hans Petter Jansson2003-04-161-1/+4
| | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * e-setup.c (e_setup_check_config): Free the temporary string. * e-shell-user-creatable-items-handler.c (append_xml_for_menu_item): Free the icon xml string. * e-shell.c (parse_default_uri): Free the component name, the configuration path and the temporary path. svn path=/trunk/; revision=20849
* Desensitize the window's top-level container rather than desensitizing theDan Winship2003-04-081-0/+3
| | | | | | | | | | | | | | | | | * evolution-folder-selector-button.c (clicked): Desensitize the window's top-level container rather than desensitizing the window itself, which causes strange problems [#40854]. Also fix up the code that tries to watch for the parent window being destroyed. * e-shell.c (impl_Shell_selectUserFolder): Use e_dialog_set_transient_for_xid. * e-shell-folder-selection-dialog.c (impl_response): Treat GTK_RESPONSE_DELETE_EVENT the same as GTK_RESPONSE_CANCEL. (e_shell_folder_selection_dialog_construct): No need to catch "delete_event" signal. svn path=/trunk/; revision=20729
* [#39467]Not Zed2003-04-021-12/+7
| | | | | | | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> [#39467] * e-shell.c (e_shell_construct): Change the splash logic slightly, so that if we can't create the splash, we dont try and cast/use it. * e-splash.c (e_splash_new): dont use a g_return* for what could be a valid (tho incorrect) runtime condition. svn path=/trunk/; revision=20629
* Update for e_notice move. Likewise Likewise Likewise Likewise LikewiseDan Winship2003-03-251-9/+2
| | | | | | | | | | | | | | | | | | | * 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
* add a "new_view_xid" arg, so the component has a window id to make use ofDan Winship2003-03-251-11/+12
| | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl (interactive): add a "new_view_xid" arg, so the component has a window id to make use of as a parent if it needs to pop up a dialog. * e-shell.c (set_interactive): Pass the new_view_xid when going interactive. (e_shell_set_interactive): Remove this since it wasn't being used, and couldn't be used for anything except lying to the components. * evolution-shell-component.c (evolution_shell_component_class_init): Update "interactive" signal definition (impl_interactive): Update prototype and signal emission * e-shell-marshal.list (NONE:BOOL,INT): add svn path=/trunk/; revision=20493
* If you can't get a pixbuf icon for the folder's type, do not crash.Ettore Perazzoli2003-03-201-21/+0
| | | | | | | | | | | | * evolution-folder-selector-button.c (set_folder): If you can't get a pixbuf icon for the folder's type, do not crash. [#39599] * e-shell.c (impl_Shell__get_displayName): Removed. [#38974] (e_shell_class_init): Do not install anymore. * Evolution-Shell.idl: Remove displayName attribute. svn path=/trunk/; revision=20359
* ** reverted the following patch from ettore, this is a gnome 2.2 apiNot Zed2003-03-071-2/+2
| | | | | | | | | | | | | | | | 2003-03-07 Not Zed <NotZed@Ximian.com> ** reverted the following patch from ettore, this is a gnome 2.2 api change, and shouldn't be used yet. * e-shell.c (impl_finalize): Use bonobo_activation_unregister_active_server() instead of bonobo_activatino_active_server_unregister(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). svn path=/trunk/; revision=20214
* (impl_Shell_selectUserFolder): At least for now,Ettore Perazzoli2003-03-071-2/+4
| | | | | | | disable the nasty XWMHints trick to fool WMs; it is not needed now that everything is in-proc. svn path=/trunk/; revision=20211
* (impl_finalize): UseEttore Perazzoli2003-03-071-2/+2
| | | | | | | | | | bonobo_activation_unregister_active_server() instead of bonobo_activatino_active_server_unregister(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). svn path=/trunk/; revision=20198
* fix the conf keys, currently unused.Not Zed2003-02-241-1/+1
| | | | | | | | | | 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
* (e_shell_construct): UseEttore Perazzoli2003-01-291-2/+2
| | | | | | | | | | | | bonobo_activation_server_register() instead of bonobo_activation_register_active_server() again, since we want to be able to build against bonobo-activation 2.0 and the latter is 2.2-specific. (impl_finalize): Likewise, use bonobo_activation_active_server_unregister() instead of bonobo_activation_unregister_active_server(). svn path=/trunk/; revision=19668
* Set GTK_RESPONSE_OK as the default response.Ettore Perazzoli2003-01-281-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED)Dan Winship2003-01-141-8/+8
| | | | | | * s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED) svn path=/trunk/; revision=19427
* Make the view save its settings as the default ones if it's the last one.Ettore Perazzoli2003-01-111-1/+5
| | | | | | | | | | * e-shell.c (e_shell_request_close_view): Make the view save its settings as the default ones if it's the last one. * e-shell-view-menu.c (command_quit): Make this view save its settings as the defaults before quitting. svn path=/trunk/; revision=19410
* (parse_default_uri): Remove bogus is_default check.Ettore Perazzoli2003-01-111-2/+1
| | | | svn path=/trunk/; revision=19406
* Properly reset activity_interface to NULL.Ettore Perazzoli2003-01-101-4/+4
| | | | | | | | | | | | * evolution-shell-client.c (impl_dispose): Properly reset activity_interface to NULL. (evolution_shell_client_construct): Ref the shell object here. * e-shell.c (view_weak_notify): Ref the shell since it's being passed to notify_no_views_left_idle_cb as the data. (notify_no_views_left_idle_cb): Only unref the shell here. svn path=/trunk/; revision=19381
* [With this commit, the shell compiles without deprecatedEttore Perazzoli2002-12-201-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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