Metal Appearance on the Mac
Adit Panchal <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
I got the Metal appearance on the Mac to work. If anyone wants to enable it, the patch is a 1-liner in the attached diff file. I also attached a screenshot if anyone is curious. If you guys like the appearance better, maybe it could be put in the official build. With respect to single window Mac applications (i.e. iTunes, Address Book, etc), they are usually Metal, so giving BitPim a new coat of "paint" would make it match the other applications. By the way, you can see that for some reason, the Mac version likes to mangle my toolbar buttons. Adit
metal.diff
(application/octet-stream, 621 B)
Index: gui.py
===================================================================
RCS file: /cvsroot/bitpim/bitpim/gui.py,v
retrieving revision 1.164
diff -u -r1.164 gui.py
--- gui.py 25 Jan 2005 07:02:00 -0000 1.164
+++ gui.py 29 Jan 2005 19:12:23 -0000
@@ -400,6 +415,9 @@
self.frame=MainWindow(None, -1, "BitPim", self.config)
self.frame.Connect(-1, -1, EVT_CALLBACK, self.frame.OnCallback)
+ # enable metal appearance on the Mac
+ self.frame.MacSetMetalAppearance(True)
+
# make the worker thread
wt=WorkerThread()
wt.setdispatch(self.frame)
metal.jpg
(image/jpeg, 42.6 KB) - not displayed