From fd9d9011739508685a3ac90e9e32865dd0c19948 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 10 Feb 2008 20:02:32 +0000 Subject: [PATCH] [TuX] remove spaces in room jids when they are entered in manage bookmarks window. Fixes #3730 --- src/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.py b/src/config.py index 7c58705e7..0b98743ec 100644 --- a/src/config.py +++ b/src/config.py @@ -2910,9 +2910,9 @@ class ManageBookmarksWindow: def on_server_entry_changed(self, widget): (model, iter) = self.selection.get_selected() if iter: - room_jid = self.room_entry.get_text().decode('utf-8') + '@' + \ - self.server_entry.get_text().decode('utf-8') - model[iter][2] = room_jid + room_jid = self.room_entry.get_text().decode('utf-8').strip() + '@' + \ + self.server_entry.get_text().decode('utf-8').strip() + model[iter][2] = room_jid.replace(' ', '') def on_room_entry_changed(self, widget): (model, iter) = self.selection.get_selected()