Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2012-06-19 15:16:22 (GMT)
committer flavio <fdanesse@gmail.com>2012-06-19 15:16:22 (GMT)
commit83bbc998b798c05f76f8990ae5d997e1457f56c8 (patch)
tree3c6a76a1043cf36d374fa572c62ad3c753531c40
parentaf354463e4111ad16c3a05163ef03b6aba9b1d1a (diff)
Correcciones Realizadas por Rafael
-rw-r--r--activity.py12
1 files changed, 6 insertions, 6 deletions
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"""