From ba2b797d7ff35443ec98a9294127c80461059550 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 6 May 2012 13:12:15 +0000 Subject: [PATCH] 5655: Fix warnings when tags have duplicate names svn: r19453 --- src/gui/views/tags.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/views/tags.py b/src/gui/views/tags.py index d1fe60f1e..de424cb44 100644 --- a/src/gui/views/tags.py +++ b/src/gui/views/tags.py @@ -210,9 +210,8 @@ class Tags(DbGUIElement): tag_menu += '' tag_menu += '' for tag_name, handle in self.__tag_list: - tag_menu += '' % escape(tag_name, - {'"':'"'}) - actions.append(('TAG_%s' % tag_name, None, tag_name, None, None, + tag_menu += '' % handle + actions.append(('TAG_%s' % handle, None, tag_name, None, None, make_callback(self.tag_selected_rows, handle))) self.tag_ui = TAG_1 + tag_menu + TAG_2 + tag_menu + TAG_3