Features/GTK3/Porting/Jukebox: Difference between revisions
| (One intermediate revision by the same user not shown) | |||
| Line 68: | Line 68: | ||
index = sel_model.get_value(sel_model.get_iter(row), 0) | index = sel_model.get_value(sel_model.get_iter(row), 0) | ||
self._playlist.pop(index) | self._playlist.pop(index) | ||
The function that '''Gtk.TreeViewColumn.set_cell_data_func''' receives needs a new required argument: ''data'' | |||
def _set_number(self, column, cell, model, it): | |||
replaced: | |||
def _set_number(self, column, cell, model, it, data): | |||
== Sugar ObjectChooser == | == Sugar ObjectChooser == | ||
| Line 85: | Line 93: | ||
* There is something related with '''collaboration''' in ''jukeboxactivity.py'' but I didn't understand how it works. I thought this activity is not collaborative. | * There is something related with '''collaboration''' in ''jukeboxactivity.py'' but I didn't understand how it works. I thought this activity is not collaborative. | ||
* The gtk2 version uses "gst" as "import gst" and "import pygst" but I found that there is a new way to do that using introspection: "from gi.repository import Gst". What's about this? Should we use this new way? | |||
** https://wiki.ubuntu.com/Novacut/GStreamer1.0 | |||
** https://live.gnome.org/GnomeGoals/PortToGstreamer1 | |||
** www.spinics.net/lists/fedora-desktop/msg07545.html | |||
= Missing / Problematic / Un-ported things = | = Missing / Problematic / Un-ported things = | ||