aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/uzbl-tabbed
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-03-17 20:09:50 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2011-03-17 20:09:50 -0600
commitb266564f4a5fe6fc348992b28c9b31a42c7d86d8 (patch)
treecd3fd48c5b3b4f984c927e9fd385499d0d3f5f9e /examples/data/scripts/uzbl-tabbed
parent890f2f9b5ca2f23185976f5b04b5de51924122c5 (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/scripts/uzbl-tabbed')
-rwxr-xr-xexamples/data/scripts/uzbl-tabbed5
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):