summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-20 17:16:22 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-20 17:16:22 (EDT)
commita43a354c7569e65ee06b30f1a8475f1c45487f4e (patch)
tree2ef766da6d7a139138fcfe106941150859b1627d /src
parent90686faaa5927f03335a23526d8a6313242adb39 (diff)
downloadmarquee-a43a354c7569e65ee06b30f1a8475f1c45487f4e.zip
marquee-a43a354c7569e65ee06b30f1a8475f1c45487f4e.tar.gz
marquee-a43a354c7569e65ee06b30f1a8475f1c45487f4e.tar.bz2
Revert "src/tab-chrome.c: Add a scrollbar to tab history text stack"
This reverts commit 90686faaa5927f03335a23526d8a6313242adb39.
Diffstat (limited to 'src')
-rw-r--r--src/tab-chrome.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 997c774..bdc3467 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -130,7 +130,6 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event,
GtkTextTag *text_tag;
GtkWidget *list_scrolled_window;
GtkWidget *text_scrolled_window;
- GtkWidget *text_box;
GtkWidget *text_stack;
GtkWidget *stack;
GtkWidget *toggle_button;
@@ -221,18 +220,12 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event,
GTK_SCROLLED_WINDOW(text_scrolled_window), TRUE); */
gtk_container_add(GTK_CONTAINER(text_scrolled_window), text_view);
- /* Set up the text box. */
- text_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
- gtk_box_pack_start(GTK_BOX(text_box),
- gtk_text_view_new_with_buffer(text_buffer), FALSE, FALSE, 0);
- gtk_box_pack_start(GTK_BOX(text_box), gtk_scrollbar_new(
- GTK_ORIENTATION_VERTICAL, NULL), FALSE, FALSE, 0);
-
/* Set up the text stack. */
text_stack = gtk_stack_new();
gtk_stack_add_named(GTK_STACK(text_stack), text_scrolled_window,
"scrollable");
- gtk_stack_add_named(GTK_STACK(text_stack), text_box, "non-scrollable");
+ gtk_stack_add_named(GTK_STACK(text_stack),
+ gtk_text_view_new_with_buffer(text_buffer), "non-scrollable");
/* Set up the stack. */
stack = gtk_stack_new();