aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-12-15 14:37:57 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-12-15 14:37:57 +0800
commitb6c295f4e4fe22e292db9773151d17a83703982b (patch)
tree0b9aa2dfe1b6a96a28113de508bb9e6c2c9a9578 /calendar/gui
parent200ff2ee9785a4d887a814003a6056008dff8101 (diff)
downloadgsoc2013-evolution-b6c295f4e4fe22e292db9773151d17a83703982b.tar.gz
gsoc2013-evolution-b6c295f4e4fe22e292db9773151d17a83703982b.tar.zst
gsoc2013-evolution-b6c295f4e4fe22e292db9773151d17a83703982b.zip
** Fix for BNC bug #435452
2008-12-15 Srinivasa Ragavan <sragavan@novell.com> ** Fix for BNC bug #435452 * gui/e-meeting-list-view.c: (ense_update), (editing_started_cb), (build_table): svn path=/trunk/; revision=36880
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-meeting-list-view.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c
index 8d747a7be1..d1613fd6df 100644
--- a/calendar/gui/e-meeting-list-view.c
+++ b/calendar/gui/e-meeting-list-view.c
@@ -471,6 +471,21 @@ status_edited_cb (GtkCellRenderer *renderer, const gchar *path, const gchar *tex
}
static void
+ense_update (GtkWidget *w, gpointer data1, gpointer user_data)
+{
+ gtk_cell_editable_editing_done ((GtkCellEditable *)w);
+}
+
+static void
+editing_started_cb (GtkCellRenderer *renderer,
+ GtkCellEditable *editable,
+ gchar *path,
+ gpointer user_data)
+{
+ g_signal_connect (editable, "updated", G_CALLBACK(ense_update), NULL);
+}
+
+static void
build_table (EMeetingListView *lview)
{
GtkCellRenderer *renderer;
@@ -501,6 +516,8 @@ build_table (EMeetingListView *lview)
g_object_set_data (G_OBJECT (col), "mtg-store-col", GINT_TO_POINTER (E_MEETING_STORE_ATTENDEE_COL));
g_signal_connect (renderer, "cell_edited", G_CALLBACK (attendee_edited_cb), view);
g_signal_connect (renderer, "editing-canceled", G_CALLBACK (attendee_editing_canceled_cb), view);
+ g_signal_connect (renderer, "editing-started", G_CALLBACK (editing_started_cb), view);
+
g_hash_table_insert (edit_table, GINT_TO_POINTER (E_MEETING_STORE_ATTENDEE_COL), renderer);
renderer = e_cell_renderer_combo_new ();