summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06Fix crashes of epub documents with caret-navigationraveit651-0/+12
This is a quick fix for getting caret-navigation working in atril. All this code needs to be reworked for epubs. Note: caret-navigation is always enabled if text is selected with epubs, for some reasons.
2017-09-06Store the caret cursor position in document metadataCarlos Garcia Campos1-4/+45
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3e468fa
2017-09-06shell: Enable/disable the caret navigation with F7Antia Puentes1-1/+96
https://bugzilla.gnome.org/show_bug.cgi?id=702079 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=fc9b6d1
2017-09-06ev-window: Use g_signal_emit_by name instead of ev_view_scrollCarlos Garcia Campos1-15/+2
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=3e32b5d
2017-09-06ev-window: Remove scroll acceleratorsCarlos Garcia Campos1-19/+0
They are handled by the EvView now. We just leave the page up/down accels, so that they still work even when the view is not focused. origin commit (modified): https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=6a7c3db
2017-09-05shell: disable ViewDualOddLeft in menus for epubsraveit651-0/+6
Dual mode isn't implemented for epubs
2017-08-31Activate shortcut keys for dual and continuous layoutraveit651-2/+2
'd' for dual and 'w' for continuous layout.
2017-08-31Add shortcut keys for fit-page and fit-width optionsCarlos Garcia Campos1-2/+17
'f' for fit-page for consistency with eom and 'w' for fit-width. Fixes bug #595571. origin commit: https://git.gnome.org/browse/evince/commit/?id=2ed0f3d fix
2017-08-31shell: Do not open single page pdfs in dual mode by defaultCarlos Garcia Campos1-0/+3
Single page pdfs will now open in full window even if the default mode is dual mode. This will apply to pdfs that are opened for first time, otherwise user preferences are honored. https://bugzilla.gnome.org/show_bug.cgi?id=547098 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=5339558
2017-08-31Rename Fit Page Width as Fit WidthWilliam Jon McCann1-15/+15
https://bugzilla.gnome.org/show_bug.cgi?id=689468 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=88d7a4a
2017-08-31Rename Best Fit mode as Fit PageWilliam Jon McCann1-22/+22
https://bugzilla.gnome.org/show_bug.cgi?id=689468 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=ffd3853
2017-08-31Move dual page with odd pages left to the view menuCarlos Garcia Campos1-5/+8
As a toggle option only available in dual mode. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=1078b8f
2017-08-28shell: Check if doc implements Annotations interface before castJosé Aliste1-2/+4
Without this check, evince will crash when a right-click on a non-pdf document is performed. https://bugzilla.gnome.org/show_bug.cgi?id=737197 origin commit: https://git.gnome.org/browse/evince/commit/?id=0f59861
2017-08-28Refreshing annotations' sidebar upon deletionGiselle Machado1-0/+11
When an annotation is deleted, the sidebar needs to be refreshed so that the annotation is removed from the list See item 3 in this comment: https://bugzilla.gnome.org/show_bug.cgi?id=649044#c33 origin commit: https://git.gnome.org/browse/evince/commit/?id=13defb2
2017-08-28Add an option to remove annotations to the view popup menuraveit651-1/+20
https://bugzilla.gnome.org/show_bug.cgi?id=649044 inspired by: https://git.gnome.org/browse/evince/commit/?id=0f19833
2017-08-20avoid gdk_screen_get_primary_monitor/gdk_screen_get_monitor_scale_factorZenWalker1-2/+12
2017-08-20avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+8
2017-08-14shell: Use GdkRGBA for annotationsChristian Persch1-3/+3
Use the GdkRGBA API on EvAnnotation, and on GtkColorChooser. taken from: https://git.gnome.org/browse/evince/commit/?id=c523ef8
2017-08-12fix runtime warnings caused by previous HDPI commitraveit651-1/+1
2017-08-12Take monitor scale factor into account when calculating zoom.Matthew Petroff1-1/+3
https://github.com/linuxmint/xreader/commit/c47a1f4
2017-08-07ev-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-07-22ev-window: don't use deprecated gtk_show_uriraveit651-0/+7
2017-04-18update copyright year to 2017monsta1-1/+1
2017-04-03Add 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-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.
2016-11-23move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-134/+2
and require caja >= 1.17.1
2016-07-29get rid of build-dep on libmate-desktopmonsta1-8/+1
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-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-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-24GTK+-3: do not use deprecated gtk_dialog_set_alternative_button_orderraveit651-0/+10
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-22GTK+-3: do not use deprecated gtk_{h/v}box_newraveit651-0/+4
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 filesraveit651-1/+1
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 uriraveit651-34/+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
2016-04-26window: fix another random webview-related crashmonsta1-0/+1
2016-02-06GTK+3: add atril-window style class to top levelWolfgang Ulbrich1-0/+7