Addresses #768
# HG changeset patch # User Emmanuel Rosa <goaway1...@gmail.com> # Date 1261096484 18000 # Node ID 90d7727fabcadd271724fc420cecf4e1d909fe58 # Parent 5c5a84a7491bb35afb8a3a1f072daee080eec5c9 update: add option to always show log Addresses #768 diff --git a/tortoisehg/hgtk/update.py b/tortoisehg/hgtk/update.py --- a/tortoisehg/hgtk/update.py +++ b/tortoisehg/hgtk/update.py @@ -68,6 +68,11 @@ self.opt_merge = check table.add_row(None, check) + ## always show command log widget + showlog = gtk.CheckButton(_('Always show log')) + self.opt_showlog = showlog + table.add_row(None, showlog) + ## fill list of combo if rev != None: combo.append_text(str(rev)) @@ -121,11 +126,15 @@ def load_settings(self): merge = self.settings.get_value('mergedefault', False) + showlog = self.settings.get_value('showlog', False) self.opt_merge.set_active(merge) + self.opt_showlog.set_active(showlog) def store_settings(self): checked = self.opt_merge.get_active() + showlog = self.opt_showlog.get_active() self.settings.set_value('mergedefault', checked) + self.settings.set_value('showlog', showlog) self.settings.write() @@ -184,6 +193,8 @@ self.closebtn.set_property('visible', normal) if cmd: self.cmd.set_property('visible', working) + if self.opt_showlog.get_active(): + self.cmd.show_log() self.abortbtn.set_property('visible', working) def update_summaries(self):
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop