summaryrefslogtreecommitdiff
path: root/examples/elementary/test_ctxpopup.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_ctxpopup.py
parent01220931fc2a47eb1571a1b0b09bd054a8af282a (diff)
Tests: use correct FDO icon names
Hope I catched them all
Diffstat (limited to 'examples/elementary/test_ctxpopup.py')
-rw-r--r--examples/elementary/test_ctxpopup.py32
1 files changed, 16 insertions, 16 deletions
diff --git a/examples/elementary/test_ctxpopup.py b/examples/elementary/test_ctxpopup.py
index e1b86f2..cb00e53 100644
--- a/examples/elementary/test_ctxpopup.py
+++ b/examples/elementary/test_ctxpopup.py
@@ -53,16 +53,16 @@ def cb_geometry_update(cp, geom):
53def cb_item1(li, item): 53def cb_item1(li, item):
54 cp = Ctxpopup(li) 54 cp = Ctxpopup(li)
55 cp.callback_geometry_update_add(cb_geometry_update) 55 cp.callback_geometry_update_add(cb_geometry_update)
56 it = item_new(cp, "Go to home folder", "home") 56 it = item_new(cp, "Go to home folder", "user-home")
57 it = item_new(cp, "Save file", "file") 57 it = item_new(cp, "Save file", "document-save")
58 it = item_new(cp, "Delete file", "delete") 58 it = item_new(cp, "Delete file", "user-trash")
59 it = item_new(cp, "Navigate to folder", "folder") 59 it = item_new(cp, "Navigate to folder", "folder")
60 it.disabled = True 60 it.disabled = True
61 it = item_new(cp, "Edit entry", "edit") 61 it = item_new(cp, "Edit entry", "list-add")
62 it = item_new(cp, "Sate date and time", "clock") 62 it = item_new(cp, "Sate date and time", "list-remove")
63 it.disabled = True 63 it.disabled = True
64 64
65 ic = Icon(cp, standard="home", resizable=(False,False)) 65 ic = Icon(cp, standard="user-home", resizable=(False,False))
66 cp.item_prepend("Prepended item", ic, cb_items) 66 cp.item_prepend("Prepended item", ic, cb_items)
67 67
68 (x, y) = li.evas.pointer_canvas_xy_get() 68 (x, y) = li.evas.pointer_canvas_xy_get()
@@ -91,13 +91,13 @@ def cb_item1(li, item):
91 91
92def cb_item2(li, item): 92def cb_item2(li, item):
93 cp = Ctxpopup(li) 93 cp = Ctxpopup(li)
94 it = item_new(cp, "", "home") 94 it = item_new(cp, "", "user-home")
95 it = item_new(cp, "", "file") 95 it = item_new(cp, "", "user-trash")
96 it = item_new(cp, "", "delete") 96 it = item_new(cp, "", "user-bookmarks")
97 it = item_new(cp, "", "folder") 97 it = item_new(cp, "", "folder")
98 it = item_new(cp, "", "edit") 98 it = item_new(cp, "", "document-save")
99 it.disabled = True 99 it.disabled = True
100 it = item_new(cp, "", "clock") 100 it = item_new(cp, "", "document-send")
101 101
102 (x, y) = li.evas.pointer_canvas_xy_get() 102 (x, y) = li.evas.pointer_canvas_xy_get()
103 cp.move(x, y) 103 cp.move(x, y)
@@ -120,12 +120,12 @@ def cb_item3(li, item):
120def cb_item4(li, item): 120def cb_item4(li, item):
121 cp = Ctxpopup(li) 121 cp = Ctxpopup(li)
122 cp.horizontal = True 122 cp.horizontal = True
123 it = item_new(cp, "", "home") 123 it = item_new(cp, "", "user-home")
124 it = item_new(cp, "", "file") 124 it = item_new(cp, "", "document-save")
125 it = item_new(cp, "", "delete") 125 it = item_new(cp, "", "user-trash")
126 it = item_new(cp, "", "folder") 126 it = item_new(cp, "", "folder")
127 it = item_new(cp, "", "edit") 127 it = item_new(cp, "", "user-bookmarks")
128 it = item_new(cp, "", "clock") 128 it = item_new(cp, "", "document-send")
129 129
130 (x, y) = li.evas.pointer_canvas_xy_get() 130 (x, y) = li.evas.pointer_canvas_xy_get()
131 cp.move(x, y) 131 cp.move(x, y)