aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Component.idl
Commit message (Collapse)AuthorAgeFilesLines
* ** Fixes bug #508732Matthew Barnes2008-08-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #508732 * shell/e-shell.c: Add a "crash_recovery" flag, with accessor functions for it. * shell/e-shell-window (init_view): Check and reset the "crash_recovery" flag before creating a new shell view. The components can use this flag to take steps to recover from the previous crash. * shell/apps_evolution_shell.schemas.in: Remove the "skip_recovery_dialog" and "recovery" keys. * shell/Evolution-Component.idl (createView): Add a "select_item" boolean parameter. * shell/main.c: Kill the crash recovery dialog. Instead just set the crash recovery flag in e-shell appropriately. * mail/mail-component.c (impl_createView): Add a "select_item" argument for crash recovery, which we forward to EMFolderBrowser as a "suppress_message_selection" flag. * mail/em-folder-browser.c (emfb_set_folder): Suppress automatic message selection if we are recovering from a crash. * addressbook/gui/component/addressbook-component.c (impl_createView): * calendar/gui/calendar-component.c (impl_createView): * calendar/gui/memos-component.c (impl_createView): * calendar/gui/tasks-component.c (impl_createView): Add a "select_item" argument for crash recovery, which these components do not use. * help/C/evolution.xml: Remove the bit about crash recovery. svn path=/trunk/; revision=36009
* Evolution-Component.idl Evolution-Shell.idl Remove duplicate definitionsParthasarathi Susarla2005-12-221-7/+0
| | | | | | | | | | | | | | | | | | | 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-1/+6
| | | | | | | | | | | 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-4/+14
| | | | | | | | | | | | | | 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
* fix warning. (impl_Shell_findComponent): fix signature for warning.Not Zed2005-08-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use privsolib instead of privlib. Link with SHELL_LIBS. Use NO_UNDEFINED.Tor Lillqvist2005-08-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * Makefile.am: Use privsolib instead of privlib. Link with SHELL_LIBS. Use NO_UNDEFINED. Use EXEEXT. Use hack to workaround MSYS feature on Win32 when installing the schemas. (INCLUDES): Define EVOLUTION_IMAGESDIR like in ../e-util/e-util-private.h, not EVOLUTION_IMAGES. (idl_defines): Pass marker macro to IDL compiler, see below. * Evolution-Component.idl: Don't generate duplicate code in skels and stubs when including this file from other idl files (in particular, ../mail/Evolution-Mail.idl). Use the include_defs and inhibit pragmas unless IDL-compiling in this directory. See lists.ximian.com/pipermail/evolution-patches/2005-June/010899.html * e-shell-utils.c * e-shell-windows.c: Ue EVOLUTION_IMAGESDIR in such a way that it works even when it is a function call. svn path=/trunk/; revision=30075
* Fix so these are only ever included once.Not Zed2005-06-021-0/+5
| | | | | | | | 2005-06-02 Not Zed <NotZed@Ximian.com> * Evolution.*.idl: Fix so these are only ever included once. svn path=/trunk/; revision=29447
* add for translators.Not Zed2004-05-121-2/+9
| | | | | | | | | | | | | | | | | | | | | | 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
* Change this a lot. Now each component will maintain its ownDan Winship2004-04-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* ** See bug #53683.Not Zed2004-02-041-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* kill the correct binary, tidy includesJP Rosevear2004-01-161-1/+1
| | | | | | | | 2004-01-15 JP Rosevear <jpr@ximian.com> * main.c (kill_dataserver): kill the correct binary, tidy includes svn path=/trunk/; revision=24243
* Implement.Ettore Perazzoli2003-12-051-5/+3
| | | | | | | | | * 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
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Free ->uri_schemas. (set_schemas): New function to get the list of URIEttore Perazzoli2003-11-201-0/+5
| | | | | | | | | | | | | | | * e-component-registry.c (component_info_free): Free ->uri_schemas. (set_schemas): New function to get the list of URI schemas given a component's ServerInfo. (query_components): Call it. * e-component-registry.h (struct _EComponentInfo): Add "uri_schemas" member. * Evolution-Component.idl (Component.handleURI): New method. svn path=/trunk/; revision=23447
* New helper function. (idle_cb): Call it if we have a local shell. Also,Ettore Perazzoli2003-11-181-0/+8
| | | | | | | | | | | | * 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
* New.Ettore Perazzoli2003-11-141-0/+5
| | | | | | | | | | * 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
* (GNOME.Evolution.Component.UnknownType):Ettore Perazzoli2003-11-131-1/+3
| | | | | | New exception. svn path=/trunk/; revision=23323
* New signal "component_changed". (class_init): Install. (switch_view):Ettore Perazzoli2003-11-131-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* declare an exception for createControls to return, so we don't have toDan Winship2003-10-301-1/+4
| | | | | | | * Evolution-Component.idl: declare an exception for createControls to return, so we don't have to just crash if it fails. svn path=/trunk/; revision=23120
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-0/+37
| | | | svn path=/trunk/; revision=22964
* Ooops, revert changes: wrong branch.Ettore Perazzoli2003-07-241-23/+0
| | | | svn path=/trunk/; revision=21926
* Create a new EShellWindow and show it.Ettore Perazzoli2003-07-241-0/+23
* 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