diff --git a/data/glade/service_discovery_window.glade b/data/glade/service_discovery_window.glade index 5c0ff24d5..176a94a27 100644 --- a/data/glade/service_discovery_window.glade +++ b/data/glade/service_discovery_window.glade @@ -1,11 +1,11 @@ - - - + + + 6 Service Discovery - 450 + 550 420 @@ -28,6 +28,9 @@ Agent JID - node True + + 0 + @@ -55,22 +59,12 @@ Agent JID - node 3 3 6 - - - - - - True - - - - 1 @@ -86,7 +80,7 @@ Agent JID - node True True True - 0 + False @@ -105,6 +99,7 @@ Agent JID - node False False + 0 @@ -145,6 +140,12 @@ Agent JID - node + + + + + + False @@ -155,9 +156,9 @@ Agent JID - node True True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_ETCHED_IN + automatic + automatic + etched-in True @@ -184,6 +185,7 @@ Agent JID - node False False + 0 @@ -200,19 +202,20 @@ Agent JID - node 6 + gtk-close True True True True - gtk-close + False True - 0 False False - GTK_PACK_END + end + 0 diff --git a/src/disco.py b/src/disco.py index 87df8ec1d..0d3621f13 100644 --- a/src/disco.py +++ b/src/disco.py @@ -1137,11 +1137,11 @@ class ToplevelAgentBrowser(AgentBrowser): # Icon Renderer renderer = gtk.CellRendererPixbuf() renderer.set_property('xpad', 6) - col.pack_start(renderer, expand = False) + col.pack_start(renderer, expand=False) col.set_cell_data_func(renderer, self._pixbuf_renderer_data_func) # Text Renderer renderer = gtk.CellRendererText() - col.pack_start(renderer, expand = True) + col.pack_start(renderer, expand=True) col.set_cell_data_func(renderer, self._text_renderer_data_func) renderer.set_property('foreground', 'dark gray') # Save this so we can go along with theme changes @@ -1487,7 +1487,7 @@ class ToplevelAgentBrowser(AgentBrowser): if not cat: cat = self._create_category(*cat_args) self.model.append(cat, (jid, node, pix, descr, 1)) - self._expand_all() + gobject.idle_add(self._expand_all) # Grab info on the service self.cache.get_info(jid, node, self._agent_info, force=force) self._update_progressbar()