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

List:       kde-commits
Subject:    [plasma-nm] applet/declarative/contents/ui: Display download/upload also for mobile connections
From:       Jan Grulich <jgrulich () redhat ! com>
Date:       2014-03-10 13:46:39
Message-ID: E1WN0XP-0003Ku-DU () scm ! kde ! org
[Download RAW message or body]

Git commit e5b4af9f61aef6cca271648e5860eb869d297a60 by Jan Grulich.
Committed on 10/03/2014 at 13:44.
Pushed by grulich into branch 'master'.

Display download/upload also for mobile connections

M  +2    -2    applet/declarative/contents/ui/ConnectionItem.qml

http://commits.kde.org/plasma-nm/e5b4af9f61aef6cca271648e5860eb869d297a60

diff --git a/applet/declarative/contents/ui/ConnectionItem.qml \
b/applet/declarative/contents/ui/ConnectionItem.qml index bd10691..58a0968 100644
--- a/applet/declarative/contents/ui/ConnectionItem.qml
+++ b/applet/declarative/contents/ui/ConnectionItem.qml
@@ -434,9 +434,9 @@ ListItem {
             if (Type == PlasmaNM.Enums.Wired) {
                 return i18n("Connected") + ", ⬇ " + Download + ", ⬆ " + Upload;
             } else if (Type == PlasmaNM.Enums.Wireless) {
-                return i18n("Connected") + ", ⬇ " + Download + ", ⬆ " + \
Upload;/* + ", " + i18n("Strength: %1%", itemSignal);*/ +                return \
                i18n("Connected") + ", ⬇ " + Download + ", ⬆ " + Upload;
             } else if (Type == PlasmaNM.Enums.Gsm || Type == PlasmaNM.Enums.Cdma) {
-                // TODO
+                return i18n("Connected") + ", ⬇ " + Download + ", ⬆ " + Upload;
             } else {
                 return i18n("Connected");
             }


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

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