From b266564f4a5fe6fc348992b28c9b31a42c7d86d8 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Thu, 17 Mar 2011 20:09:50 -0600 Subject: a hack to prevent the uzbl-tabbed window from expanding when the contents of the status bar are too long --- examples/data/scripts/uzbl-tabbed | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'examples/data/scripts/uzbl-tabbed') diff --git a/examples/data/scripts/uzbl-tabbed b/examples/data/scripts/uzbl-tabbed index 2a5f481..4039096 100755 --- a/examples/data/scripts/uzbl-tabbed +++ b/examples/data/scripts/uzbl-tabbed @@ -578,6 +578,11 @@ class UzblTabbed: self.window.set_title("Uzbl Browser") self.window.set_border_width(0) + # this prevents the window from expanding if the contents of the + # statusbar are wider than the window. + # i suspect this is not the right way to do this. + self.window.set_geometry_hints(min_width=1) + # Set main window icon icon_path = config['icon_path'] if os.path.exists(icon_path): -- cgit v1.2.3