dont load configuration in test_python_libs as the import fails
This commit is contained in:
parent
d0f6f53ae1
commit
1f355c1638
|
@ -24,9 +24,6 @@ Test if gtk is working.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import Configuration
|
|
||||||
|
|
||||||
config_path = Configuration.get_default_config_path()
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gobject as _gobject
|
import gobject as _gobject
|
||||||
|
@ -70,7 +67,7 @@ try:
|
||||||
(gtk.STOCK_CLOSE, gtk.RESPONSE_OK))
|
(gtk.STOCK_CLOSE, gtk.RESPONSE_OK))
|
||||||
dia.set_default_size(500, 300)
|
dia.set_default_size(500, 300)
|
||||||
|
|
||||||
l = gtk.Label("GTK is working!\nConfig location: %s" %config_path)
|
l = gtk.Label("GTK is working!\n")
|
||||||
dia.vbox.add(l)
|
dia.vbox.add(l)
|
||||||
l.show()
|
l.show()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user