diff options
author | Xan Lopez <xan@igalia.com> | 2012-12-12 00:29:19 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-12-12 19:22:33 +0800 |
commit | 6ede0c3ebcbc129ea1112ee9f43427231ab50e07 (patch) | |
tree | a7914732e5ce2b86eeaf7d44956371c610d341e4 /tests/applications | |
parent | 7f6211d2901f70d571f18106bf97ff636712a712 (diff) | |
download | gsoc2013-epiphany-6ede0c3ebcbc129ea1112ee9f43427231ab50e07.tar gsoc2013-epiphany-6ede0c3ebcbc129ea1112ee9f43427231ab50e07.tar.gz gsoc2013-epiphany-6ede0c3ebcbc129ea1112ee9f43427231ab50e07.tar.bz2 gsoc2013-epiphany-6ede0c3ebcbc129ea1112ee9f43427231ab50e07.tar.lz gsoc2013-epiphany-6ede0c3ebcbc129ea1112ee9f43427231ab50e07.tar.xz gsoc2013-epiphany-6ede0c3ebcbc129ea1112ee9f43427231ab50e07.tar.zst gsoc2013-epiphany-6ede0c3ebcbc129ea1112ee9f43427231ab50e07.zip |
Handle a bit more gracefully the self-launch detection
Check whether the app that will launch a given download is actually
the browser itself, and do nothing *before* going ahead. Seems better
than actually launching and then aborting on startup through UUID
hacks.
Diffstat (limited to 'tests/applications')
-rw-r--r-- | tests/applications/defaults.list | 5 | ||||
-rw-r--r-- | tests/applications/epiphany.desktop | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/applications/defaults.list b/tests/applications/defaults.list new file mode 100644 index 000000000..894702586 --- /dev/null +++ b/tests/applications/defaults.list @@ -0,0 +1,5 @@ + +[Default Applications] +text/html=epiphany.desktop + + diff --git a/tests/applications/epiphany.desktop b/tests/applications/epiphany.desktop new file mode 100644 index 000000000..8e5390cf8 --- /dev/null +++ b/tests/applications/epiphany.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Exec=epiphany %U +StartupNotify=true +Terminal=false +Type=Application +Icon=web-browser +Categories=Network;GNOME;GTK;WebBrowser; +MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https; |