[brasero] Fix #586040 – duplicated command listed in open-with dialog



commit 6b6616f2eed91eb2bdb082d7c9c165d07416dd0f
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Jul 13 14:22:39 2009 +0200

    Fix #586040 â?? duplicated command listed in open-with dialog
    Obsoletes #587186 â?? change Name= for different .desktop files
    Remove three desktop files and let brasero detects (which it can do automatically) what type of file it is and what it should do with it

 configure.in                             |    3 ---
 data/Makefile.am                         |    3 ---
 data/brasero-open-image.desktop.in.in    |   16 ----------------
 data/brasero-open-playlist.desktop.in.in |   16 ----------------
 data/brasero-open-project.desktop.in.in  |   16 ----------------
 data/brasero.desktop.in.in               |    1 +
 po/POTFILES.in                           |    3 ---
 7 files changed, 1 insertions(+), 57 deletions(-)
---
diff --git a/configure.in b/configure.in
index b100c12..543482a 100644
--- a/configure.in
+++ b/configure.in
@@ -432,9 +432,6 @@ docs/reference/Makefile
 docs/reference/version.xml
 data/Makefile
 data/brasero.desktop.in
-data/brasero-open-playlist.desktop.in
-data/brasero-open-image.desktop.in
-data/brasero-open-project.desktop.in
 data/brasero-copy-medium.desktop.in
 data/icons/Makefile
 help/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index f730708..315ca9d 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,9 +11,6 @@ schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
 
 desktopdir=$(datadir)/applications
 desktop_in_files =	brasero.desktop.in			\
-			brasero-open-playlist.desktop.in	\
-			brasero-open-project.desktop.in		\
-			brasero-open-image.desktop.in		\
 			brasero-copy-medium.desktop.in
 		
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
diff --git a/data/brasero.desktop.in.in b/data/brasero.desktop.in.in
index 9e5d1df..2d90956 100644
--- a/data/brasero.desktop.in.in
+++ b/data/brasero.desktop.in.in
@@ -3,6 +3,7 @@ _Name=Brasero Disc Burner
 _GenericName=Disc Burner
 _Comment=Create and copy CDs and DVDs
 Categories=GNOME;AudioVideo;DiscBurning;
+MimeType=application/x-cd-image;application/x-cdrdao-toc;application/x-cue;application/x-toc;audio/x-scpls;audio/x-ms-asx;audio/x-mp3-playlist;audio/x-mpegurl;application/x-brasero;
 Exec=brasero %U
 Icon=brasero
 StartupNotify=true
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0b595cd..00d5df3 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -122,6 +122,3 @@ plugins/dvdauthor/burn-dvdauthor.c
 plugins/transcode/burn-vob.c
 plugins/vcdimager/burn-vcdimager.c
 data/brasero-copy-medium.desktop.in.in
-data/brasero-open-image.desktop.in.in
-data/brasero-open-playlist.desktop.in.in
-data/brasero-open-project.desktop.in.in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]