diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-18 19:21:22 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-18 19:22:09 (EDT) |
commit | efe71c15431326a71ba790d41481397355404f9b (patch) | |
tree | dc37cc09f91ea49e0d94564c39306acab55f979d /src | |
parent | 1887d9fad7d6d1f979d06b34792f752c5417de87 (diff) | |
download | marquee-efe71c15431326a71ba790d41481397355404f9b.zip marquee-efe71c15431326a71ba790d41481397355404f9b.tar.gz marquee-efe71c15431326a71ba790d41481397355404f9b.tar.bz2 |
src/tab-chrome.c: Refactor tab history list current item code
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |