Skip to content

sidebar-thumbnails: display a first blank thumbnail

Nelson Ben requested to merge 30-null-page-in-thumbnail-display-desirable into master

when following conditions are met:

  • We are in dual page mode
  • Option for "odd pages on left side" is off
  • We are using:
    • GtkIconView
    • Remove GtkTreeView implementation
  • GtkIconView is displaying two columns of thumbnails

This blank thumbnail can't be selected, and we make sure the page count logic (when relying on number of items in IconView) is updated accordingly when we are displaying the blank thumbnail.

The blank thumbnail item can be distinguished among all other items in the GtkIconView as it's the only one which has the COLUMN_SURFACE as NULL while COLUMN_THUMBNAIL_SET is set to TRUE.

Fixes Issue #30 (closed)

Closes #30 (closed)

Edited by Germán Poo-Caamaño

Merge request reports