From e498f547a95eda6d860c75ec058e145521af045e Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Wed, 22 Mar 2017 10:13:03 +0000 Subject: [PATCH] Minor code amendments Ensure the shortcuts (bookmarks) pane is visible on first run Remove unused defines Document search on Exif date --- doc/docbook/GuideImageSearchSearch.xml | 8 ++++++-- src/options.c | 1 + src/pixbuf-renderer.h | 4 +--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/docbook/GuideImageSearchSearch.xml b/doc/docbook/GuideImageSearchSearch.xml index ed5a89ee..1071fab9 100644 --- a/doc/docbook/GuideImageSearchSearch.xml +++ b/doc/docbook/GuideImageSearchSearch.xml @@ -101,7 +101,11 @@ - button displays a pop up calendar to enter the date + button displays a pop up calendar to enter the date. + + The + Exif date + checkbox permits searches to be made on the exif date of images. If an image does not have an exif date, it will default to 01 January 1970. @@ -210,4 +214,4 @@ Drag and drop can be initiated with the primary or middle mouse buttons. Dragging a file that is selected will include all selected files in the drag. Dragging a file that is not selected will first change the selection to the dragged file, and clear the previous selection. - + diff --git a/src/options.c b/src/options.c index e60d692e..34563485 100644 --- a/src/options.c +++ b/src/options.c @@ -237,6 +237,7 @@ LayoutOptions *init_layout_options(LayoutOptions *options) options->main_window.w = 720; options->main_window.x = 0; options->main_window.y = 0; + options->folder_window.vdivider_pos = 100; options->order = g_strdup("123"); options->show_directory_date = FALSE; options->show_marks = FALSE; diff --git a/src/pixbuf-renderer.h b/src/pixbuf-renderer.h index f81f5850..783110ab 100644 --- a/src/pixbuf-renderer.h +++ b/src/pixbuf-renderer.h @@ -29,9 +29,7 @@ #define IS_PIXBUF_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), TYPE_PIXBUF_RENDERER)) #define PIXBUF_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), TYPE_PIXBUF_RENDERER, PixbufRendererClass)) -/* alpha channel checkerboard background (same as gimp) */ -#define PR_ALPHA_CHECK1 0x00999999 -#define PR_ALPHA_CHECK2 0x00666666 +/* alpha channel checkerboard (same as gimp) */ #define PR_ALPHA_CHECK_SIZE 16 /* when scaling image to below this size, use nearest pixel for scaling * (below about 4, the other scale types become slow generating their conversion tables) -- 2.20.1