From ac458386da2291de86eaee97cade229ecda45167 Mon Sep 17 00:00:00 2001 From: Worros Date: Fri, 5 Feb 2010 21:29:07 +0800 Subject: [PATCH] Add config path to test2.py display --- pyfpdb/test2.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyfpdb/test2.py b/pyfpdb/test2.py index 8acdb089..7dea96f6 100755 --- a/pyfpdb/test2.py +++ b/pyfpdb/test2.py @@ -23,6 +23,9 @@ Test if gtk is working. import sys import os +import Configuration + +config_path = Configuration.get_default_config_path() try: import gobject as _gobject @@ -66,7 +69,7 @@ try: (gtk.STOCK_CLOSE, gtk.RESPONSE_OK)) dia.set_default_size(500, 300) - l = gtk.Label("GTK is working!") + l = gtk.Label("GTK is working!\nConfig location: %s" %config_path) dia.vbox.add(l) l.show()