diff options
-rw-r--r-- | src/tab-chrome.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 83bb37c..bf4d636 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -127,6 +127,7 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event, GList *list_item; GtkTextIter text_iter; gchar *str; + GtkTextTag *text_tag; GtkWidget *stack; GtkWidget *toggle_button; GtkWidget *box; @@ -176,10 +177,12 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event, gtk_list_box_select_row(GTK_LIST_BOX(list_box), gtk_list_box_get_row_at_index(GTK_LIST_BOX(list_box), 0)); gtk_text_buffer_get_start_iter(text_buffer, &text_iter); - gtk_text_buffer_insert(text_buffer, &text_iter, + text_tag = gtk_text_buffer_create_tag(text_buffer, NULL, "weight", + PANGO_WEIGHT_BOLD, NULL); + gtk_text_buffer_insert_with_tags(text_buffer, &text_iter, webkit_back_forward_list_item_get_uri( webkit_back_forward_list_get_current_item( - back_forward_list)), -1); + back_forward_list)), -1, text_tag, NULL); /* Insert back list items. */ list_item = webkit_back_forward_list_get_back_list( |