[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-workspace] applets/digital-clock/package/contents/ui: Add "Adjust Date and Time" entry to di
From: Kai Uwe Broulik <kde () privat ! broulik ! de>
Date: 2015-06-05 18:47:31
Message-ID: E1Z0weR-0003Du-Bp () scm ! kde ! org
[Download RAW message or body]
Git commit f6e680825affb1e623dac433d260207271c30ff8 by Kai Uwe Broulik.
Committed on 05/06/2015 at 18:47.
Pushed by broulik into branch 'master'.
Add "Adjust Date and Time" entry to digital-clock context menu
REVIEW: 124021
BUG: 348738
FIXED-IN: 5.4.0
M +5 -0 applets/digital-clock/package/contents/ui/main.qml
http://commits.kde.org/plasma-workspace/f6e680825affb1e623dac433d260207271c=
30ff8
diff --git a/applets/digital-clock/package/contents/ui/main.qml b/applets/d=
igital-clock/package/contents/ui/main.qml
index 8e80b47..e814056 100644
--- a/applets/digital-clock/package/contents/ui/main.qml
+++ b/applets/digital-clock/package/contents/ui/main.qml
@@ -77,11 +77,16 @@ Item {
return format;
}
=
+ function action_clockkcm() {
+ KCMShell.open("clock");
+ }
+
function action_formatskcm() {
KCMShell.open("formats");
}
=
Component.onCompleted: {
+ plasmoid.setAction("clockkcm", i18n("Adjust Date and Time..."), "p=
references-system-time");
plasmoid.setAction("formatskcm", i18n("Set Time Format..."));
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic