Mercurial > geeqie.yaz
diff src/preferences.c @ 223:73efc1ba150f
Setting no limit size to trash directory is now possible using zero as value.
A tooltip was added to the spinner to inform the user of this possibility.
When 0 is set, no remaining/free space check occurs.
Default size of the trash was set to a 128M and maximum size is now 2048MB, which
is more conform to today's standards.
The delete dialog now displays more information:
- if external command will be used
- if safe delete is on, max size and path to the trash
- if safe delete is off
author | zas_ |
---|---|
date | Thu, 03 Apr 2008 08:51:32 +0000 |
parents | 77f1bcc6c161 |
children | 83f92073e74c |
line wrap: on
line diff
--- a/src/preferences.c Wed Apr 02 20:44:40 2008 +0000 +++ b/src/preferences.c Thu Apr 03 08:51:32 2008 +0000 @@ -1383,8 +1383,9 @@ pref_checkbox_link_sensitivity(ct_button, hbox); pref_spacer(hbox, PREF_PAD_INDENT - PREF_PAD_GAP); - pref_spin_new_int(hbox, _("Maximum size:"), _("MB"), - 1, 500, 1, safe_delete_size, &safe_delete_size_c); + spin = pref_spin_new_int(hbox, _("Maximum size:"), _("MB"), + 0, 2048, 1, safe_delete_size, &safe_delete_size_c); + gtk_widget_set_tooltip_markup(spin, _("Set to 0 for unlimited size")); button = pref_button_new(NULL, NULL, _("View"), FALSE, G_CALLBACK(safe_delete_view_cb), NULL);