aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-17 17:59:50 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-17 17:59:50 +0800
commit9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764 (patch)
tree102e917c2d2e723a16de9168e8cb9bbb66ed7214
parent864ab0d253bf176f999792bf67bd590a37a9883b (diff)
downloadgsoc2013-evolution-9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764.tar
gsoc2013-evolution-9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764.tar.gz
gsoc2013-evolution-9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764.tar.bz2
gsoc2013-evolution-9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764.tar.lz
gsoc2013-evolution-9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764.tar.xz
gsoc2013-evolution-9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764.tar.zst
gsoc2013-evolution-9dcaf525dc975c1d3bbc9505f62ba8d5c80e3764.zip
** Fix for bug #509879
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. svn path=/trunk/; revision=34844
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/e-memos.c17
2 files changed, 8 insertions, 17 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 11dcd44688..d333e90f5d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2008-01-17 Suman Manjunath <msuman@novell.com>
** Fix for bug #426159
diff --git a/calendar/gui/e-memos.c b/calendar/gui/e-memos.c
index a782204297..397e0fd17c 100644
--- a/calendar/gui/e-memos.c
+++ b/calendar/gui/e-memos.c
@@ -86,7 +86,6 @@ struct _EMemosPrivate {
gchar *current_uid;
char *sexp;
- guint update_timeout;
/* View instance and the view menus handler */
GalViewInstance *view_instance;
@@ -295,14 +294,6 @@ update_view (EMemos *memos)
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 @@ setup_widgets (EMemos *memos)
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 @@ e_memos_destroy (GtkObject *object)
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;