From 790a427b84d82be3ed919b92cb024f82c5e38abf Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Mon, 26 Jan 2015 13:43:49 +0300 Subject: [PATCH] show filename in window caption --- src/dlangide/ui/frame.d | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index 661855e..262cf4b 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -41,6 +41,8 @@ class IDEFrame : AppFrame { DockHost _dockHost; TabWidget _tabs; + dstring frameWindowCaptionSuffix = "DLangIDE"d; + this(Window window) { super(); window.mainWidget = this; @@ -117,6 +119,7 @@ class IDEFrame : AppFrame { _wsPanel.selectItem(file); focusEditor(file.filename); } + window.windowCaption(tab.text.value ~ " - "d ~ frameWindowCaptionSuffix); } }