Bug fix: Display OP and Voice icons correctly in memos if entering memo when someone has +ov

This commit is contained in:
Kiooeht 2011-05-11 23:36:03 -07:00
parent cdce13bacf
commit b4cb15ec05
3 changed files with 10 additions and 1 deletions

View file

@ -18,7 +18,6 @@ Bugs
* Issues with connecting? Client not closing connection right? People keep getting "nick taken" messages
* Windows XP SP2: sometimes mouse clicks dont register? must be some kinda crash
* When using mood sort, scroll position jumps to last selected chum
* In memos, entering when someone has +ov and then they -o, you don't see that they have +v
Mac Bugs
--------

7
irc.py
View file

@ -212,6 +212,13 @@ class PesterIRC(QtCore.QThread):
helpers.mode(self.cli, c, m, cmd)
except socket.error:
self.setConnectionBroken()
@QtCore.pyqtSlot(QtCore.QString)
def channelNames(self, channel):
c = unicode(channel)
try:
helpers.names(self.cli, c)
except socket.error:
self.setConnectionBroken()
moodUpdated = QtCore.pyqtSignal(QtCore.QString, Mood)
colorUpdated = QtCore.pyqtSignal(QtCore.QString, QtGui.QColor)

View file

@ -2614,6 +2614,7 @@ class PesterWindow(MovingWindow):
joinChannel = QtCore.pyqtSignal(QtCore.QString)
leftChannel = QtCore.pyqtSignal(QtCore.QString)
setChannelMode = QtCore.pyqtSignal(QtCore.QString, QtCore.QString, QtCore.QString)
channelNames = QtCore.pyqtSignal(QtCore.QString)
closeSignal = QtCore.pyqtSignal()
reconnectIRC = QtCore.pyqtSignal()
@ -2719,6 +2720,8 @@ class MainProgram(QtCore.QObject):
'kickUser(QString, QString)'),
('setChannelMode(QString, QString, QString)',
'setChannelMode(QString, QString, QString)'),
('channelNames(QString)',
'channelNames(QString)'),
('reconnectIRC()', 'reconnectIRC()')
]
# IRC --> Main window