evolution r34844 - in trunk/calendar: . gui
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34844 - in trunk/calendar: . gui
- Date: Thu, 17 Jan 2008 09:59:50 +0000 (GMT)
Author: mcrha
Date: Thu Jan 17 09:59:50 2008
New Revision: 34844
URL: http://svn.gnome.org/viewvc/evolution?rev=34844&view=rev
Log:
2008-01-17 Milan Crha <mcrha redhat com>
** Fix for bug #509879
* gui/e-memos.c: (struct _EMemosPrivate), (update_view_cb),
(setup_widgets), (e_memos_destroy):
Drop code to clear memo preview every 60 seconds.
Modified:
trunk/calendar/ChangeLog
trunk/calendar/gui/e-memos.c
Modified: trunk/calendar/gui/e-memos.c
==============================================================================
--- trunk/calendar/gui/e-memos.c (original)
+++ trunk/calendar/gui/e-memos.c Thu Jan 17 09:59:50 2008
@@ -86,7 +86,6 @@
gchar *current_uid;
char *sexp;
- guint update_timeout;
/* View instance and the view menus handler */
GalViewInstance *view_instance;
@@ -295,14 +294,6 @@
e_cal_component_memo_preview_clear (E_CAL_COMPONENT_MEMO_PREVIEW (priv->preview));
}
-static gboolean
-update_view_cb (EMemos *memos)
-{
- update_view (memos);
-
- return TRUE;
-}
-
static void
model_row_changed_cb (ETableModel *etm, int row, gpointer data)
{
@@ -549,9 +540,6 @@
g_signal_connect (etable, "cursor_change", G_CALLBACK (table_cursor_change_cb), memos);
g_signal_connect (etable, "selection_change", G_CALLBACK (table_selection_change_cb), memos);
- /* Timeout check to hide completed items */
- priv->update_timeout = g_timeout_add_full (G_PRIORITY_LOW, 60000, (GSourceFunc) update_view_cb, memos, NULL);
-
/* create the memo detail */
priv->preview = e_cal_component_memo_preview_new ();
e_cal_component_memo_preview_set_default_timezone (E_CAL_COMPONENT_MEMO_PREVIEW (priv->preview), calendar_config_get_icaltimezone ());
@@ -744,11 +732,6 @@
priv->sexp = NULL;
}
- if (priv->update_timeout) {
- g_source_remove (priv->update_timeout);
- priv->update_timeout = 0;
- }
-
if (priv->memos_view_config) {
g_object_unref (priv->memos_view_config);
priv->memos_view_config = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]