wicd: rename icons/hicolour to icons/hicolor
This commit is contained in:
parent
18681ae58e
commit
8b3b208f33
|
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
||||||
--systemd=$out/lib/systemd/ \
|
--systemd=$out/lib/systemd/ \
|
||||||
--logrotate=$out/etc/logrotate.d/ \
|
--logrotate=$out/etc/logrotate.d/ \
|
||||||
--desktop=$out/share/applications/ \
|
--desktop=$out/share/applications/ \
|
||||||
--icons=$out/share/icons/hicolour/ \
|
--icons=$out/share/icons/hicolor/ \
|
||||||
--translations=$out/share/locale/ \
|
--translations=$out/share/locale/ \
|
||||||
--autostart=$out/etc/xdg/autostart/ \
|
--autostart=$out/etc/xdg/autostart/ \
|
||||||
--varlib=$out/var/lib/ \
|
--varlib=$out/var/lib/ \
|
||||||
|
|
|
@ -10,9 +10,9 @@ diff -ruN wicd-1.7.2.4.orig/gtk/gui.py wicd-1.7.2.4/gtk/gui.py
|
||||||
- if os.path.exists(os.path.join(wpath.images, "wicd.png")):
|
- if os.path.exists(os.path.join(wpath.images, "wicd.png")):
|
||||||
- self.window.set_icon_from_file(os.path.join(wpath.images, "wicd.png"))
|
- self.window.set_icon_from_file(os.path.join(wpath.images, "wicd.png"))
|
||||||
+ if os.path.exists(os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png")):
|
+ if os.path.exists(os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png")):
|
||||||
+ self.window.set_icon_from_file(os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png"))
|
+ self.window.set_icon_from_file(os.path.join(wpath.images, "../../icons/hicolor/128x128/apps/wicd-gtk.png"))
|
||||||
+ else:
|
+ else:
|
||||||
+ print 'icon doesn\'t exist %s' % os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png")
|
+ print 'icon doesn\'t exist %s' % os.path.join(wpath.images, "../../icons/hicolor/128x128/apps/wicd-gtk.png")
|
||||||
self.statusID = None
|
self.statusID = None
|
||||||
self.first_dialog_load = True
|
self.first_dialog_load = True
|
||||||
self.is_visible = True
|
self.is_visible = True
|
||||||
|
|
Loading…
Reference in a new issue