diff --git a/data/gui/add_new_contact_window.ui b/data/gui/add_new_contact_window.ui index 1a791176d..377dc70f4 100644 --- a/data/gui/add_new_contact_window.ui +++ b/data/gui/add_new_contact_window.ui @@ -41,6 +41,8 @@ True False + True + 0 False @@ -57,9 +59,9 @@ True False - 0 A_ccount: True + 0 False @@ -105,9 +107,9 @@ True False - 0 _Protocol: True + 0 False @@ -164,9 +166,9 @@ True False - 0 _User ID: True + 0 0 @@ -177,9 +179,9 @@ True False - 0 _Nickname: True + 0 0 @@ -190,9 +192,9 @@ True False - 0 _Group: True + 0 0 @@ -271,6 +273,7 @@ + 60 True True True @@ -319,12 +322,12 @@ True False - 0 You have to register with this transport to be able to add a contact from this protocol. Click on Register button to proceed. True + 0 True diff --git a/src/dialogs.py b/src/dialogs.py index 48be5643f..280fe0e9c 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -890,12 +890,12 @@ class AddNewContactWindow: 'group_comboboxentry', 'auto_authorize_checkbutton'): self.__dict__[w] = self.xml.get_object(w) if account and len(gajim.connections) >= 2: - self.default_desc = _('Please fill in the data of the contact you ' - 'want to add in account %s') % account + self.default_desc = _('Please fill in the data of the contact you want\n' + 'to add to your account %s') % account else: self.default_desc = _('Please fill in the data of the contact you ' 'want to add') - self.xml.get_object('prompt_label').set_text(self.default_desc) + self.xml.get_object('prompt_label').set_markup(self.default_desc) self.agents = {'jabber': []} self.gateway_prompt = {} # types to which we are not subscribed but account has an agent for it @@ -1161,7 +1161,7 @@ class AddNewContactWindow: desc = self.gateway_prompt[jid_]['desc'] if not desc: desc = self.default_desc - self.xml.get_object('prompt_label').set_text(desc) + self.xml.get_object('prompt_label').set_markup(desc) prompt = None if self.agents[type_] and jid_ in self.gateway_prompt: @@ -1190,7 +1190,7 @@ class AddNewContactWindow: desc = self.gateway_prompt[jid_]['desc'] if not desc: desc = self.default_desc - self.xml.get_object('prompt_label').set_text(desc) + self.xml.get_object('prompt_label').set_markup(desc) if len(self.agents[type_]) > 1: self.protocol_jid_combobox.show() else: