summaryrefslogtreecommitdiffstats
path: root/wicd/build/wicd_icons.patch
blob: 60d26f0eac38f9f19385a231cdfe347e47ff8371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -uarN wicd-r325.orig/wicd/gui.py wicd-r325/wicd/gui.py
--- wicd-r325.orig/wicd/gui.py	2008-07-02 23:39:04.000000000 +0200
+++ wicd-r325/wicd/gui.py	2008-07-03 22:42:32.000000000 +0200
@@ -684,7 +684,7 @@
         # Set up the script settings button
         self.script_button = gtk.Button()
         self.script_image = gtk.Image()
-        self.script_image.set_from_icon_name('execute', 4)
+        self.script_image.set_from_stock(gtk.STOCK_EXECUTE, 4)
         self.script_image.set_padding(4, 0)
         self.script_button.set_alignment(.5, .5)
         self.script_button.set_image(self.script_image)
@@ -735,7 +735,7 @@
         # Center the picture and pad it a bit
         self.image.set_alignment(.5, 0)
         self.image.set_size_request(60, -1)
-        self.image.set_from_icon_name("network-wired", 6)
+        self.image.set_from_file(wpath.images + 'wired.png')
         self.image.show()
         self.expander.show()
         self.connect_button.show()
@@ -941,7 +941,7 @@
         self.image.set_padding(0, 0)
         self.image.set_alignment(.5, 0)
         self.image.set_size_request(60, -1)
-        self.image.set_from_icon_name("network-wired", 6)
+        self.image.set_from_file(wpath.images + 'wired.png')
         self.essid = wireless.GetWirelessProperty(networkID, "essid")
         print "ESSID : " + self.essid
         # Make the combo box.