3 import findrox
; findrox
.version(1, 9, 8)
8 __builtins__
._ = rox
.i18n
.translation(os
.path
.join(rox
.app_dir
, 'Messages'))
10 rox
.g
.rc_parse_string('style "edit-text-area" { GtkWidget::cursor-color = "#e00"\n'
11 'GtkWidget::cursor-aspect-ratio = 0.1}\n'
12 'style "edit-scrolled" { GtkScrolledWindow::scrollbar-spacing = 0}\n'
13 'class "GtkScrolledWindow" style : gtk "edit-scrolled"\n'
14 'class "GtkTextView" style : gtk "edit-text-area"\n')
16 rox
.setup_app_options('Edit')
21 # All options must be registered by the time we get here
22 rox
.app_options
.notify()
25 for file in sys
.argv
[1:]:
27 EditWindow
.EditWindow(file)
28 except EditWindow
.Abort
:
31 EditWindow
.EditWindow()