Fix all themes for newest version
This commit is contained in:
parent
18725f8518
commit
c2fa5491af
12 changed files with 249 additions and 167 deletions
2
irc.py
2
irc.py
|
@ -341,7 +341,7 @@ class PesterHandler(DefaultCommandHandler):
|
|||
handle = nick[0:nick.find("!")]
|
||||
logging.info("---> recv \"CTCP %s :%s\"" % (handle, msg[1:-1]))
|
||||
if msg[1:-1] == "VERSION":
|
||||
helpers.ctcp_reply(self.parent.cli, handle, "VERSION", "Pesterchum %s\x01" % (_pcVersion))
|
||||
helpers.ctcp_reply(self.parent.cli, handle, "VERSION", "Pesterchum %s" % (_pcVersion))
|
||||
elif msg[1:-1].startswith("NOQUIRKS") and chan[0] == "#":
|
||||
op = nick[0:nick.find("!")]
|
||||
self.parent.quirkDisable.emit(chan, msg[10:-1], op)
|
||||
|
|
20
memos.py
20
memos.py
|
@ -374,7 +374,7 @@ class PesterMemo(PesterConvo):
|
|||
self.voiceAction = QtGui.QAction(self.mainwindow.theme["main/menus/rclickchumlist/voiceuser"], self)
|
||||
self.connect(self.voiceAction, QtCore.SIGNAL('triggered()'),
|
||||
self, QtCore.SLOT('voiceSelectedUser()'))
|
||||
self.quirkDisableAction = QtGui.QAction("Kill Quirk", self)
|
||||
self.quirkDisableAction = QtGui.QAction(self.mainwindow.theme["main/menus/rclickchumlist/quirkkill"], self)
|
||||
self.connect(self.quirkDisableAction, QtCore.SIGNAL('triggered()'),
|
||||
self, QtCore.SLOT('killQuirkUser()'))
|
||||
self.userlist.optionsMenu.addAction(self.addchumAction)
|
||||
|
@ -395,20 +395,20 @@ class PesterMemo(PesterConvo):
|
|||
self.optionsMenu.addAction(self.logchum)
|
||||
self.optionsMenu.addAction(self.invitechum)
|
||||
|
||||
self.chanModeMenu = QtGui.QMenu("Memo Settings", self)
|
||||
self.chanNoquirks = QtGui.QAction("Disable Quirks", self)
|
||||
self.chanModeMenu = QtGui.QMenu(self.mainwindow.theme["main/menus/rclickchumlist/memosetting"], self)
|
||||
self.chanNoquirks = QtGui.QAction(self.mainwindow.theme["main/menus/rclickchumlist/memonoquirk"], self)
|
||||
self.chanNoquirks.setCheckable(True)
|
||||
self.connect(self.chanNoquirks, QtCore.SIGNAL('toggled(bool)'),
|
||||
self, QtCore.SLOT('noquirksChan(bool)'))
|
||||
self.chanHide = QtGui.QAction("Hidden", self)
|
||||
self.chanHide = QtGui.QAction(self.mainwindow.theme["main/menus/rclickchumlist/memohidden"], self)
|
||||
self.chanHide.setCheckable(True)
|
||||
self.connect(self.chanHide, QtCore.SIGNAL('toggled(bool)'),
|
||||
self, QtCore.SLOT('hideChan(bool)'))
|
||||
self.chanInvite = QtGui.QAction("Invite-Only", self)
|
||||
self.chanInvite = QtGui.QAction(self.mainwindow.theme["main/menus/rclickchumlist/memoinvite"], self)
|
||||
self.chanInvite.setCheckable(True)
|
||||
self.connect(self.chanInvite, QtCore.SIGNAL('toggled(bool)'),
|
||||
self, QtCore.SLOT('inviteChan(bool)'))
|
||||
self.chanMod = QtGui.QAction("Mute", self)
|
||||
self.chanMod = QtGui.QAction(self.mainwindow.theme["main/menus/rclickchumlist/memomute"], self)
|
||||
self.chanMod.setCheckable(True)
|
||||
self.connect(self.chanMod, QtCore.SIGNAL('toggled(bool)'),
|
||||
self, QtCore.SLOT('modChan(bool)'))
|
||||
|
@ -546,9 +546,15 @@ class PesterMemo(PesterConvo):
|
|||
self.banuserAction.setText(theme["main/menus/rclickchumlist/banuser"])
|
||||
self.opAction.setText(theme["main/menus/rclickchumlist/opuser"])
|
||||
self.voiceAction.setText(theme["main/menus/rclickchumlist/voiceuser"])
|
||||
self.quirkDisableAction.setText("Kill Quirk")
|
||||
self.quirkDisableAction.setText(theme["main/menus/rclickchumlist/quirkkill"])
|
||||
self.quirksOff.setText(theme["main/menus/rclickchumlist/quirksoff"])
|
||||
self.logchum.setText(theme["main/menus/rclickchumlist/viewlog"])
|
||||
self.invitechum.setText(theme["main/menus/rclickchumlist/invitechum"])
|
||||
self.chanModeMenu.setTitle(theme["main/menus/rclickchumlist/memosetting"])
|
||||
self.chanNoquirks.setText(theme["main/menus/rclickchumlist/memonoquirk"])
|
||||
self.chanHide.setText(theme["main/menus/rclickchumlist/memohidden"])
|
||||
self.chanInvite.setText(theme["main/menus/rclickchumlist/memoinvite"])
|
||||
self.chanMod.setText(theme["main/menus/rclickchumlist/memomute"])
|
||||
|
||||
self.timeinput.setFixedWidth(theme["memos/time/text/width"])
|
||||
self.timeinput.setStyleSheet(theme["memos/time/text/style"])
|
||||
|
|
|
@ -491,7 +491,10 @@ def themeChecker(theme):
|
|||
"main/chums/userlistcolor", "main/defaultwindow/style", \
|
||||
"main/chums/moods", "main/chums/moods/chummy/icon", "main/menus/help/help", \
|
||||
"main/menus/help/calsprite", "main/menus/help/nickserv", \
|
||||
"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/memohidden", "main/menus/rclickchumlist/memoinvite", \
|
||||
"main/menus/rclickchumlist/memomute"]
|
||||
|
||||
for n in needs:
|
||||
try:
|
||||
|
|
|
@ -1972,6 +1972,9 @@ class PesterWindow(MovingWindow):
|
|||
self.switch.setText(theme["main/menus/profile/switch"])
|
||||
self.profilemenu.setTitle(theme["main/menus/profile/_name"])
|
||||
self.aboutAction.setText(self.theme["main/menus/help/about"])
|
||||
self.helpAction.setText(self.theme["main/menus/help/help"])
|
||||
self.botAction.setText(self.theme["main/menus/help/calsprite"])
|
||||
self.nickServAction.setText(self.theme["main/menus/help/nickserv"])
|
||||
self.helpmenu.setTitle(self.theme["main/menus/help/_name"])
|
||||
|
||||
# moods
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
"options": "Options",
|
||||
"memos": "Memos",
|
||||
"logviewer": "Pesterlogs",
|
||||
"randen": "Random Encounter",
|
||||
"userlist": "Userlist",
|
||||
"addgroup": "Add Group",
|
||||
"import": "Import",
|
||||
"reconnect": "Reconnect",
|
||||
"idle": "Idle",
|
||||
|
@ -37,17 +39,29 @@
|
|||
"help": { "_name": "Info",
|
||||
"help": "Info",
|
||||
"calsprite": "Calsprite",
|
||||
"nickserv": "NickServ",
|
||||
"about": "About" },
|
||||
"rclickchumlist": {"pester": "Pester",
|
||||
"removechum": "Remove Chum",
|
||||
"blockchum": "Block",
|
||||
"report": "Report",
|
||||
"blockchum": "Block",
|
||||
"addchum": "Add Chum",
|
||||
"viewlog": "View Pesterlog",
|
||||
"unblockchum": "Unblock",
|
||||
"removegroup": "Remove Group",
|
||||
"renamegroup": "Rename Group",
|
||||
"movechum": "Move To",
|
||||
"banuser": "Ban",
|
||||
"opuser": "Make OP",
|
||||
"quirksoff": "Quirks Off" }
|
||||
"voiceuser": "Give Voice",
|
||||
"quirkkill": "Kill Quirk",
|
||||
"quirksoff": "Quirks Off",
|
||||
"invitechum": "Invite Chump",
|
||||
"memosetting": "Memo Settings",
|
||||
"memonoquirk": "Disable Quirks",
|
||||
"memohidden": "Hidden",
|
||||
"memoinvite": "Invite-Only",
|
||||
"memomute": "Mute" }
|
||||
},
|
||||
"chums": { "style": "font-size: 16px; background-image:url($path/chumbg.png); background-color: #414141; background-repeat: no-repeat; font-family: 'Arial'; border: 0px; selection-background-color: #222222; color: #ff168f;",
|
||||
"loc": [189, 162],
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
"options": "Remix",
|
||||
"memos": "Memos",
|
||||
"logviewer": "Pesterlogs",
|
||||
"randen": "Random Encounter",
|
||||
"userlist": "Cronies",
|
||||
"addgroup": "New Crew",
|
||||
"import": "Import",
|
||||
"reconnect": "Reconnect",
|
||||
"idle": "Idle",
|
||||
|
@ -35,18 +37,29 @@
|
|||
"help": { "_name": "Info",
|
||||
"help": "Info",
|
||||
"calsprite": "Calsprite",
|
||||
"nickserv": "NickServ",
|
||||
"about": "The Deal" },
|
||||
"rclickchumlist": {"pester": "Patronize",
|
||||
"removechum": "Forget",
|
||||
"report": "Tell a Coppa",
|
||||
"blockchum": "Slam",
|
||||
"report": "Report",
|
||||
"addchum": "Add to Crew",
|
||||
"viewlog": "View Pesterlog",
|
||||
"unblockchum": "Rectify",
|
||||
"removegroup": "Forget Crew",
|
||||
"renamegroup": "Rename Crew",
|
||||
"movechum": "Change Crew",
|
||||
"banuser": "Banish",
|
||||
"opuser": "Hype",
|
||||
"quirksoff": "Lingo Off" }
|
||||
"voiceuser": "Let Rap",
|
||||
"quirkkill": "Kill Quirk",
|
||||
"quirksoff": "Lingo Off",
|
||||
"invitechum": "Invite Crew",
|
||||
"memosetting": "Memo Settings",
|
||||
"memonoquirk": "Disable Quirks",
|
||||
"memohidden": "Hidden",
|
||||
"memoinvite": "Invite-Only",
|
||||
"memomute": "Mute" }
|
||||
},
|
||||
"chums": { "style": "font-size: 16px; background: black; border: 3px solid white; font-family: 'Arial';selection-background-color:rgb(100,100,100); color: white;",
|
||||
"loc": [175, 70],
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
"options": "Options",
|
||||
"memos": "Memos",
|
||||
"logviewer": "Pesterlogs",
|
||||
"randen": "Random Encounter",
|
||||
"userlist": "Userlist",
|
||||
"addgroup": "Add Group",
|
||||
"import": "Import",
|
||||
"reconnect": "Reconnect",
|
||||
"idle": "Idle",
|
||||
|
@ -35,18 +37,29 @@
|
|||
"help": { "_name": "Help",
|
||||
"help": "Help",
|
||||
"calsprite": "Calsprite",
|
||||
"nickserv": "NickServ",
|
||||
"about": "About" },
|
||||
"rclickchumlist": {"pester": "Pester",
|
||||
"removechum": "Remove",
|
||||
"report": "Report",
|
||||
"blockchum": "Block",
|
||||
"report": "Report",
|
||||
"addchum": "Add Chum",
|
||||
"viewlog": "View Pesterlog",
|
||||
"unblockchum": "Unblock",
|
||||
"removegroup": "Remove Group",
|
||||
"renamegroup": "Rename Group",
|
||||
"movechum": "Move To",
|
||||
"banuser": "Ban",
|
||||
"opuser": "Promote",
|
||||
"quirksoff": "Quirks Off" }
|
||||
"voiceuser": "Give Voice",
|
||||
"quirkkill": "Kill Quirk",
|
||||
"quirksoff": "Quirks Off",
|
||||
"invitechum": "Invite Chump",
|
||||
"memosetting": "Memo Settings",
|
||||
"memonoquirk": "Disable Quirks",
|
||||
"memohidden": "Hidden",
|
||||
"memoinvite": "Invite-Only",
|
||||
"memomute": "Mute" }
|
||||
},
|
||||
"chums": { "style": "font-size: 12px; background: black; border: 3px solid white; font:bold; font-family: 'Arial';selection-background-color:rgb(100,100,100); color: white;",
|
||||
"loc": [225, 150],
|
||||
|
|
|
@ -50,8 +50,14 @@
|
|||
"banuser": "Ban User",
|
||||
"opuser": "Make OP",
|
||||
"voiceuser": "Give Voice",
|
||||
"quirkkill": "Kill Quirk",
|
||||
"quirksoff": "Quirks Off",
|
||||
"invitechum": "Invite Chum"
|
||||
"invitechum": "Invite Chum",
|
||||
"memosetting": "Memo Settings",
|
||||
"memonoquirk": "Disable Quirks",
|
||||
"memohidden": "Hidden",
|
||||
"memoinvite": "Invite-Only",
|
||||
"memomute": "Mute"
|
||||
}
|
||||
},
|
||||
"chums": { "style": "text-align: center; border:0px; background-image:url($path/chumbg.png); background-color: #ffe400; background-repeat: no-repeat; color: white; font-family: 'Century Gothic';selection-background-color:#646464; font-size:18px; ",
|
||||
|
|
|
@ -53,8 +53,14 @@
|
|||
"banuser": "Ban User",
|
||||
"opuser": "Make OP",
|
||||
"voiceuser": "Give Voice",
|
||||
"quirkkill": "Kill Quirk",
|
||||
"quirksoff": "Quirks Off",
|
||||
"invitechum": "Invite Chum"
|
||||
"invitechum": "Invite Chum",
|
||||
"memosetting": "Memo Settings",
|
||||
"memonoquirk": "Disable Quirks",
|
||||
"memohidden": "Hidden",
|
||||
"memoinvite": "Invite-Only",
|
||||
"memomute": "Mute"
|
||||
}
|
||||
},
|
||||
"chums": { "style": "border:0px; background-image:url($path/chumbg.png); background-color: rgb(110,110,110); background-repeat: no-repeat; color: white; font-family: 'Arial';selection-background-color:#646464; font-size:14px; ",
|
||||
|
|
|
@ -53,8 +53,14 @@
|
|||
"banuser": "BAN USER",
|
||||
"opuser": "MAKE OP",
|
||||
"voiceuser": "GIVE VOICE",
|
||||
"quirkkill": "KILL QUIRK",
|
||||
"quirksoff": "QUIRKS OFF",
|
||||
"invitechum": "INVITE CHUM"
|
||||
"invitechum": "INVITE CHUM",
|
||||
"memosetting": "MEMO SETTINGS",
|
||||
"memonoquirk": "DISABLE QUIRKS",
|
||||
"memohidden": "HIDDEN",
|
||||
"memoinvite": "INVITE-ONLY",
|
||||
"memomute": "MUTE"
|
||||
}
|
||||
},
|
||||
"chums": { "style": "border:2px solid yellow; background-color: black;color: white;font: bold;font-family: 'Courier';selection-background-color:#646464; ",
|
||||
|
|
|
@ -52,8 +52,14 @@
|
|||
"banuser": "Ban",
|
||||
"opuser": "Promote",
|
||||
"voiceuser": "Let Speak",
|
||||
"quirkkill": "Kill Quirk",
|
||||
"quirksoff": "Quirks Off",
|
||||
"invitechum": "Invite Chump" }
|
||||
"invitechum": "Invite Chump",
|
||||
"memosetting": "Memo Settings",
|
||||
"memonoquirk": "Disable Quirks",
|
||||
"memohidden": "Hidden",
|
||||
"memoinvite": "Invite-Only",
|
||||
"memomute": "Mute" }
|
||||
},
|
||||
"chums": { "style": "font-size: 12px; background: white; border:0px; font-family: 'Arial';selection-background-color:rgb(200,200,200); ",
|
||||
"scrollbar": { "style" : "background-color:#c2c2c2;",
|
||||
|
|
|
@ -53,8 +53,14 @@
|
|||
"banuser": "Expel User",
|
||||
"opuser": "Promote",
|
||||
"voiceuser": "Let Speak",
|
||||
"quirkkill": "Kill Quirk",
|
||||
"quirksoff": "Quirks Off",
|
||||
"invitechum": "Invite User"
|
||||
"invitechum": "Invite User",
|
||||
"memosetting": "Memo Settings",
|
||||
"memonoquirk": "Disable Quirks",
|
||||
"memohidden": "Hidden",
|
||||
"memoinvite": "Invite-Only",
|
||||
"memomute": "Mute"
|
||||
}
|
||||
},
|
||||
"chums": { "style": "border:0px; background-color: white; font: bold;font-family: 'Courier';selection-background-color: black; ",
|
||||
|
|
Loading…
Reference in a new issue