kuuko pushed a commit to branch master.

http://git.enlightenment.org/apps/epour.git/commit/?id=1ab1828937ab0c60a6b92e3501fcec58f53e25f1

commit 1ab1828937ab0c60a6b92e3501fcec58f53e25f1
Author: Kai Huuhko <[email protected]>
Date:   Mon Jul 7 03:59:20 2014 +0300

    Fix window class name
---
 epour/gui/Preferences.py     | 10 +++++-----
 epour/gui/TorrentProps.py    |  7 ++++++-
 epour/gui/TorrentSelector.py |  2 +-
 3 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/epour/gui/Preferences.py b/epour/gui/Preferences.py
index ff6acfe..f678024 100644
--- a/epour/gui/Preferences.py
+++ b/epour/gui/Preferences.py
@@ -63,13 +63,13 @@ class PreferencesDialog(StandardWindow):
 
     """ Base class for all preferences dialogs """
 
-    def __init__(self, name, title):
+    def __init__(self, title):
 
         elm_conf = Configuration()
         scale = elm_conf.scale
 
         StandardWindow.__init__(
-            self, name, title, autodel=True)
+            self, "epour", title, autodel=True)
 
         self.size = scale * 480, scale * 320
 
@@ -97,7 +97,7 @@ class PreferencesGeneral(PreferencesDialog):
         self.session = session
         conf = session.conf
         PreferencesDialog.__init__(
-            self, "epour_prefs_general", "Epour General Preferences")
+            self, "Epour General Preferences")
 
         limits = Limits(self, session)
         ports = ListenPorts(self, session)
@@ -275,7 +275,7 @@ class PreferencesProxy(PreferencesDialog):
 
     def __init__(self, parent, session):
         PreferencesDialog.__init__(
-            self, "epour_prefs_proxy", "Epour Proxy Preferences")
+            self, "Epour Proxy Preferences")
 
         proxies = [
             ["Proxy for torrent peer connections",
@@ -497,7 +497,7 @@ class PreferencesSession(PreferencesDialog):
 
     def __init__(self, parent, session):
         PreferencesDialog.__init__(
-            self, "epour_prefs_session", "Epour Session Preferences")
+            self, "Epour Session Preferences")
 
         self.session = session
 
diff --git a/epour/gui/TorrentProps.py b/epour/gui/TorrentProps.py
index 0a03ac0..45f7525 100644
--- a/epour/gui/TorrentProps.py
+++ b/epour/gui/TorrentProps.py
@@ -173,7 +173,12 @@ class TorrentProps(InnerWindow):
 
 class TorrentFiles(StandardWindow):
     def __init__(self, h):
-        StandardWindow.__init__(self, "epour.files", "Files", size=(600, 400))
+        StandardWindow.__init__(
+            self,
+            "epour",
+            "Epour - Files for torrent: %s" % (h.name()),
+            size=(600, 400)
+            )
         self.callback_delete_request_add(lambda x: self.delete())
 
         box = Box(self, size_hint_weight=EXPAND_BOTH)
diff --git a/epour/gui/TorrentSelector.py b/epour/gui/TorrentSelector.py
index e989f32..195e65b 100644
--- a/epour/gui/TorrentSelector.py
+++ b/epour/gui/TorrentSelector.py
@@ -57,7 +57,7 @@ log = logging.getLogger("epour.gui")
 class TorrentSelector(StandardWindow):
     def __init__(self, parent, session, t_uri=None):
         StandardWindow.__init__(
-            self, "epour_add_torrent", "Add Torrent",
+            self, "epour", "Epour - Add Torrent",
             size=(scale * 400, scale * 400), autodel=True
             )
 

-- 


Reply via email to