1. TortoiseHg
  2. TortoiseHg
  3. hgtk

Commits

Steve Borho  committed f0de3d1

history: bookmarks menu items should be shown unconditionally

  • Participants
  • Parent commits cea78e7
  • Branches hgtk

Comments (0)

Files changed (1)

File tortoisehg/hgtk/history.py

View file
  • Ignore whitespace
     def tags_context_menu(self):
         m = gtklib.MenuBuilder()
         m.append(_('Add/Remove _Tag...'), self.add_tag)
-        if 'bookmarks' in self.exs:
-            m.append(_('Add/Move/Remove B_ookmark...'), self.add_bookmark)
-            m.append(_('Rename Bookmark...'), self.rename_bookmark,
-                     gtk.STOCK_EDIT)
-            if self.repo.ui.configbool('bookmarks', 'track.current'):
-                m.append(_('Set Current Bookmark...'), self.current_bookmark,
-                         gtk.STOCK_YES)
+        m.append(_('Add/Move/Remove B_ookmark...'), self.add_bookmark)
+        m.append(_('Rename Bookmark...'), self.rename_bookmark, gtk.STOCK_EDIT)
         return m.build()
 
     def mq_context_menu(self):