source-dialog: hide itself on response event

This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:36:55 -04:00
committed by Erick Pérez Castellanos
parent bb67518418
commit 87c02b520a
2 changed files with 2 additions and 3 deletions
+2
View File
@@ -757,6 +757,8 @@ response_signal (GtkDialog *dialog,
g_list_free_full (priv->remote_sources, g_object_unref);
priv->remote_sources = NULL;
}
gtk_widget_hide (GTK_WIDGET (dialog));
}
static gboolean
-3
View File
@@ -909,7 +909,6 @@ show_source_dialog (GtkButton *button,
gtk_widget_hide (priv->calendar_popover);
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
gtk_widget_hide (priv->source_dialog);
}
static void
@@ -932,8 +931,6 @@ source_row_activated (GtkListBox *listbox,
gtk_widget_hide (priv->calendar_popover);
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
gtk_widget_hide (priv->source_dialog);
}
static void