Line 25: |
Line 25: |
| ** | | ** |
| ERROR:/home/manuq/prog/manuqs-shell-port/source/pygobject/gi/_gobject/pygobject.c:946:pygobject_new_full: assertion failed: (tp != NULL) | | ERROR:/home/manuq/prog/manuqs-shell-port/source/pygobject/gi/_gobject/pygobject.c:946:pygobject_new_full: assertion failed: (tp != NULL) |
− |
| |
− | === Custom TreeModelSort for home list view ===
| |
− | Can't inherit GtkTreeModelSort and pass a model to the parent constructor. Filed as: https://bugzilla.gnome.org/show_bug.cgi?id=681477
| |
− |
| |
− | Working testcase for pygtk: http://dev.laptop.org/~manuq/test_listmodel2_gtk2.py
| |
− |
| |
− | Testcase that shows the issue in PyGi: http://dev.laptop.org/~manuq/test_listmodel2_gtk3.py
| |
− |
| |
| | | |
| === Custom Icon cell renderer === | | === Custom Icon cell renderer === |
Line 221: |
Line 213: |
| ==Done== | | ==Done== |
| | | |
− | === Can't call gdk_window_set_user_data() === | + | === Custom TreeModelSort for home list view === |
| + | <span style="color:#2ce713;">Fix from: Simon Feltman, Manuel Quiñones</span> |
| + | |
| + | Can't inherit GtkTreeModelSort and pass a model to the parent constructor. Filed as: https://bugzilla.gnome.org/show_bug.cgi?id=681477, can be made to work by passing keyword arguments e.g. "Gtk.TreeModelSort.__init__(self, model=self._model_filter)" |
| + | |
| + | Working testcase for pygtk: http://dev.laptop.org/~manuq/test_listmodel2_gtk2.py |
| + | |
| + | Testcase that shows the issue in PyGi: http://dev.laptop.org/~manuq/test_listmodel2_gtk3.py |
| + | |
| + | === can't call gdk_window_set_user_data() === |
| In the latest implementation we don't use set_user_data anymore AFAIK. | | In the latest implementation we don't use set_user_data anymore AFAIK. |
| http://mail.gnome.org/archives/python-hackers-list/2011-September/msg00006.html | | http://mail.gnome.org/archives/python-hackers-list/2011-September/msg00006.html |
− |
| |
| | | |
| === do_forall not working in pygobject === | | === do_forall not working in pygobject === |