[brasero] Close any GtkFileChooserDialog if the user clicks to display the side pane
- From: Philippe Rouquier <philippr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero] Close any GtkFileChooserDialog if the user clicks to display the side pane
- Date: Tue, 6 Jul 2010 14:22:21 +0000 (UTC)
commit d4f773fd25d5e7b4a451aac77349a4f5428dc472
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Tue Jul 6 15:36:45 2010 +0200
Close any GtkFileChooserDialog if the user clicks to display the side pane
src/brasero-project.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/brasero-project.c b/src/brasero-project.c
index 37a75f6..719691c 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -2023,6 +2023,9 @@ void
brasero_project_set_source (BraseroProject *project,
BraseroURIContainer *source)
{
+ if (project->priv->chooser)
+ gtk_dialog_response (GTK_DIALOG (project->priv->chooser), GTK_RESPONSE_CANCEL);
+
if (project->priv->activated_id) {
g_signal_handler_disconnect (project->priv->current_source,
project->priv->activated_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]