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
81ca9a9a
Commit
81ca9a9a
authored
Feb 11, 2012
by
Luke Macken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to activate the Run button when someone presses Enter in the shell
parent
80330711
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pyrasite/tools/gui.py
pyrasite/tools/gui.py
+4
-0
No files found.
pyrasite/tools/gui.py
View file @
81ca9a9a
...
@@ -236,6 +236,10 @@ class PyrasiteWindow(Gtk.Window):
...
@@ -236,6 +236,10 @@ class PyrasiteWindow(Gtk.Window):
shell_bottom
.
pack_start
(
shell_button
,
False
,
False
,
0
)
shell_bottom
.
pack_start
(
shell_button
,
False
,
False
,
0
)
shell_hbox
.
pack_end
(
shell_bottom
,
False
,
False
,
0
)
shell_hbox
.
pack_end
(
shell_bottom
,
False
,
False
,
0
)
# FIXME: this doesn't seem to work
self
.
shell_prompt
.
set_activates_default
(
True
)
self
.
shell_button
.
set_receives_default
(
True
)
notebook
.
append_page
(
shell_hbox
,
Gtk
.
Label
.
new_with_mnemonic
(
'_Shell'
))
notebook
.
append_page
(
shell_hbox
,
Gtk
.
Label
.
new_with_mnemonic
(
'_Shell'
))
# To try and grab focus of our text input
# To try and grab focus of our text input
...
...
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