Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

settings: show path of target config file

Changeset 5e1cbdace1f2

Parent 4f9593a3b6c1

by Yuya Nishihara

Changes to one file · Browse files at 5e1cbdace1f2 Showing diff from parent 4f9593a3b6c1 Diff from another changeset...

 
536
537
538
 
 
 
 
 
539
540
541
542
543
544
545
 
 
546
547
548
 
599
600
601
 
602
603
604
 
536
537
538
539
540
541
542
543
544
545
546
547
548
549
 
550
551
552
553
554
 
605
606
607
608
609
610
611
@@ -536,13 +536,19 @@
  tophbox = QHBoxLayout()   layout.addLayout(tophbox)   + self.fnedit = QLineEdit() + self.fnedit.setReadOnly(True) + self.fnedit.setFrame(False) + self.fnedit.setFocusPolicy(Qt.NoFocus) + self.fnedit.setStyleSheet('QLineEdit { background: transparent; }')   edit = QPushButton(_('Edit File'))   edit.clicked.connect(self.editClicked)   self.editbtn = edit   reload = QPushButton(_('Reload'))   reload.clicked.connect(self.reloadClicked)   self.reloadbtn = reload - tophbox.addStretch() + tophbox.addWidget(QLabel(_('Settings File:'))) + tophbox.addWidget(self.fnedit)   tophbox.addWidget(edit)   tophbox.addWidget(reload)   @@ -599,6 +605,7 @@
  def refresh(self, *args):   # refresh config values   self.ini = self.loadIniFile(self.rcpath) + self.fnedit.setText(self.fn)   for info, widgets in self.pages.values():   for row, (label, cpath, values, tooltip) in enumerate(info):   curvalue = self.readCPath(cpath)