[Pkg-privacy-commits] [onioncircuits] 48/62: Adapt panes size to content
Intrigeri
intrigeri at moszumanska.debian.org
Thu Feb 18 20:20:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch master
in repository onioncircuits.
commit 87de554dc738e9043b848a862b5ff25ff1fe8006
Author: Alan <alan at boum.org>
Date: Mon Sep 14 20:57:20 2015 +0000
Adapt panes size to content
It often happens that more space than half of the window is needed to display
the circuit names. This commit makes the panes non homogeneous in width and
remove the scrollbar from the left pane so that it adapts to the required
width.
---
tormonitor | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tormonitor b/tormonitor
index adca2d0..123bdd6 100755
--- a/tormonitor
+++ b/tormonitor
@@ -93,7 +93,6 @@ class TorMonitorWindow(Gtk.ApplicationWindow):
self.set_titlebar(headerbar)
grid = Gtk.Grid()
- grid.set_column_homogeneous(True)
self.add(grid)
self._infobar = Gtk.InfoBar()
@@ -127,6 +126,9 @@ class TorMonitorWindow(Gtk.ApplicationWindow):
scrolledwindow_circuits.set_property('expand', True)
scrolledwindow_circuits.set_property('halign', Gtk.Align.FILL)
scrolledwindow_circuits.set_property('valign', Gtk.Align.FILL)
+ scrolledwindow_circuits.set_policy(
+ hscrollbar_policy=Gtk.PolicyType.NEVER,
+ vscrollbar_policy=Gtk.PolicyType.AUTOMATIC)
grid.attach(scrolledwindow_circuits, 0, 1, 1, 1)
# Circuit details
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncircuits.git
More information about the Pkg-privacy-commits
mailing list