Bug fix: Don't assume colours on PC menu bar

This commit is contained in:
Kiooeht 2011-05-29 10:58:20 -07:00
parent d5b843af61
commit e364f6e4cd
3 changed files with 8 additions and 3 deletions

View file

@ -20,6 +20,7 @@ Bugs
* When using mood sort, scroll position jumps to last selected chum
* When switching chumhandles, OP doesn't appear to retain OP status (though they do)
* When left for a really long time, animations slow down pesterchum
* Openning resets appearance of OP/voice for anyone that become OP/voice after you joined a memo
Mac Bugs
--------

View file

@ -54,7 +54,10 @@ from irc import PesterIRC
from logviewer import PesterLogUserSelect, PesterLogViewer
_datadir = QtGui.QDesktopServices.storageLocation(QtGui.QDesktopServices.DataLocation)+"Pesterchum/"
canon_handles = ["apocalypseArisen", "arsenicCatnip", "arachnidsGrip", "adiosToreador", "caligulasAquarium", "cuttlefishCuller", "carcinoGeneticist", "centaursTesticle", "grimAuxiliatrix", "gallowsCalibrator", "gardenGnostic", "ectoBiologist", "twinArmageddons", "terminallyCapricious", "turntechGodhead", "tentacleTherapist"]
canon_handles = ["apocalypseArisen", "arsenicCatnip", "arachnidsGrip", "adiosToreador", \
"caligulasAquarium", "cuttlefishCuller", "carcinoGeneticist", "centaursTesticle", \
"grimAuxiliatrix", "gallowsCalibrator", "gardenGnostic", "ectoBiologist", \
"twinArmageddons", "terminallyCapricious", "turntechGodhead", "tentacleTherapist"]
if sys.platform == "darwin":
if not os.path.exists(_datadir):
@ -1452,6 +1455,7 @@ class PesterWindow(MovingWindow):
self, QtCore.SIGNAL('reconnectIRC()'))
self.menu = QtGui.QMenuBar(self)
self.menu.setNativeMenuBar(False)
filemenu = self.menu.addMenu(self.theme["main/menus/client/_name"])
self.filemenu = filemenu

View file

@ -9,8 +9,8 @@
"loc": [210, 2]},
"minimize": { "image": "$path/m.png",
"loc": [194, 8]},
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 12px;" },
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 12px; background-color: #fdb302;border:2px solid #ffff00",
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 12px; color: black;" },
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 12px; color: black; background-color: #fdb302;border:2px solid #ffff00",
"menuitem": "margin-right:10px;",
"selected": "background-color: #ffff00",
"loc": [10,0]