Changeset e2be416e99bc…
Parent eee4b5167d25…
by
Changes to one file · Browse files at e2be416e99bc Showing diff from parent eee4b5167d25 Diff from another changeset...
@@ -188,6 +188,12 @@ self.commit_clicked, tip=_('commit'))
tbbuttons.insert(0, self.undo_button)
tbbuttons.insert(0, self.commit_button)
+
+ self.changelog_button = self.make_toolbutton(gtk.STOCK_INDEX, _('Changelog'),
+ self.changelog_clicked, tip=_('view changelog'))
+ tbbuttons.append(self.changelog_button)
+ tbbuttons.append(gtk.SeparatorToolItem())
+
return tbbuttons
@@ -558,6 +564,13 @@ _('Errors during rollback!'), self).run()
+ def changelog_clicked(self, toolbutton, data=None):
+ from hggtk import history
+ dlg = history.run(self.ui)
+ dlg.display()
+ return True
+
+
def should_addremove(self, files):
if self.test_opt('addremove'):
return True
|
Loading...