From 2eb0de9d3e6733bb5a3c2fa8f8b45bb714c5ecda Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Tue, 18 Dec 2012 04:49:49 +0000 Subject: More fixes. --- 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) -- cgit v0.9.1