Minor code amendments
authorColin Clark <cclark@mcb.net>
Wed, 22 Mar 2017 10:13:03 +0000 (10:13 +0000)
committerColin Clark <cclark@mcb.net>
Wed, 22 Mar 2017 10:13:03 +0000 (10:13 +0000)
Ensure the shortcuts (bookmarks) pane is visible on first run
Remove unused defines
Document search on Exif date

doc/docbook/GuideImageSearchSearch.xml
src/options.c
src/pixbuf-renderer.h

index ed5a89e..1071fab 100644 (file)
               </guiicon>\r
             </guibutton>\r
           </code>\r
-          button displays a pop up calendar to enter the date\r
+          button displays a pop up calendar to enter the date.\r
+          <para />\r
+          The\r
+          <emphasis role="strong">Exif date</emphasis>\r
+          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.\r
         </listitem>\r
       </varlistentry>\r
       <varlistentry>\r
     <para>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.</para>\r
     <para />\r
   </section>\r
-</section>
+</section>\r
index e60d692..3456348 100644 (file)
@@ -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;
index f81f585..783110a 100644 (file)
@@ -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)