gnome-software/gnome-software-adapt-to-gnome-terminal-rename.patch
2015-08-12 10:22:54 +01:00

49 lines
1.9 KiB
Diff

From be22ea45da51abe5000e92dbbebeb3701b316fef Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Mon, 25 May 2015 23:13:44 +0200
Subject: [PATCH] Adapt to gnome-terminal desktop file rename
The upstream desktop file is gnome-terminal.desktop, but it's renamed to
org.gnome.Terminal.desktop in Fedora.
---
data/modulesets/system.xml | 2 +-
src/gs-folders.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/modulesets/system.xml b/data/modulesets/system.xml
index ddba283..d77d145 100644
--- a/data/modulesets/system.xml
+++ b/data/modulesets/system.xml
@@ -63,7 +63,6 @@
<module type="application">gnome-control-center.desktop</module>
<module type="application">gnome-disks.desktop</module>
<module type="application">gnome-system-monitor.desktop</module>
- <module type="application">gnome-terminal.desktop</module>
<module type="application">gucharmap.desktop</module>
<module type="application">org.gnome.baobab.desktop</module>
<module type="application">org.gnome.Contacts.desktop</module>
@@ -72,6 +71,7 @@
<module type="application">org.gnome.Nautilus.desktop</module>
<module type="application">org.gnome.Screenshot.desktop</module>
<module type="application">org.gnome.Software.desktop</module>
+ <module type="application">org.gnome.Terminal.desktop</module>
<module type="application">org.gnome.Totem.desktop</module>
<module type="application">yelp.desktop</module>
</moduleset>
diff --git a/src/gs-folders.c b/src/gs-folders.c
index ebb7ca2..5bd5fd1 100644
--- a/src/gs-folders.c
+++ b/src/gs-folders.c
@@ -558,7 +558,7 @@ gs_folders_convert (void)
"org.gnome.Screenshot.desktop",
"gnome-system-log.desktop",
"gnome-system-monitor.desktop",
- "gnome-terminal.desktop",
+ "org.gnome.Terminal.desktop",
"gnome-tweak-tool.desktop",
"gucharmap.desktop",
"seahorse.desktop",
--
2.4.0