diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-24 09:24:40 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-24 09:24:40 +0100 |
commit | 734fc45fc296a4b6cfa303329023c24e026f35df (patch) | |
tree | 30038fff46b2fdf3fde9f20a538993cf2ed23fc8 /src/direct | |
parent | 14bc7db2e07c5d1ccfb4d723c9dba395e6c93171 (diff) | |
parent | dde66becd94817998e320c7ace72729af7455345 (diff) |
Merge branch 'release/debian/0.36.6-1'debian/0.36.6-1
Diffstat (limited to 'src/direct')
-rw-r--r-- | src/direct/DirectWindow.vala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/direct/DirectWindow.vala b/src/direct/DirectWindow.vala index baf6124..d39e83d 100644 --- a/src/direct/DirectWindow.vala +++ b/src/direct/DirectWindow.vala @@ -40,7 +40,7 @@ public class DirectWindow : AppWindow { } public void update_title(File file, bool modified) { - title = "%s%s (%s) - %s".printf((modified) ? "*" : "", file.get_basename(), + title = "%s%s (%s) - %s".printf((modified) ? "•" : "", file.get_basename(), get_display_pathname(file.get_parent()), Resources.APP_TITLE); } @@ -66,6 +66,9 @@ public class DirectWindow : AppWindow { } protected override void on_quit() { + if (!get_direct_page().check_quit()) + return; + Config.Facade.get_instance().set_direct_window_state(maximized, dimensions); base.on_quit(); |