Set the window icon by name.

2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
	icon by name.
This commit is contained in:
Matthias Clasen
2005-05-25 20:03:46 +00:00
committed by Matthias Clasen
parent d09bf14bfb
commit 16bd785137
4 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
icon by name.
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
background of rows insensitive when the treeview is insensitive.
(pointed out by Billy Biggs)

View File

@@ -1,5 +1,8 @@
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
icon by name.
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
background of rows insensitive when the treeview is insensitive.
(pointed out by Billy Biggs)

View File

@@ -1,5 +1,8 @@
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
icon by name.
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
background of rows insensitive when the treeview is insensitive.
(pointed out by Billy Biggs)

View File

@@ -406,6 +406,7 @@ do_appwindow (GtkWidget *do_widget)
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Application Window");
gtk_window_set_icon_name (GTK_WINDOW (window), "gtk-open");
/* NULL window variable when window is closed */
g_signal_connect (window, "destroy",