tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wicd: fix missing application icon
Sergey Mironov
13 years ago
ee921d9d
f7efab5f
+20
2 changed files
expand all
collapse all
unified
split
pkgs
tools
networking
wicd
default.nix
fix-app-icon.patch
+1
pkgs/tools/networking/wicd/default.nix
···
24
24
./no-optimization.patch
25
25
./dhclient.patch
26
26
./no-ast-transl.patch
27
27
+
./fix-app-icon.patch
27
28
];
28
29
29
30
# Should I be using pygtk's propogated build inputs?
+19
pkgs/tools/networking/wicd/fix-app-icon.patch
···
1
1
+
Someone forgot to pack wicd.png icon. We will replace it with existing one.
2
2
+
3
3
+
diff -ruN wicd-1.7.2.4.orig/gtk/gui.py wicd-1.7.2.4/gtk/gui.py
4
4
+
--- wicd-1.7.2.4.orig/gtk/gui.py 2013-03-30 21:47:19.802907553 +0000
5
5
+
+++ wicd-1.7.2.4/gtk/gui.py 2013-03-31 08:13:32.876871673 +0000
6
6
+
@@ -205,8 +205,10 @@
7
7
+
8
8
+
self.status_area.hide_all()
9
9
+
10
10
+
- if os.path.exists(os.path.join(wpath.images, "wicd.png")):
11
11
+
- self.window.set_icon_from_file(os.path.join(wpath.images, "wicd.png"))
12
12
+
+ if os.path.exists(os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png")):
13
13
+
+ self.window.set_icon_from_file(os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png"))
14
14
+
+ else:
15
15
+
+ print 'icon doesn\'t exist %s' % os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png")
16
16
+
self.statusID = None
17
17
+
self.first_dialog_load = True
18
18
+
self.is_visible = True
19
19
+