Do not show an actual popup, just the notification for the snap monitor.

ubuntu/oracular ubuntu/24.04.11
Simon Quigley 7 months ago
parent d857092459
commit 367447284b

6
debian/changelog vendored

@ -1,3 +1,9 @@
lubuntu-default-settings (24.04.11) noble; urgency=medium
* Do not show an actual popup, just the notification for the snap monitor.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 17 Apr 2024 22:27:23 -0500
lubuntu-default-settings (24.04.10) noble; urgency=medium lubuntu-default-settings (24.04.10) noble; urgency=medium
* Do not show hibernate option in the menu. (LP: #1902497) * Do not show hibernate option in the menu. (LP: #1902497)

@ -14,7 +14,6 @@
#include <QSystemTrayIcon> #include <QSystemTrayIcon>
#include <QtDBus/QtDBus> #include <QtDBus/QtDBus>
#include <QTimer> #include <QTimer>
#include <QMessageBox>
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
QApplication app(argc, argv); QApplication app(argc, argv);
@ -67,13 +66,6 @@ int main(int argc, char *argv[]) {
QVariant newSubState = unit.property("SubState"); QVariant newSubState = unit.property("SubState");
if (newState.toString() == "active" && newSubState.toString() == "exited") { if (newState.toString() == "active" && newSubState.toString() == "exited") {
trayIcon.hide(); trayIcon.hide();
QMessageBox messageBox;
messageBox.setIcon(QMessageBox::Information);
messageBox.setText("Background snap installation is complete.");
messageBox.setWindowTitle("Installation Complete");
messageBox.setStandardButtons(QMessageBox::Ok);
messageBox.exec();
QApplication::quit(); QApplication::quit();
} }
}); });

Loading…
Cancel
Save