[totem] opensubtitles: Don't glitchily sensitise the Apply button while searching



commit 68c34a68c8a2e91436a372b1396041435f76d9e3
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Jul 5 19:07:40 2011 +0100

    opensubtitles: Don't glitchily sensitise the Apply button while searching

 src/plugins/opensubtitles/opensubtitles.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index cdbb4ce..d609c7c 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -594,7 +594,6 @@ class OpenSubtitles (GObject.Object, Peas.Activatable):
 
         results = search_thread.get_results ()
         if results:
-            self._apply_button.set_sensitive (True)
             for sub_data in results:
                 if not SUBTITLES_EXT.count (sub_data['SubFormat']):
                     continue
@@ -602,8 +601,6 @@ class OpenSubtitles (GObject.Object, Peas.Activatable):
                                         sub_data['SubFormat'],
                                         sub_data['SubRating'],
                                         sub_data['IDSubtitleFile'],])
-        else:
-            self._apply_button.set_sensitive (False)
 
         self._dialog.get_window ().set_cursor (None)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]