summaryrefslogtreecommitdiff
path: root/src/direct/DirectWindow.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-02-22 17:32:27 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-02-22 17:32:27 +0100
commit2bb26608f735b6fc90c06a56793e1cf6e164830a (patch)
tree0b7ca7dcaaeb737b7e539ce4c3992d18c6949370 /src/direct/DirectWindow.vala
parent5c6c59a0325c2f3cc611b8186ac289d011c14369 (diff)
parent5303f650e34763817d7eeb1d3ba774bdec3e1a38 (diff)
Update upstream source from tag 'upstream/0.32.6'
Update to upstream version '0.32.6' with Debian dir 5219d541f047c3ea70dcf1edb7897dd0a7dedfb1
Diffstat (limited to 'src/direct/DirectWindow.vala')
-rw-r--r--src/direct/DirectWindow.vala5
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();