summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Volz <linux@brachttal.net>2012-01-04 18:01:39 +0000
committerAndreas Volz <linux@brachttal.net>2012-01-04 18:01:39 +0000
commita14a5b7fa82b663aa53643647e0c19ab7657d767 (patch)
tree59ec14bfd42d76c30e7a8ab542d0147dcf2705ca
parent40febe784610062748d7f963579ecbe48ca93e03 (diff)
bugfix to repair usage of edje_images
SVN revision: 66874
-rw-r--r--editje/filewizard.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/editje/filewizard.py b/editje/filewizard.py
index 4c513c4..e32f5d7 100644
--- a/editje/filewizard.py
+++ b/editje/filewizard.py
@@ -170,7 +170,7 @@ class FileSelectionWizard(Wizard):
170 self._selected_cb(self._selection) 170 self._selected_cb(self._selection)
171 self.close() 171 self.close()
172 172
173 def _gl_label_get(self, *kargs): 173 def _gl_text_get(self, *kargs):
174 return kargs[-1] 174 return kargs[-1]
175 175
176 176
@@ -208,8 +208,8 @@ class ImageSelectionWizard(FileSelectionWizard):
208 208
209 def _update(self): 209 def _update(self):
210 itc = elementary.GenlistItemClass(item_style="default", 210 itc = elementary.GenlistItemClass(item_style="default",
211 label_get_func=self._gl_label_get, 211 text_get_func=self._gl_text_get,
212 icon_get_func=None, 212 content_get_func=None,
213 state_get_func=None) 213 state_get_func=None)
214 214
215 self._files = self._file_list_cb() 215 self._files = self._file_list_cb()
@@ -278,8 +278,8 @@ class FontSelectionWizard(FileSelectionWizard):
278 278
279 def _update(self): 279 def _update(self):
280 itc = elementary.GenlistItemClass(item_style="default", 280 itc = elementary.GenlistItemClass(item_style="default",
281 label_get_func=self._gl_label_get, 281 text_get_func=self._gl_text_get,
282 icon_get_func=None, 282 content_get_func=None,
283 state_get_func=None) 283 state_get_func=None)
284 self._file_list.clear() 284 self._file_list.clear()
285 self._files = [] 285 self._files = []
@@ -308,8 +308,8 @@ class FontSelectionWizard(FileSelectionWizard):
308 308
309 obj.expanded = True 309 obj.expanded = True
310 itc = elementary.GenlistItemClass(item_style="default", 310 itc = elementary.GenlistItemClass(item_style="default",
311 label_get_func=self._gl_label_get, 311 text_get_func=self._gl_text_get,
312 icon_get_func=None, 312 content_get_func=None,
313 state_get_func=None) 313 state_get_func=None)
314 314
315 if item_data == "Embedded Fonts": 315 if item_data == "Embedded Fonts":