Add config path to test2.py display
This commit is contained in:
		
							parent
							
								
									e0a125faf0
								
							
						
					
					
						commit
						ac458386da
					
				| 
						 | 
				
			
			@ -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()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user