[brasero] Try to reduce stacking problems



commit dbe27697aa7dcd98bb212afc652b8c50024c2887
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Thu Aug 6 13:19:40 2009 +0200

    Try to reduce stacking problems

 libbrasero-utils/brasero-tool-color-picker.c |    1 +
 src/brasero-app.c                            |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-utils/brasero-tool-color-picker.c b/libbrasero-utils/brasero-tool-color-picker.c
index e756e0d..7589783 100644
--- a/libbrasero-utils/brasero-tool-color-picker.c
+++ b/libbrasero-utils/brasero-tool-color-picker.c
@@ -186,6 +186,7 @@ brasero_tool_color_picker_clicked (BraseroToolColorPicker *self,
 			  self);
 
 	priv->dialog = dialog;
+	gtk_widget_show (dialog);
 	gtk_window_present (GTK_WINDOW (dialog));
 }
 
diff --git a/src/brasero-app.c b/src/brasero-app.c
index 852202f..d480a2a 100644
--- a/src/brasero-app.c
+++ b/src/brasero-app.c
@@ -1455,8 +1455,10 @@ brasero_app_unique_message (UniqueApp *uapp,
 
 	priv = BRASERO_APP_PRIVATE (app);
 	if (command == UNIQUE_ACTIVATE) {
-		if (priv->mainwin_running)
+		if (priv->mainwin_running) {
+			gtk_widget_show (priv->mainwin);
 			gtk_window_present (GTK_WINDOW (priv->mainwin));
+		}
 	}
 
 	return UNIQUE_RESPONSE_OK;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]