Commit 01ddef50 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

use GTK_STOCK_DELETE for the "Discard Changes" button.

2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: use GTK_STOCK_DELETE for the "Discard
	Changes" button.
parent 6a35b9d1
2005-03-31 Sven Neumann <sven@gimp.org>
* app/dialogs/quit-dialog.c: use GTK_STOCK_DELETE for the "Discard
Changes" button.
2005-03-31 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-close.c
......
......@@ -178,15 +178,19 @@ quit_dialog_container_changed (GimpContainer *images,
g_object_set (button,
"label", GTK_STOCK_QUIT,
"use-stock", TRUE,
"image", NULL,
NULL);
gtk_widget_grab_default (button);
}
else
{
GtkWidget *icon = gtk_image_new_from_stock (GTK_STOCK_DELETE,
GTK_ICON_SIZE_BUTTON);
gtk_widget_show (label);
g_object_set (button,
"label", _("_Discard Changes"),
"use-stock", FALSE,
"image", icon,
NULL);
gtk_window_set_default (GTK_WINDOW (dialog), NULL);
}
......
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