[gnome-music/freeze-break: 13/107] Use ListStore instead of TreeStore
- From: Arnel A. Borja <arnelborja src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/freeze-break: 13/107] Use ListStore instead of TreeStore
- Date: Wed, 11 Sep 2013 13:17:04 +0000 (UTC)
commit eb1739f5254ae15263c9d2217d74e0bd31eebdad
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Wed Aug 7 13:36:20 2013 +0200
Use ListStore instead of TreeStore
gnomemusic/view.py | 2 +-
gnomemusic/widgets.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index b7da47c..d840c98 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -73,7 +73,7 @@ class ViewContainer(Stack):
self._adjustmentValueId = 0
self._adjustmentChangedId = 0
self._scrollbarVisibleId = 0
- self._model = Gtk.TreeStore(
+ self._model = Gtk.ListStore(
GObject.TYPE_STRING,
GObject.TYPE_STRING,
GObject.TYPE_STRING,
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index b55e3da..2d32783 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -353,7 +353,7 @@ class ArtistAlbums(Gtk.VBox):
self.ui.get_object('artist').set_label(self.artist)
self.widgets = []
- self.model = Gtk.TreeStore(GObject.TYPE_STRING, # title
+ self.model = Gtk.ListStore(GObject.TYPE_STRING, # title
GObject.TYPE_STRING,
GObject.TYPE_STRING,
GObject.TYPE_BOOLEAN, # icon shown
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]