aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-view.c8
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c8
2 files changed, 16 insertions, 0 deletions
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);