aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorVivek Jain <jvivek@novell.com>2005-07-06 21:29:58 +0800
committerJain Vivek <jvivek@src.gnome.org>2005-07-06 21:29:58 +0800
commitef3e5ba8988b7059995b89478bc1f1f3778add6f (patch)
treea749f1715a7f3dc6a6495c106e40043b55aad644 /addressbook/gui
parent40c45d1d8b106567731df406d101b9633a7cee6a (diff)
downloadgsoc2013-evolution-ef3e5ba8988b7059995b89478bc1f1f3778add6f.tar
gsoc2013-evolution-ef3e5ba8988b7059995b89478bc1f1f3778add6f.tar.gz
gsoc2013-evolution-ef3e5ba8988b7059995b89478bc1f1f3778add6f.tar.bz2
gsoc2013-evolution-ef3e5ba8988b7059995b89478bc1f1f3778add6f.tar.lz
gsoc2013-evolution-ef3e5ba8988b7059995b89478bc1f1f3778add6f.tar.xz
gsoc2013-evolution-ef3e5ba8988b7059995b89478bc1f1f3778add6f.tar.zst
gsoc2013-evolution-ef3e5ba8988b7059995b89478bc1f1f3778add6f.zip
added comments about the hookpoints
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 svn path=/trunk/; revision=29659
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);