Commit f2feb345 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

notifier: make it possible to refresh updates information from the plasmoid

parent c33e5b47
......@@ -41,6 +41,7 @@ Item
Component.onCompleted: {
plasmoid.setAction("discover", i18n("Open Software Center..."), "plasma-discover");
plasmoid.setAction("update", i18n("See Updates..."), "system-software-update");
plasmoid.setAction("refresh", i18n("Refresh..."), "view-refresh");
}
function action_discover() {
......@@ -49,4 +50,7 @@ Item
function action_update() {
DiscoverNotifier.showDiscoverUpdates();
}
function action_refresh() {
DiscoverNotifier.recheckSystemUpdateNeeded();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment