[totem] Only close the subtitles download dialogue after downloading has finished
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Only close the subtitles download dialogue after downloading has finished
- Date: Thu, 30 Dec 2010 19:07:19 +0000 (UTC)
commit 2711b3ca025604a99868a5b28c79628e97d91897
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Dec 30 19:06:58 2010 +0000
Only close the subtitles download dialogue after downloading has finished
src/plugins/opensubtitles/opensubtitles.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index 38866b8..7fa98b6 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -568,6 +568,7 @@ class OpenSubtitles(gobject.GObject, Peas.Activatable):
self.model.lock.release()
self.dialog.get_window().set_cursor(None)
+ self.on_close_clicked (None)
if suburi:
self.totem.set_current_subtitle(suburi)
@@ -597,7 +598,6 @@ class OpenSubtitles(gobject.GObject, Peas.Activatable):
self.action.set_sensitive(False)
self.treeview.set_sensitive(False)
self.os_save_selected_subtitle()
- self.on_close_clicked (None)
# Callbacks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]