not_in_the_roster.png -> not_in_roster.png
Before Width: | Height: | Size: 860 B After Width: | Height: | Size: 860 B |
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 759 B After Width: | Height: | Size: 759 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 574 B After Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 877 B After Width: | Height: | Size: 877 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 705 B After Width: | Height: | Size: 705 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 971 B After Width: | Height: | Size: 971 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 830 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 866 B After Width: | Height: | Size: 866 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
@ -224,7 +224,7 @@ def get_uf_show(show, use_mnemonic = False):
|
||||||
uf_show = _('_Invisible')
|
uf_show = _('_Invisible')
|
||||||
else:
|
else:
|
||||||
uf_show = _('Invisible')
|
uf_show = _('Invisible')
|
||||||
elif show == 'Not in Roster':
|
elif show == 'not in roster':
|
||||||
uf_show = _('Not in Roster')
|
uf_show = _('Not in Roster')
|
||||||
elif show == 'requested':
|
elif show == 'requested':
|
||||||
uf_show = Q_('?contact has status:Unknown')
|
uf_show = Q_('?contact has status:Unknown')
|
||||||
|
|
|
@ -1021,7 +1021,7 @@ class PopupNotificationWindow:
|
||||||
else:
|
else:
|
||||||
contact = gajim.contacts.create_contact(jid = self.jid,
|
contact = gajim.contacts.create_contact(jid = self.jid,
|
||||||
name = self.jid.split('@')[0],
|
name = self.jid.split('@')[0],
|
||||||
groups = [_('Not in Roster')], show = 'Not in Roster',
|
groups = [_('Not in Roster')], show = 'not in roster',
|
||||||
status = '', sub = 'none', keyID = keyID)
|
status = '', sub = 'none', keyID = keyID)
|
||||||
gajim.contacts.add_contact(self.account, contact)
|
gajim.contacts.add_contact(self.account, contact)
|
||||||
gajim.interface.roster.add_contact_to_roster(contact.jid,
|
gajim.interface.roster.add_contact_to_roster(contact.jid,
|
||||||
|
|
|
@ -1552,7 +1552,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
if gajim.interface.msg_win_mgr.has_window(contact.jid, account):
|
if gajim.interface.msg_win_mgr.has_window(contact.jid, account):
|
||||||
c = gajim.contacts.create_contact(jid = contact.jid,
|
c = gajim.contacts.create_contact(jid = contact.jid,
|
||||||
name = contact.name, groups = [_('Not in Roster')],
|
name = contact.name, groups = [_('Not in Roster')],
|
||||||
show = 'Not in Roster', status = '', ask = 'none',
|
show = 'not in roster', status = '', ask = 'none',
|
||||||
keyID = contact.keyID)
|
keyID = contact.keyID)
|
||||||
gajim.contacts.add_contact(account, c)
|
gajim.contacts.add_contact(account, c)
|
||||||
self.add_contact_to_roster(contact.jid, account)
|
self.add_contact_to_roster(contact.jid, account)
|
||||||
|
@ -1819,7 +1819,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
keyID = attached_keys[attached_keys.index(jid) + 1]
|
keyID = attached_keys[attached_keys.index(jid) + 1]
|
||||||
contact = gajim.contacts.create_contact(jid = jid,
|
contact = gajim.contacts.create_contact(jid = jid,
|
||||||
name = jid.split('@')[0], groups = [_('Not in Roster')],
|
name = jid.split('@')[0], groups = [_('Not in Roster')],
|
||||||
show = 'Not in Roster', status = '', sub = 'none',
|
show = 'not in roster', status = '', sub = 'none',
|
||||||
keyID = keyID)
|
keyID = keyID)
|
||||||
gajim.contacts.add_contact(account, contact)
|
gajim.contacts.add_contact(account, contact)
|
||||||
self.add_contact_to_roster(contact.jid, account)
|
self.add_contact_to_roster(contact.jid, account)
|
||||||
|
@ -1852,7 +1852,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
keyID = attached_keys[attached_keys.index(jid) + 1]
|
keyID = attached_keys[attached_keys.index(jid) + 1]
|
||||||
contact = gajim.contacts.create_contact(jid = jid,
|
contact = gajim.contacts.create_contact(jid = jid,
|
||||||
name = jid.split('@')[0], groups = [_('Not in Roster')],
|
name = jid.split('@')[0], groups = [_('Not in Roster')],
|
||||||
show = 'Not in Roster', status = '', ask = 'none',
|
show = 'not in roster', status = '', ask = 'none',
|
||||||
keyID = keyID, resource = resource)
|
keyID = keyID, resource = resource)
|
||||||
gajim.contacts.add_contact(account, contact)
|
gajim.contacts.add_contact(account, contact)
|
||||||
self.add_contact_to_roster(jid, account)
|
self.add_contact_to_roster(jid, account)
|
||||||
|
@ -2319,11 +2319,11 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
path += '/'
|
path += '/'
|
||||||
list = ('connecting', 'online', 'chat', 'away', 'xa', 'dnd', 'invisible',
|
list = ('connecting', 'online', 'chat', 'away', 'xa', 'dnd', 'invisible',
|
||||||
'offline', 'error', 'requested', 'message', 'opened', 'closed',
|
'offline', 'error', 'requested', 'message', 'opened', 'closed',
|
||||||
'Not in Roster', 'muc_active', 'muc_inactive')
|
'not in roster', 'muc_active', 'muc_inactive')
|
||||||
if pixbuf2:
|
if pixbuf2:
|
||||||
list = ('connecting', 'online', 'chat', 'away', 'xa', 'dnd',
|
list = ('connecting', 'online', 'chat', 'away', 'xa', 'dnd',
|
||||||
'invisible','offline', 'error', 'requested', 'message',
|
'invisible','offline', 'error', 'requested', 'message',
|
||||||
'Not in Roster')
|
'not in roster')
|
||||||
for state in list:
|
for state in list:
|
||||||
# try to open a pixfile with the correct method
|
# try to open a pixfile with the correct method
|
||||||
state_file = state.replace(' ', '_')
|
state_file = state.replace(' ', '_')
|
||||||
|
@ -2589,7 +2589,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
(gajim.config.get('sort_by_show') or gajim.contacts.is_subcontact(
|
(gajim.config.get('sort_by_show') or gajim.contacts.is_subcontact(
|
||||||
account1, contact1)):
|
account1, contact1)):
|
||||||
cshow = {'online':0, 'chat': 1, 'away': 2, 'xa': 3, 'dnd': 4,
|
cshow = {'online':0, 'chat': 1, 'away': 2, 'xa': 3, 'dnd': 4,
|
||||||
'invisible': 5, 'offline': 6, 'Not in Roster': 7, 'error': 8}
|
'invisible': 5, 'offline': 6, 'not in roster': 7, 'error': 8}
|
||||||
s = self.get_show(lcontact1)
|
s = self.get_show(lcontact1)
|
||||||
if s in cshow:
|
if s in cshow:
|
||||||
show1 = cshow[s]
|
show1 = cshow[s]
|
||||||
|
|