Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
69d66a59
Commit
69d66a59
authored
Mar 25, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move statusbar creation out of UI creation
parent
47ff877d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
gui.py
printrun/gui.py
+0
-4
No files found.
printrun/gui.py
View file @
69d66a59
...
@@ -709,8 +709,6 @@ class MainWindow(wx.Frame):
...
@@ -709,8 +709,6 @@ class MainWindow(wx.Frame):
self
.
notebook
.
AddPage
(
page1panel
,
_
(
"Commands"
))
self
.
notebook
.
AddPage
(
page1panel
,
_
(
"Commands"
))
self
.
notebook
.
AddPage
(
page2panel
,
_
(
"Status"
))
self
.
notebook
.
AddPage
(
page2panel
,
_
(
"Status"
))
self
.
panel
.
SetSizer
(
self
.
notesizer
)
self
.
panel
.
SetSizer
(
self
.
notesizer
)
self
.
statusbar
=
self
.
CreateStatusBar
()
self
.
statusbar
.
SetStatusText
(
_
(
"Not connected to printer."
))
self
.
panel
.
Bind
(
wx
.
EVT_MOUSE_EVENTS
,
self
.
editbutton
)
self
.
panel
.
Bind
(
wx
.
EVT_MOUSE_EVENTS
,
self
.
editbutton
)
self
.
Bind
(
wx
.
EVT_CLOSE
,
self
.
kill
)
self
.
Bind
(
wx
.
EVT_CLOSE
,
self
.
kill
)
...
@@ -791,8 +789,6 @@ class MainWindow(wx.Frame):
...
@@ -791,8 +789,6 @@ class MainWindow(wx.Frame):
self
.
mainsizer
.
Add
(
upperpanel
,
0
,
wx
.
EXPAND
)
self
.
mainsizer
.
Add
(
upperpanel
,
0
,
wx
.
EXPAND
)
self
.
mainsizer
.
Add
(
lowerpanel
,
1
,
wx
.
EXPAND
)
self
.
mainsizer
.
Add
(
lowerpanel
,
1
,
wx
.
EXPAND
)
self
.
panel
.
SetSizer
(
self
.
mainsizer
)
self
.
panel
.
SetSizer
(
self
.
mainsizer
)
self
.
statusbar
=
self
.
CreateStatusBar
()
self
.
statusbar
.
SetStatusText
(
_
(
"Not connected to printer."
))
self
.
panel
.
Bind
(
wx
.
EVT_MOUSE_EVENTS
,
self
.
editbutton
)
self
.
panel
.
Bind
(
wx
.
EVT_MOUSE_EVENTS
,
self
.
editbutton
)
self
.
Bind
(
wx
.
EVT_CLOSE
,
self
.
kill
)
self
.
Bind
(
wx
.
EVT_CLOSE
,
self
.
kill
)
...
...
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