[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r2061: On OS X, the network page looks better without frame titles (in trunk: . src/gui/config)



Author: edmanm
Date: 2007-10-21 05:30:58 -0400 (Sun, 21 Oct 2007)
New Revision: 2061

Modified:
   trunk/
   trunk/src/gui/config/networkpage.cpp
Log:
 r2179@lysithea:  edmanm | 2007-10-21 05:30:54 -0400
 On OS X, the network page looks better without frame titles around each of
 the settings groups. Everywhere else needs frame titles or else there's a
 break in the frame border.



Property changes on: trunk
___________________________________________________________________
 svk:merge ticket from /local/vidalia/trunk [r2179] on dc66be73-d13e-47ba-a267-8dc7cda68c65

Modified: trunk/src/gui/config/networkpage.cpp
===================================================================
--- trunk/src/gui/config/networkpage.cpp	2007-10-21 09:03:00 UTC (rev 2060)
+++ trunk/src/gui/config/networkpage.cpp	2007-10-21 09:30:58 UTC (rev 2061)
@@ -68,6 +68,14 @@
   vApp->createShortcut(QKeySequence(QKeySequence::Copy),
                        ui.listBridges, this,
                        SLOT(copySelectedBridgesToClipboard()));
+
+#if defined(Q_WS_MAC)
+  /* On OS X, the network page looks better without frame titles. Everywhere
+   * else needs titles or else there's a break in the frame border. */
+  ui.grpProxySettings->setTitle("");
+  ui.grpFirewallSettings->setTitle("");
+  ui.grpBridgeSettings->setTitle("");
+#endif
 }
 
 /** Applies the network configuration settings to Tor. Returns true if the   *