From d0aaad443a88968dc61172c050084d3d9faa7602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 12 Aug 2023 10:07:35 +0200 Subject: New upstream version 0.32.2 --- src/main.vala | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main.vala') diff --git a/src/main.vala b/src/main.vala index cdc9b27..32e3d83 100644 --- a/src/main.vala +++ b/src/main.vala @@ -410,7 +410,12 @@ void main(string[] args) { window.set_title (_("Choose Shotwell's profile")); var browser = new Shotwell.ProfileBrowser(); browser.profile_activated.connect((profile) => { - CommandlineOptions.profile = profile; + if (profile.id != Shotwell.Profile.SYSTEM) { + CommandlineOptions.profile = profile.name; + CommandlineOptions.data_dir = profile.data_dir; + } else { + CommandlineOptions.profile = null; + } window.response(Gtk.ResponseType.OK); }); window.get_content_area().add(browser); -- cgit v1.2.3