[brasero/gnome-2-30] 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/gnome-2-30] Close any GtkFileChooserDialog if the user clicks to display the side pane
- Date: Tue, 6 Jul 2010 14:21:32 +0000 (UTC)
commit 2c53d9350e5d47abc2ab0c53bc22102c2cb45792
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 4591e04..7f7fa9f 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -2012,6 +2012,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]