[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/network/choqok/choqok/config/behavior
From:       Andrius Štikonas <stikonas () gmail ! com>
Date:       2009-12-31 19:10:34
Message-ID: 1262286634.051379.15438.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1068288 by stikonas:

Replace static KIntSpinBox suffix with plural compatible suffix.


 M  +2 -0      behaviorconfig.cpp  
 M  +0 -3      behaviorconfig_general.ui  
 M  +0 -3      behaviorconfig_notifications.ui  


--- trunk/extragear/network/choqok/choqok/config/behavior/behaviorconfig.cpp \
#1068287:1068288 @@ -69,6 +69,7 @@
     d->mPrfsGeneral.setupUi(mPrfsGeneralDlg);
     addConfig( Choqok::BehaviorSettings::self(), mPrfsGeneralDlg );
     d->mBehaviorTabCtl->addTab(mPrfsGeneralDlg, i18n("&General"));
+    d->mPrfsGeneral.kcfg_updateInterval->setSuffix(ki18np(" Minute", " Minutes"));
 
     // "Notifications" TAB \
============================================================  //Commented for now!
@@ -76,6 +77,7 @@
 //     d->mPrfsNotify.setupUi(mPrfsNotifyDlg);
 //     addConfig( Choqok::BehaviorSettings::self(), mPrfsNotifyDlg);
 //     d->mBehaviorTabCtl->addTab(mPrfsNotifyDlg, i18n("&Notifications"));
+    d->mPrfsNotify.kcfg_notifyInterval->setSuffix(ki18np(" Second", " Seconds"));
 
     // "Shortening" TAB \
===============================================================  d->mPrfsShorten = \
                new BehaviorConfig_Shorten(d->mBehaviorTabCtl);
--- trunk/extragear/network/choqok/choqok/config/behavior/behaviorconfig_general.ui \
#1068287:1068288 @@ -125,9 +125,6 @@
             <property name="specialValueText">
              <string>Disabled</string>
             </property>
-            <property name="suffix">
-             <string> Minutes</string>
-            </property>
             <property name="minimum">
              <number>0</number>
             </property>
--- trunk/extragear/network/choqok/choqok/config/behavior/behaviorconfig_notifications.ui \
#1068287:1068288 @@ -35,9 +35,6 @@
      </item>
      <item>
       <widget class="KIntSpinBox" name="kcfg_notifyInterval">
-       <property name="suffix">
-        <string> Seconds</string>
-       </property>
        <property name="minimum">
         <number>2</number>
        </property>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic