mirror of https://github.com/GNOME/gimp.git
use GTK_STOCK_SAVE as icon for the message dialog.
2007-02-16 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-close.c: use GTK_STOCK_SAVE as icon for the message dialog. * app/actions/data-commands.c (data_delete_cmd_callback): improved delete dialog. svn path=/trunk/; revision=21928
This commit is contained in:
parent
d59ce95379
commit
207d8d1ee1
|
@ -1,3 +1,11 @@
|
|||
2007-02-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-close.c: use GTK_STOCK_SAVE as icon
|
||||
for the message dialog.
|
||||
|
||||
* app/actions/data-commands.c (data_delete_cmd_callback): improved
|
||||
delete dialog.
|
||||
|
||||
2007-02-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimp.c: let gimp_gamma() return 2.2 and document the
|
||||
|
|
|
@ -206,7 +206,8 @@ data_delete_cmd_callback (GtkAction *action,
|
|||
GimpContext *context;
|
||||
GimpData *data;
|
||||
|
||||
context = gimp_container_view_get_context (GIMP_CONTAINER_EDITOR (view)->view);
|
||||
context =
|
||||
gimp_container_view_get_context (GIMP_CONTAINER_EDITOR (view)->view);
|
||||
|
||||
data = (GimpData *)
|
||||
gimp_context_get_by_type (context,
|
||||
|
@ -246,9 +247,13 @@ data_delete_cmd_callback (GtkAction *action,
|
|||
delete_data);
|
||||
|
||||
gimp_message_box_set_primary_text (GIMP_MESSAGE_DIALOG (dialog)->box,
|
||||
_("Are you sure you want to delete "
|
||||
"'%s' from the list and from disk?"),
|
||||
_("Delete '%s'?"),
|
||||
GIMP_OBJECT (data)->name);
|
||||
gimp_message_box_set_text(GIMP_MESSAGE_DIALOG (dialog)->box,
|
||||
_("Are you sure you want to remove '%s' "
|
||||
"from the list and delete it on disk?"),
|
||||
GIMP_OBJECT (data)->name);
|
||||
|
||||
gtk_widget_show (dialog);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -126,7 +126,7 @@ gimp_display_shell_close_dialog (GimpDisplayShell *shell,
|
|||
g_free (name);
|
||||
|
||||
shell->close_dialog =
|
||||
dialog = gimp_message_dialog_new (title, GIMP_STOCK_WARNING,
|
||||
dialog = gimp_message_dialog_new (title, GTK_STOCK_SAVE,
|
||||
GTK_WIDGET (shell),
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
gimp_standard_help_func, NULL,
|
||||
|
|
Loading…
Reference in New Issue