From 59a7001d0a4cdf33da72bc036998addecfa187c5 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 29 Oct 2012 12:13:38 +0100 Subject: make hide_all_appointments() do what its function name says it does. --- src/datetime-service.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/datetime-service.c b/src/datetime-service.c index b34c23e..ea79788 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -399,8 +399,10 @@ hide_all_appointments (void) { int i; - for (i=0; i Date: Mon, 29 Oct 2012 12:15:08 +0100 Subject: in day_selected_cb(), remove the call to hide_all_appointments() to avoid flicker coming from the idle interval between this func and update_appointment_menu_items_idle(). Suggested by thjaeger. --- src/datetime-service.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/datetime-service.c b/src/datetime-service.c index ea79788..d4bd95a 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -448,8 +448,6 @@ day_selected_cb (DbusmenuMenuitem * menuitem, gchar *name, GVariant *variant, gu } } - hide_all_appointments (); - start_time_appointments = new_time; g_debug("Received day-selected with timestamp: %d -> %s",(int)start_time_appointments, ctime(&start_time_appointments)); -- cgit v1.2.3 From a4700c3cd510f6a0c8feba8fe34c35e306b222c0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 1 Nov 2012 09:48:42 +0100 Subject: in month_changed_cb(), remove the call to hide_all_appointments() to avoid flicker, same idea as previous commit. --- src/datetime-service.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/datetime-service.c b/src/datetime-service.c index d4bd95a..e08e50d 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -417,8 +417,6 @@ month_changed_cb (DbusmenuMenuitem * menuitem, gchar *name, GVariant *variant, g user. */ dbusmenu_menuitem_property_remove(menuitem, CALENDAR_MENUITEM_PROP_MARKS); - hide_all_appointments (); - g_idle_add(update_appointment_menu_items_idle, NULL); return TRUE; } -- cgit v1.2.3