mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
Use "Empty Trash" buttons in empty trash dialogs. Fixes #524020.
2008-09-01 Christian Neumair <cneumair@gnome.org> * libnautilus-private/nautilus-file-operations.c (confirm_empty_trash), (prompt_empty_trash): Use "Empty Trash" buttons in empty trash dialogs. Fixes #524020. svn path=/trunk/; revision=14556
This commit is contained in:
parent
974ad6ae24
commit
d498060567
|
@ -1,3 +1,9 @@
|
|||
2008-09-01 Christian Neumair <cneumair@gnome.org>
|
||||
|
||||
* libnautilus-private/nautilus-file-operations.c
|
||||
(confirm_empty_trash), (prompt_empty_trash):
|
||||
Use "Empty Trash" buttons in empty trash dialogs. Fixes #524020.
|
||||
|
||||
2008-09-01 Christian Neumair <cneumair@gnome.org>
|
||||
|
||||
* libnautilus-private/nautilus-customization-data.c
|
||||
|
|
|
@ -1247,7 +1247,7 @@ confirm_empty_trash (CommonJob *job)
|
|||
"that you can also delete them separately.")),
|
||||
NULL,
|
||||
FALSE,
|
||||
GTK_STOCK_CANCEL, GTK_STOCK_DELETE,
|
||||
GTK_STOCK_CANCEL, _("Empty _Trash"),
|
||||
NULL);
|
||||
|
||||
return (response == 1);
|
||||
|
@ -2071,9 +2071,9 @@ prompt_empty_trash (GtkWindow *parent_window)
|
|||
"All trashed items on the volume "
|
||||
"will be permanently lost."));
|
||||
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
|
||||
_("Do not Empty Trash"), GTK_RESPONSE_REJECT,
|
||||
_("Do _not Empty Trash"), GTK_RESPONSE_REJECT,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
_("Empty Trash"), GTK_RESPONSE_ACCEPT, NULL);
|
||||
_("Empty _Trash"), GTK_RESPONSE_ACCEPT, NULL);
|
||||
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
|
||||
gtk_window_set_title (GTK_WINDOW (dialog), ""); /* as per HIG */
|
||||
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dialog), TRUE);
|
||||
|
|
Loading…
Reference in a new issue