From 610decb42d6d45e91c5c9f50be9a1304a9ba08d4 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sun, 11 Feb 2007 14:13:53 +0000 Subject: [PATCH] Don't allow the OS and CPU combos ever to be blank. Added FreeBSD to the list of OS values. git-svn-id: https://zero-install.svn.sourceforge.net/svnroot/zero-install/trunk/0publish-gui/trunk/0publish-gui@1510 9f8c893c-44ee-0310-b757-c8ca8341c71e --- 0publish-gui.glade | 3 ++- implementation.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/0publish-gui.glade b/0publish-gui.glade index 252feb6..3b99171 100644 --- a/0publish-gui.glade +++ b/0publish-gui.glade @@ -1504,7 +1504,8 @@ You should have received a copy of the GNU General Public License along with thi True * -Linux +Linux +FreeBSD False True True diff --git a/implementation.py b/implementation.py index e1f5f40..35602ce 100644 --- a/implementation.py +++ b/implementation.py @@ -77,6 +77,9 @@ class ImplementationProperties: main.combo_set_text(widgets.get_widget('os'), arch_os) main.combo_set_text(widgets.get_widget('cpu'), arch_cpu) inherit_arch.set_active(False) + else: + widgets.get_widget('os').set_active(0) + widgets.get_widget('cpu').set_active(0) def ok(): self.update_impl(element, widgets) -- 2.11.4.GIT