Fix all themes for newest version

This commit is contained in:
Kiooeht 2011-07-12 00:15:47 -07:00
parent 18725f8518
commit c2fa5491af
12 changed files with 249 additions and 167 deletions

2
irc.py
View file

@ -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)

View file

@ -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"])

View file

@ -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:

View file

@ -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

View file

@ -6,10 +6,10 @@
"newmsgicon": "$path/trayicon2.png",
"windowtitle": "FRESHjamz",
"close": { "image": "$path/x.png",
"size": [13, 13],
"size": [13, 13],
"loc": [101, 362]},
"minimize": { "image": "$path/m.png",
"size": [13, 13],
"size": [13, 13],
"loc": [116, 362]},
"menubar": { "style": "font-family: 'Arial'; font-size: 11px; font: bold; color: white;" },
"menu" : { "style": "font-family: 'Arial'; font-size: 11px; font: bold; color: white; background-color: #393939; border:3px solid #797979;",
@ -18,15 +18,17 @@
"loc": [198,141]
},
"sounds": { "alertsound": "$path/alarm.wav",
"ceasesound": "$path/ohgodwhat.wav" },
"menus": {"client": {"_name": "Album",
"ceasesound": "$path/ohgodwhat.wav" },
"menus": {"client": {"_name": "Album",
"options": "Options",
"memos": "Memos",
"logviewer": "Pesterlogs",
"randen": "Random Encounter",
"userlist": "Userlist",
"addgroup": "Add Group",
"import": "Import",
"reconnect": "Reconnect",
"idle": "Idle",
"reconnect": "Reconnect",
"idle": "Idle",
"exit": "Exit"},
"profile": {"_name": "Track",
"switch": "Switch",
@ -37,17 +39,29 @@
"help": { "_name": "Info",
"help": "Info",
"calsprite": "Calsprite",
"nickserv": "NickServ",
"about": "About" },
"rclickchumlist": {"pester": "Pester",
"removechum": "Remove Chum",
"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": "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],
@ -77,7 +91,7 @@
"insolent": { "icon": "$path/insolent.png", "color": "white" },
"bemused": { "icon": "$path/bemused.png", "color": "white" },
"bemused": { "icon": "$path/bemused.png", "color": "white" },
"ecstatic": { "icon": "$path/ecstatic.png", "color": "#ff168f" },
@ -130,14 +144,14 @@
},
"addchum":
{ "style": "background-image:url($path/pause1.png); border:0px;",
"pressed": "background-image:url($path/pause2.png); border:0px;",
"pressed": "background-image:url($path/pause2.png); border:0px;",
"loc": [239, 73],
"size": [55, 58],
"text": ""
},
"pester":
{ "style": "background-image:url($path/play1.png); border:0px;",
"pressed": "background-image:url($path/play2.png); border:0px;",
"pressed": "background-image:url($path/play2.png); border:0px;",
"loc": [180, 73],
"size": [55, 58],
"text": ""
@ -153,7 +167,7 @@
"text": ""
},
"moods": [
{ "style": "background-image:url($path/rewind1.png); border:0px;",
{ "style": "background-image:url($path/rewind1.png); border:0px;",
"selected": "background-image:url($path/rewind2.png); border:0px;",
"loc": [298, 73],
"size": [55, 58],
@ -189,7 +203,7 @@
"style": "background: white;margin-top:5px; border:1px solid #c2c2c2; font-size: 12px;"
},
"tabwindow" : {
"style": "background: black; font-family: 'Arial'"
"style": "background: black; font-family: 'Arial'"
},
"tabs": {
"style": "border: 2px solid white; background: black; color: white;",

View file

@ -16,15 +16,17 @@
"loc": [175,53]
},
"sounds": { "alertsound": "$path/scratch.wav",
"ceasesound": "$path/scratch2.wav" },
"ceasesound": "$path/scratch2.wav" },
"menus": {"client": {"_name": "Album",
"options": "Remix",
"memos": "Memos",
"logviewer": "Pesterlogs",
"randen": "Random Encounter",
"userlist": "Cronies",
"addgroup": "New Crew",
"import": "Import",
"reconnect": "Reconnect",
"idle": "Idle",
"reconnect": "Reconnect",
"idle": "Idle",
"exit": "Exit"},
"profile": {"_name": "Track",
"switch": "Rap Name",
@ -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],
@ -76,7 +89,7 @@
"insolent": { "icon": "$path/insolent.png", "color": "white" },
"bemused": { "icon": "$path/bemused.png", "color": "white" },
"bemused": { "icon": "$path/bemused.png", "color": "white" },
"ecstatic": { "icon": "$path/ecstatic.png", "color": "red" },
@ -150,7 +163,7 @@
"text": ""
},
"moods": [
{ "style": "background-image:url($path/shades1.png); border:0px;",
{ "style": "background-image:url($path/shades1.png); border:0px;",
"selected": "background-image:url($path/shades2.png); border:0px;",
"loc": [268, 580],
"size": [104, 37],
@ -187,7 +200,7 @@
"style": "background: white;margin-top:5px; border:1px solid #c2c2c2; font-size: 12px;"
},
"tabwindow" : {
"style": "background: black; font-family: 'Arial'"
"style": "background: black; font-family: 'Arial'"
},
"tabs": {
"style": "border: 2px solid white; background: black; color: white;",

View file

@ -16,15 +16,17 @@
"loc": [225,133]
},
"sounds": { "alertsound": "$path/alarm.wav",
"ceasesound": "$path/cease.wav" },
"ceasesound": "$path/cease.wav" },
"menus": {"client": {"_name": "Client",
"options": "Options",
"memos": "Memos",
"logviewer": "Pesterlogs",
"randen": "Random Encounter",
"userlist": "Userlist",
"addgroup": "Add Group",
"import": "Import",
"reconnect": "Reconnect",
"idle": "Idle",
"reconnect": "Reconnect",
"idle": "Idle",
"exit": "Exit"},
"profile": {"_name": "Profile",
"switch": "Chumhandle",
@ -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],
@ -76,7 +89,7 @@
"insolent": { "icon": "$path/insolent.png", "color": "white" },
"bemused": { "icon": "$path/bemused.png", "color": "white" },
"bemused": { "icon": "$path/bemused.png", "color": "white" },
"ecstatic": { "icon": "$path/ecstatic.png", "color": "#99004d" },
@ -249,7 +262,7 @@
"mood": 7
},
{ "style": "background-image:url($path/john1.png); border:0px;",
{ "style": "background-image:url($path/john1.png); border:0px;",
"selected": "background-image:url($path/john2.png); border:0px;",
"loc": [367, 27],
"size": [50, 50],
@ -257,7 +270,7 @@
"icon": "",
"mood": 5
},
{ "style": "background-image:url($path/rose1.png); border:0px;",
{ "style": "background-image:url($path/rose1.png); border:0px;",
"selected": "background-image:url($path/rose2.png); border:0px;",
"loc": [30, 369],
"size": [50, 50],
@ -265,7 +278,7 @@
"icon": "",
"mood": 3
},
{ "style": "background-image:url($path/dave1.png); border:0px;",
{ "style": "background-image:url($path/dave1.png); border:0px;",
"selected": "background-image:url($path/dave2.png); border:0px;",
"loc": [99, 494],
"size": [50, 50],
@ -273,7 +286,7 @@
"icon": "",
"mood": 6
},
{ "style": "background-image:url($path/jade1.png); border:0px;",
{ "style": "background-image:url($path/jade1.png); border:0px;",
"selected": "background-image:url($path/jade2.png); border:0px;",
"loc": [566, 369],
"size": [50, 50],
@ -281,7 +294,7 @@
"icon": "",
"mood": 0
},
{ "style": "background-image:url($path/bec1.png); border:0px;",
{ "style": "background-image:url($path/bec1.png); border:0px;",
"selected": "background-image:url($path/bec2.png); border:0px;",
"loc": [492, 494],
"size": [50, 50],
@ -290,7 +303,7 @@
"mood": 18
},
{ "style": "background-image:url($path/hearts1.png); border:0px;",
{ "style": "background-image:url($path/hearts1.png); border:0px;",
"selected": "background-image:url($path/hearts2.png); border:0px;",
"loc": [492, 101],
"size": [50, 50],
@ -298,7 +311,7 @@
"icon": "",
"mood": 20
},
{ "style": "background-image:url($path/spades1.png); border:0px;",
{ "style": "background-image:url($path/spades1.png); border:0px;",
"selected": "background-image:url($path/spades2.png); border:0px;",
"loc": [99, 101],
"size": [50, 50],
@ -306,7 +319,7 @@
"icon": "",
"mood": 21
},
{ "style": "background-image:url($path/diamonds1.png); border:0px;",
{ "style": "background-image:url($path/diamonds1.png); border:0px;",
"selected": "background-image:url($path/diamonds2.png); border:0px;",
"loc": [30, 225],
"size": [50, 50],
@ -314,7 +327,7 @@
"icon": "",
"mood": 19
},
{ "style": "background-image:url($path/clubs1.png); border:0px;",
{ "style": "background-image:url($path/clubs1.png); border:0px;",
"selected": "background-image:url($path/clubs2.png); border:0px;",
"loc": [566, 225],
"size": [50, 50],
@ -352,7 +365,7 @@
"style": "background: white;margin-top:5px; border:1px solid #c2c2c2; font-size: 12px;"
},
"tabwindow" : {
"style": "background: black; font-family: 'Arial'"
"style": "background: black; font-family: 'Arial'"
},
"tabs": {
"style": "border: 2px solid white; background: black; color: white;",

View file

@ -24,7 +24,7 @@
"addgroup": "Add Group",
"import": "Import",
"reconnect": "Reconnect",
"idle": "Idle",
"idle": "Idle",
"exit": "Exit"},
"profile": {"_name": "Profile",
"switch": "Switch",
@ -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; ",

View file

@ -26,8 +26,8 @@
"userlist": "Userlist",
"addgroup": "Add Group",
"import": "Import",
"reconnect": "Reconnect",
"idle": "Idle",
"reconnect": "Reconnect",
"idle": "Idle",
"exit": "Exit"},
"profile": {"_name": "Profile",
"switch": "Switch",
@ -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; ",

View file

@ -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; ",

View file

@ -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;",

View file

@ -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; ",