kuuko pushed a commit to branch master.

http://git.enlightenment.org/apps/epour.git/commit/?id=59b7544370e4c7cf2531a511ab2c5f0eb470f72e

commit 59b7544370e4c7cf2531a511ab2c5f0eb470f72e
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Wed Apr 22 05:05:55 2015 +0300

    Use more xdg icon names
---
 epour/gui/__init__.py | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/epour/gui/__init__.py b/epour/gui/__init__.py
index 98ddcc1..87a131e 100644
--- a/epour/gui/__init__.py
+++ b/epour/gui/__init__.py
@@ -408,9 +408,9 @@ class SessionStatus(Table):
         self.uploads_l.text = t
         self.listen_l.text = str(self.session.is_listening())
         if self.session.is_paused():
-            icon = "player_pause"
+            icon = "media-playback-pause"
         else:
-            icon = "player_play"
+            icon = "media-playback-play"
         try:
             self.ses_pause_ic.standard = icon
         except Exception as e:
@@ -482,12 +482,18 @@ class TorrentClass(GenlistItemClass):
                 try:
                     ic.standard = "up"
                 except Exception:
-                    pass
+                    try:
+                        ic.standard = "arrow-up"
+                    except Exception:
+                        pass
             else:
                 try:
                     ic.standard = "down"
                 except Exception:
-                    pass
+                    try:
+                        ic.standard = "arrow-down"
+                    except Exception:
+                        pass
         except RuntimeError:
             log.debug("Setting torrent ic failed")
         ic.tooltip_text_set(self.state_str[s.state])

-- 


Reply via email to