|
Revision 464, 1.0 KB
(checked in by ark, 22 months ago)
|
|
- The gaguesplash was downloaded to use as pyragua splah. A splash with a gauge bar, that show loading.
- Pyragua knows now about its execution_path. It's used to get resources, such as images.
- Pyragua icon loaded to main window.
Tasks:
- Command line options must be parsed.
- Config must be loaded.
- Splash must be shown and loaded.
|
| Line | |
|---|
| 1 | #!/usr/bin/env python |
|---|
| 2 | #-*- coding: utf-8 -*- |
|---|
| 3 | |
|---|
| 4 | ## This program is free software; you can redistribute it and/or modify |
|---|
| 5 | ## it under the terms of the GNU General Public License as published by |
|---|
| 6 | ## the Free Software Foundation; either version 2 of the License, or |
|---|
| 7 | ## (at your option) any later version. |
|---|
| 8 | |
|---|
| 9 | ## This program is distributed in the hope that it will be useful, |
|---|
| 10 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | ## GNU General Public License for more details. |
|---|
| 13 | |
|---|
| 14 | ## You should have received a copy of the GNU General Public License |
|---|
| 15 | ## along with this program; if not, write to the Free Software |
|---|
| 16 | ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|---|
| 17 | |
|---|
| 18 | import os.path |
|---|
| 19 | import gettext |
|---|
| 20 | gettext.install("pyragua-ide") |
|---|
| 21 | |
|---|
| 22 | from pyragua import pyragua |
|---|
| 23 | |
|---|
| 24 | # Relative execution path of pyragua-ide. Used to get resources |
|---|
| 25 | pyragua.exec_path = os.path.dirname(__file__) |
|---|
| 26 | |
|---|
| 27 | pyragua_ide = pyragua.Pyragua() |
|---|
| 28 | pyragua_ide.start() |
|---|