diff src/globals.c @ 226:3c89da4aef95

Fix and simplify thumbnails size combo box related code. Some variables were unused, code was buggy (spurious entry at the end of the list). A sanity check for values coming from rc file was added. Two constants now define the default thumbnail size.
author zas_
date Thu, 03 Apr 2008 14:35:03 +0000
parents 73efc1ba150f
children 41fc4bfc8b25
line wrap: on
line diff
--- a/src/globals.c	Thu Apr 03 13:58:20 2008 +0000
+++ b/src/globals.c	Thu Apr 03 14:35:03 2008 +0000
@@ -54,8 +54,8 @@
 gint max_window_size = 100;
 gint limit_autofit_size = FALSE;
 gint max_autofit_size = 100;
-gint thumb_max_width = 96;
-gint thumb_max_height = 72;
+gint thumb_max_width = DEFAULT_THUMB_WIDTH;
+gint thumb_max_height = DEFAULT_THUMB_HEIGHT;
 gint enable_thumb_caching = TRUE;
 gint enable_thumb_dirs = FALSE;
 gint use_xvpics_thumbnails = TRUE;