summaryrefslogtreecommitdiffstats
path: root/avahi-utils/avahi-discover.in
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-utils/avahi-discover.in')
-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):