diff options
author | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-18 04:49:49 (GMT) |
---|---|---|
committer | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-18 04:49:49 (GMT) |
commit | 2eb0de9d3e6733bb5a3c2fa8f8b45bb714c5ecda (patch) | |
tree | a18b1539bca2c04c36eecc749658974a1b3eb445 | |
parent | a2639c6558cc5af6bc49a9cbb65ddac1e265510b (diff) |
More fixes.
-rw-r--r-- | purk/widgets.py | 11 | ||||
-rw-r--r-- | purk/windows.py | 1 |
2 files changed, 6 insertions, 6 deletions
diff --git a/purk/widgets.py b/purk/widgets.py index 171c035..367f918 100644 --- a/purk/widgets.py +++ b/purk/widgets.py @@ -162,8 +162,7 @@ class Nicklist(Gtk.TreeView): self.set_model(Gtk.ListStore(str, str, str)) column = Gtk.TreeViewColumn('', Gtk.CellRendererText(), text=1) - column.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE) - column.set_min_width(80) + column.set_sizing(Gtk.TreeViewColumnSizing.FIXED) self.append_column(column) for name in names: @@ -752,11 +751,11 @@ class FindBox(Gtk.HBox): self.textbox.connect('focus-out-event', self.remove) self.textbox.connect('activate', self.clicked) - self.pack_start(Gtk.Label('Find:'), expand=False) - self.pack_start(self.textbox) + self.pack_start(Gtk.Label('Find:'), False, True, 0) + self.pack_start(self.textbox, True, True, 0) - self.pack_start(self.up, expand=False) - self.pack_start(self.down, expand=False) + self.pack_start(self.up, False, True, 0) + self.pack_start(self.down, False, True, 0) self.show_all() diff --git a/purk/windows.py b/purk/windows.py index 32ba876..3cca44d 100644 --- a/purk/windows.py +++ b/purk/windows.py @@ -277,6 +277,7 @@ class ChannelWindow(Window): topbox.add(self.output) nlbox = Gtk.ScrolledWindow() + nlbox.set_size_request(conf.get("ui-gtk/nicklist-width", 112), -1) nlbox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC) nlbox.add(self.nicklist) |