aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
Commit message (Collapse)AuthorAgeFilesLines
* set title to just Evolution (show_development_warning): ditto for warningJP Rosevear2004-05-101-4/+4
| | | | | | | | | | | | | | | | | 2004-05-10 JP Rosevear <jpr@ximian.com> * main.c (show_development_warning): set title to just Evolution (show_development_warning): ditto for warning (idle_cb): ditto for title * e-shell-window.c (update_offline_toggle_status): set tooltip to just Evolution (e_shell_window_new): ditto for window title * e-shell-window-commands.c (command_about_box): set title to just Evolution svn path=/trunk/; revision=25835
* Remove e-lang-utils.h include.Not Zed2004-04-301-2/+0
| | | | | | | | | | 2004-04-30 Not Zed <NotZed@Ximian.com> * e-component-registry.c: * e-shell-settings-dialog.c: * e-shell-window.c: Remove e-lang-utils.h include. svn path=/trunk/; revision=25701
* init the view to NULLJP Rosevear2004-04-281-1/+12
| | | | | | | | | 2004-04-27 JP Rosevear <jpr@ximian.com> * e-shell-window.c (sidebar_button_selected_callback): init the view to NULL svn path=/trunk/; revision=25649
* if there is a current view, use the component alias to select a sensibleJP Rosevear2004-04-231-1/+1
| | | | | | | | | | 2004-04-23 JP Rosevear <jpr@ximian.com> * e-shell-window.c (e_shell_window_show_settings): if there is a current view, use the component alias to select a sensible default config control svn path=/trunk/; revision=25600
* Change this a lot. Now each component will maintain its ownDan Winship2004-04-091-2/+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
* Add panded widget to EShellWindowPrivate and handle state saving ofRodney Dawes2004-01-271-6/+14
| | | | | | | | | | | | | 2004-01-26 Rodney Dawes <dobey@ximian.com> * e-shell-window.c (setup_widgets): Add panded widget to EShellWindowPrivate and handle state saving of position (#52049) * e-task-bar.c (init): Switch to EClippedLabel instead of GtkLabel for the status bar text (#52937) Fixes #52049 and #52937 svn path=/trunk/; revision=24448
* (e_shell_window_save_defaults): Implement.Ettore Perazzoli2003-12-031-4/+15
| | | | | | (e_shell_window_new): Set the width/height from the GConf keys. svn path=/trunk/; revision=23591
* New member activity_handler. (mail_component_init): Initialize.Ettore Perazzoli2003-12-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | * mail-component.c (struct _MailComponentPrivate): New member activity_handler. (mail_component_init): Initialize. (impl_dispose): Unref. (mail_component_peek_activity_handler): New. (impl_createControls): Create an ETaskBar, attach it to the ActivityHandler, and return it to the caller as the statusbar control. * e-activity-handler.c (e_activity_handler_operation_finished): Argh, renamed from e_activity_client_operation_finished(). (e_activity_handler_operation_started): Don't unref the pixbuf. * e-shell-window.c (setup_widgets): Hide the menu hint label. * e-activity-handler.c (init): Init to next_activity_id to 1 so callers can rely on it being nonzero. svn path=/trunk/; revision=23556
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Destroy the tooltips instead of unreffing them.Ettore Perazzoli2003-11-191-1/+9
| | | | | | | | | | | | | | | * 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
* (struct _EShellWindowPrivate): New membersEttore Perazzoli2003-11-191-3/+253
| | | | | | | | | | | | | | | | | | | | | | | | status_bar, offline_toggle, offline_toggle_image, menu_hint_label, task_bar, tooltips. (init): Initialize ->tooltips. (impl_dispose): Unref ->tooltips. (offline_toggle_clicked_callback): New. (e_shell_window_new): Connect shell_line_status_changed_callback() to the shell's "line_status_changed" signal. (shell_line_status_changed_cb): New. (setup_offline_toggle): New. (setup_menu_hint_label): New. (setup_task_bar): New. (setup_status_bar): New. (setup_widgets): Call setup_status_bar() and add add the status bar to the window. (update_offline_toggle_status): New. (update_send_receive_sensitivity): New. (load_icons): New. (class_init): Call load_icons(). (ui_engine_remove_hint_callback): New. svn path=/trunk/; revision=23438
* New signal "component_changed". (class_init): Install. (switch_view):Ettore Perazzoli2003-11-131-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Call e_sidebar_select_button() instead of switch_view().Ettore Perazzoli2003-11-131-1/+1
| | | | | | | | | | * e-shell-window.c (e_shell_window_switch_to_component): Call e_sidebar_select_button() instead of switch_view(). * e-sidebar.c (update_buttons): New helper function. (e_sidebar_select_button): New. svn path=/trunk/; revision=23299
* Added a new "-c" command-line arg. (idle_cb): If the arg is specified,Ettore Perazzoli2003-11-111-13/+19
| | | | | | | | | | | | | | | | | | | * 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_alias". (component_view_new): Get a new "alias" arg,Ettore Perazzoli2003-11-111-17/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-window.c (struct _ComponentView): New member "component_alias". (component_view_new): Get a new "alias" arg, set the member in the struct accordingly. (component_view_free): Free ->component_alias. (setup_widgets): Pass the alias from the ComponentInfo to e_component_view(). (switch_view): New utility function. (sidebar_button_selected_callback): Use it. (e_shell_window_switch_to_component): New public function. (e_shell_window_new): Switch to the component whose id is in the /apps/evolution/shell/view_defaults/component_id GConf key. * apps_evolution_shell.schemas: Removed view_defaults/folder_path. New key view_defaults/component_id. * e-component-registry.c (component_info_free): Free ->alias. (component_info_new): Get an "alias" arg and set the member accordingly. (query_components): Remove debugging messages. Get an "evolution:component_alias" property from the component and set the alias from that. * e-component-registry.h (struct _EComponentInfo): New member "alias". svn path=/trunk/; revision=23265
* New member "component_registry". (e_shell_construct): Don't callEttore Perazzoli2003-10-231-47/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Make the scrolled window have a GTK_SHADOW_IN shadow.Ettore Perazzoli2003-10-231-1/+3
| | | | | | | | | | | | * importer/intelligent.c (create_gui): Make the scrolled window have a GTK_SHADOW_IN shadow. * e-shell-window.c (setup_widgets): Make the notebooks not have borders. (setup_widgets): Fix typo: e_get_language_list() returns a GSList, not a GList. svn path=/trunk/; revision=22995
* (PADDING): Increase to 6 pixels.Ettore Perazzoli2003-10-231-2/+2
| | | | | | | | | | | (button_toggled_callback): Add a cast. (e_sidebar_set_selection_widget): Handle the NULL widget case properly. (impl_remove): New, implementation for GtkContainer::remove. (do_layout): Add padding between the selection_widget and the button box. svn path=/trunk/; revision=22989
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-231-59/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* Change to "evolution-1.5" - although, ideally, this should be a config.hJeffrey Stedfast2003-10-221-1/+1
| | | | | | | | | 2003-10-22 Jeffrey Stedfast <fejj@ximian.com> * e-shell-window.c (e_shell_window_new): Change to "evolution-1.5" - although, ideally, this should be a config.h macro or something. svn path=/trunk/; revision=22984
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-0/+481
| | | | svn path=/trunk/; revision=22964
* Ooops, revert changes: wrong branch.Ettore Perazzoli2003-07-241-381/+0
| | | | svn path=/trunk/; revision=21926
* Create a new EShellWindow and show it.Ettore Perazzoli2003-07-241-0/+381
* 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