Re: maintaining both gtk2 and 3 compatibility

2011-11-09 Thread Curtis C. Hovey
Hi Richard. On 11/09/2011 11:54 AM, Richard Henwood wrote: > Is it feasible to keep backward compatibility with gtk2 (gnome2) or should I > rip out all the wnck2 packages (below) and maintain two separate code trees? > richard@wc-hp:~/tools/skype-record$ dpkg -l '*wnck*' > Desired=Unknown/Instal

Re: maintaining both gtk2 and 3 compatibility

2011-11-09 Thread Curtis C. Hovey
On 11/09/2011 02:27 PM, Jasper St. Pierre wrote: >> try: >>from gi.repository import GObject >>from gi.repository import Gtk >>from gi.repository import WebKit >> except ImportError: >>import pygtk >>pygtk.require("2.0") >>import glib as GObject >>import gtk as Gtk >>