Mercurial > geeqie
diff src/preferences.c @ 458:7a69309b91c8
Allow the user to set the drag'n drop icon size through
Preferences > Advanced > Behavior > Drag'n drop icon size.
It is saved to rc file as dnd_icon_size.
author | zas_ |
---|---|
date | Mon, 21 Apr 2008 10:09:01 +0000 |
parents | ddabc4873a3f |
children | 2df505c60459 |
line wrap: on
line diff
--- a/src/preferences.c Sun Apr 20 23:17:35 2008 +0000 +++ b/src/preferences.c Mon Apr 21 10:09:01 2008 +0000 @@ -267,6 +267,7 @@ options->tree_descend_subdirs = c_options->tree_descend_subdirs; options->open_recent_list_maxsize = c_options->open_recent_list_maxsize; + options->dnd_icon_size = c_options->dnd_icon_size; #ifdef DEBUG debug = debug_c; @@ -1406,6 +1407,9 @@ pref_spin_new_int(group, _("Open recent list maximum size"), NULL, 1, 50, 1, options->open_recent_list_maxsize, &c_options->open_recent_list_maxsize); + + pref_spin_new_int(group, _("Drag'n drop icon size"), NULL, + 16, 256, 16, options->dnd_icon_size, &c_options->dnd_icon_size); group = pref_group_new(vbox, FALSE, _("Navigation"), GTK_ORIENTATION_VERTICAL);