add images indicating up/download in queue manager
authorMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 3 Oct 2009 10:44:56 +0000 (10:44 +0000)
committerMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 3 Oct 2009 10:44:56 +0000 (10:44 +0000)
configure.ac
ftpbrowser/src/FTPQueueManager.py
ftpbrowser/src/LICENSE
ftpbrowser/src/Makefile.am
ftpbrowser/src/images/Makefile.am [new file with mode: 0644]
ftpbrowser/src/images/down.png [new file with mode: 0644]
ftpbrowser/src/images/up.png [new file with mode: 0644]

index ec55e51..ae1752e 100644 (file)
@@ -244,4 +244,5 @@ elektro/src/Makefile
 ftpbrowser/Makefile
 ftpbrowser/po/Makefile
 ftpbrowser/src/Makefile
+ftpbrowser/src/images/Makefile
 ])
index b5bc990..2f32ab5 100644 (file)
@@ -41,7 +41,7 @@ class FTPQueueManager(Screen):
                                        {"template": [
                                                        MultiContentEntryText(pos=(35,1), size=(510,19), text = 0, font = 0, flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER),
                                                        MultiContentEntryText(pos=(35,20), size=(510,18), text = 1, font = 0, flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER),
-                                                       <!--MultiContentEntryPixmapAlphaTest(pos=(2,2), size=(32,32), png = 2),-->
+                                                       MultiContentEntryPixmapAlphaTest(pos=(2,2), size=(32,32), png = 2),
                                                ],
                                          "fonts": [gFont("Regular", 18)],
                                          "itemHeight": 37
@@ -62,8 +62,8 @@ class FTPQueueManager(Screen):
                self['title'] = StaticText()
 
                self.pixmaps = (
-                       0, #LoadPixmap(resolveFilename(SCOPE_PLUGINS, "Extensions/FTPBrowser/images/up.png")),
-                       0 #LoadPixmap(resolveFilename(SCOPE_PLUGINS, "Extensions/FTPBrowser/images/down.png"))
+                       LoadPixmap(resolveFilename(SCOPE_PLUGINS, "Extensions/FTPBrowser/images/up.png")),
+                       LoadPixmap(resolveFilename(SCOPE_PLUGINS, "Extensions/FTPBrowser/images/down.png"))
                )
 
                self["actions"] = ActionMap(["OkCancelActions", "ColorActions"],
index 614d30b..3ddfe36 100644 (file)
@@ -10,3 +10,6 @@ is licensed by Dream Multimedia GmbH.
 This plugin is NOT free software. It is open source, you are allowed to
 modify it (if you keep the license), but it may not be commercially 
 distributed other than under the conditions noted above.
+
+Some Icons used are taken from the Tango Desktop Project and are available
+as public domain, see http://tango.freedesktop.org/ for more information. 
index 08cee75..fb3de99 100644 (file)
@@ -1,3 +1,4 @@
+SUBDIRS = images\r
 installdir = /usr/lib/enigma2/python/Plugins/Extensions/FTPBrowser\r
 \r
 install_PYTHON = *.py\r
diff --git a/ftpbrowser/src/images/Makefile.am b/ftpbrowser/src/images/Makefile.am
new file mode 100644 (file)
index 0000000..7879605
--- /dev/null
@@ -0,0 +1,3 @@
+installdir = /usr/lib/enigma2/python/Plugins/Extensions/FTPBrowser/images
+
+install_DATA = down.png up.png
diff --git a/ftpbrowser/src/images/down.png b/ftpbrowser/src/images/down.png
new file mode 100644 (file)
index 0000000..7bc4256
Binary files /dev/null and b/ftpbrowser/src/images/down.png differ
diff --git a/ftpbrowser/src/images/up.png b/ftpbrowser/src/images/up.png
new file mode 100644 (file)
index 0000000..93125e8
Binary files /dev/null and b/ftpbrowser/src/images/up.png differ