comparison src/preferences.c @ 14:25335c62cd9b

##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. ##### Thu Mar 3 01:16:23 2005 John Ellis <johne@verizon.net> * pan-view.c: Add 'dots' image size option, fix up border size at edge of grid, and make drag and drop work to/from the window. Wed Mar 2 23:34:30 2005 John Ellis <johne@verizon.net> * globals.c, gqview.h, rcfile.c: Add thumbnail_fast option variable. * image-load.c, typedefs.h: Add shrunk flag to determine if an image was scaled down using image_loader_set_requested_size. * image.c: Make panning with mouse scroll more when holding shift key. * preferences.c: Add option for 'Fast jpeg thumbnailing' and disabled xvpics option in the gui - now a hidden option. * thumb.c, thumb_standard.c: Add support for thumbnail_fast option..
author gqview
date Thu, 03 Mar 2005 06:32:53 +0000
parents d907d608745f
children 3263965d5f9e
comparison
equal deleted inserted replaced
13:ef790149ae21 14:25335c62cd9b
85 static gint progressive_key_scrolling_c; 85 static gint progressive_key_scrolling_c;
86 static gint thumb_max_width_c; 86 static gint thumb_max_width_c;
87 static gint thumb_max_height_c; 87 static gint thumb_max_height_c;
88 static gint enable_thumb_caching_c; 88 static gint enable_thumb_caching_c;
89 static gint enable_thumb_dirs_c; 89 static gint enable_thumb_dirs_c;
90 static gint thumbnail_fast_c;
91 #if 0
90 static gint use_xvpics_thumbnails_c; 92 static gint use_xvpics_thumbnails_c;
93 #endif
91 static gint thumbnail_spec_standard_c; 94 static gint thumbnail_spec_standard_c;
92 static gint enable_metadata_dirs_c; 95 static gint enable_metadata_dirs_c;
93 static gint show_dot_files_c; 96 static gint show_dot_files_c;
94 static gint file_filter_disable_c; 97 static gint file_filter_disable_c;
95 static gint file_sort_case_sensitive_c; 98 static gint file_sort_case_sensitive_c;
235 progressive_key_scrolling = progressive_key_scrolling_c; 238 progressive_key_scrolling = progressive_key_scrolling_c;
236 thumb_max_width = thumb_max_width_c; 239 thumb_max_width = thumb_max_width_c;
237 thumb_max_height = thumb_max_height_c; 240 thumb_max_height = thumb_max_height_c;
238 enable_thumb_caching = enable_thumb_caching_c; 241 enable_thumb_caching = enable_thumb_caching_c;
239 enable_thumb_dirs = enable_thumb_dirs_c; 242 enable_thumb_dirs = enable_thumb_dirs_c;
243 thumbnail_fast = thumbnail_fast_c;
244 #if 0
240 use_xvpics_thumbnails = use_xvpics_thumbnails_c; 245 use_xvpics_thumbnails = use_xvpics_thumbnails_c;
246 #endif
241 thumbnail_spec_standard = thumbnail_spec_standard_c; 247 thumbnail_spec_standard = thumbnail_spec_standard_c;
242 enable_metadata_dirs = enable_metadata_dirs_c; 248 enable_metadata_dirs = enable_metadata_dirs_c;
243 show_dot_files = show_dot_files_c; 249 show_dot_files = show_dot_files_c;
244 file_sort_case_sensitive = file_sort_case_sensitive_c; 250 file_sort_case_sensitive = file_sort_case_sensitive_c;
245 file_filter_disable = file_filter_disable_c; 251 file_filter_disable = file_filter_disable_c;
853 thumbnail_spec_standard, &thumbnail_spec_standard_c); 859 thumbnail_spec_standard, &thumbnail_spec_standard_c);
854 860
855 subgroup = pref_box_new(subgroup, FALSE, GTK_ORIENTATION_VERTICAL, PREF_PAD_GAP); 861 subgroup = pref_box_new(subgroup, FALSE, GTK_ORIENTATION_VERTICAL, PREF_PAD_GAP);
856 pref_checkbox_link_sensitivity_swap(button, subgroup); 862 pref_checkbox_link_sensitivity_swap(button, subgroup);
857 863
858 button = pref_checkbox_new_int(subgroup, _("Cache thumbnails into .thumbnails"), 864 pref_checkbox_new_int(subgroup, _("Cache thumbnails into .thumbnails"),
859 enable_thumb_dirs, &enable_thumb_dirs_c); 865 enable_thumb_dirs, &enable_thumb_dirs_c);
860 866
861 button = pref_checkbox_new_int(subgroup, _("Use xvpics thumbnails when found (read only)"), 867 #if 0
862 use_xvpics_thumbnails, &use_xvpics_thumbnails_c); 868 pref_checkbox_new_int(subgroup, _("Use xvpics thumbnails when found (read only)"),
869 use_xvpics_thumbnails, &use_xvpics_thumbnails_c);
870 #endif
871
872 pref_checkbox_new_int(group, _("Faster jpeg thumbnailing (may reduce quality)"),
873 thumbnail_fast, &thumbnail_fast_c);
863 874
864 group = pref_group_new(vbox, FALSE, _("Slide show"), GTK_ORIENTATION_VERTICAL); 875 group = pref_group_new(vbox, FALSE, _("Slide show"), GTK_ORIENTATION_VERTICAL);
865 876
866 slideshow_delay_c = slideshow_delay; 877 slideshow_delay_c = slideshow_delay;
867 spin = pref_spin_new(group, _("Delay between image change:"), _("seconds"), 878 spin = pref_spin_new(group, _("Delay between image change:"), _("seconds"),