add rb3 monochrome icon for the browser source icon - issue #225

Esse commit está contido em:
fossfreedom
2013-10-20 17:08:35 +01:00
commit 8ba870184d
7 arquivos alterados com 3 adições e 4 exclusões
+2 -4
Ver Arquivo
@@ -94,8 +94,7 @@ class CoverArtBrowserPlugin(GObject.Object, Peas.Activatable):
# lets assume that python3 versions of RB only has the new icon attribute in the source
if rb3compat.PYVER >=3:
iconfile = Gio.File.new_for_path(
rb.find_plugin_file(self, 'img/' + Theme(self).current\
+ '/covermgr.png'))
rb.find_plugin_file(self, 'img/covermgr.png'))
self.source = CoverArtBrowserSource(
shell=self.shell,
@@ -107,8 +106,7 @@ class CoverArtBrowserPlugin(GObject.Object, Peas.Activatable):
else:
what, width, height = Gtk.icon_size_lookup(Gtk.IconSize.LARGE_TOOLBAR)
pxbf = GdkPixbuf.Pixbuf.new_from_file_at_size(
rb.find_plugin_file(self, 'img/' + Theme(self).current\
+ '/covermgr.png'), width, height)
rb.find_plugin_file(self, 'img/covermgr.png'), width, height)
self.source = CoverArtBrowserSource(
shell=self.shell,

Antes

Largura:  |  Altura:  |  Tamanho: 60 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 60 KiB

Arquivo binário não exibido.

Depois

Largura:  |  Altura:  |  Tamanho: 610 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 60 KiB

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 60 KiB

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 60 KiB

+1
Ver Arquivo
@@ -66,6 +66,7 @@ cp -r "${SCRIPT_PATH}"* "$PLUGIN_PATH"
if [[ $RB == false ]]
then
mv "$PLUGIN_PATH"coverart_browser.plugin3 "$PLUGIN_PATH"coverart_browser.plugin
mv "$PLUGIN_PATH"img/covermgr_rb3.png "$PLUGIN_PATH"img/covermgr.png
fi
#remove the install script from the dir (not needed)