diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-01-13 17:44:40 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-01-13 17:44:40 -0700 |
commit | 3c1697ff57a8fb4b01969da16d66ed37f0652d9b (patch) | |
tree | 875f69eaceef8d8b34bb8a52230e96c810f95175 /src/uzbl-core.c | |
parent | f2c7c41f6cc70e1d509967c7487aec5126495557 (diff) |
don't make the window bigger to accomodate a long status_format
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r-- | src/uzbl-core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index c6443cc..147a9ae 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -1943,6 +1943,12 @@ create_window () { gtk_window_set_default_size (GTK_WINDOW (window), 800, 600); gtk_widget_set_name (window, "Uzbl browser"); + /* if the window has been made small, it shouldn't try to resize itself due + * to a long statusbar. */ + GdkGeometry hints; + hints.min_width = 1; + gtk_window_set_geometry_hints (GTK_WINDOW (window), window, &hints, GDK_HINT_MIN_SIZE); + g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (destroy_cb), NULL); g_signal_connect (G_OBJECT (window), "configure-event", G_CALLBACK (configure_event_cb), NULL); |