summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-20 17:17:22 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-20 17:17:22 (EDT)
commitbccb3d6e17eba026a975ed8c4c8cabb4d136e00f (patch)
treef752bb44808b466173b593cbd96bd1b77bcd7802 /src
parenta43a354c7569e65ee06b30f1a8475f1c45487f4e (diff)
downloadmarquee-bccb3d6e17eba026a975ed8c4c8cabb4d136e00f.zip
marquee-bccb3d6e17eba026a975ed8c4c8cabb4d136e00f.tar.gz
marquee-bccb3d6e17eba026a975ed8c4c8cabb4d136e00f.tar.bz2
Revert "src/tab-chrome.c: Hackishly enlarge tab history text scrolled window"
This reverts commit 922cdef53495323446a5fed31065d9338876e8d4.
Diffstat (limited to 'src')
-rw-r--r--src/tab-chrome.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index bdc3467..0e12da5 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_stack;
GtkWidget *stack;
GtkWidget *toggle_button;
GtkWidget *box;
@@ -220,17 +219,10 @@ 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 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),
- gtk_text_view_new_with_buffer(text_buffer), "non-scrollable");
-
/* Set up the stack. */
stack = gtk_stack_new();
gtk_stack_add_named(GTK_STACK(stack), list_scrolled_window, "list");
- gtk_stack_add_named(GTK_STACK(stack), text_stack, "text");
+ gtk_stack_add_named(GTK_STACK(stack), text_scrolled_window, "text");
/* Set up the toggle button. */
toggle_button = gtk_toggle_button_new();