Viewer Zoom widget can not be used with recent Glade versions
@lubosz
Submitted by Lubosz Sarnecki Assigned to Lubosz Sarnecki @lubosz
Description
The GtkHScale widget cannot be clicked / manipulated. Viewer Zoom is not usable.
Following warning occurs:
/usr/lib/pitivi/python/pitivi/ui/clipproperties.py:487: GtkWarning: Failed to get constuct only property adjustment of zoom_scale with value `zoom_adjustment'
"cliptransformation.ui"))
This issue happens with a recent gtk2 version. It occured on Archlinux for me, but will happen in the future with other distros.
The problem is that the adjustment for the widget is at the end of the XML file. Declaring the adjustment before the scale widget in XML solved the problem.
This issue does not occur for the GtkSpinButton, which declares the adjustment later. So I suppose it is a glade bug. Also Glade 3 wrote XML file.
Funny thing that OpenShot has the same issue with a more recent gtk/glade version on Ubuntu 11.10.
https://lists.launchpad.net/openshot.bugs/msg00046.html
Used arch packages:
extra/pygtk 2.24.0-2
extra/gtk2 2.24.5-3
extra/libglade 2.6.4-2
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=657000