summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
2017-08-15sidebar-thumbnails: preload one extra visible range while scrollingNelson Benitez Leon1-0/+8
Preload both before and after current visible scrolling range, the same amount of thumbnails in it, to help prevent thumbnail creation happening in the user's sight. https://bugzilla.gnome.org/show_bug.cgi?id=342110#c15 origin commit: https://git.gnome.org/browse/evince/commit/?id=1fc8c68
2017-08-15sidebar-thumbnails: keep thumbnails already renderedNelson Benitez Leon1-23/+12
Evince renders thumbnails on-the-fly as they get into the scrolling visible area, but at the same time it will remove them as they get out of the visible scrolling area, so when user scrolls back to same position he will notice thumbnails be recreated. In pro of a more icing user experience, let's adopt a mixed approach and keep the thumbnails that the user has already navigated, so when he scrolls back and forth in the same area no thumbnail re-generation will be visible. This also matches behaviour with other pdf readers. https://bugzilla.gnome.org/show_bug.cgi?id=342110 origin commit: https://git.gnome.org/browse/evince/commit/?id=121e4d9
2017-08-15sidebar-thumbnails: fix clunky scrollingNelson Benitez Leon1-0/+24
Caused by GtkIconView doing an invalidate and relayout of *all* items in the view anytime we update model data in any indiviual item (which happens with all the items that are getting in and out of the scrolling area while we scroll). This caused GtkIconView to machine-gunned us with "size-allocate" signals, a signal we were using to update thumbnails when the sidebar is resized. Fixed by connecting to the GtkTreeModel "row-changed" signal before GtkIconView does it, and stop emission from there. As we don't depend now on "size-allocate" signals to show thumbnails while we scroll, just queue a draw on the icon view when a thumbnail finish rendering. Thanks Jose Aliste for first spotting the problem. https://bugzilla.gnome.org/show_bug.cgi?id=691448 origin commit: https://git.gnome.org/browse/evince/commit/?id=6480c70 Fixes https://github.com/mate-desktop/atril/issues/255
2017-08-15sidebar-layers: Make it actually usable and fix a runtime warningraveit651-0/+1
Expand the scrolled window vertical so that you can actually see the content of the widget. This also turned up a missing gtk_style_context_save () in gimpcellrenderertoggle.c. So fix that as well. partial inspired from: https://github.com/linuxmint/xreader/commit/6b6ae7f
2017-08-15ev-window: remove deprecated GtkToolbar-shadow-typeraveit651-19/+2
Whole the function fullscreen_toolbar_remove_shadow isn't needed without that deprecation. Setting instead the widget name to make theming possible. GtkToolbar-shadow-type is deprecated since gtk+-3.6
2017-08-07annotation-properties-dialog: don't use a headerbarraveit651-0/+2
Fixes https://github.com/mate-desktop/atril/issues/264
2017-04-18update copyright year to 2017monsta1-1/+1
2017-04-18Add missing comma.Baurzhan Muftakhidinov1-1/+1
2017-03-12shell: Add guards for org.mate.interface schema not existingMarcus Comstedt1-6/+13
2017-03-12shell: Respect user's toolbar-style settingMarcus Comstedt1-4/+53
2017-03-07eggfindbar: don't use deprecated GtkAlignmentraveit651-6/+13
2017-03-06avoid deprecated gtk_misc_set_alignmentraveit656-8/+57
2017-03-06sidebar-annotations: don't use deprecated gtk_widget_render_icon_pixbufraveit651-7/+14
and avoid to use GtkStock
2017-03-05Previously opened page incorrectly restored if it was the last oneloongson1-2/+0
If you stay on the last page when you close it, reopen it will not be positioned until you visited it (reset to the first). In the changed code: Judgment only works on the last page. This function explicitly introduces this problem, so it can be removed directly. I have been tested successfully.
2017-01-25force X11raveit651-0/+2
2016-11-23move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta15-459/+24
and require caja >= 1.17.1
2016-11-23shell: use modern function inside GTK+3 code block (and drop #define)monsta1-5/+1
2016-11-23shell: replace deprecated function call inside GTK+3 code blockmonsta1-1/+1
2016-11-23fix indent a bitmonsta1-1/+1
2016-11-11shell: remove metadata migration codemonsta3-409/+2
taken from: https://git.gnome.org/browse/evince/commit/?id=8713e9adcd884d32d4d49e675a001bb26c590dcc this metadata convert tool had been added to Evince back in 2009, and I'm not sure it ever worked in Atril. time to drop it anyway.
2016-07-29get rid of build-dep on libmate-desktopmonsta2-11/+2
2016-07-29use GtkAbout instead of MateAboutraveit651-5/+0
2016-07-26fix sendto with non-latin filenames or filenames with spacesmonsta1-1/+4
adapted from: https://git.gnome.org/browse/evince/commit/?id=00acd7274797fe3576be92f21faa32fd8692c95d
2016-07-22Split dual mode option into dual mode with odd and even pages on the leftraveit651-16/+74
2016-07-22Allow to use Send To action from the toolbarraveit651-0/+2
taken from: https://git.gnome.org/browse/evince/commit/?id=a8d6329
2016-07-22Use document-send icon for Send To actionraveit651-1/+1
taken from: https://git.gnome.org/browse/evince/commit/?id=fff0e69
2016-07-22Add Send To action to file menuraveit651-0/+50
It uses caja-sendto to allow you to send the current document by email, to a removable device, etc. If caja-sendto command is not present in path, the menu item is hidden. https://bugzilla.gnome.org/show_bug.cgi?id=569913 Taken from: https://git.gnome.org/browse/evince/commit/?id=c9ce578
2016-07-22Add --named-dest command line argumentraveit652-0/+14
and add spawn and dbus support for named destinations taken from: https://git.gnome.org/browse/evince/commit/?id=a90e764 https://git.gnome.org/browse/evince/commit/?id=26c0109
2016-07-03shell: Fix -Wformat-nonliteral warningraveit651-5/+6
taken from: https://git.gnome.org/browse/evince/commit/?id=bbaeca0
2016-07-03Setting parent for annotation properties dialograveit651-0/+1
After the last gtk+ update, the warning: "Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged." was shown whenever the annotation properties dialog was opened. The commit fixes this issue by setting this dialog transient for the main window. As a plus, the dialog is now shown always on the center of the main window. https://bugzilla.gnome.org/show_bug.cgi?id=732114 taken from: https://git.gnome.org/browse/evince/commit/?id=9533c68
2016-06-29eggfindbar: Find next/previous with control + Up/Downraveit651-2/+7
https://bugzilla.gnome.org/show_bug.cgi?id=653910 taken from: https://git.gnome.org/browse/evince/commit/?id=0d6afe8
2016-06-29Refresh thumbnail only when window has a documentraveit651-1/+1
This prevents a critical warning when opening a document that was rotated in a previous Evince session. taken from: https://git.gnome.org/browse/evince/commit/?id=1b5cf70
2016-06-29GTK+-3: Use ev_document_misc_get_pointer_position() instad of deprecated ↵raveit652-0/+11
gtk_widget_get_pointer()
2016-06-24GTK+-3: do not use deprecated gtk_dialog_set_alternative_button_orderraveit652-0/+12
2016-06-24GTK+-3: do not use gdk_app_launch_context_new()raveit651-0/+32
Use gdk_display_get_app_launch_context() instead. taken from: https://git.gnome.org/browse/evince/commit/?id=987f7d9
2016-06-24shell: add plural form for "cancel print jobs before closing" dialograveit651-2/+8
The use of ngettext is adviced even if the singular form is not used as languages other than english may have more than one plural form. taken from: https://git.gnome.org/browse/evince/commit/?id=29a368d
2016-06-24GTK+-3: Use GtkGrid instead of GtkTableraveit652-0/+115
taken from: https://git.gnome.org/browse/evince/commit/?id=da8f31e
2016-06-24GTK+-3 ev-sidebar-annotations: replace deprecated gtk_widget_render_iconraveit651-0/+4
2016-06-24GTK+-3 ev-password-view: Do not use deprecate composite-child APIraveit651-1/+5
2016-06-22use symbolic arrows only for gtk+-3raveit652-0/+12
2016-06-22GTK+-3.0: avoid deprecated usage of GtkArrowraveit652-3/+3
2016-06-22Do not use deprecated GTK_TYPE_VBOX definitionsraveit6516-27/+43
2016-06-22GTK+-3: do not use deprecated gtk_{h/v}box_newraveit658-0/+34
2016-05-26ev-window: add new gsetting to set the page cache sizeraveit651-3/+26
https://bugzilla.gnome.org/show_bug.cgi?id=642683 inspired from: https://git.gnome.org/browse/evince/commit/?id=392d8e3 https://git.gnome.org/browse/evince/commit/?id=e656398
2016-05-26shell: Create metadata object even for temp filesraveit652-5/+10
Metadata won't be saved in those cases, but default settings will applied. https://bugzilla.gnome.org/show_bug.cgi?id=680145 taken from: https://git.gnome.org/browse/evince/commit/shell/ev-window.c?h=gnome-3-6&id=6d25b93
2016-05-26shell: Store and restore current folder when opening or saving fileraveit651-32/+112
Remember the folder last used to open or save a document, attachment or image. taken from: https://git.gnome.org/browse/evince/commit/shell/ev-window.c?h=gnome-3-6&id=f6137df22503d88a76cc69f622919ec7bd3582d7 shell: Fix potential read-after-free in gsettings use It's not valid to use '&' with g_settings_get(). https://bugzilla.gnome.org/show_bug.cgi?id=723737 taken from: https://git.gnome.org/browse/evince/commit/?id=41ce0e1 ev-window: Don't crash when trying to save a copy We can not free both folder_uri and parent_uri. If parent_uri is non-NULL then it will point to the same location as folder_uri. Also, parent_uri is now unused so we can just remove it. https://bugzilla.gnome.org/show_bug.cgi?id=727536 taken from: https://git.gnome.org/browse/evince/commit/?id=3850ff5
2016-05-26shell: Don't set the current folder while saving a fileraveit651-5/+0
Fixes bug 655514. taken from: https://git.gnome.org/browse/evince/commit/shell/ev-window.c?h=gnome-3-8&id=55c1f8231bdab143a1d90f4bd598852d746b08e0
2016-05-26shell: Do not save file chooser open/save uriraveit653-76/+6
It doesn't make sense anymore since we have multiple processes. taken from: https://git.gnome.org/browse/evince/commit/shell/ev-window.c?h=gnome-3-2&id=3df6a61
2016-05-26Add a setting to disable auto-reloadraveit651-1/+4
https://bugzilla.gnome.org/show_bug.cgi?id=669265 taken from: https://git.gnome.org/browse/evince/commit/shell/ev-window.c?h=gnome-3-6&id=a5a0f6
2016-05-17Remove the check for a parent, more intuitive conditionsrootavish1-4/+4