aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-list-view.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-list-view.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-list-view.c')
-rw-r--r--calendar/gui/e-meeting-list-view.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c
index 5613f6adea..55d73a7f80 100644
--- a/calendar/gui/e-meeting-list-view.c
+++ b/calendar/gui/e-meeting-list-view.c
@@ -304,6 +304,29 @@ e_meeting_list_view_column_set_visible (EMeetingListView *view, const gchar *col
}
}
+void
+e_meeting_list_view_edit (EMeetingListView *emlv, EMeetingAttendee *attendee)
+{
+ EMeetingListViewPrivate *priv;
+ GtkTreePath *path;
+ GtkTreeViewColumn *focus_col;
+
+ priv = emlv->priv;
+
+ g_return_if_fail (emlv != NULL);
+ g_return_if_fail (E_IS_MEETING_LIST_VIEW (emlv));
+ g_return_if_fail (attendee != NULL);
+
+ path = e_meeting_store_find_attendee_path (priv->store, attendee);
+ focus_col = gtk_tree_view_get_column (GTK_TREE_VIEW (emlv), 0);
+
+ if (path) {
+ gtk_tree_view_set_cursor (GTK_TREE_VIEW (emlv), path, focus_col, TRUE);
+
+ gtk_tree_path_free (path);
+ }
+}
+
static void
process_section (EMeetingListView *view, EABDestination **cards, icalparameter_role role)
{