47 |
load_properties |
load_properties |
48 |
load_setup |
load_setup |
49 |
@bus["/log/info"] << "--- #{@properties['config/product_name']} Started on #{Time.now.to_s}" |
@bus["/log/info"] << "--- #{@properties['config/product_name']} Started on #{Time.now.to_s}" |
50 |
|
|
51 |
|
# --- BEGIN HACK --- |
52 |
|
# the following code is a temporary workaround for a problem using FXRuby in |
53 |
|
# an mswin build of Ruby. This should be removed once that problme has been fixed. |
54 |
|
|
55 |
# default to a do-nothing message pump |
# default to a do-nothing message pump |
56 |
@bus["/system/ui/messagepump"].set_proc do sleep(0.5) end |
@bus["/system/ui/messagepump"].set_proc do sleep(0.5) end |
57 |
load_plugins |
load_plugins |
59 |
@bus["/system/ui/messagepump"].call() |
@bus["/system/ui/messagepump"].call() |
60 |
sleep(0.1) |
sleep(0.1) |
61 |
end |
end |
62 |
|
# --- END HACK --- |
63 |
|
|
64 |
end |
end |
65 |
|
|
66 |
## |
## |