aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-14 01:17:32 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-14 01:17:32 +0800
commit3f529345a9711a3462525619c024b8344f81e356 (patch)
treed63b85bb01222a07140cf9205a5d63d02b446f44 /calendar
parent26b7d1f342e19ed828c4d3a3b99b15987fddeb94 (diff)
downloadgsoc2013-evolution-3f529345a9711a3462525619c024b8344f81e356.tar
gsoc2013-evolution-3f529345a9711a3462525619c024b8344f81e356.tar.gz
gsoc2013-evolution-3f529345a9711a3462525619c024b8344f81e356.tar.bz2
gsoc2013-evolution-3f529345a9711a3462525619c024b8344f81e356.tar.lz
gsoc2013-evolution-3f529345a9711a3462525619c024b8344f81e356.tar.xz
gsoc2013-evolution-3f529345a9711a3462525619c024b8344f81e356.tar.zst
gsoc2013-evolution-3f529345a9711a3462525619c024b8344f81e356.zip
Bug #630490 - Not visible calendar color change immediately
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/calendar-setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c
index 5df14cf368..c03e53fd2f 100644
--- a/calendar/gui/dialogs/calendar-setup.c
+++ b/calendar/gui/dialogs/calendar-setup.c
@@ -30,6 +30,7 @@
#include <libedataserver/e-source.h>
#include <libedataserver/e-source-list.h>
+#include <shell/e-shell.h>
#include <glib/gi18n.h>
#include <libecal/e-cal.h>
#include "calendar-setup.h"
@@ -76,6 +77,7 @@ eccp_commit (EConfig *ec, GSList *items, gpointer data)
{
CalendarSourceDialog *sdialog = data;
xmlNodePtr xml;
+ GtkWindow *window;
if (sdialog->original_source) {
const gchar *color_spec;
@@ -92,6 +94,10 @@ eccp_commit (EConfig *ec, GSList *items, gpointer data)
e_source_group_add_source (sdialog->source_group, sdialog->source, -1);
e_source_list_sync (sdialog->source_list, NULL);
}
+
+ window = e_shell_get_active_window (e_shell_get_default ());
+ if (window)
+ gtk_widget_queue_draw (GTK_WIDGET (window));
}
static void