From 83bbc998b798c05f76f8990ae5d997e1457f56c8 Mon Sep 17 00:00:00 2001 From: flavio Date: Tue, 19 Jun 2012 15:16:22 +0000 Subject: Correcciones Realizadas por Rafael --- diff --git a/activity.py b/activity.py index ecec32c..6c82cb7 100644 --- a/activity.py +++ b/activity.py @@ -14,7 +14,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -from gi.repository import Gtk, Gdk, GdkPixbuf +from gi.repository import Gtk, Gdk import logging import cjson import math @@ -273,12 +273,12 @@ class Chat(activity.Activity): entry.connect('key-press-event', self.entry_key_press_cb) self.entry = entry - hbox = Gtk.HBox() + hbox = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL) hbox.add(entry) - box = Gtk.VBox(homogeneous=False) - box.pack_start(self.chatbox, True, True, 0) - box.pack_start(hbox, False, True, 0) + box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, homogeneous=False) + box.pack_start(self.chatbox, expand=True, fill=True, padding=0) + box.pack_start(hbox, expand=False, fill=True, padding=0) return box @@ -354,7 +354,7 @@ class Chat(activity.Activity): last_line_was_timestamp = False class TextChannelWrapper(object): - """Wrap a telepathy Text Channel to make usage simpler.""" + """Wrap a telepathy Text Channfel to make usage simpler.""" def __init__(self, text_chan, conn): """Connect to the text channel""" -- cgit v0.9.1