~ubuntu-branches/debian/sid/stella/sid

« back to all changes in this revision

Viewing changes to debian/patches/stella-open-with.patch

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2011-10-26 23:04:32 UTC
  • Revision ID: package-import@ubuntu.com-20111026230432-cxcy9i2k9ylcschw
Tags: 3.4.1-2
* Make Stella available in the "Open With Other Applications..." menu
  in Gnome (and presumably similar entries in other desktop
  environments; LP: #880114).
* Build with gcc 4.6.1 (which identifies itself as gcc 4.6).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Indicate that stella accepts a single filename as argument
 
2
Author: Stephen Kitt <steve@sk2.org>
 
3
Forwarded: yes
 
4
 
 
5
Adding "%f" to the "Exec" stanza causes Nautilus to make Stella
 
6
available in the "Open With Other Application..." menu on a file. See
 
7
https://bugs.launchpad.net/ubuntu/+source/stella/+bug/880114 for the
 
8
bug report which prompted this.
 
9
 
 
10
--- stella.orig/src/unix/stella.desktop
 
11
+++ stella/src/unix/stella.desktop
 
12
@@ -1,7 +1,7 @@
 
13
 [Desktop Entry]
 
14
 Name=Stella
 
15
 Comment=A multi-platform Atari 2600 emulator
 
16
-Exec=stella
 
17
+Exec=stella %f
 
18
 Icon=stella.png
 
19
 Terminal=false
 
20
 Type=Application