Bug#384513: rsjog: exits with "uninitialized constant"-error at startup
Andreas Teuchert wrote:
> When rsjog is started under X it exits with the following error:
> /usr/bin/rsjog:71:in `initialize': uninitialized constant Gtk::WINDOW_TOPLEVEL (NameError)
> from /usr/bin/rsjog:599
There are more problems than this one. `Gtk::WINDOW_TOPLEVEL' should
be replaced by `Gtk::Window::TOPLEVEL'; the window position needs to be
set using `self.window_position = Gtk::Window::POS_CENTER'.
The main reason why I didn't fix this now is the usage of CLists, which
are deprecated since 2.x. ruby-gnome2 is not a drop-in replacement for
the old one. Those lists have to be properly replaced by TreeViews
and ListStores.
Kind regards,
Philipp Kern
Reply to: