[gnome-lirc-properties] Force "custom" remote when not supplied
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-lirc-properties] Force "custom" remote when not supplied
- Date: Wed, 19 May 2010 10:25:49 +0000 (UTC)
commit 16d4a54bc999ca0d21003ec82babd76892343f36
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 19 11:24:18 2010 +0100
Force "custom" remote when not supplied
When a compatible remote is not provided in the receivers.conf,
force using a custom configuration, and disable the "supplied"
configuration.
https://bugzilla.gnome.org/show_bug.cgi?id=618903
.../ui/RemoteControlProperties.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gnome_lirc_properties/ui/RemoteControlProperties.py b/gnome_lirc_properties/ui/RemoteControlProperties.py
index 775c977..8479a18 100644
--- a/gnome_lirc_properties/ui/RemoteControlProperties.py
+++ b/gnome_lirc_properties/ui/RemoteControlProperties.py
@@ -612,6 +612,11 @@ class RemoteControlProperties(object):
# highlight supplied IR remote:
if self.supplied_remote:
self.selected_remote = self.supplied_remote
+ self.__radiobutton_supplied_remote.set_sensitive(True)
+ self.__radiobutton_supplied_remote.set_active(True)
+ else:
+ self.__radiobutton_other_remote.set_active(True)
+ self.__radiobutton_supplied_remote.set_sensitive(False)
finally:
# thaw configuration updates:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]