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

[vidalia-svn] r3239: Apparently there is also supposed to be an option for lettin (vidalia/branches/auto-updates/src/vidalia/config)



Author: edmanm
Date: 2008-10-18 23:20:39 -0400 (Sat, 18 Oct 2008)
New Revision: 3239

Modified:
   vidalia/branches/auto-updates/src/vidalia/config/generalpage.cpp
   vidalia/branches/auto-updates/src/vidalia/config/generalpage.ui
Log:
Apparently there is also supposed to be an option for letting the user
choose how often to check for updates. (I didn't think we were leaving
that up to the user, but hey.)


Modified: vidalia/branches/auto-updates/src/vidalia/config/generalpage.cpp
===================================================================
--- vidalia/branches/auto-updates/src/vidalia/config/generalpage.cpp	2008-10-19 03:03:42 UTC (rev 3238)
+++ vidalia/branches/auto-updates/src/vidalia/config/generalpage.cpp	2008-10-19 03:20:39 UTC (rev 3239)
@@ -43,6 +43,11 @@
   ui.chkRunVidaliaAtSystemStartup->setVisible(false);
   ui.lineHorizontalSeparator->setVisible(false);
   ui.grpSoftwareUpdates->setVisible(false);
+  ui.cmbUpdateFrequency->setVisible(false);
+#else
+  ui.cmbUpdateFrequency->addItem(tr("Daily"), "daily");
+  ui.cmbUpdateFrequency->addItem(tr("Weekly"), "weekly");
+  ui.cmbUpdateFrequency->addItem(tr("Monthly"), "monthly");
 #endif
 }
 

Modified: vidalia/branches/auto-updates/src/vidalia/config/generalpage.ui
===================================================================
--- vidalia/branches/auto-updates/src/vidalia/config/generalpage.ui	2008-10-19 03:03:42 UTC (rev 3238)
+++ vidalia/branches/auto-updates/src/vidalia/config/generalpage.ui	2008-10-19 03:20:39 UTC (rev 3239)
@@ -5,8 +5,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>492</width>
-    <height>402</height>
+    <width>488</width>
+    <height>380</height>
    </rect>
   </property>
   <property name="sizePolicy" >
@@ -162,17 +162,11 @@
        </widget>
       </item>
       <item>
-       <spacer name="horizontalSpacer_2" >
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
+       <widget class="QComboBox" name="cmbUpdateFrequency" >
+        <property name="maxVisibleItems" >
+         <number>10</number>
         </property>
-        <property name="sizeHint" stdset="0" >
-         <size>
-          <width>40</width>
-          <height>20</height>
-         </size>
-        </property>
-       </spacer>
+       </widget>
       </item>
       <item>
        <spacer name="horizontalSpacer" >