Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-12-09 12:24:55 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2012-12-09 12:24:55 (GMT)
commitba604ca92fdd0173599740271b99b0c9a87f787d (patch)
tree151a162df7cadcb9d1accfc219f352ab9f8d5d98
parent6e2f63bb3161cced183fb52a42aacfc0e360af13 (diff)
More fixes.
-rw-r--r--purk/widgets.py8
-rw-r--r--purk/windows.py4
2 files changed, 9 insertions, 3 deletions
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)