summaryrefslogtreecommitdiff
path: root/libview/ev-view-presentation.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-28Remove warning -Wtype-limitsrbuj1-1/+1
2019-08-19view-presentation: Use monitor instead of screenraveit651-4/+30
to determine window size. Replace {Width/Hight}OfScreen which works only with X11
2018-07-18presentation: avoid deprecated 'gtk_style_context_set_background'Pablo Barciela1-3/+0
2018-05-10libview: replace deprecated gdk_flushraveit651-2/+4
2018-03-26Allow changing the page of a presentationWilliam Jon McCann1-3/+24
https://bugzilla.gnome.org/show_bug.cgi?id=693749 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=53d6a3
2018-03-26libview: Fix goto window in presentation modeCarlos Garcia Campos1-1/+2
It wasn't correctly set as modal. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-2&id=987aab6
2018-03-26libview: avoid deprecated gdk_screen_get_monitorraveit651-4/+4
....in ev-view-presentation This was introduced again in previous commit.
2018-03-26EvPresentationView: Render correctly on hi-dpi displaysOwen W. Taylor1-13/+48
Create rendering jobs with a scale that incorporate the scale factor of the widget, and then use cairo_surface_set_device_scale() to make the resulting surfaces render at the correct size. Handle changes to the scale factor both for the cached surfaces, and also for the monitor dimensions, which are reported in scaled coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=723431 origin commit: https://git.gnome.org/browse/evince/commit/?id=37c13b
2018-03-22libview: use css to draw the background of presentationsraveit651-25/+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-01-31require GTK+ 3.22 and GLib 2.50monsta1-11/+1
2017-12-10WidthOfScreen and HeightOfScreen implementationPablo Barciela1-7/+4
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-08-20gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+11
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window gdk_screen_get_monitor_at_point
2017-08-20avoid deprecated gdk_screen_get_width/heightZenWalker1-3/+7
2016-11-23move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-130/+4
and require caja >= 1.17.1
2016-07-03GTK+-3 libview: Fix compiler warningsraveit651-0/+4
Add dummy handling of the GDK_SCROLL_SMOOTH direction. taken from: https://git.gnome.org/browse/evince/commit/?id=231445d
2016-07-03GTK+-3 ev-view-presentation: Fix a crash during the build with introspection ↵raveit651-15/+22
enabled Using GI_SCANNER_DEBUG=save-temps, the temporal files remained. It has been suggested that calling gtk_style_context_add_provider_for_screen() should, inside a g_once_init(), be in the class's _init() (not class_init()) hook. https://bugzilla.gnome.org/show_bug.cgi?id=726812 taken from: https://git.gnome.org/browse/evince/commit/?id=a203fc1
2016-06-29GTK+-3 ev-view-presentation: Fix a unused-but-set-variable compile warningraveit651-0/+4
taken from: https://git.gnome.org/browse/evince/commit/?id=0981802
2016-06-29GTK+-3: Use ev_document_misc_get_pointer_position() instad of deprecated ↵raveit651-0/+8
gtk_widget_get_pointer()
2016-06-22GTK+-3: do not use deprecated gtk_{h/v}box_newraveit651-0/+1
2015-08-08use GObject instead of deprecated GtkObject in GTK+2 as wellMonsta1-24/+1
2014-12-10presentation: Allow to change rotation in presentation modeinfirit1-18/+73
Taken from evince commit: ef9c2b1a189ddbdbd7cdb10dad6c3c6db4cb0ccd From: Carlos Garcia Campos <[email protected]>
2014-12-10presentation: Make next/previous methods publicinfirit1-4/+2
Taken from evince commit: f0361693221cdd168386509b6ffe97c72d21777a From: Carlos Garcia Campos <[email protected]>
2014-12-10Gtk3: presentation: Make sure background window is black by default in ↵infirit1-1/+17
presentation mode Taken from evince commit: cb45bdc33321121e2e0ec14e0c74530623180858 From: Carlos Garcia Campos <[email protected]>
2014-12-10Gtk3: Don't use gdk_cursor_unref()infirit1-0/+4
2014-12-10Gtk3: libview: Port EvViewPresentation to GtkStyleContextinfirit1-9/+31
Taken from evince commit: afa18f6b0d2d1851d5b89aba42b2ab263c00710b From: Carlos Garcia Campos <[email protected]>
2014-12-09GDK_KEY_* keys are Gtk+2 as well.infirit1-34/+31
2014-12-08Add support for external links to EvViewPresentation, close #111infirit1-8/+36
Taken from evince commit: 4f8bc8db98020835d2c4d39c902a296b784cf030 From: Carlos Garcia Campos <[email protected]> Gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=628711
2014-01-21libview: Add GTK3 supportStefano Karapetsas1-3/+95
2011-11-09renaming evince to atrilPerberos1-3/+3
2011-11-09inicialPerberos1-0/+1498