Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1, 1.1.1, and 1.1.2

hgemail: add undo/redo feature to description area

Changeset 8f290e3ada3e

Parent 6559acb6dfc0

by Yuki KODAMA

Changes to one file · Browse files at 8f290e3ada3e Showing diff from parent 6559acb6dfc0 Diff from another changeset...

 
16
17
18
19
 
20
21
22
 
168
169
170
171
 
 
 
172
173
174
 
16
17
18
 
19
20
21
22
 
168
169
170
 
171
172
173
174
175
176
@@ -16,7 +16,7 @@
 from tortoisehg.util.i18n import _  from tortoisehg.util import hglib, settings   -from tortoisehg.hgtk import gtklib, dialog, thgconfig, hgcmd +from tortoisehg.hgtk import gtklib, dialog, thgconfig, hgcmd, textview    class EmailDialog(gtk.Window):   """ Send patches or bundles via email """ @@ -168,7 +168,9 @@
  vbox.pack_start(hbox, False, False, 4)     # Description TextView - self.descview = gtk.TextView(buffer=None) + accelgroup = gtk.AccelGroup() + self.add_accel_group(accelgroup) + self.descview = textview.UndoableTextView(accelgroup=accelgroup)   self.descview.set_editable(True)   fontcomment = hglib.getfontconfig()['fontcomment']   self.descview.modify_font(pango.FontDescription(fontcomment))