Skip to content

Commit

Permalink
add current file name to window title
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Dec 22, 2011
1 parent be4bb25 commit 0118e67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/pokedit.winxed
Expand Up @@ -1612,6 +1612,7 @@ class PokeditWindow : TopLevelWindow
file.close();
self.filename = filename;
self.textwindow.set(lines);
self.SetWMName("pokedit - " + filename);
}
function closedialog()
{
Expand All @@ -1638,6 +1639,7 @@ class PokeditWindow : TopLevelWindow
handle.print("\n");
handle.close();
self.filename = sfile;
self.SetWMName("pokedit - " + sfile);
}
catch (e) {
self.alert("Error saving file '" + sfile + "':\n" +
Expand Down

0 comments on commit 0118e67

Please sign in to comment.