repo.or.cz
/
mime-editor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed version number and added 0release support
[mime-editor.git]
/
AppRun
blob
0e8ccdec9255744c5ccd24879510621ca89979af
1
#!/usr/bin/env python
2
import
findrox
;
findrox
.
version
(
1
,
9
,
7
)
3
import
rox
4
import
os
5
import
sys
,
os
6
__builtins__
._
=
rox
.
i18n
.
translation
(
os
.
path
.
join
(
rox
.
app_dir
,
'Messages'
))
7
8
import
type
9
import
editor
10
11
try
:
12
import
rox
.
basedir
13
except
ImportError
:
14
rox
.
croak
(
'Need ROX-Lib 1.9.7 or later:
\n
'
15
'http://rox.sourceforge.net/rox_lib.html'
)
16
17
box
=
editor
.
Editor
()
18
box
.
show
()
19
rox
.
g
.
gdk
.
flush
()
20
21
box
.
update
()
22
23
rox
.
mainloop
()