[gnome-calendar] window: correctly set the source and mode
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: correctly set the source and mode
- Date: Mon, 25 May 2015 16:55:40 +0000 (UTC)
commit f70702a885ee8884b6b7130606d01dc1ffd81690
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Apr 8 16:46:20 2015 -0300
window: correctly set the source and mode
Cannot change to edit mode without actually
give the source to edit.
src/gcal-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 5799d43..6700148 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -917,8 +917,8 @@ source_row_activated (GtkListBox *listbox,
if (source == NULL)
return;
- gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_EDIT);
gcal_source_dialog_set_source (GCAL_SOURCE_DIALOG (priv->source_dialog), source);
+ gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_EDIT);
gtk_widget_hide (priv->calendar_popover);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]