[Fedora-spins] [spin-kickstarts] Don't ship gnome-shell extensions on the desktop spin

Matthias Clasen mclasen at fedoraproject.org
Fri Sep 9 03:11:02 UTC 2011


commit 24fea01db27ba317e5dc5d38ec09e98bb09f39ea
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Thu Sep 8 18:15:29 2011 -0400

    Don't ship gnome-shell extensions on the desktop spin

 fedora-live-desktop.ks |   25 ++++---------------------
 1 files changed, 4 insertions(+), 21 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index b0d359e..67ca020 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -19,6 +19,10 @@ nss-mdns
 # This one needs to be kicked out of @base
 -smartmontools
 
+# The gnome-shell team does not want extensions in the default spin;
+# ibus support in gnome-shell will be integrated in GNOME 3.4
+-ibus-gnome3
+
 %end
 
 %post
@@ -53,27 +57,6 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
 favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'anaconda.desktop']
 FOE
 
-  # add installer to user menu
-  mkdir -p ~liveuser/.local/share/gnome-shell/extensions/Installer at shell-extensions.fedoraproject.org
-  cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer at shell-extensions.fedoraproject.org/metadata.json << FOE
-{"shell-version": ["2.91.91"], "uuid": "Installer at shell-extensions.fedoraproject.org", "name": "Installer", "description": "Install OS from user menu"}
-FOE
-
-  cat >> ~liveuser/.local/share/gnome-shell/extensions/Installer at shell-extensions.fedoraproject.org/extension.js << FOE
-const PopupMenu = imports.ui.popupMenu;
-const Shell = imports.gi.Shell;
-const Main = imports.ui.main;
-const Util = imports.misc.util;
-
-function main() {
-    let app = Shell.AppSystem.get_default().get_app('anaconda.desktop');
-    let item = new PopupMenu.PopupMenuItem(app.get_name());
-    item.connect('activate', function() { app.activate(-1); });
-
-    Main.panel._statusmenu.menu.addMenuItem(item, Main.panel._statusmenu.menu._getMenuItems().length - 1);
-}
-FOE
-
 fi
 
 # rebuild schema cache with any overrides we installed


More information about the spins mailing list