From 77164c848ef38b0da9b614ea9307067926f2606e Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 22 Jun 2009 09:21:02 +0000 Subject: [PATCH] 3066: [PlaceView] Loading... should disappear when map service plugins are present. svn: r12694 --- src/DataViews/PlaceView.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/DataViews/PlaceView.py b/src/DataViews/PlaceView.py index fd6144ad1..6dcb31f41 100644 --- a/src/DataViews/PlaceView.py +++ b/src/DataViews/PlaceView.py @@ -173,15 +173,11 @@ class PlaceView(PageView.ListView): widget.set_menu(mmenu) if gtk.pygtk_version >= (2, 12, 0): widget.set_arrow_tooltip_text(actionservices.arrowtooltip) - hbox=gtk.HBox() - img = gtk.Image() - img.set_from_stock(gtk.STOCK_JUMP_TO, - gtk.ICON_SIZE_LARGE_TOOLBAR) - hbox.pack_start(img) - self.mapslistlabel.append(gtk.Label(self.mapservice_label())) - hbox.pack_start(self.mapslistlabel[-1]) - hbox.show_all() - widget.set_icon_widget(hbox) + lbl = gtk.Label(self.mapservice_label()) + lbl.show() + self.mapslistlabel.append(lbl) + widget.set_label_widget(self.mapslistlabel[-1]) + widget.set_stock_id(gtk.STOCK_JUMP_TO) def __create_maps_menu_actions(self): """