From 208e3f385137b3c51c49c8d7e86dd02b990d3d73 Mon Sep 17 00:00:00 2001 From: "Andrew M. 'Leny' Lindley" <andrew@andrewlindley.co.uk> Date: Sat, 11 Apr 2015 02:54:13 +0100 Subject: [PATCH] Fix ui6274 Picard references non-FSDG plugins repo Correct changelog comment as per code review Change to hiding Download Plugin button with ...setVisible(False) Built and tested for Toutatis and Belenos --- helpers/make-picard | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 helpers/make-picard diff --git a/helpers/make-picard b/helpers/make-picard new file mode 100644 index 00000000..b39a62c9 --- /dev/null +++ b/helpers/make-picard @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Copyright (C) 2015 Andrew M. Lindley <andrew@andrewlindley.co.uk> +# +# 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 + +sed '/self.plugin_download = QtGui.QPushButton(self.groupBox_2)/a\ + self.plugin_download.setVisible(False) +' -i picard/ui/ui_options_plugins.py + +changelog 'Disable Download Plugin in picard/ui/ui_options_plugins.py #6274' + +compile + -- GitLab