From 42071b5050b15ddb674c7922b4ca6a5673fd0a0a Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 16 Apr 2012 16:21:48 +0000 Subject: [PATCH] 5655: Fix warnings when tags have duplicate names svn: r19344 --- 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