[brasero] Set the icon on the right widget (not the contents but the window)
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Set the icon on the right widget (not the contents but the window)
- Date: Sat, 17 Oct 2009 19:10:17 +0000 (UTC)
commit 8d15f0e972a99354c63be02f9a518feb62f6537b
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sat Oct 17 20:28:33 2009 +0200
Set the icon on the right widget (not the contents but the window)
libbrasero-burn/brasero-medium-properties.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libbrasero-burn/brasero-medium-properties.c b/libbrasero-burn/brasero-medium-properties.c
index 525d538..c6d5760 100644
--- a/libbrasero-burn/brasero-medium-properties.c
+++ b/libbrasero-burn/brasero-medium-properties.c
@@ -87,10 +87,6 @@ brasero_medium_properties_drive_properties (BraseroMediumProperties *self)
medium_prop = brasero_drive_properties_new (BRASERO_SESSION_CFG (priv->session));
gtk_widget_show (medium_prop);
- toplevel = gtk_widget_get_toplevel (GTK_WIDGET (self));
- gtk_window_set_icon_name (GTK_WINDOW (medium_prop),
- gtk_window_get_icon_name (GTK_WINDOW (toplevel)));
-
drive = brasero_burn_session_get_burner (priv->session);
display_name = brasero_drive_get_display_name (drive);
header = g_strdup_printf (_("Properties of %s"), display_name);
@@ -105,6 +101,10 @@ brasero_medium_properties_drive_properties (BraseroMediumProperties *self)
NULL);
g_free (header);
+ toplevel = gtk_widget_get_toplevel (GTK_WIDGET (self));
+ gtk_window_set_icon_name (GTK_WINDOW (dialog),
+ gtk_window_get_icon_name (GTK_WINDOW (toplevel)));
+
box = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
gtk_box_pack_start (GTK_BOX (box), medium_prop, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]