summaryrefslogtreecommitdiff
path: root/examples/elementary/test_list.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-10-22 12:33:32 +0200
committerDave Andreoli <dave@gurumeditation.it>2016-10-22 12:33:32 +0200
commit810623dbe4b961dbf28d64171ca9f490fc21e929 (patch)
treeb0371180c59237b6d6dd18198a5eccc09f11aa92 /examples/elementary/test_list.py
parent01220931fc2a47eb1571a1b0b09bd054a8af282a (diff)
Tests: use correct FDO icon names
Hope I catched them all
Diffstat (limited to 'examples/elementary/test_list.py')
-rw-r--r--examples/elementary/test_list.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/elementary/test_list.py b/examples/elementary/test_list.py
index 3f0c89e..365e9e7 100644
--- a/examples/elementary/test_list.py
+++ b/examples/elementary/test_list.py
@@ -37,12 +37,12 @@ def list_clicked(obj, item=None):
37 ic = Icon(win, file=os.path.join(img_path, "logo_small.png"), 37 ic = Icon(win, file=os.path.join(img_path, "logo_small.png"),
38 resizable=(False, False)) 38 resizable=(False, False))
39 li.item_append("Hello", ic) 39 li.item_append("Hello", ic)
40 ic = Icon(win, standard="edit", resizable=(False, False)) 40 ic = Icon(win, standard="folder", resizable=(False, False))
41 ic2 = Icon(win, standard="clock", resizable=(False, False)) 41 ic2 = Icon(win, standard="user-home", resizable=(False, False))
42 li.item_append(".", ic, ic2) 42 li.item_append(".", ic, ic2)
43 43
44 ic = Icon(win, standard="delete", resizable=(False, False)) 44 ic = Icon(win, standard="user-trash", resizable=(False, False))
45 ic2 = Icon(win, standard="clock", resizable=(False, False)) 45 ic2 = Icon(win, standard="folder", resizable=(False, False))
46 it2 = li.item_append("How", ic, ic2) 46 it2 = li.item_append("How", ic, ic2)
47 47
48 bx = Box(win, horizontal=True) 48 bx = Box(win, horizontal=True)
@@ -149,11 +149,11 @@ def list2_clicked(obj, item=None):
149 ic = Icon(win, file=os.path.join(img_path, "logo_small.png"), 149 ic = Icon(win, file=os.path.join(img_path, "logo_small.png"),
150 resizable=(False, False)) 150 resizable=(False, False))
151 li.item_append("world", ic) 151 li.item_append("world", ic)
152 ic = Icon(win, standard="edit", resizable=(False, False)) 152 ic = Icon(win, standard="folder", resizable=(False, False))
153 li.item_append(".", ic) 153 li.item_append(".", ic)
154 154
155 ic = Icon(win, standard="delete", resizable=(False, False)) 155 ic = Icon(win, standard="user-trash", resizable=(False, False))
156 ic2 = Icon(win, standard="clock", resizable=(False, False)) 156 ic2 = Icon(win, standard="go-next", resizable=(False, False))
157 it2 = li.item_append("How", ic, ic2) 157 it2 = li.item_append("How", ic, ic2)
158 158
159 bx2 = Box(win, horizontal=True) 159 bx2 = Box(win, horizontal=True)
@@ -214,17 +214,17 @@ def list3_clicked(obj, item=None):
214 ic = Icon(win, file=os.path.join(img_path, "logo_small.png"), 214 ic = Icon(win, file=os.path.join(img_path, "logo_small.png"),
215 resizable=(False, False)) 215 resizable=(False, False))
216 li.item_append("world", ic) 216 li.item_append("world", ic)
217 ic = Icon(win, standard="edit", resizable=(False, False)) 217 ic = Icon(win, standard="folder", resizable=(False, False))
218 li.item_append(".", ic) 218 li.item_append(".", ic)
219 219
220 ic = Icon(win, standard="delete", resizable=(False, False)) 220 ic = Icon(win, standard="view-close", resizable=(False, False))
221 ic2 = Icon(win, standard="clock", resizable=(False, False)) 221 ic2 = Icon(win, standard="view-refresh", resizable=(False, False))
222 it2 = li.item_append("How", ic, ic2) 222 it2 = li.item_append("How", ic, ic2)
223 223
224 bx = Box(win, horizontal=True) 224 bx = Box(win, horizontal=True)
225 bx.horizontal_set(True) 225 bx.horizontal_set(True)
226 226
227 ic = Icon(win, standard="delete", resizable=(False, False), 227 ic = Icon(win, standard="user-trash", resizable=(False, False),
228 size_hint_align=ALIGN_CENTER) 228 size_hint_align=ALIGN_CENTER)
229 bx.pack_end(ic) 229 bx.pack_end(ic)
230 ic.show() 230 ic.show()