ocarina: Make playlist notebook tabs scrollable
If the user shrinks the window, the scroll arrows will appear for navigation. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
b977832f3c
commit
72522aab56
|
@ -30,6 +30,7 @@ namespace ocarina
|
|||
|
||||
gtk_box_pack_start(GTK_BOX(action_box), open_button, FALSE, FALSE, 0);
|
||||
|
||||
gtk_notebook_set_scrollable(GTK_NOTEBOOK(tabs), true);
|
||||
gtk_notebook_set_tab_pos(GTK_NOTEBOOK(tabs), GTK_POS_LEFT);
|
||||
gtk_notebook_set_action_widget(GTK_NOTEBOOK(tabs), action_box, GTK_PACK_END);
|
||||
g_object_set(tabs, "tab-border", 0, NULL);
|
||||
|
|
Loading…
Reference in New Issue