aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook-view.c8
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c8
3 files changed, 22 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 32e8c0bae0..43398528a2 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-06 Vivek Jain <jvivek@novell.com>
+
+ * gui/component/addressbook-view.c: (popup_event_callback)
+ * gui/widget/e-addressbook-view.c :(do_popup_menu)
+ added comments about the hookpoints
+
2005-07-06 Srinivasa Ragavan <sragavan@novell.com>
* gui/widgets/eab-gui-util.c: (contact_added_cb): Fixed for bug
309245.
diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c
index c9892a91c7..87d25df125 100644
--- a/addressbook/gui/component/addressbook-view.c
+++ b/addressbook/gui/component/addressbook-view.c
@@ -775,6 +775,14 @@ popup_event_callback(ESourceSelector *selector, ESource *source, GdkEventButton
int i;
GtkMenu *menu;
+ /** @HookPoint-EABPopup:Addressbook Source Selector Context Menu
+ * @Id: org.gnome.evolution.addressbook.source.popup
+ * @Class: org.gnome.evolution.addresbook.popup:1.0
+ * @Target: EABPopupTargetSource
+ *
+ * The context menu on the source selector in the contacts window.
+ */
+
ep = eab_popup_new("org.gnome.evolution.addressbook.source.popup");
t = eab_popup_target_new_source(ep, selector);
t->target.widget = (GtkWidget *)view->priv->notebook;
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 106f53292c..276567e6cc 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -999,6 +999,14 @@ do_popup_menu(EABView *view, GdkEvent *event)
contact_and_book->closure = cards;
e_selection_model_foreach(selection_model, get_card_1, contact_and_book);
}
+
+ /** @HookPoint-EABPopup:Addressbook view Context Menu
+ * @Id: org.gnome.evolution.addressbook.view.popup
+ * @Class: org.gnome.evolution.addresbook.popup:1.0
+ * @Target: EABPopupTargetSelect
+ *
+ * The context menu on the contacts view.
+ */
ep = eab_popup_new("org.gnome.evolution.addressbook.view.popup");
t = eab_popup_target_new_select(ep, view->book, !eab_model_editable(view->model), cards);