Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

quickop: make the dialog resizable

Closes #724

Changeset 24c12bb59d95

Parent de3239525c10

by Yuki KODAMA

Changes to one file · Browse files at 24c12bb59d95 Showing diff from parent de3239525c10 Diff from another changeset...

 
26
27
28
29
30
31
32
 
184
185
186
 
 
 
 
 
187
188
189
 
193
194
195
196
 
197
198
199
 
26
27
28
 
29
30
31
 
183
184
185
186
187
188
189
190
191
192
193
 
197
198
199
 
200
201
202
203
@@ -26,7 +26,6 @@
  gtk.Dialog.__init__(self)   gtklib.set_tortoise_icon(self, 'hg.ico')   gtklib.set_tortoise_keys(self) - self.set_resizable(False)   self.set_size_request(450, 300)   self.set_has_separator(False)   self.connect('response', self.dialog_response) @@ -184,6 +183,11 @@
  self.hide()   return   + # show minimize/maximize buttons + self.realize() + if self.window: + self.window.set_decorations(gtk.gdk.DECOR_ALL) +   # prepare to show   self.gobutton.grab_focus()   gtklib.idle_add_single_call(self.after_init) @@ -193,7 +197,7 @@
  self.cmd = hgcmd.CmdWidget()   self.cmd.show_all()   self.cmd.hide() - self.wrapbox.pack_start(self.cmd, False, False, 8) + self.wrapbox.pack_start(self.cmd, False, False, 6)     # abort button   self.abortbtn = self.add_button(_('Abort'), gtk.RESPONSE_CANCEL)