default to not autojoin
This commit is contained in:
parent
36ad547af7
commit
5c33d58370
|
@ -280,8 +280,8 @@ class GroupchatWindow(chat.Chat):
|
||||||
# I don't know how this works with markup... Let's find out!
|
# I don't know how this works with markup... Let's find out!
|
||||||
label_text = self.name_labels[room_jid].get_text() # whole text (including JID)
|
label_text = self.name_labels[room_jid].get_text() # whole text (including JID)
|
||||||
subject = label_text[label_text.find('\n') + 1:] # just the text after the newline *shrug*
|
subject = label_text[label_text.find('\n') + 1:] # just the text after the newline *shrug*
|
||||||
instance = dialogs.InputDialog('Changing the Subject',
|
instance = dialogs.InputDialog(_('Changing the Subject'),
|
||||||
'Please specify the new subject:', subject)
|
_('Please specify the new subject:'), subject)
|
||||||
response = instance.dialog.run()
|
response = instance.dialog.run()
|
||||||
instance.dialog.destroy()
|
instance.dialog.destroy()
|
||||||
if response == gtk.RESPONSE_OK:
|
if response == gtk.RESPONSE_OK:
|
||||||
|
@ -294,10 +294,10 @@ class GroupchatWindow(chat.Chat):
|
||||||
|
|
||||||
def on_add_bookmark_menuitem_activate(self, widget):
|
def on_add_bookmark_menuitem_activate(self, widget):
|
||||||
room_jid = self.get_active_jid()
|
room_jid = self.get_active_jid()
|
||||||
bm = { 'name':"",
|
bm = { 'name': '',
|
||||||
'jid': self.get_active_jid(),
|
'jid': self.get_active_jid(),
|
||||||
'autojoin':"1",
|
'autojoin': '0',
|
||||||
'password':"",
|
'password': '',
|
||||||
'nick': self.nicks[self.get_active_jid()]
|
'nick': self.nicks[self.get_active_jid()]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue