aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-store.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-12-25 01:39:04 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-12-25 01:39:04 +0800
commitb4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05 (patch)
treeb640ea2240743c4e0c6df3a9234c2650f2d4b4d6 /calendar/gui/e-meeting-store.c
parent978af43d69587e93fba2e861e9fa33ffa198b0e0 (diff)
downloadgsoc2013-evolution-b4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05.tar
gsoc2013-evolution-b4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05.tar.gz
gsoc2013-evolution-b4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05.tar.bz2
gsoc2013-evolution-b4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05.tar.lz
gsoc2013-evolution-b4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05.tar.xz
gsoc2013-evolution-b4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05.tar.zst
gsoc2013-evolution-b4bd1b2b1e3c9fa91804c2a27eb3bd35171d8d05.zip
fix the signal name
2003-12-24 JP Rosevear <jpr@ximian.com> * gui/e-select-names-renderer.c (esnr_start_editing): fix the signal name * gui/dialogs/meeting-page.glade: add Add Attendee button * gui/dialogs/meeting-page.c (get_widgets): extract add button (add_clicked_cb): edit the attendee after we add it (init_widgets): listen for add clicked (meeting_page_construct): the add button is in the glade file now * gui/e-select-names-editable.c (esne_start_editing): activate the control (e_select_names_editable_get_address): handle null dest (e_select_names_editable_get_name): ditto * gui/e-meeting-store.h: add proto * gui/e-meeting-store.c (e_meeting_store_find_attendee_path): create the path to a given attendee * gui/e-meeting-list-view.h: add proto * gui/e-meeting-list-view.c (e_meeting_list_view_edit): start editing the address of a particular svn path=/trunk/; revision=24009
Diffstat (limited to 'calendar/gui/e-meeting-store.c')
-rw-r--r--calendar/gui/e-meeting-store.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 01ac267fe1..93af7cc280 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -860,6 +860,28 @@ e_meeting_store_find_attendee_at_row (EMeetingStore *store, gint row)
return g_ptr_array_index (store->priv->attendees, row);
}
+GtkTreePath *
+e_meeting_store_find_attendee_path (EMeetingStore *store, EMeetingAttendee *attendee)
+{
+ GtkTreePath *path;
+ gint row = -1, i;
+
+ for (i = 0; i < store->priv->attendees->len; i++) {
+ if (attendee == g_ptr_array_index (store->priv->attendees, i)) {
+ row = i;
+ break;
+ }
+ }
+
+ if (row == -1)
+ return NULL;
+
+ path = gtk_tree_path_new ();
+ gtk_tree_path_append_index (path, row);
+
+ return path;
+}
+
gint
e_meeting_store_count_actual_attendees (EMeetingStore *store)
{