Skip to content

Commit

Permalink
switch pwd on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Weißschuh committed Mar 5, 2012
1 parent 932c6e9 commit 74cf4a9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions taterm.vala
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ class taterm : Gtk.Application
activate.connect(() => {
var newWin = new Window(pwd);
add_window(newWin);
/*
*newWin.pwd_changed.connect((newpwd) => {
* pwd = newpwd;
*});
*/
newWin.focus_in_event.connect(() => {
newWin.focus_out_event.connect(() => {
pwd = newWin.pwd;
return false;
});
Expand Down

0 comments on commit 74cf4a9

Please sign in to comment.