[gnome-calendar] source-dialog: correctly check the current stack page
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] source-dialog: correctly check the current stack page
- Date: Mon, 25 May 2015 16:55:20 +0000 (UTC)
commit ed572e1ff85fdb8111ae57e01a82f5ea71b3a14b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Apr 8 16:12:02 2015 -0300
source-dialog: correctly check the current stack page
src/gcal-source-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 3080130..a439bb6 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -227,7 +227,7 @@ back_button_clicked (GtkButton *button,
* go back to the GOA calendar selection page.
*/
- if (g_strcmp0 (gtk_stack_get_visible_child_name (GTK_STACK (priv->stack)), "edit"))
+ if (g_strcmp0 (gtk_stack_get_visible_child_name (GTK_STACK (priv->stack)), "edit") == 0)
{
gtk_stack_set_visible_child_name (GTK_STACK (priv->stack), "main");
gtk_widget_hide (GTK_WIDGET (button));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]