aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-user-creatable-items-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* adding a check to make sure the shortcut key is not the NUL byte. FixesJoe Marcus Clarke2006-01-241-1/+1
| | | | | | | | | 2006-01-23 Joe Marcus Clarke <marcus@freebsd.org> * e-user-creatable-items-handler.c: adding a check to make sure the shortcut key is not the NUL byte. Fixes bug 327468. svn path=/trunk/; revision=31283
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-1/+1
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Convert to G_DEFINE_TYPEJP Rosevear2004-12-211-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> * e-corba-config-page.c: Convert to G_DEFINE_TYPE * e-history.c: ditto * e-shell-folder-title-bar.c: ditto * e-shell-offline-handler.c: ditto * e-shell-settings-dialog.c: ditto * e-shell-window.c: ditto * e-sidebar.c: ditto * e-user-creatable-items-handler.c: ditto * e-component-registry.c: ditto * importer/evolution-importer-client.c: ditto svn path=/trunk/; revision=28164
* free priv->menu_xml. plugs (big) leak.Chris Toshok2004-06-221-0/+2
| | | | | | | | | 2004-06-21 Chris Toshok <toshok@ximian.com> * e-user-creatable-items-handler.c (impl_finalize): free priv->menu_xml. plugs (big) leak. svn path=/trunk/; revision=26447
* if we're running a local create, invoke that directly via the callback.Not Zed2004-04-211-11/+28
| | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * e-user-creatable-items-handler.c (execute_verb): if we're running a local create, invoke that directly via the callback. (e_user_creatable_items_handler_new): add a callback for creating local items. svn path=/trunk/; revision=25544
* Same.Jeffrey Stedfast2004-04-201-1/+1
| | | | | | | | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-user-creatable-items-handler.c (ensure_menu_items): Same. * e-shell-startup-wizard.c (make_timezone_page): Same. * e-shell-settings-dialog.c (load_pages): Same. * e-shell-importer.c (e_shell_importer_start_import): Same. * e-component-registry.c (query_components): Don't use absolute pixel sizes, use the E_ICON_SIZE enums instead. svn path=/trunk/; revision=25528
* Change component icons to use the icon theme names for icons RemoveMichael Terry2004-04-191-4/+2
| | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Test.server.in.in: Change component icons to use the icon theme names for icons * Makefile.am: Remove e-icon-factory.[ch] * e-component-registry.c: Use the icon theme for component icons * e-icon-factory.[ch]: Removed these files * e-shell-importer.c: * e-shell-settings-dialog.c: * e-shell-startup-wizard.c: * e-shell-window-commands.c: * e-user-creatable-items-handler.c: * evolution-shell-component-utils.[ch]: * main.c: * glade/evolution-startup-wizard.glade: * importer/import.glade: Use the icon theme via EIconFactory for all of the icons in the shell, and the window icons svn path=/trunk/; revision=25512
* add a component name argument, so we don't use 'this_component', andNot Zed2004-04-131-15/+12
| | | | | | | | | | | | | | | | | | | 2004-04-13 Not Zed <NotZed@Ximian.com> * e-user-creatable-items-handler.c (create_verb): add a component name argument, so we don't use 'this_component', and everything comes from tasks! Fix callers to pass the component alias. (struct _EUserCreatableItemsHandlerPrivate): change default_menu_item to be fallback_menu_item for the mail message new fallback. Make default_menu_item be the default for the view (which some code seems to think it should be). Fixes #56866. (ensure_menu_items): setup the fallback_menu_item here. (get_default_action_for_view): use the fallback as the fallback, not default. (setup_toolbar_button): set the default menu item here for the current view. svn path=/trunk/; revision=25429
* Change this a lot. Now each component will maintain its ownDan Winship2004-04-091-339/+407
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* only add the component to the list if we actually create itJP Rosevear2003-12-141-2/+3
| | | | | | | | | | | 2003-12-14 JP Rosevear <jpr@ximian.com> * e-user-creatable-items-handler.c (get_components_from_registry): only add the component to the list if we actually create it Fixes #51707 svn path=/trunk/; revision=23936
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-021-1/+1
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* Do not #include "e-local-folder.h".Ettore Perazzoli2003-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-setup.c: Do not #include "e-local-folder.h". * Makefile.am: Don't build evolution-test-component for now since it's all out of date. * main.c (evolution_debug_log): Make static instead of extern. * e-user-creatable-items-handler.c: #include <bonobo/bonobo-control.h>. * e-shell.h: Do not include "e-uri-schema-registry.h" or "evolution-shell-component-client.h". * e-shell.c: Likewise. * e-shell.c (struct _EShellPrivate): Removed member uri_schema_registry. (impl_Shell_handleURI): #if 0 it out for now. (e_shell_peek_uri_schema_registry): Disabled for now. * e-corba-storage-registry.c: Remove. * e-corba-storage-registry.h: Remove. * e-corba-storage.c: Remove. * e-corba-storage.h: Remove. * e-folder-dnd-bridge.c: Remove. * e-folder-dnd-bridge.h: Remove. * e-folder-selection-dialog.c: Remove. * e-folder-selection-dialog.h: Remove. * e-folder-type-registry.c: Remove. * e-folder-type-registry.h: Remove. * e-local-folder.c: Remove. * e-local-folder.h: Remove. * e-local-storage.c: Remove. * e-local-storage.h: Remove. * e-shell-folder-selection-dialog.c: Remove. * e-shell-folder-selection-dialog.h: Remove. * e-shell-view.c: Remove. * e-shell-view.h: Remove. * e-storage-browser.c: Remove. * e-storage-browser.h: Remove. * e-storage-set-view.c: Remove. * e-storage-set-view.h: Remove. * e-storage-set.c: Remove. * e-storage-set.h: Remove. * e-storage.c: Remove. * e-storage.h: Remove. * evolution-shell-component-client.c: Remove. * evolution-shell-component-client.h: Remove. * evolution-shell-component-dnd.c: Remove. * evolution-shell-component-dnd.h: Remove. * evolution-storage-listener.c: Remove. * evolution-storage-listener.h: Remove. * evolution-storage-set-view-listener.c: Remove. * evolution-storage-set-view-listener.h: Remove. svn path=/trunk/; revision=23396
* (ensure_menu_items): ReverseEttore Perazzoli2003-11-131-1/+1
| | | | | | | the list so we get the items in the same order they were given to us [since we are using g_slist_prepend() to build the list]. svn path=/trunk/; revision=23326
* New signal "component_changed". (class_init): Install. (switch_view):Ettore Perazzoli2003-11-131-0/+788
* 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