Commit Graph

27 Commits

Author SHA1 Message Date
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
88a914e0e8 ** Miscellaneous compiler warning fixes.
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
2007-11-01 11:26:50 +00:00
d440df54a8 ** Fix for bug #471791 (Move away from asserts to g_ret*)
svn path=/trunk/; revision=34159
2007-09-02 18:56:05 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
0aa26a1e49 Plugged memory leaks.
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
2007-07-26 12:35:14 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
cba3097cad ** Fixes bug #419524
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
2007-03-20 17:23:58 +00:00
4049dece23 ** Fixes bug #346317
svn path=/trunk/; revision=32621
2006-08-22 05:03:42 +00:00
cb929003a2 Plug some leaks.
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
2006-08-17 06:54:13 +00:00
158c89195b Fix for bug #345331
svn path=/trunk/; revision=32302
2006-07-13 18:16:54 +00:00
2fb0e7f837 ** Fixes bug #347182
* 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
2006-07-12 06:49:14 +00:00
d0529b0b4a Fix for minor packing issue in New button.
svn path=/trunk/; revision=32185
2006-06-21 11:06:40 +00:00
6012329728 Fix for bug #252814
svn path=/trunk/; revision=32170
2006-06-19 10:00:18 +00:00
1f2222c796 adding a check to make sure the shortcut key is not the NUL byte. Fixes
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
2006-01-23 16:48:05 +00:00
df07f02cae Added widgets in INCLUDES.
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
2005-06-23 09:11:11 +00:00
a0da580e7e Convert to G_DEFINE_TYPE
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
2004-12-21 15:42:46 +00:00
aa73155f14 free priv->menu_xml. plugs (big) leak.
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
2004-06-22 00:44:58 +00:00
bb6445c7f1 if we're running a local create, invoke that directly via the callback.
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
2004-04-21 04:08:55 +00:00
c2d1540171 Same.
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
2004-04-19 21:49:10 +00:00
9b8a686094 Change component icons to use the icon theme names for icons Remove
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
2004-04-19 15:17:54 +00:00
cf89e7ea3f add a component name argument, so we don't use 'this_component', and
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
2004-04-13 10:37:19 +00:00
7f2badb024 Change this a lot. Now each component will maintain its own
* 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
2004-04-09 15:46:00 +00:00
39c72b8943 only add the component to the list if we actually create it
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
2003-12-14 15:54:39 +00:00
7af66de023 Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill the
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
2003-12-01 22:14:43 +00:00
8f502cffbc Do not #include "e-local-folder.h".
* 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
2003-11-17 19:12:04 +00:00
4c1f563a18 (ensure_menu_items): Reverse
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
2003-11-13 13:42:35 +00:00
7a5ecfbb6c New signal "component_changed". (class_init): Install. (switch_view):
* 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
2003-11-13 05:56:14 +00:00