summaryrefslogtreecommitdiff
path: root/shell/ev-application.c
AgeCommit message (Collapse)AuthorFilesLines
5 daysev-application: Quote user-supplied strings in ev_spawn command lineVictor Kareh1-7/+13
When spawning a new atril instance for cross-document links, the destination and search parameters from the document were interpolated directly into the command line without shell quoting. Values containing spaces or special characters could be split into separate arguments by the shell parser, potentially being interpreted as unintended flags by the child process. Apply shell quoting to page label, named destination, and search string values before appending them to the command line, consistent with how other spawn sites in the codebase already handle this.
2025-03-31Wayland: stop segfaults on some systemslukefromdc1-3/+11
*Put a missed instance of gdk_x11_screen_get_screen_number behind x11-only selectors
2021-11-20Use a blank line at mostrbuj1-2/+0
2020-12-11Support non-X11 windowing systemswb96881-6/+10
2018-03-22shell: Use GResource for data filesChristian Persch1-9/+0
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
2018-03-21shell: Use GtkApplication to inhibit the screensaverChristian Persch1-24/+0
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 Persch1-142/+152
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-21shell: Use gdbus-codegen for the org.mate.atril.Application interfaceChristian Persch1-111/+98
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=c9aada8
2017-08-03avoid deprecated gdk_display_get_screen and gdk_display_get_n_screensZenWalker1-7/+2
2017-07-19avoid deprecated gdk_screen_get_numberZenWalker1-1/+1
2016-11-23move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-5/+0
and require caja >= 1.17.1
2016-07-22Add --named-dest command line argumentraveit651-0/+10
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-05-26shell: Do not save file chooser open/save uriraveit651-36/+0
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
2015-12-03shell: support the launch of multiple URI argumentsmonsta1-1/+1
from https://git.gnome.org/browse/evince/commit/?id=28f8be70a6a8c941ef8326cf831238365eae4689
2015-08-31corrected code for --page-index and --page-label command line optionsmonsta1-32/+48
partially taken from https://git.gnome.org/browse/evince/commit/?id=26c0109e67aa02fb0e58b2580a6df41363c78bd5
2015-08-31drop support for win32/osx/hildon, make smclient mandatoryMonsta1-49/+0
2015-01-10shell: drop ancient code with support for Glib < 2.6.0Monsta1-5/+1
2014-12-10Call gdk_notify_startup_complete when acting as remoteinfirit1-0/+4
The new logic with multiple processes removed the call, causing a hung startup notification when opening a document for the second time. Taken from evince commit: 6935cbce7dce37600abe92eec6344ffde0cc6bae From: David Benjamin <[email protected]>
2014-10-13Uses g_app_info_launch_uris instead of g_app_info_launch to spawn other sessionsStefano Karapetsas1-3/+9
Closes https://github.com/mate-desktop/atril/issues/86 Solution comes from evince code
2014-10-05Also load the accel file from the new locationinfirit1-1/+1
2014-10-05 Drop more glib compat code for accels fileinfirit1-5/+1
2014-10-05Move accel file to the proper place.infirit1-1/+1
2014-10-05Drop glib compat code for accels fileinfirit1-5/+1
2014-01-21libview: gdk_display_get_app_launch_context is available only in GTK3atril-1.7.0Stefano Karapetsas1-0/+5
Add fix for GTK2
2014-01-21shell: Add GTK3 supportStefano Karapetsas1-34/+32
2012-01-30g_get_user_config_dir() would be better ↵Perberos1-3/+15
(https://github.com/mate-desktop/mate-panel/issues/8)
2011-11-09using ~/.config/ instead of ~/.mate2/Perberos1-48/+51
2011-11-09renaming evince to atrilPerberos1-30/+30
2011-11-09inicialPerberos1-0/+1151