From ba604ca92fdd0173599740271b99b0c9a87f787d Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Sun, 09 Dec 2012 12:24:55 +0000 Subject: More fixes. --- diff --git a/purk/widgets.py b/purk/widgets.py index b0d87d2..9ab8c52 100644 --- a/purk/widgets.py +++ b/purk/widgets.py @@ -593,12 +593,18 @@ class TextOutput(Gtk.TextView): self.events = core.events self.win = window - self.set_size_request(0, -1) + self.set_size_request(0 , -1) + + self.set_property("left-margin", 3) + self.set_property("right-margin", 3) self.set_wrap_mode(Gtk.WrapMode.WORD_CHAR) self.set_editable(False) self.set_cursor_visible(False) + self.set_left_margin(3) + self.set_right_margin(3) + self.linking = set() self.add_events(Gdk.EventMask.POINTER_MOTION_HINT_MASK) diff --git a/purk/windows.py b/purk/windows.py index d00b8f7..c86ea26 100644 --- a/purk/windows.py +++ b/purk/windows.py @@ -213,7 +213,7 @@ class QueryWindow(Window): self.connect("key-press-event", self.transfer_text) botbox = Gtk.HBox() - botbox.pack_start(self.input) + botbox.add(self.input) botbox.pack_end(self.nick_label, False, True, 0) self.pack_end(botbox, False, True, 0) @@ -283,7 +283,7 @@ class ChannelWindow(Window): nlbox.set_size_request(conf.get("ui-gtk/nicklist-width", 112), -1) botbox = Gtk.HBox() - botbox.pack_start(self.input) + botbox.add(self.input) botbox.pack_end(self.nick_label, False, True, 0) self.pack_end(botbox, False, True, 0) -- cgit v0.9.1