mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
Revert "use fixed height mode in playlist"
This reverts commit 719817747d
.
This commit is contained in:
parent
719817747d
commit
d602fd7c04
@ -2329,7 +2329,7 @@ class Browser(Gtk.Paned):
|
|||||||
class PlaylistView(TreeView):
|
class PlaylistView(TreeView):
|
||||||
selected_path=GObject.Property(type=Gtk.TreePath, default=None) # currently marked song (bold text)
|
selected_path=GObject.Property(type=Gtk.TreePath, default=None) # currently marked song (bold text)
|
||||||
def __init__(self, client, settings):
|
def __init__(self, client, settings):
|
||||||
super().__init__(activate_on_single_click=True, reorderable=True, search_column=5, fixed_height_mode=True)
|
super().__init__(activate_on_single_click=True, reorderable=True, search_column=5)
|
||||||
self._client=client
|
self._client=client
|
||||||
self._settings=settings
|
self._settings=settings
|
||||||
self._playlist_version=None
|
self._playlist_version=None
|
||||||
@ -2354,7 +2354,7 @@ class PlaylistView(TreeView):
|
|||||||
Gtk.TreeViewColumn(_("Length"), renderer_text_tnum, text=2, weight=6)
|
Gtk.TreeViewColumn(_("Length"), renderer_text_tnum, text=2, weight=6)
|
||||||
)
|
)
|
||||||
for column in columns:
|
for column in columns:
|
||||||
column.set_sizing(Gtk.TreeViewColumnSizing.FIXED)
|
column.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
|
||||||
column.set_property("resizable", False)
|
column.set_property("resizable", False)
|
||||||
self.append_column(column)
|
self.append_column(column)
|
||||||
self._column_title=columns[1]
|
self._column_title=columns[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user