summaryrefslogtreecommitdiff
path: root/libre/gnome-boxes/hide_download_button.patch
diff options
context:
space:
mode:
authortheova <theova@bluewin.ch>2020-01-02 11:16:41 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-09 16:55:58 +0100
commitdf7af375cead05af3dc699cdccb2f92fa5ee06ac (patch)
treec2e2487581b000a1fea8f29bc2e673b97af86599 /libre/gnome-boxes/hide_download_button.patch
parent27de2ef7d53c3aef0e2b4ac657759a10679ad0bc (diff)
downloadabslibre-df7af375cead05af3dc699cdccb2f92fa5ee06ac.tar.gz
abslibre-df7af375cead05af3dc699cdccb2f92fa5ee06ac.tar.bz2
abslibre-df7af375cead05af3dc699cdccb2f92fa5ee06ac.zip
Hide download button
Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> schrieb am Sat, 21. Dec 19 17:02: >On Fri, 20 Dec 2019 13:47:22 +0100 >theova <theova@bluewin.ch> wrote: >> gnome-boxes has buttons to download and install non-free GNU/Linux >> distributions (as in previous versions). It is not possible to do >> that, e message "unsupported protocol https" pops up. Thus I'm not >> sure if this is a freedom issue? >Ideally it would be better to fix the issue. Users (me included) are >probably not expecting such buttons in the first place. > >Is your PKGBUILD fixing it in prepare() ? or does it still need to be >fixed in a subsequent patch? Here is a new patch to face this issue. As only non-free OS are downloadable through the download functionality, I decided to hide the download button completely. Working on x86_64 as expected, i686 and armv7h build fine. From: Theo von Arx <theova@member.fsf.org> Date: Thu, 2 Jan 2020 10:57:50 +0100 Subject: [PATCH] [libre/gnome-boxes] Hide download button - Add a patch to hide the download button as only nonfree OS can be downloaded - Add rationale - Bump pkrel - Remove recommendation of nonfree OS Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/gnome-boxes/hide_download_button.patch')
-rw-r--r--libre/gnome-boxes/hide_download_button.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/gnome-boxes/hide_download_button.patch b/libre/gnome-boxes/hide_download_button.patch
new file mode 100644
index 000000000..1b6d353ad
--- /dev/null
+++ b/libre/gnome-boxes/hide_download_button.patch
@@ -0,0 +1,13 @@
+diff --git a/data/ui/wizard-source.ui b/data/ui/wizard-source.ui
+index 94c8a802..a5bfb774 100644
+--- a/data/ui/wizard-source.ui
++++ b/data/ui/wizard-source.ui
+@@ -60,7 +60,7 @@
+
+ <child>
+ <object class="GtkButton" id="download_an_os_button">
+- <property name="visible">True</property>
++ <property name="visible">False</property>
+ <signal name="clicked" handler="on_download_an_os_button_clicked"/>
+ <style>
+ <class name="boxes-menu-row"/>