1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Steve Borho  committed 3eb4de6

changeset: use correct enum for MODE_FILEPATS

  • Participants
  • Parent commits 6d0c1f7
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/changeset.py

View file
 
 from tortoisehg.hgtk import csinfo, gdialog, gtklib, hgcmd, statusbar
 
-MODE_FILEPATS = 1 # mirrored from history.py
+MODE_FILEPATS = 4 # mirrored from history.py
 
 class ChangeSet(gdialog.GWindow):
     'GTK+ based dialog for displaying repository logs'
             opts = {'pats': [fname]}
             explorer = self.glog_parent
             explorer.filter = 'custom'
-            explorer.filtercombo.set_active(1)
+            explorer.filtercombo.set_active(MODE_FILEPATS)
             explorer.filterentry.set_text(fname)
             explorer.filterbar.get_button('custom').set_active(True)
             explorer.activate_filter(path, MODE_FILEPATS)