LdWindowMain cleanup.

* Restructure the initialization code.
* Move LdCanvas event mask setting to ld-canvas.c.
* Remove some redundant code.
* Use consistent naming.
* Update comments.

Practically no functional change.
This commit is contained in:
2010-12-12 17:56:59 +01:00
parent fdab244e2e
commit a56bfd6087
3 changed files with 60 additions and 75 deletions

View File

@@ -24,7 +24,7 @@
<menuitem action="About" />
</menu>
</menubar>
<toolbar action="MainToolbar">
<toolbar action="Toolbar">
<toolitem action="New" />
<toolitem action="Open" />
<toolitem action="Save" />