[brasero] Reset the icon after a successful dummy burn



commit 07bdd891f7a7ba9232223cc3d9d91b5e4db2c857
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri Oct 16 20:20:44 2009 +0200

    Reset the icon after a successful dummy burn

 libbrasero-burn/brasero-burn-dialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn-dialog.c b/libbrasero-burn/brasero-burn-dialog.c
index 3170419..092653e 100644
--- a/libbrasero-burn/brasero-burn-dialog.c
+++ b/libbrasero-burn/brasero-burn-dialog.c
@@ -1296,6 +1296,10 @@ brasero_burn_dialog_dummy_success_cb (BraseroBurn *burn,
 	g_timer_start (priv->total_time);
 
 	if (answer == GTK_RESPONSE_OK) {
+		if (priv->initial_icon)
+			gtk_window_set_icon_name (GTK_WINDOW (dialog), priv->initial_icon);
+		else
+			gtk_window_set_icon_name (GTK_WINDOW (dialog), "brasero-00.png");
 		brasero_burn_dialog_update_info (dialog,
 		                                 &priv->input,
 		                                 FALSE);



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