[gnome-lirc-properties] Bug 556585 - Disable Download button
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-lirc-properties] Bug 556585 - Disable Download button
- Date: Thu, 10 Sep 2009 14:38:54 +0000 (UTC)
commit 7c92d7e9d4fa12bf87110883ec74e0e18873bbd8
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 10 15:38:13 2009 +0100
Bug 556585 - Disable Download button
2009-09-10 Bastien Nocera <hadess hadess net>
* data/gnome-lirc-properties.glade:
* gnome_lirc_properties/lirc.py:
* gnome_lirc_properties/ui/RemoteControlProperties.py:
Disable the download button, the remote definitions from
Fluendo are out-dated, and still use weird keynames
instead of the standard Linux input-layer names
(Closes: #556585)
ChangeLog | 10 ++++++++++
data/gnome-lirc-properties.glade | 19 -------------------
gnome_lirc_properties/lirc.py | 2 ++
.../ui/RemoteControlProperties.py | 4 +---
4 files changed, 13 insertions(+), 22 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 41934e5..c32dd0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-09-10 Bastien Nocera <hadess hadess net>
+
+ * data/gnome-lirc-properties.glade:
+ * gnome_lirc_properties/lirc.py:
+ * gnome_lirc_properties/ui/RemoteControlProperties.py:
+ Disable the download button, the remote definitions from
+ Fluendo are out-dated, and still use weird keynames
+ instead of the standard Linux input-layer names
+ (Closes: #556585)
+
2009-06-30 Bastien Nocera <hadess hadess net>
* gnome_lirc_properties/backend.py: Don't be overly
diff --git a/data/gnome-lirc-properties.glade b/data/gnome-lirc-properties.glade
index c2abf19..35b9336 100644
--- a/data/gnome-lirc-properties.glade
+++ b/data/gnome-lirc-properties.glade
@@ -350,25 +350,6 @@
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="spacing">6</property>
<child>
- <widget class="GtkButton" id="button_download">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="tooltip" translatable="yes">Download custom configurations</property>
- <property name="label" translatable="yes">_Update</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <signal name="clicked" handler="_on_button_download_clicked"/>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">GTK_PACK_END</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<widget class="GtkButton" id="button_custom">
<property name="visible">True</property>
<property name="can_focus">True</property>
diff --git a/gnome_lirc_properties/lirc.py b/gnome_lirc_properties/lirc.py
index 9d9ed90..45cced2 100644
--- a/gnome_lirc_properties/lirc.py
+++ b/gnome_lirc_properties/lirc.py
@@ -288,6 +288,8 @@ class RemotesDatabase(object):
Reads remote configurations from tarball.
'''
+ return False
+
if not os.path.isfile(path):
return False
diff --git a/gnome_lirc_properties/ui/RemoteControlProperties.py b/gnome_lirc_properties/ui/RemoteControlProperties.py
index fa26227..e65af35 100644
--- a/gnome_lirc_properties/ui/RemoteControlProperties.py
+++ b/gnome_lirc_properties/ui/RemoteControlProperties.py
@@ -151,7 +151,6 @@ class RemoteControlProperties(object):
'radiobutton_supplied_remote',
'radiobutton_other_remote',
'alignment_remote_selection',
- 'button_download',
# preview widgets:
'label_preview_status',
@@ -362,8 +361,7 @@ class RemoteControlProperties(object):
use_supplied = self.use_supplied_remote
for child in remote_selection_widgets:
- if child is not self.__button_download:
- child.set_sensitive(not use_supplied)
+ child.set_sensitive(not use_supplied)
# Choose supplied remote when requested:
if use_supplied and self.supplied_remote:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]