]> git.meshlink.io Git - catta/commitdiff
avahi-discover: Fix type being inserted into tree model (Bug #332)
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 9 Mar 2011 04:27:09 +0000 (15:27 +1100)
committerLennart Poettering <lennart@poettering.net>
Sat, 2 Apr 2011 01:16:49 +0000 (03:16 +0200)
avahi-python/avahi-discover/avahi-discover.py

index cea1ff9f6af74a4e3706e93326ae8dc479b01f4f..362d3b697d73d9f233e09faa7c19b29864b606a4 100755 (executable)
@@ -236,7 +236,7 @@ class Main_window:
     def insert_row(self, model,parent,
                    content, name, interface,protocol,stype,domain):
         myiter=model.insert_after(parent,None)
-        model.set(myiter,0,content,1,name,2,interface,3,protocol,4,stype,5,domain)
+        model.set(myiter,0,content,1,name,2,str(interface),3,str(protocol),4,stype,5,domain)
         return myiter
 
     def new(self):