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

List:       kmail-devel
Subject:    [Bug 116054] The item "network state" in the KMail file menu is very
From:       Giovanni Venturi <gventuri73 () tiscali ! it>
Date:       2005-11-29 23:15:37
Message-ID: 20051129231537.6056.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116054         




------- Additional Comments From gventuri73 tiscali it  2005-11-30 00:13 -------
SVN commit 484247 by gianni:

so the bug #116054 it's been backported to 3.5 branch too
CCBUG:116054


 M  +4 -4      kmmainwidget.cpp  


--- branches/KDE/3.5/kdepim/kmail/kmmainwidget.cpp #484246:484247
 @ -1644,11 +1644,11  @
 {
   if ( GlobalSettings::self()->networkState() == \
GlobalSettings::EnumNetworkState::Online ) {  // if online; then toggle and set it \
                offline.
-    actionCollection()->action( "online_status" )->setText( i18n("Network State \
(online)") ); +    actionCollection()->action( "online_status" )->setText( i18n("Go \
Online") );  kmkernel->stopNetworkJobs();
     BroadcastStatus::instance()->setStatusMsg( i18n("KMail is set to be offline; all \
network jobs are suspended"));  } else {
-    actionCollection()->action( "online_status" )->setText( i18n("Network State \
(offline)") ); +    actionCollection()->action( "online_status" )->setText( i18n("Go \
Offline") );  kmkernel->resumeNetworkJobs();
     BroadcastStatus::instance()->setStatusMsg( i18n("KMail is set to be online; all \
network jobs resumed"));  }
 @ -3000,9 +3000,9  @
     actionCollection()->action( "send_queued" )->setEnabled( \
                kmkernel->outboxFolder()->count() > 0 );
     actionCollection()->action( "send_queued_via" )->setEnabled( \
                kmkernel->outboxFolder()->count() > 0 );
     if ( GlobalSettings::self()->networkState() == \
                GlobalSettings::EnumNetworkState::Online )
-      actionCollection()->action( "online_status" )->setText( i18n("Network State \
(offline)") ); +      actionCollection()->action( "online_status" )->setText( \
i18n("Go Offline") );  else
-      actionCollection()->action( "online_status" )->setText( i18n("Network State \
(online)") ); +      actionCollection()->action( "online_status" )->setText( i18n("Go \
Online") );  if (action( "edit_undo" ))
       action( "edit_undo" )->setEnabled( mHeaders->canUndo() );
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


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

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