aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-user-creatable-items-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* Reviewed by Matthew Barnes <mbarnes@redhat.com>Takao Fujiwara2009-01-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-09 Takao Fujiwara <takao.fujiwara@sun.com> Reviewed by Matthew Barnes <mbarnes@redhat.com> * Fix for bug #566011 * addressbook/gui/component/Makefile.am: * addressbook/gui/component/addressbook-component.c (addressbook_component_class_init): Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and add bindtextdomain(). * calendar/gui/Makefile.am: * calendar/gui/calendar-component.c (calendar_component_class_init): * calendar/gui/dialogs/comp-editor.c: * calendar/gui/memos-component.c (memos_component_class_init): * calendar/gui/tasks-component.c (tasks_component_class_init): Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and add bindtextdomain(). * composer/e-composer-header-table.c: * composer/e-composer-private.h: Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>. * mail/mail-component.c (mail_component_class_init): Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and add bindtextdomain(). * shell/e-user-creatable-items-handler.c (e_user_creatable_items_handler_class_ini): Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and add bindtextdomain(). * widgets/misc/e-charset-picker.c: * widgets/misc/e-signature-combo-box.c: Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>. svn path=/trunk/; revision=37021
* Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-241-13/+13
| | | | svn path=/trunk/; revision=36443
* Milan Crha <mcrha@redhat.com> ** Fix for bug #416258 (Evolution "New Mail" ↵Suman Manjunath2008-08-181-2/+11
| | | | | | icon is wrong size). svn path=/trunk/; revision=36007
* ** Fix for bug #542889Paolo Borelli2008-07-141-10/+3
| | | | | | | | | | | 2008-17-14 Paolo Borelli <pborelli@katamail.com> ** Fix for bug #542889 Port to the new gtk tooltip api. svn path=/trunk/; revision=35744
* Remove more unused files.Matthew Barnes2008-07-121-1/+0
| | | | | | | | | | | | | 2008-07-12 Matthew Barnes <mbarnes@redhat.com> * shell/e-shell-utils.[ch]: Remove more unused files. * shell/e-user-creatable-items-handler.c: Remove inclusion of "e-shell-utils.h". svn path=/trunk/; revision=35739
* 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-8/+1
| | | | | | | | | | 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
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-11/+11
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Miscellaneous compiler warning fixes.Matthew Barnes2007-11-011-1/+1
| | | | | | | | | | | | | | | | 2007-11-01 Matthew Barnes <mbarnes@redhat.com> ** Miscellaneous compiler warning fixes. * composer/e-msg-composer.c (e_msg_composer_set_body_text): * shell/e-user-creatable-items-handler.c (ensure_menu_items): Don't compare a character pointer to a string literal. * widgets/table/e-table-click-to-add.c (etcta_add_message): Fix a const warning. svn path=/trunk/; revision=34476
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-3/+3
| | | | 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
* Plugged memory leaks.Hiroyuki Ikezoe2007-07-261-0/+2
| | | | | | | | | | | | | 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-shell-window-command.c: (view_statusbar_item_toggled_handler), (view_sidebar_item_toggled_handler): * e-shell-window.c: (setup_status_bar): * e-user-creatable-items-handler.c: (setup_toolbar_button): Plugged memory leaks. svn path=/trunk/; revision=33851
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-2/+1
| | | | 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
* ** Fixes bug #346317Srinivasa Ragavan2006-08-221-1/+1
| | | | svn path=/trunk/; revision=32621
* Plug some leaks.Kjartan Maraas2006-08-171-0/+2
| | | | | | | | | 2006-08-17 Kjartan Maraas <kmaraas@gnome.org> * e-user-creatable-items-handler.c: (new_button_change), (setup_toolbar_button): Plug some leaks. svn path=/trunk/; revision=32559
* Fix for bug #345331Srinivasa Ragavan2006-07-141-6/+5
| | | | svn path=/trunk/; revision=32302
* ** Fixes bug #347182Hiroyuki Ikezoe2006-07-121-48/+30
| | | | | | | | | | | * e-user-creatable-items-handlers.c: (set_combo_button_style): New function. (new_button_change): Call set_combo_button_style. (setup_toolbar_button): Call set_combo_button_style. * misc/e-combo-button.c: (e_combo_button_set_label): Removed needless g_return_if_fail(). svn path=/trunk/; revision=32294
* Fix for minor packing issue in New button.Srinivasa Ragavan2006-06-211-1/+1
| | | | svn path=/trunk/; revision=32185
* Fix for bug #252814Srinivasa Ragavan2006-06-191-7/+74
| | | | svn path=/trunk/; revision=32170
* 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