[shotwell/wip/enhanced-profiles] Do not start shotwell if profile dialog is closed
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/enhanced-profiles] Do not start shotwell if profile dialog is closed
- Date: Sat, 13 Aug 2022 13:29:00 +0000 (UTC)
commit 4f3e198ac64ff4b560b720a5b4624239e9769d48
Author: Jens Georg <mail jensge org>
Date: Sat Aug 13 13:54:31 2022 +0200
Do not start shotwell if profile dialog is closed
src/main.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/main.vala b/src/main.vala
index 2ae3199f..190df0b6 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -408,6 +408,10 @@ void main(string[] args) {
window.set_default_size(800, 600);
var response = window.run();
window.destroy();
+ // Anything else than selecting an entry in the list will stop shotwell from starting
+ if (response != Gtk.ResponseType.OK) {
+ return;
+ }
}
// Setup profile manager
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]