Added support for page blocks in menues

Now allows to add separators in the menu that forces a page jump,
allowing to group videos in pages.
This commit is contained in:
Sergio Costas 2019-01-04 12:37:04 +01:00
parent c222c4ab14
commit 6d1b166f2d
4 changed files with 56 additions and 24 deletions

View file

@ -40,6 +40,8 @@
<column type="gchararray"/>
<!-- column-name in_menu -->
<column type="gboolean"/>
<!-- column-name meaning -->
<column type="gchararray"/>
</columns>
</object>
<object class="GtkWindow" id="wmain_window">
@ -269,9 +271,18 @@
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeview5">
<child>
<object class="GtkCellRendererText" id="cellrenderertext5"/>
<attributes>
<attribute name="text">5</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
<property name="title" translatable="yes">In menu</property>
<child>
<object class="GtkCellRendererToggle" id="cellrenderertext4">
<signal name="toggled" handler="on_cellrenderertext4_toggled" swapped="no"/>