aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Component.idl
Commit message (Collapse)AuthorAgeFilesLines
* 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