summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-12-26 16:00:18 +0100
committermathieui <mathieui@mathieui.net>2016-12-26 16:01:35 +0100
commitfdb61cda2724f5cc79dedec4ecf041a92450216b (patch)
treef023941c1d8d2f79065bfba7379e3867a5be0586 /poezio/tabs
parent2243687c442443ba56b22dd142a97b2811e796e8 (diff)
downloadpoezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.tar.gz
poezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.tar.bz2
poezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.tar.xz
poezio-fdb61cda2724f5cc79dedec4ecf041a92450216b.zip
Add missing message types (fix #3271)
Which were being filtered by the information popup filter
Diffstat (limited to 'poezio/tabs')
-rw-r--r--poezio/tabs/basetabs.py2
-rw-r--r--poezio/tabs/bookmarkstab.py1
-rw-r--r--poezio/tabs/rostertab.py10
3 files changed, 6 insertions, 7 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index 02af159a..95846ef4 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -639,7 +639,7 @@ class ChatTab(Tab):
self.core.command.help('correct')
return
if not self.last_sent_message:
- self.core.information('There is no message to correct.')
+ self.core.information('There is no message to correct.', 'Error')
return
self.command_say(line, correct=True)
diff --git a/poezio/tabs/bookmarkstab.py b/poezio/tabs/bookmarkstab.py
index e11f8aba..cdb983bb 100644
--- a/poezio/tabs/bookmarkstab.py
+++ b/poezio/tabs/bookmarkstab.py
@@ -89,7 +89,6 @@ class BookmarksTab(Tab):
self.core.information('Bookmarks saved.', 'Info')
else:
self.core.information('Remote bookmarks not saved.', 'Error')
- log.debug('alerte %s', str(stanza_storage(self.bookmarks.bookmarks)))
self.bookmarks.save(self.core.xmpp, callback=send_cb)
self.core.close_tab(self)
return True
diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py
index 2d311012..2720bf7f 100644
--- a/poezio/tabs/rostertab.py
+++ b/poezio/tabs/rostertab.py
@@ -601,12 +601,12 @@ class RosterInfoTab(Tab):
if isinstance(item, Contact):
jid = item.bare_jid
else:
- self.core.information('No subscription to deny')
+ self.core.information('No subscription to deny', 'Warning')
return
else:
jid = safeJID(args[0]).bare
if not jid in [jid for jid in roster.jids()]:
- self.core.information('No subscription to deny')
+ self.core.information('No subscription to deny', 'Warning')
return
contact = roster[jid]
@@ -759,7 +759,7 @@ class RosterInfoTab(Tab):
if iq:
roster.update_contact_groups(contact)
else:
- self.core.information('The group could not be set')
+ self.core.information('The group could not be set', 'Error')
log.debug('Error in groupmove:\n%s', iq)
self.core.xmpp.update_roster(jid, name=name, groups=new_groups,
@@ -819,7 +819,7 @@ class RosterInfoTab(Tab):
if isinstance(item, Contact):
jid = item.bare_jid
else:
- self.core.information('No roster item to remove')
+ self.core.information('No roster item to remove', 'Error')
return
roster.remove(jid)
del roster[jid]
@@ -955,7 +955,7 @@ class RosterInfoTab(Tab):
if isinstance(item, Contact):
jid = item.bare_jid
else:
- self.core.information('No subscription to accept')
+ self.core.information('No subscription to accept', 'Warning')
return
else:
jid = safeJID(args[0]).bare