[PATCH] Icon for the property window



The Nautilus Properties window seems to still be using the "cream puff"
icon.

Attached is a one-line patch that makes it use the icon from the
dialog's Basic page as the GtkWindow's icon.

IMHO this is a visual improvement, especially when Alt-Tabbing between
multiple Property windows.
-- 
David Malcolm
http://www.davemalcolm.demon.co.uk
Index: src/file-manager/fm-properties-window.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-properties-window.c,v
retrieving revision 1.184
diff -p -u -r1.184 fm-properties-window.c
--- src/file-manager/fm-properties-window.c	6 Nov 2003 16:07:05 -0000	1.184
+++ src/file-manager/fm-properties-window.c	14 Nov 2003 12:11:06 -0000
@@ -401,6 +401,8 @@ update_properties_window_icon (GtkImage 
 	pixbuf = get_pixbuf_for_properties_window (window);
 
 	gtk_image_set_from_pixbuf (image, pixbuf);
+
+	gtk_window_set_icon (GTK_WINDOW (window), pixbuf);
 	
 	g_object_unref (pixbuf);
 }


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