From efe71c15431326a71ba790d41481397355404f9b Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Sep 2017 19:21:22 -0400 Subject: src/tab-chrome.c: Refactor tab history list current item code --- (limited to 'src') diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 1fc1e92..f791a9f 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -89,10 +89,10 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event, GTK_SELECTION_BROWSE); gtk_list_box_set_activate_on_single_click(GTK_LIST_BOX(list_box), TRUE); - gtk_list_box_insert(GTK_LIST_BOX(list_box), gtk_label_new( - webkit_back_forward_list_item_get_title( + gtk_list_box_insert(GTK_LIST_BOX(list_box), back_forward_list_item_new( webkit_back_forward_list_get_current_item( - back_forward_list))), -1); + back_forward_list), gtk_radio_button_new(NULL)), + -1); gtk_list_box_select_row(GTK_LIST_BOX(list_box), gtk_list_box_get_row_at_index(GTK_LIST_BOX(list_box), 0)); -- cgit v0.9.1