ChanServ? On the menus? What is this ridiculousness?

This commit is contained in:
Kiooeht 2012-06-25 23:54:12 -07:00
parent 224c1517c0
commit dca31b8d8f
6 changed files with 19 additions and 6 deletions

View file

@ -21,6 +21,7 @@ CHANGELOG
* Italics, bold, and underline - Kiooeht [evacipatedBox] * Italics, bold, and underline - Kiooeht [evacipatedBox]
* FTP and Magnet links - oakwhiz * FTP and Magnet links - oakwhiz
* Userlist search - oakwhiz * Userlist search - oakwhiz
* Chanserv in menus - Cerxi [binaryCabalist]
* Bug fixes * Bug fixes
* Don't require pygame (it's kind of optional, you just don't get sound) - Kiooeht [evacipatedBox] * Don't require pygame (it's kind of optional, you just don't get sound) - Kiooeht [evacipatedBox]
* Allow add chum dialog to open after adding an existing chum - Kiooeht [evacipatedBox] * Allow add chum dialog to open after adding an existing chum - Kiooeht [evacipatedBox]

View file

@ -1716,10 +1716,11 @@ class AboutPesterchum(QtGui.QDialog):
Lexi (lexicalNuance)\n\ Lexi (lexicalNuance)\n\
oakwhiz\n\ oakwhiz\n\
alGore\n\ alGore\n\
Cerxi (binaryCabalist)\n\
\n\ \n\
Art by:\n\ Art by:\n\
Grimlive (aquaMarinist)\n\ Grimlive (aquaMarinist)\n\
binaryCabalist\n\ Cerxi (binaryCabalist)\n\
\n\ \n\
Special Thanks:\n\ Special Thanks:\n\
ABT\n\ ABT\n\

View file

@ -548,7 +548,7 @@ def themeChecker(theme):
"convo/text/closememo", "convo/text/kickedmemo", \ "convo/text/closememo", "convo/text/kickedmemo", \
"main/chums/userlistcolor", "main/defaultwindow/style", \ "main/chums/userlistcolor", "main/defaultwindow/style", \
"main/chums/moods", "main/chums/moods/chummy/icon", "main/menus/help/help", \ "main/chums/moods", "main/chums/moods/chummy/icon", "main/menus/help/help", \
"main/menus/help/calsprite", "main/menus/help/nickserv", \ "main/menus/help/calsprite", "main/menus/help/nickserv", "main/menus/help/chanserv", \
"main/menus/rclickchumlist/invitechum", "main/menus/client/randen", \ "main/menus/rclickchumlist/invitechum", "main/menus/client/randen", \
"main/menus/rclickchumlist/memosetting", "main/menus/rclickchumlist/memonoquirk", \ "main/menus/rclickchumlist/memosetting", "main/menus/rclickchumlist/memonoquirk", \
"main/menus/rclickchumlist/memohidden", "main/menus/rclickchumlist/memoinvite", \ "main/menus/rclickchumlist/memohidden", "main/menus/rclickchumlist/memoinvite", \

View file

@ -1130,6 +1130,9 @@ class PesterWindow(MovingWindow):
self.nickServAction = QtGui.QAction(self.theme["main/menus/help/nickserv"], self) self.nickServAction = QtGui.QAction(self.theme["main/menus/help/nickserv"], self)
self.connect(self.nickServAction, QtCore.SIGNAL('triggered()'), self.connect(self.nickServAction, QtCore.SIGNAL('triggered()'),
self, QtCore.SLOT('loadNickServ()')) self, QtCore.SLOT('loadNickServ()'))
self.chanServAction = QtGui.QAction(self.theme["main/menus/help/chanserv"], self)
self.connect(self.chanServAction, QtCore.SIGNAL('triggered()'),
self, QtCore.SLOT('loadChanServ()'))
self.aboutAction = QtGui.QAction(self.theme["main/menus/help/about"], self) self.aboutAction = QtGui.QAction(self.theme["main/menus/help/about"], self)
self.connect(self.aboutAction, QtCore.SIGNAL('triggered()'), self.connect(self.aboutAction, QtCore.SIGNAL('triggered()'),
self, QtCore.SLOT('aboutPesterchum()')) self, QtCore.SLOT('aboutPesterchum()'))
@ -1140,6 +1143,7 @@ class PesterWindow(MovingWindow):
self.helpmenu = helpmenu self.helpmenu = helpmenu
self.helpmenu.addAction(self.helpAction) self.helpmenu.addAction(self.helpAction)
self.helpmenu.addAction(self.botAction) self.helpmenu.addAction(self.botAction)
self.helpmenu.addAction(self.chanServAction)
self.helpmenu.addAction(self.nickServAction) self.helpmenu.addAction(self.nickServAction)
self.helpmenu.addAction(self.aboutAction) self.helpmenu.addAction(self.aboutAction)
self.helpmenu.addAction(self.reportBugAction) self.helpmenu.addAction(self.reportBugAction)
@ -1409,8 +1413,8 @@ class PesterWindow(MovingWindow):
self.connect(convoWindow, QtCore.SIGNAL('windowClosed(QString)'), self.connect(convoWindow, QtCore.SIGNAL('windowClosed(QString)'),
self, QtCore.SLOT('closeConvo(QString)')) self, QtCore.SLOT('closeConvo(QString)'))
self.convos[chum.handle] = convoWindow self.convos[chum.handle] = convoWindow
if unicode(chum.handle).upper() == "NICKSERV" or \ if unicode(chum.handle).upper() == "CHANSERV" or \
unicode(chum.handle).upper() == "CHANSERV" or \ unicode(chum.handle).upper() == "NICKSERV" or \
unicode(chum.handle).upper() == "MEMOSERV" or \ unicode(chum.handle).upper() == "MEMOSERV" or \
unicode(chum.handle).upper() == "OPERSERV" or \ unicode(chum.handle).upper() == "OPERSERV" or \
unicode(chum.handle).upper() == "HELPSERV": unicode(chum.handle).upper() == "HELPSERV":
@ -1545,6 +1549,7 @@ class PesterWindow(MovingWindow):
self.aboutAction.setText(self.theme["main/menus/help/about"]) self.aboutAction.setText(self.theme["main/menus/help/about"])
self.helpAction.setText(self.theme["main/menus/help/help"]) self.helpAction.setText(self.theme["main/menus/help/help"])
self.botAction.setText(self.theme["main/menus/help/calsprite"]) self.botAction.setText(self.theme["main/menus/help/calsprite"])
self.chanServAction.setText(self.theme["main/menus/help/chanserv"])
self.nickServAction.setText(self.theme["main/menus/help/nickserv"]) self.nickServAction.setText(self.theme["main/menus/help/nickserv"])
self.helpmenu.setTitle(self.theme["main/menus/help/_name"]) self.helpmenu.setTitle(self.theme["main/menus/help/_name"])
@ -2583,6 +2588,9 @@ class PesterWindow(MovingWindow):
def loadCalsprite(self): def loadCalsprite(self):
self.newConversation("calSprite") self.newConversation("calSprite")
@QtCore.pyqtSlot() @QtCore.pyqtSlot()
def loadChanServ(self):
self.newConversation("chanServ")
@QtCore.pyqtSlot()
def loadNickServ(self): def loadNickServ(self):
self.newConversation("nickServ") self.newConversation("nickServ")
@QtCore.pyqtSlot() @QtCore.pyqtSlot()

View file

@ -41,6 +41,7 @@
"about": "ABOUT", "about": "ABOUT",
"help": "HELP", "help": "HELP",
"calsprite": "CALSPRITE", "calsprite": "CALSPRITE",
"chanserv": "CHANSERV",
"nickserv": "NICKSERV" }, "nickserv": "NICKSERV" },
"rclickchumlist": {"pester": "PESTER", "rclickchumlist": {"pester": "PESTER",
"removechum": "REMOVE CHUM", "removechum": "REMOVE CHUM",

View file

@ -39,10 +39,11 @@
"about": "About", "about": "About",
"help": "Help", "help": "Help",
"calsprite": "CalSprite", "calsprite": "CalSprite",
"chanserv": "ChanServ",
"nickserv": "NickServ" }, "nickserv": "NickServ" },
"rclickchumlist": {"pester": "Troll", "rclickchumlist": {"pester": "Troll",
"removechum": "Trash", "removechum": "Trash",
"report": "Remove", "report": "Tattle",
"blockchum": "Block", "blockchum": "Block",
"addchum": "Add Chump", "addchum": "Add Chump",
"viewlog": "View Pesterlog", "viewlog": "View Pesterlog",
@ -349,7 +350,8 @@
"systemMsgColor": "#646464", "systemMsgColor": "#646464",
"op": { "icon": "$path/op.png" }, "op": { "icon": "$path/op.png" },
"halfop": { "icon": "$path/halfop.png" }, "halfop": { "icon": "$path/halfop.png" },
"voice": { "icon": "$path/voice.png" } "voice": { "icon": "$path/voice.png" },
"founder": { "icon": "$path/founder.png" }
}, },
"toasts": "toasts":
{ {