[gnome-control-center] shell: Make sure the shell doesn't show up in itself
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Make sure the shell doesn't show up in itself
- Date: Thu, 7 Oct 2010 17:07:28 +0000 (UTC)
commit f3b74b019b0937e2fc1579a5723dcad06780ab49
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 7 18:06:04 2010 +0100
shell: Make sure the shell doesn't show up in itself
Spotted by Matthias Clasen <mclasen redhat com>
shell/gnomecc.menu | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/shell/gnomecc.menu b/shell/gnomecc.menu
index 1496ff3..e61f6f6 100644
--- a/shell/gnomecc.menu
+++ b/shell/gnomecc.menu
@@ -41,7 +41,7 @@
<!-- Avoid the shell having a launcher for itself -->
<Exclude>
- <Filename>gnomecc.desktop</Filename>
+ <Filename>gnome-control-center.desktop</Filename>
</Exclude>
<!-- Personal category -->
@@ -122,7 +122,10 @@
<And>
<Category>Settings</Category>
<Not>
- <Category>X-GNOME-Settings-Panel</Category>
+ <Or>
+ <Category>X-GNOME-Settings-Panel</Category>
+ <Filename>gnome-control-center.desktop</Filename>
+ </Or>
</Not>
</And>
</Include>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]