summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2005-08-05 00:51:29 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2005-08-05 00:51:29 +0000
commitaafd726e4467dbb9151845904952e93fd2d79c98 (patch)
treecd52055ba8e50999cdcc1220bf4b440dd71e1860
parent3d92d9e218305f72eeb5cd7dbbd4b4f18cd6d7e2 (diff)
* avahi-discover: expand the tree
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@236 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rwxr-xr-xavahi-utils/avahi-discover.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-utils/avahi-discover.in b/avahi-utils/avahi-discover.in
index ae8d09d..fc1b476 100755
--- a/avahi-utils/avahi-discover.in
+++ b/avahi-utils/avahi-discover.in
@@ -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):