From 670e6d167863d4c8d8dde107e7d8ac7a288e0b52 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 6 Aug 2008 15:44:47 +0000 Subject: ** Fix for bug #249844 2008-08-06 Milan Crha ** Fix for bug #249844 * addressbook/gui/component/addressbook-component.c: * calendar/gui/tasks-component.c: (impl__get_userCreatableItems): * calendar/gui/memos-component.c: (impl__get_userCreatableItems): * mail/mail-component.c: (impl__get_userCreatableItems): * shell/test/evolution-test-component.c: (impl__get_userCreatableItems): (impl__get_userCreatableItems): Do not let compiler claim. * mail/em-event.h: (struct _EMEventTargetCustomIcon): Declare 'folder_name' as const char * to let compiler happy; no copy of the pointer anyway. * calendar/gui/calendar-component.c: (impl__get_userCreatableItems): Use C_() macro instead of Q_() macro. Use fully qualified names for "New" submenu entries. svn path=/trunk/; revision=35916 --- addressbook/gui/component/addressbook-component.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addressbook/gui/component/addressbook-component.c') diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index cc109fb0a3..82f00f00c3 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -226,7 +226,7 @@ impl__get_userCreatableItems (PortableServer_Servant servant, list->_buffer[0].id = "contact"; list->_buffer[0].description = _("New Contact"); - list->_buffer[0].menuDescription = C_("New", "_Contact"); + list->_buffer[0].menuDescription = (char *) C_("New", "_Contact"); list->_buffer[0].tooltip = _("Create a new contact"); list->_buffer[0].menuShortcut = 'c'; list->_buffer[0].iconName = "contact-new"; @@ -234,7 +234,7 @@ impl__get_userCreatableItems (PortableServer_Servant servant, list->_buffer[1].id = "contact_list"; list->_buffer[1].description = _("New Contact List"); - list->_buffer[1].menuDescription = C_("New", "Contact _List"); + list->_buffer[1].menuDescription = (char *) C_("New", "Contact _List"); list->_buffer[1].tooltip = _("Create a new contact list"); list->_buffer[1].menuShortcut = 'l'; list->_buffer[1].iconName = "stock_contact-list"; @@ -242,7 +242,7 @@ impl__get_userCreatableItems (PortableServer_Servant servant, list->_buffer[2].id = "address_book"; list->_buffer[2].description = _("New Address Book"); - list->_buffer[2].menuDescription = C_("New", "Address _Book"); + list->_buffer[2].menuDescription = (char *) C_("New", "Address _Book"); list->_buffer[2].tooltip = _("Create a new address book"); list->_buffer[2].menuShortcut = '\0'; list->_buffer[2].iconName = "address-book-new"; -- cgit v1.2.3