diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-08-12 10:07:55 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-08-12 10:07:55 +0200 |
commit | 2333d2b06d52754a55a747fa438844286f98d53a (patch) | |
tree | e46351c8ec622c9d13232cf00c8a1048e55184af /src/main.vala | |
parent | 7f667adb7b8d3a803a6cd6120dcea4ba4ff89075 (diff) | |
parent | d0aaad443a88968dc61172c050084d3d9faa7602 (diff) |
Update upstream source from tag 'upstream/0.32.2'
Update to upstream version '0.32.2'
with Debian dir f0c4eb48b3e5ba2a80bbd45ac2effe5ecd515530
Diffstat (limited to 'src/main.vala')
-rw-r--r-- | src/main.vala | 7 |
1 files changed, 6 insertions, 1 deletions
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); |