diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-03-17 20:09:50 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-03-17 20:09:50 -0600 |
commit | b266564f4a5fe6fc348992b28c9b31a42c7d86d8 (patch) | |
tree | cd3fd48c5b3b4f984c927e9fd385499d0d3f5f9e /examples/data | |
parent | 890f2f9b5ca2f23185976f5b04b5de51924122c5 (diff) |
a hack to prevent the uzbl-tabbed window from expanding when the contents of the status bar are too long
Diffstat (limited to 'examples/data')
-rwxr-xr-x | examples/data/scripts/uzbl-tabbed | 5 |
1 files changed, 5 insertions, 0 deletions
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): |