aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/calendar-component.c7
-rw-r--r--calendar/gui/e-calendar-table.c7
-rw-r--r--calendar/gui/e-calendar-view.c8
-rw-r--r--calendar/gui/tasks-component.c7
5 files changed, 36 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 2c0e998a2a..79099b528e 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-28 Not Zed <NotZed@Ximian.com>
+
+ * gui/tasks-component.c (popup_event_cb):
+ * gui/e-calendar-view.c (e_calendar_view_create_popup_menu):
+ * gui/e-calendar-table.c (e_calendar_table_show_popup_menu):
+ * gui/calendar-component.c (popup_event_cb): added hook doco.
+
2004-10-27 Rodrigo Moya <rodrigo@novell.com>
* gui/e-cal-list-view.c (e_cal_list_view_new): don't expand recurrences
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index d5f90e0daa..70b9ccd22c 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -401,6 +401,13 @@ popup_event_cb(ESourceSelector *selector, ESource *insource, GdkEventButton *eve
int i;
GtkMenu *menu;
+ /** @HookPoint-ECalPopup: Calendar Source Selector Context Menu
+ * @Id: org.gnome.evolution.calendar.source.popup
+ * @Class: org.gnome.evolution.calendar.popup:1.0
+ * @Target: ECalPopupTargetSource
+ *
+ * The context menu on the source selector in the calendar window.
+ */
ep = e_cal_popup_new("org.gnome.evolution.calendar.source.popup");
t = e_cal_popup_target_new_source(ep, selector);
t->target.widget = (GtkWidget *)component_view->calendar;
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index e324188c45..1a8020aa02 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -1188,6 +1188,13 @@ e_calendar_table_show_popup_menu (ETable *table,
if (!selection)
return TRUE;
+ /** @HookPoint-ECalPopup: Tasks Table Context Menu
+ * @Id: org.gnome.evolution.tasks.table.popup
+ * @Class: org.gnome.evolution.calendar.popup:1.0
+ * @Target: ECalPopupTargetSelect
+ *
+ * The context menu on the tasks table.
+ */
ep = e_cal_popup_new("org.gnome.evolution.tasks.table.popup");
events = g_ptr_array_new();
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 3d812da9fa..c831711779 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1419,6 +1419,14 @@ e_calendar_view_create_popup_menu (ECalendarView *cal_view)
* menu was created rather than everyone having to call us.
* We could also have a different menu id for each view */
+ /** @HookPoint-ECalPopup: Calendar Main View Context Menu
+ * @Id: org.gnome.evolution.calendar.view.popup
+ * @Class: org.gnome.evolution.calendar.popup:1.0
+ * @Target: ECalPopupTargetSelect
+ *
+ * The context menu on the main calendar view. This menu
+ * applies to all view types.
+ */
ep = e_cal_popup_new("org.gnome.evolution.calendar.view.popup");
model = e_calendar_view_get_model(cal_view);
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 3b02c45ad8..8060c5f77d 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -346,6 +346,13 @@ popup_event_cb(ESourceSelector *selector, ESource *insource, GdkEventButton *eve
int i;
GtkMenu *menu;
+ /** @HookPoint-ECalPopup: Tasks Source Selector Context Menu
+ * @Id: org.gnome.evolution.tasks.source.popup
+ * @Class: org.gnome.evolution.calendar.popup:1.0
+ * @Target: ECalPopupTargetSource
+ *
+ * The context menu on the source selector in the tasks window.
+ */
ep = e_cal_popup_new("org.gnome.evolution.tasks.source.popup");
t = e_cal_popup_target_new_source(ep, selector);
t->target.widget = (GtkWidget *)component_view->tasks;