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

[vidalia-svn] r1926: Standardize the GUI fonts. (This may not be the exact font w (in trunk/src/gui: . config)



Author: edmanm
Date: 2007-09-15 01:16:27 -0400 (Sat, 15 Sep 2007)
New Revision: 1926

Modified:
   trunk/src/gui/config/configdialog.cpp
   trunk/src/gui/mainwindow.ui
Log:
Standardize the GUI fonts. (This may not be the exact font we want, but at
least they're all the same now.)


Modified: trunk/src/gui/config/configdialog.cpp
===================================================================
--- trunk/src/gui/config/configdialog.cpp	2007-09-15 03:26:58 UTC (rev 1925)
+++ trunk/src/gui/config/configdialog.cpp	2007-09-15 05:16:27 UTC (rev 1926)
@@ -30,8 +30,6 @@
 
 #include "configdialog.h"
 
-#define FONT        QFont(tr("Arial"), 10)
-
 /* Images for toolbar icons */
 #define IMAGE_GENERAL       ":/images/22x22/preferences-system.png"
 #define IMAGE_SERVER        ":/images/22x22/network-server.png"
@@ -101,7 +99,6 @@
 {
   QAction *action = new QAction(img, text, group);
   action->setCheckable(true);
-  action->setFont(FONT);
   return action;
 }
 
@@ -110,7 +107,6 @@
 void
 ConfigDialog::addAction(QAction *action, const char *slot)
 {
-  action->setFont(FONT);
   ui.toolBar->addAction(action);
   connect(action, SIGNAL(triggered()), this, slot);
 }

Modified: trunk/src/gui/mainwindow.ui
===================================================================
--- trunk/src/gui/mainwindow.ui	2007-09-15 03:26:58 UTC (rev 1925)
+++ trunk/src/gui/mainwindow.ui	2007-09-15 05:16:27 UTC (rev 1926)
@@ -17,6 +17,11 @@
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
+  <property name="font" >
+   <font>
+    <pointsize>10</pointsize>
+   </font>
+  </property>
   <property name="minimumSize" >
    <size>
     <width>445</width>