diff options
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r-- | src/uzbl-core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index 693f3ce..09b1a3c 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -1485,7 +1485,6 @@ create_scrolled_win() { NULL); } - GtkWidget* create_mainbar() { GUI *g = &uzbl.gui; @@ -1498,6 +1497,10 @@ create_mainbar() { gtk_misc_set_alignment (GTK_MISC(g->mainbar_label_left), 0, 0); gtk_misc_set_padding (GTK_MISC(g->mainbar_label_left), 2, 2); + /* wrap the label when it gets too long */ + /* (otherwise it expands the window, which is not what we want) */ + gtk_label_set_line_wrap(GTK_LABEL(g->mainbar_label_left), TRUE); + /* create right panel */ g->mainbar_label_right = gtk_label_new (""); gtk_label_set_selectable(GTK_LABEL(g->mainbar_label_right), TRUE); |