Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
5769d6a7
Commit
5769d6a7
authored
Feb 14, 2012
by
Luke Macken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Focus on the input widget when switching to the Shell tab
parent
6999dc6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pyrasite/tools/gui.py
pyrasite/tools/gui.py
+1
-1
No files found.
pyrasite/tools/gui.py
View file @
5769d6a7
...
...
@@ -241,7 +241,7 @@ class PyrasiteWindow(Gtk.Window):
def
switch_page
(
self
,
notebook
,
page
,
pagenum
):
name
=
self
.
notebook
.
get_tab_label
(
self
.
notebook
.
get_nth_page
(
pagenum
))
if
name
.
get_text
()
==
'Shell'
:
self
.
shell_prompt
.
grab_focus
(
)
GObject
.
timeout_add
(
0
,
self
.
shell_prompt
.
grab_focus
)
def
run_shell_command
(
self
,
widget
):
cmd
=
self
.
shell_prompt
.
get_text
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment