1 | --- configure.orig 2008-03-25 04:58:20.000000000 +0000 |
---|
2 | +++ configure 2008-03-31 22:48:12.000000000 +0100 |
---|
3 | @@ -6519,8 +6519,8 @@ |
---|
4 | import gnome |
---|
5 | # Do not import gnome.ui, this can kill python if the |
---|
6 | # display cannot be opened. Just search it. |
---|
7 | - import imp |
---|
8 | - imp.find_module('gnome/ui') |
---|
9 | + import imp |
---|
10 | + imp.find_module('ui', gnome.__path__) |
---|
11 | out("gnome.ui") |
---|
12 | except ImportError: |
---|
13 | out("NO") |
---|
14 | @@ -6546,8 +6546,8 @@ |
---|
15 | try: |
---|
16 | # Do not import gtk.glade, this can raise a RuntimeError if the |
---|
17 | # display cannot be opened. Just search it. |
---|
18 | - import imp |
---|
19 | - imp.find_module('gtk/glade') |
---|
20 | + import imp |
---|
21 | + imp.find_module('glade', [imp.find_module('gtk')[1]]) |
---|
22 | out("gtk.glade") |
---|
23 | except ImportError: |
---|
24 | out("NO") |
---|