Skip to content

Commit

Permalink
Resolve Guake#1451
Browse files Browse the repository at this point in the history
Pass `directory` argument to `new_page()` in `new_page_with_focus()`. Probably introduced in 0834bad.
  • Loading branch information
rodrigopitanga authored and gsemet committed Nov 11, 2018
1 parent 6436b01 commit 7df65d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion guake/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def terminal_attached(self, terminal):
self.emit('terminal-spawned', terminal, terminal.pid)

def new_page_with_focus(self, directory=None):
box, page_num, terminal = self.new_page()
box, page_num, terminal = self.new_page(directory)
self.set_current_page(page_num)
self.rename_page(page_num, _("Terminal"), False)
terminal.grab_focus()
Expand Down
2 changes: 2 additions & 0 deletions releasenotes/notes/fix-1451-d6ed2b40dc05bcf9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fixes:
- fixes #1451: `guake --new-tab dir` opens tab in $HOME dir

0 comments on commit 7df65d8

Please sign in to comment.