diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-10-09 11:15:13 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-10-09 11:15:13 -0500 |
commit | b7a1f811bf9e3ef00caeb8228a64e480a1520841 (patch) | |
tree | 95151f70d6430527be9f939feca8936661bd0943 /pcr/pulseaudio-equalizer-ladspa/pulseaudio-equalizer-2.7-window-icon.patch | |
parent | 91d4edd4e28e1782470233966eeba20cf882802e (diff) | |
download | abslibre-b7a1f811bf9e3ef00caeb8228a64e480a1520841.tar.gz abslibre-b7a1f811bf9e3ef00caeb8228a64e480a1520841.tar.bz2 abslibre-b7a1f811bf9e3ef00caeb8228a64e480a1520841.zip |
Removing pulseaudio-equalizer-ladspa: This package is in [community] repo
Diffstat (limited to 'pcr/pulseaudio-equalizer-ladspa/pulseaudio-equalizer-2.7-window-icon.patch')
-rw-r--r-- | pcr/pulseaudio-equalizer-ladspa/pulseaudio-equalizer-2.7-window-icon.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/pcr/pulseaudio-equalizer-ladspa/pulseaudio-equalizer-2.7-window-icon.patch b/pcr/pulseaudio-equalizer-ladspa/pulseaudio-equalizer-2.7-window-icon.patch deleted file mode 100644 index d986f114c..000000000 --- a/pcr/pulseaudio-equalizer-ladspa/pulseaudio-equalizer-2.7-window-icon.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- pulseaudio-equalizer.orig/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py 2011-03-17 10:23:27.000000000 +0000 -+++ pulseaudio-equalizer/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py 2011-03-17 10:53:48.000000000 +0000 -@@ -359,7 +359,20 @@ class Equalizer: - self.window.connect("destroy", self.destroy_equalizer) - self.window.set_title(windowtitle + " [" + realstatus + "]") - self.window.set_border_width(0) -- icon = self.window.set_icon_from_file("/usr/share/icons/hicolor/scalable/apps/multimedia-volume-control.svg") -+ -+ icon_theme = gtk.icon_theme_get_default() -+ icon_theme = gtk.icon_theme_get_default() -+ if icon_theme.has_icon("multimedia-volume-control"): -+ icon = icon_theme.load_icon("multimedia-volume-control", 16, 0) -+ self.window.set_icon(icon) -+ elif icon_theme.has_icon("gnome-volume-control"): -+ icon = icon_theme.load_icon("gnome-volume-control",16,0) -+ self.window.set_icon(icon) -+ elif icon_theme.has_icon("stock_volume"): -+ icon = icon_theme.load_icon("stock_volume",16,0) -+ self.window.set_icon(icon) -+ else: -+ print ("No icon found, window will be iconless") - - menu = gtk.Menu() - |