Comment 2 for bug 252971

Revision history for this message
Jørgen P. Tjernø (jorgenpt) wrote : Re: does not work with older libvte

Hi. It seems also it lacks support for tab-reordering of Notebook and tooltips on gtk.Buttons, so the patch I gave to Chris Jones isn't fully working. (I must've handed him an old version)
I'm submitting an improved patch here, which is the approach I think I would use (instead of catching an exception on each of these calls).

It checks if gtk.Button lacks set_tooltip_text or gtk.Notebook lacks set_tab_reorderable, if so, it sets a flag in Terminator called gtk_legacy_mode. In TerminatorTerm there are similar fixes, I check for if vte.Terminal has is_composited and set_background_transparent, if missing, I set a private flag called _vte_legacy_mode.
These are then used to decide if we call the non-legacy methods.

Feel free to trash or apply this patch, it'll be what I'm running until I see an edgy-compatible .deb :p

Also, here are the local versions of the packages you have set as dependencies for the Terminator-package in the Ubuntu Hardy repositories:

$ dpkg -l gconf2 python python-central python-gnome2 python-vte
No packages found matching python-central.

    Name Version Description
+++-===============================-===============================-==============================================================================
ii gconf2 2.14.0-1ubuntu2 GNOME configuration database system (support tools)
ii python 2.4.2-0ubuntu3 An interactive high-level object-oriented language (default version)
ii python-gnome2 2.12.4-0ubuntu1 Python bindings for the GNOME desktop environment
ii python-vte 0.12.2-0ubuntu1 Python bindings for the VTE widget set