gui : change the display of internal Titile

This commit is contained in:
Edouard Dupin 2011-09-15 18:16:44 +02:00
parent 745ca76a74
commit 7fbfe1f86a

View File

@ -165,8 +165,11 @@ void MainWindows::SetTitle(Edn::File &fileName, bool isModify)
}
tmp += "Edn";
gtk_window_set_title(GTK_WINDOW(m_mainWindow), tmp.c_str());
tmp = " ";
if (fileName.GetShortFilename() != "") {
tmp = fileName.GetFolder();
tmp += "/";
tmp += fileName.GetShortFilename();
} else {
tmp = "Edn";
}