print status on new_user() no matter what status that is
This commit is contained in:
parent
47a800089f
commit
3288d67b75
4 changed files with 596 additions and 23 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -27,4 +27,4 @@ build() {
|
||||||
|
|
||||||
make DESTDIR=$startdir/pkg install
|
make DESTDIR=$startdir/pkg install
|
||||||
}
|
}
|
||||||
md5sums=('83b59428608fb6e9cae5e113e57266a4')
|
md5sums=('03e95969c68ffdbe34f7a4173f8fd4db')
|
||||||
|
|
|
@ -202,8 +202,10 @@ class vcard_information_window:
|
||||||
'ADR_CTRY', 'ORG_ORGNAME', 'ORG_ORGUNIT', 'TITLE', 'ROLE']
|
'ADR_CTRY', 'ORG_ORGNAME', 'ORG_ORGUNIT', 'TITLE', 'ROLE']
|
||||||
for e in entries:
|
for e in entries:
|
||||||
self.xml.get_widget(e + '_entry').set_property('editable', True)
|
self.xml.get_widget(e + '_entry').set_property('editable', True)
|
||||||
self.xml.get_widget('DESC_textview').set_editable(True)
|
|
||||||
self.xml.get_widget('DESC_textview').set_cursor_visible(True)
|
description_textview = self.xml.get_widget('DESC_textview')
|
||||||
|
description_textview.set_editable(True)
|
||||||
|
description_textview.set_cursor_visible(True)
|
||||||
|
|
||||||
#the user variable is the jid if vcard is true
|
#the user variable is the jid if vcard is true
|
||||||
def __init__(self, user, plugin, account, vcard=False):
|
def __init__(self, user, plugin, account, vcard=False):
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -137,13 +137,12 @@ class Tabbed_chat_window(Chat):
|
||||||
|
|
||||||
self.redraw_tab(user.jid)
|
self.redraw_tab(user.jid)
|
||||||
self.draw_widgets(user)
|
self.draw_widgets(user)
|
||||||
|
self.print_conversation(_("%s is %s (%s)") % (user.name, \
|
||||||
|
user.show, user.status), user.jid, 'status')
|
||||||
|
|
||||||
#print queued messages
|
#print queued messages
|
||||||
if self.plugin.queues[self.account].has_key(user.jid):
|
if self.plugin.queues[self.account].has_key(user.jid):
|
||||||
self.read_queue(user.jid)
|
self.read_queue(user.jid)
|
||||||
if user.show != 'online':
|
|
||||||
self.print_conversation(_("%s is now %s (%s)") % (user.name, \
|
|
||||||
user.show, user.status), user.jid, 'status')
|
|
||||||
|
|
||||||
if self.plugin.config['print_time'] == 'sometimes':
|
if self.plugin.config['print_time'] == 'sometimes':
|
||||||
self.print_time_timeout(user.jid)
|
self.print_time_timeout(user.jid)
|
||||||
|
|
Loading…
Add table
Reference in a new issue