summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar-links.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-15ev-sidebar-links: Optimize reverse link lookup for a pageChristoph Fritz1-59/+80
Commit adapted for atril, picked up from: https://gitlab.gnome.org/GNOME/evince/-/commit/c3de8e75d6d0920478af210ba19a2d94b0734917 Credits to Benjamin Berg <[email protected]> | For large documents the linear search for the first link that is on a | certain page is really slow. Because of this scrolling becomes slow | whenever the page changes. | | Replace the linear search with a search in a binary tree populated with | the first link on each page and the corresponding GtkTreePath. This way | a specialized binary tree lookup can be used to find the closest | matching link and select that in the treeview. | | https://bugzilla.gnome.org/show_bug.cgi?id=779614
2019-08-16ev-sidebar-links: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-07-01Remove trailing whitespacesLaurent Napias1-22/+22
2018-05-10ev-sidebar-links: replace deprecated gtk_menu_popup functionraveit651-7/+3
2018-02-16avoid deprecated GtkStockPablo Barciela1-1/+1
2016-06-22Do not use deprecated GTK_TYPE_VBOX definitionsraveit651-1/+3
2016-02-01fix some build warningsmonsta1-2/+0
2014-12-10sidebar: align page numbers to the right in sidebar-linksinfirit1-1/+4
Taken from evince commit: 200d6798c462e3669c01020dc5a7e2ee22e1b039 From: Carlos Garcia Campos <[email protected]>
2014-12-09Fill links page labels for the index in the links threadinfirit1-34/+0
Getting the page of a named destination requires to take the doc lock, so it might block the main thread. Taken from evince commit: b6f2f6c391fa83cb9532e98f561057f022522147 From: Carlos Garcia Campos <[email protected]>
2014-12-09[shell] Use new methods to get page and page label from a linkinfirit1-19/+22
Instead of ev_link_get_page() that doesn't work for named destinations. Based on evince commits: eb1c4c8ab5f0a179a3e5836f4540a70859cba106 a5ebb853858e5e2121a35a369d52fc8dd86c92ae From: Carlos Garcia Campos <[email protected]>
2014-12-08zero-init all signals arraysMonsta1-1/+1
2011-11-09renaming evince to atrilPerberos1-3/+3
2011-11-09inicialPerberos1-0/+760