~ubuntu-branches/ubuntu/utopic/gramps/utopic

« back to all changes in this revision

Viewing changes to src/gui/views/tags.py

  • Committer: Package Import Robot
  • Author(s): James A. Treacy
  • Date: 2012-05-22 17:18:36 UTC
  • mfrom: (39.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120522171836-35fi62lp4w7jnrd7
Tags: 3.4.0-1
* New upstream version
* Updated desktop file. Closes: #667472

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  021111307  USA
18
18
#
19
19
 
20
 
# $Id: tags.py 17700 2011-06-06 20:20:42Z m_d_n $
 
20
# $Id: tags.py 19343 2012-04-16 16:20:10Z nick-h $
21
21
"""
22
22
Provide tagging functionality.
23
23
"""
210
210
        tag_menu += '<menuitem action="OrganizeTags"/>'
211
211
        tag_menu += '<separator/>'
212
212
        for tag_name, handle in self.__tag_list:
213
 
            tag_menu += '<menuitem action="TAG_%s"/>' % escape(tag_name)
214
 
            actions.append(('TAG_%s' % tag_name, None, tag_name, None, None,
 
213
            tag_menu += '<menuitem action="TAG_%s"/>' % handle
 
214
            actions.append(('TAG_%s' % handle, None, tag_name, None, None,
215
215
                         make_callback(self.tag_selected_rows, handle)))
216
216
        
217
217
        self.tag_ui = TAG_1 + tag_menu + TAG_2 + tag_menu + TAG_3