Commit 9016f0d9 authored by Javier Jardón's avatar Javier Jardón

Use standard icon names in demos and tests

parent 005e8a6c
......@@ -443,7 +443,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");
gtk_window_set_icon_name (GTK_WINDOW (window), "document-open");
/* NULL window variable when window is closed */
g_signal_connect (window, "destroy",
......
......@@ -798,7 +798,7 @@ create_message_dialog (void)
GTK_MESSAGE_INFO,
GTK_BUTTONS_OK,
NULL);
gtk_window_set_icon_name (GTK_WINDOW (widget), "gtk-copy");
gtk_window_set_icon_name (GTK_WINDOW (widget), "edit-copy");
gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (widget),
"<b>Message Dialog</b>\n\nWith secondary text");
return new_widget_info ("messagedialog", widget, ASIS);
......@@ -823,11 +823,11 @@ create_about_dialog (void)
"copyright", "(C) 1997-2009 The GTK+ Team",
"website", "http://www.gtk.org",
"comments", "Program to demonstrate GTK+ functions.",
"logo-icon-name", "gtk-about",
"logo-icon-name", "help-about",
"title", "About GTK+ Code Demos",
"authors", authors,
NULL);
gtk_window_set_icon_name (GTK_WINDOW (widget), "gtk-about");
gtk_window_set_icon_name (GTK_WINDOW (widget), "help-about");
return new_widget_info ("aboutdialog", widget, ASIS);
}
......
......@@ -55,7 +55,7 @@ int main (int argc, char *argv[])
hbox = gtk_hbox_new (0, FALSE);
gtk_container_add (GTK_CONTAINER (box), hbox);
button = g_object_new (GTK_TYPE_BUTTON,
"label", "gtk-save",
"label", "document-save",
"use-stock", TRUE,
NULL);
gtk_container_add (GTK_CONTAINER (hbox), button);
......
......@@ -123,7 +123,7 @@ main (int argc, char **argv)
GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0);
icon = g_themed_icon_new ("folder");
g_themed_icon_append_name (G_THEMED_ICON (icon), "gtk-directory");
g_themed_icon_append_name (G_THEMED_ICON (icon), "folder");
gtk_entry_set_icon_from_gicon (GTK_ENTRY (entry),
GTK_ENTRY_ICON_PRIMARY,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment