From 5ac7ce19c2780381b1f7db71e4ae55c194f1ccce Mon Sep 17 00:00:00 2001
From: Santiago Rodriguez <santi@trisquel.info>
Date: Thu, 5 Mar 2015 16:36:19 +0100
Subject: [PATCH] Use unity control panel if avaliable

---
 helpers/make-indicator-datetime | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 helpers/make-indicator-datetime

diff --git a/helpers/make-indicator-datetime b/helpers/make-indicator-datetime
new file mode 100644
index 00000000..9a5e9ff8
--- /dev/null
+++ b/helpers/make-indicator-datetime
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+#    Copyright (C) 2015  Santiago Rodríguez <santi@trisquel.info>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=1
+
+. ./config
+
+#Use unity-control-center when avaliable,not only when using Unity
+sed -i '/XDG_CURRENT_DESKTOP/c\    if \(path != nullptr\)' src/actions-live.cpp 
+
+changelog "Revert from using gnome control panel to unity" 
+
+compile
-- 
GitLab