3066: [PlaceView] Loading... should disappear when map service plugins are present.

svn: r12693
This commit is contained in:
Benny Malengier 2009-06-22 09:18:00 +00:00
parent f1ded0d689
commit b9e1ba0195

View File

@ -173,15 +173,11 @@ class PlaceView(PageView.ListView):
widget.set_menu(mmenu) widget.set_menu(mmenu)
if gtk.pygtk_version >= (2, 12, 0): if gtk.pygtk_version >= (2, 12, 0):
widget.set_arrow_tooltip_text(actionservices.arrowtooltip) widget.set_arrow_tooltip_text(actionservices.arrowtooltip)
hbox=gtk.HBox() lbl = gtk.Label(self.mapservice_label())
img = gtk.Image() lbl.show()
img.set_from_stock(gtk.STOCK_JUMP_TO, self.mapslistlabel.append(lbl)
gtk.ICON_SIZE_LARGE_TOOLBAR) widget.set_label_widget(self.mapslistlabel[-1])
hbox.pack_start(img) widget.set_stock_id(gtk.STOCK_JUMP_TO)
self.mapslistlabel.append(gtk.Label(self.mapservice_label()))
hbox.pack_start(self.mapslistlabel[-1])
hbox.show_all()
widget.set_icon_widget(hbox)
def __create_maps_menu_actions(self): def __create_maps_menu_actions(self):
""" """