[gnome-logs] eventviewlist: remove idle when switching pages
- From: Lars Uebernickel <larsu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] eventviewlist: remove idle when switching pages
- Date: Mon, 16 Feb 2015 07:19:25 +0000 (UTC)
commit 833ecfc77c866081243d1efc73ca5f0ab1112201
Author: Lars Uebernickel <lars uebernic de>
Date: Sat Feb 14 19:42:13 2015 +0100
eventviewlist: remove idle when switching pages
src/gl-eventviewlist.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-eventviewlist.c b/src/gl-eventviewlist.c
index 27ed874..21ed1b6 100644
--- a/src/gl-eventviewlist.c
+++ b/src/gl-eventviewlist.c
@@ -421,6 +421,12 @@ on_notify_category (GlCategoryList *list,
priv = gl_event_view_list_get_instance_private (view);
filter = gl_category_list_get_category (list);
+ if (priv->insert_idle_id)
+ {
+ g_source_remove (priv->insert_idle_id);
+ priv->insert_idle_id = 0;
+ }
+
if (priv->active_listbox)
{
GtkWidget *child;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]