Features/GTK3/Shell: Difference between revisions

Erikos (talk | contribs)
No edit summary
Erikos (talk | contribs)
No edit summary
Line 29: Line 29:


sugar3.graphics.icon.CellRendererIcon is based on pygtks GenericCellRenderer - needs to be ported
sugar3.graphics.icon.CellRendererIcon is based on pygtks GenericCellRenderer - needs to be ported
=== gconf_client_get_list not introspectable ===
The [http://git.gnome.org/browse/gconf/tree/gconf/gconf-client.c#n1838 annotations] mark it as non-introspectale.
opened an upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=681433
similar boxed types fix: https://bugzilla.gnome.org/show_bug.cgi?id=613247
The keyboard is not set up yet because of this as is being called in setup_keyboard_cb in sugar/bin/sugar-session .


===gtk_clipboard_set_with_data not introspected===
===gtk_clipboard_set_with_data not introspected===
Line 212: Line 203:


==Done==
==Done==
=== gconf_client_get_list not introspectable ===
<span style="color:#2ce713;"> Workaround from: Daniel Drake </span>
The [http://git.gnome.org/browse/gconf/tree/gconf/gconf-client.c#n1838 annotations] mark it as non-introspectale.
opened an upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=681433
similar boxed types fix: https://bugzilla.gnome.org/show_bug.cgi?id=613247
The keyboard is not set up yet because of this as is being called in setup_keyboard_cb in sugar/bin/sugar-session .
Needs:
* http://git.sugarlabs.org/~manuq/sugar/manuqs-erikos-shell-port/commit/74c77ed68912ec9253f509ba25ff05cebb4fba97
* http://git.sugarlabs.org/~manuq/sugar/manuqs-erikos-shell-port/commit/be519897a1cbd759e4feca640a95317804bedbc0


=== Custom TreeModelSort for home list view ===
=== Custom TreeModelSort for home list view ===
<span style="color:#2ce713;">Fix from: Simon Feltman, Manuel Quiñones</span>
<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)"
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
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
Testcase that shows the issue in PyGi: http://dev.laptop.org/~manuq/test_listmodel2_gtk3.py
Needs:
* can be made to work by passing keyword arguments e.g. "Gtk.TreeModelSort.__init__(self, model=self._model_filter)"


=== can't call gdk_window_set_user_data() ===
=== can't call gdk_window_set_user_data() ===