mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
IPC: removed old deprecated stuff
This commit is contained in:
@@ -422,15 +422,6 @@ Item {
|
||||
function disable() {
|
||||
NetworkService.setWifiEnabled(false);
|
||||
}
|
||||
|
||||
// TODO REMOVE IN FEB. 2026
|
||||
function togglePanel() {
|
||||
ToastService.showWarning("This IPC call will be deprecated soon, use 'network togglePanel' instead.");
|
||||
root.screenDetector.withCurrentScreen(screen => {
|
||||
var networkPanel = PanelService.getPanel("networkPanel", screen);
|
||||
networkPanel?.toggle(null, "WiFi");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
@@ -509,19 +500,6 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO REMOVE IN FEB. 2026
|
||||
IpcHandler {
|
||||
target: "osd"
|
||||
|
||||
function showText(text: string) {
|
||||
ToastService.showNotice(text, "This IPC call will be deprecated soon, use 'toast send' instead.");
|
||||
}
|
||||
|
||||
function showTextWithIcon(text: string, icon: string) {
|
||||
ToastService.showNotice(text, "This IPC call will be deprecated soon, use 'toast send' instead.", icon);
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "toast"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user