[evolution] Bug #630490 - Not visible calendar color change immediately
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #630490 - Not visible calendar color change immediately
- Date: Wed, 13 Oct 2010 17:18:16 +0000 (UTC)
commit 3f529345a9711a3462525619c024b8344f81e356
Author: Milan Crha <mcrha redhat com>
Date: Wed Oct 13 19:17:32 2010 +0200
Bug #630490 - Not visible calendar color change immediately
calendar/gui/dialogs/calendar-setup.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c
index 5df14cf..c03e53f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]