diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index e089e9c..c164b5e 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -54,12 +54,13 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event, } stack = gtk_stack_new(); - gtk_stack_add_named(GTK_STACK(stack), gtk_label_new("List"), "list"); - gtk_stack_add_named(GTK_STACK(stack), gtk_label_new("Text"), "text"); + gtk_stack_add_titled(GTK_STACK(stack), gtk_label_new("List"), "list", "LIST"); + gtk_stack_add_titled(GTK_STACK(stack), gtk_label_new("Text"), "text", "TEXT"); stack_switcher = gtk_stack_switcher_new(); gtk_stack_switcher_set_stack(GTK_STACK_SWITCHER(stack_switcher), GTK_STACK(stack)); + /* gtk_box_pack_start(GTK_BOX(stack_switcher), gtk_image_new_from_icon_name("view-list-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR), @@ -68,6 +69,7 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event, gtk_image_new_from_icon_name("edit-select-all-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR), FALSE, FALSE, 0); + */ box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start(GTK_BOX(box), stack_switcher, TRUE, FALSE, 0); |