diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2008-12-15 14:37:57 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2008-12-15 14:37:57 +0800 |
commit | b6c295f4e4fe22e292db9773151d17a83703982b (patch) | |
tree | 0b9aa2dfe1b6a96a28113de508bb9e6c2c9a9578 | |
parent | 200ff2ee9785a4d887a814003a6056008dff8101 (diff) | |
download | gsoc2013-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
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-meeting-list-view.c | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4ba7876416..042df39f73 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +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): + 2008-12-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #333224 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 (); |