]> git.meshlink.io Git - catta/commitdiff
* avahi-discover: expand the tree
authorSebastien Estienne <sebastien.estienne@gmail.com>
Fri, 5 Aug 2005 00:51:29 +0000 (00:51 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Fri, 5 Aug 2005 00:51:29 +0000 (00:51 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@236 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/avahi-discover.in

index ae8d09d0a13bd8d9b8a7e0ea1a25605dfa2c6de5..fc1b4765cc53f15f7fdf18d26106dc440cc4d0cf 100755 (executable)
@@ -79,6 +79,8 @@ class Main_window(SimpleGladeApp):
             self.zc_types[(interface,protocol,type,domain)] = self.insert_row(self.treemodel,self.zc_domains[(interface,protocol,domain)], type, name, interface,None,None,None)
         treeiter = self.insert_row(self.treemodel,self.zc_types[(interface,protocol,type,domain)], name, name, interface,protocol,type,domain)
         self.services_browsed[(interface, protocol, name, type, domain)] = treeiter
+        # expand the tree of this path
+        self.tree_view.expand_to_path(self.treemodel.get_path(treeiter))
 
 
     def remove_service(self, interface, protocol, name, type, domain):