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

List:       kde-commits
Subject:    kdepim/libkdenetwork
From:       Carsten Burghardt <cb () magic-shop ! de>
Date:       2004-04-23 17:13:58
Message-ID: 20040423171358.ABED29A3F () office ! kde ! org
[Download RAW message or body]

CVS commit by burghard: 

Show a different label when loading


  M +8 -2      ksubscription.cpp   1.10


--- kdepim/libkdenetwork/ksubscription.cpp  #1.9:1.10
@@ -758,6 +758,12 @@ void KSubscription::slotFilterTextChange
 void KSubscription::slotUpdateStatusLabel()
 {
-  leftLabel->setText(i18n("%1: (%2 matching)").arg(account()->name()).
-      arg(activeItemCount()));
+  QString text;
+  if (mLoading)
+    text = i18n("Loading...(%2 matching)").arg(activeItemCount());
+  else
+    text = i18n("%1: (%2 matching)").arg(account()->name()).
+      arg(activeItemCount());
+      
+  leftLabel->setText(text);
 }
 


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

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