Display: change the internal title display
This commit is contained in:
parent
a03fb96dc9
commit
9b7707cf9a
@ -165,11 +165,15 @@ void MainWindows::SetTitle(Edn::File &fileName, bool isModify)
|
|||||||
}
|
}
|
||||||
tmp += "Edn";
|
tmp += "Edn";
|
||||||
gtk_window_set_title(GTK_WINDOW(m_mainWindow), tmp.c_str());
|
gtk_window_set_title(GTK_WINDOW(m_mainWindow), tmp.c_str());
|
||||||
|
tmp = " ";
|
||||||
if (fileName.GetShortFilename() != "") {
|
if (fileName.GetShortFilename() != "") {
|
||||||
tmp = fileName.GetFolder();
|
tmp += fileName.GetFolder();
|
||||||
|
tmp += "/";
|
||||||
|
tmp += fileName.GetShortFilename();
|
||||||
} else {
|
} else {
|
||||||
tmp = "Edn";
|
tmp += "Edn";
|
||||||
}
|
}
|
||||||
|
tmp += " ";
|
||||||
gtk_label_set_text(GTK_LABEL(m_internalTitleLabel), tmp.c_str());
|
gtk_label_set_text(GTK_LABEL(m_internalTitleLabel), tmp.c_str());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user