summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
2018-05-10navigation-action-widget: replace deprecated gtk_menu_popup functionraveit651-53/+2
2018-05-10shell: replace deprecated gtk_menu_popup functionraveit651-7/+4
2018-05-10ev-sidebar-links: replace deprecated gtk_menu_popup functionraveit653-97/+3
2018-05-10ev-sidebar-bookmarks: replace deprecated gtk_menu_popup functionraveit651-6/+2
2018-05-10ev-sidebar: replace deprecated gtk_menu_popup functionraveit651-30/+10
2018-04-08disable StartPresentation action in fullscreen if document has no pagesmonsta1-0/+1
this also disables it when no document is loaded
2018-04-08disable ViewPresentation action if document has no pagesmonsta1-1/+1
follow-up to 9c08159f6ce959f1aa0fc87da265854e9672365e - this action should be disabled when e.g. a truncated pdf is loaded
2018-04-05view: Fix page background rendering while loadingCarlos Garcia Campos1-0/+6
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=38528f9
2018-04-05view: Use a rendered frame instead of custom borderWilliam Jon McCann1-0/+18
So it can be styled with CSS. https://bugzilla.gnome.org/show_bug.cgi?id=653294 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7a6b53a https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=4657961
2018-04-04ev-loading-message: Remove unused variablesCarlos Garcia Campos1-4/+1
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=3fd4162
2018-03-26shell: Don't dist generated filesChristian Persch1-2/+1
2018-03-26Disable view presentation if there is no document.Lubos Koudelka1-0/+1
otherwise atril crashes https://bugzilla.gnome.org/show_bug.cgi?id=685591 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=b4bf316
2018-03-22libview: use css to draw the background of presentationsraveit651-0/+16
With the recent changes in gtk+, widgets have to draw themselves, causing the current use of gdk_window_set_background_rgba to fail. https://bugzilla.gnome.org/show_bug.cgi?id=765557 view: Redraw ev-view-presentation when setting normal and black mode. The black and normal mode are the same from the CSS point of view. The difference is that in the draw function the page is not drawn in black mode. Hence, we need to explicitly queue a redraw in these cases. Since setting the white mode add a CSS class, this queues the redraw for us. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=772390. origin commits: https://git.gnome.org/browse/evince/commit/?id=2b352b3 https://git.gnome.org/browse/evince/commit/?id=b3f49f4 Fixes https://github.com/mate-desktop/atril/issues/232
2018-03-22Move custom css to a file compiled as a gresourceCarlos Garcia Campos4-1/+38
origin commit: https://git.gnome.org/browse/evince/commit/shell?h=gnome-3-6&id=65fa4ff
2018-03-22shell: Use GResource for data filesChristian Persch7-27/+233
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
2018-03-22Use GtkOverlay to show the loading messageCarlos Garcia Campos4-6/+299
Remove the EvLoadingWindow from libview and move the implementation to the shell using a EvLoadingMessage widget and GtkOverlay. EvView has now a is-loading property that allows the users to implement their own loading notification system. This fixes several realted to the loading window. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=035c1cb
2018-03-21shell: Remove unused marshalersChristian Persch2-12/+1
Since there was only the one, also remove the whole glib-genmarshal setup. If we ever need another non-stock marshaler, we'll just use the new glib generic marshaler. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=fe7f842
2018-03-21shell: Use GtkApplication to inhibit the screensaverChristian Persch4-32/+36
Remove TotemScrsaver copy, and use GtkApplication inhibition instead. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=612701f
2018-03-21shell: Port to GtkApplicationChristian Persch5-173/+177
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=b999bdd
2018-03-21shell: Use g_printerr instead of g_warningChristian Persch1-3/+3
These are really runtime errors, not warnings, so just use g_printerr. origin commit: https://git.gnome.org/browse/evince/commit/?id=adbed8b
2018-03-21daemon: Port to GApplicationChristian Persch1-127/+171
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=1b3d4dd
2018-03-21daemon: Use gdbus-codegen for the org.mate.atril.Daemon interfaceChristian Persch3-164/+185
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=1aac15e
2018-03-21shell: Use gdbus-codegen for the org.mate.atril.Window interfaceChristian Persch2-148/+71
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=5141dcb
2018-03-21shell: Use gdbus-codegen for the org.mate.atril.Application interfaceChristian Persch3-116/+140
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=c9aada8
2018-03-15shell: fix menu-accel for inverted colorsraveit651-1/+1
fixes conflict with zoom_in
2018-03-15shell: add keypad accels for zoom_resetraveit651-0/+2
2018-03-15Add zoom resetLars Mueller1-0/+27
origin commit: https://github.com/linuxmint/xreader/commit/43acb8f
2018-02-16avoid deprecated GtkStockPablo Barciela7-77/+81
2018-01-31require GTK+ 3.22 and GLib 2.50monsta9-92/+2
2018-01-09update copyright year to 2018monsta1-1/+1
2017-12-10WidthOfScreen and HeightOfScreen implementationPablo Barciela1-8/+3
This commit reverts: https://github.com/mate-desktop/atril/commit/d9fffe2dc0e33d6777099c18635b7b75f54d3d35 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-11-27shell: show caret navigation in menuraveit651-0/+7
but set this action sensitive for epubs
2017-11-27Some text fixes for caret message arearaveit651-2/+2
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f847cd0 https://git.gnome.org/browse/evince/commit/?id=aa76196
2017-11-22shell: remove view_actions_focus_out_cbJosé Aliste1-12/+0
It is now doing nothing origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=b0f7bfe
2017-11-22shell: Remove ev_window_set_view_accels_sensitivityJosé Aliste1-36/+0
Now that we chain the accels to the focused widget, we do not need anymore to disable accels when the view is not focused. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=39defbd
2017-11-22shell: forward accels to the focused widgetraveit651-36/+24
GtkWindow catches keybindings for the menu items _before_ passing them to the focused widget. This is unfortunate and means that pressing ctrl+Left arrow, Ctrl+Right arrow on the search bar ends up turning the EvView instead of moving around the text. Here we override GtkWindow's handler to do the same things that it does, but in the opposite order and then we chain up to the grand parent handler, skipping gtk_window_key_press_event. See https://bugzilla.gnome.org/show_bug.cgi?id=676040 inspired from https://git.gnome.org/browse/evince/commit/?id=70a2c0780b1b44acfa18f4762a3400b89eb123b5 fix rhbz https://bugzilla.redhat.com/show_bug.cgi?id=1513826
2017-11-22Use a global array for view accel actionraveit651-15/+23
and a loop to change their sensitivity inspired from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=d15eeda https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=2ed0f3d https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=793361c
2017-09-09shell: fix stock item for message arearaveit651-3/+3
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