From 8580b762effe51044223420822a20ca45fa6adb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rub=C3=A9n=20Rodr=C3=ADguez?= <ruben@trisquel.info>
Date: Tue, 22 Jul 2014 20:12:58 +0200
Subject: [PATCH] Tuned up gnome-cc

---
 helpers/make-gnome-control-center | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/helpers/make-gnome-control-center b/helpers/make-gnome-control-center
index 1c50a5f5..e4321a31 100644
--- a/helpers/make-gnome-control-center
+++ b/helpers/make-gnome-control-center
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=2
+VERSION=4
 COMPONENT=main
 
 . ./config
@@ -32,14 +32,21 @@ replace gnome-fallback gnome-classic .
 replace UbuntuLogo.png TrisquelLogo.png
 rm debian/UbuntuLogoBlank.png
 cp $DATA/TrisquelLogo.png debian/TrisquelLogoBlank.png
+sed 's/ubuntu/trisquel/g; s/Ubuntu/Trisquel/g; s/14.04 LTS/7.0 LTS/' -i debian/rules
 
 # disable ubuntu custom help
-rm ./debian/patches/53_use_ubuntu_help.patch
-sed /use_ubuntu_help/d -i debian/patches/series
+
+for patch in 53_use_ubuntu_help.patch 56_use_ubuntu_info_branding.patch 58_ubuntu_icon_views_redesign.patch; do
+    rm ./debian/patches/$patch
+    sed /$patch/d -i debian/patches/series
+done
 
 # Edit menu selections
 cp $DATA/gnomecc.menu.in shell/gnomecc.menu.in
 
+#Remove top menu
+sed '/G_ACTION/,/Quit/d' -i shell/control-center.c
+
 replace "Trisquel-Gettext" "Ubuntu-Gettext" .
 
 changelog "Replaced references to gnome-fallback with gnome-classic"
-- 
GitLab