From 164c896e1e9f5853219c0f400b82ffa8fcb81c15 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 18 Jul 2005 09:06:54 +0000 Subject: [PATCH] add a space before ( in the tooltip and add a comment --- src/dialogs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index c23dbdbb8..74ab24113 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -500,7 +500,7 @@ class RosterTooltip(gtk.Window): hbox.set_border_width(6) self.add(hbox) self.image = gtk.Image() - self.image.set_alignment(0, 0) + #self.image.set_alignment(0, 0) hbox.pack_start(self.image, False, False) contents = gtk.VBox() contents.set_spacing(10) @@ -561,7 +561,7 @@ class RosterTooltip(gtk.Window): def hide_tooltip(self): if(self.timeout > 0): gobject.source_remove(self.timeout) - self.timeout=0 + self.timeout = 0 self.hide() self.path = None @@ -617,7 +617,7 @@ class RosterTooltip(gtk.Window): if resource_str != '': multiple_resource = True resource_str += '\n\t' + contact.resource + \ - '(' + str(contact.priority) + ')' + ' (' + str(contact.priority) + ')' if contact.show: if status_str != '': multiple_status = True @@ -637,7 +637,7 @@ class RosterTooltip(gtk.Window): info += '\n' + _('Status: ') + '' if not multiple_status: # show the resource on the same line - info += status_str[2:] + info += status_str[2:] # remove \n\t else: info += status_str