Changeset 229dec8ef9a6…
Parent f08b0f0b93f3…
by
Changes to one file · Browse files at 229dec8ef9a6 Showing diff from parent f08b0f0b93f3 Diff from another changeset...
@@ -17,7 +17,7 @@ from thgutil.i18n import _
from thgutil import hglib, shlib, paths
-from hggtk import dialog, gtklib, hgthread
+from hggtk import dialog, gtklib, hgthread, history, thgconfig, hgemail
class SynchDialog(gtk.Window):
def __init__(self, repos=[], pushmode=False):
@@ -301,10 +301,9 @@ self.repo = repo
def _view_pulled_changes(self, button):
- from history import GLog
countpulled = len(self.repo.changelog) - self.origchangecount
opts = {'limit' : countpulled, 'from-synch' : True}
- dlg = GLog(self.ui, None, None, [], opts)
+ dlg = history.GLog(self.ui, None, None, [], opts)
dlg.display()
def _update_to_tip(self, button):
@@ -449,8 +448,7 @@ if path == newpath:
newpath = None
break
- from thgconfig import ConfigDialog
- dlg = ConfigDialog(True)
+ dlg = thgconfig.ConfigDialog(True)
dlg.show_all()
if newpath:
dlg.new_path(newpath)
@@ -475,8 +473,7 @@ return
if rev:
opts.extend(rev)
- from hgemail import EmailDialog
- dlg = EmailDialog(self.root, opts)
+ dlg = hgemail.EmailDialog(self.root, opts)
dlg.set_transient_for(self)
dlg.show_all()
dlg.present()
|
Loading...