From 71504291957e9742bb67cd13e7c020a2b5f1321b Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Mon, 14 Mar 2011 09:50:39 +0000 Subject: [PATCH] GeoView : issue 4743 : self.title already used in pageview.py. rename it with self.title_name svn: r16824 --- src/plugins/view/geoview.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/view/geoview.py b/src/plugins/view/geoview.py index 93c78dc8f..a7feaf900 100644 --- a/src/plugins/view/geoview.py +++ b/src/plugins/view/geoview.py @@ -612,14 +612,14 @@ class GeoView(HtmlView): box.pack_start(self.savezoom, False, False, padding=2) box.pack_start(self.provider, False, False, padding=2) box.show_all() - self.title = gtk.Label('') - self.title.set_single_line_mode(True) + self.title_name = gtk.Label('') + self.title_name.set_single_line_mode(True) font = pango.FontDescription("monospace") font.set_weight(pango.WEIGHT_HEAVY) font.set_style(pango.STYLE_NORMAL) - self.title.modify_font(font) + self.title_name.modify_font(font) self.box1.pack_start(box, False, False, padding=2) - self.box1.pack_start(self.title, False, False, padding=2) + self.box1.pack_start(self.title_name, False, False, padding=2) self.box1.show_all() if self.displaytype == "places": self.build_filters_container(self.filter, PlaceSidebarFilter) @@ -1676,7 +1676,7 @@ class GeoView(HtmlView): """ Show the current title map in the gtk label above the map. """ - self.title.set_text(title) + self.title_name.set_text(title) def _create_markers(self, formatype, firstm, lastm): """