[evolution-patches] Fix for 242154 (Address Book)
- From: Srinivasa Ragavan <sragavan novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] Fix for 242154 (Address Book)
- Date: Tue, 28 Jun 2005 16:02:38 +0530
Hi,
I have attached the patch. It adds a open menu item to r-click menu.
Ill add changelog while commiting.
-Srini
Index: widgets/e-addressbook-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-addressbook-view.c,v
retrieving revision 1.165
diff -u -p -r1.165 e-addressbook-view.c
--- widgets/e-addressbook-view.c 17 Jun 2005 15:20:26 -0000 1.165
+++ widgets/e-addressbook-view.c 28 Jun 2005 09:23:38 -0000
@@ -897,6 +897,15 @@ move_to_folder (EPopup *ep, EPopupItem *
}
static void
+open_contact (EPopup *ep, EPopupItem *pitem, void *data)
+{
+ ContactAndBook *contact_and_book = data;
+
+ eab_view_view (contact_and_book->view);
+}
+
+
+static void
new_card (EPopup *ep, EPopupItem *pitem, void *data)
{
/*ContactAndBook *contact_and_book = data;*/
@@ -917,6 +926,8 @@ new_list (EPopup *ep, EPopupItem *pitem,
}
static EPopupItem eabv_popup_items[] = {
+ { E_POPUP_ITEM, "01.open", N_("_Open"), open_contact, NULL, NULL, 0, EAB_POPUP_SELECT_ANY|EAB_POPUP_SELECT_EDITABLE },
+ { E_POPUP_BAR, "10.bar" },
{ E_POPUP_ITEM, "10.new", N_("New Contact..."), new_card, NULL, "stock_contact", 0, EAB_POPUP_SELECT_EDITABLE},
{ E_POPUP_ITEM, "15.newlist", N_("New Contact List..."), new_list, NULL, "stock_contact-list", 0, EAB_POPUP_SELECT_EDITABLE },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]