• Nelson Benítez León's avatar
    sidebar-thumbnails: display a first blank thumbnail · 2fe2acef
    Nelson Benítez León authored
    when following conditions are met:
     - We are in dual page mode
     - Option for "odd pages on left side" is off
     - We are using the GtkIconView (TODO: 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.
    
    Addresses issue #30, however there is a corner case still missing
    to considerit fixed: When resizing the sidebar, it should keep
    the blank thumbnail.
    2fe2acef
Name
Last commit
Last update
backend Loading commit data...
browser-plugin Loading commit data...
build-aux Loading commit data...
cut-n-paste Loading commit data...
data Loading commit data...
help Loading commit data...
libdocument Loading commit data...
libmisc Loading commit data...
libview Loading commit data...
po Loading commit data...
previewer Loading commit data...
properties Loading commit data...
shell Loading commit data...
thumbnailer Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.pre-git Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS-security.md Loading commit data...
NOTES Loading commit data...
README.commits Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
evince-document.h Loading commit data...
evince-document.pc.in Loading commit data...
evince-view.h Loading commit data...
evince-view.pc.in Loading commit data...
evince.doap Loading commit data...
generate-changelog.sh Loading commit data...
git.mk Loading commit data...
lib-symbol.map Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
meson_post_install.py Loading commit data...
org.gnome.Evince.appdata.xml.in Loading commit data...