/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/frontend/gtk/push.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-07-31 18:17:48 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060731181748-02e1970a99f30150
2006-07-31  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * Back from holiday.
    * olive.glade: separated branch and checkout dialogs (Fixed: #54019)
    * olive/frontend/gtk/checkout.py: file added respectively
    * olive/frontend/gtk/branch.py: removed checkout options
    * olive/frontend/gtk/handler.py: modified handler names + added checkout
    * olive/frontend/gtk/push.py: window gets properly resized (Fixed: #54676)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    def display(self):
60
60
        """ Display the Push dialog. """
61
61
        self.window.show()
 
62
        self.width, self.height = self.window.get_size()
62
63
    
63
64
    def stored_toggled(self, widget):
64
65
        if widget.get_active():
66
67
            self.check_remember.hide()
67
68
            self.check_overwrite.hide()
68
69
            self.check_create.hide()
 
70
            self.window.resize(self.width, self.height)
69
71
        else:
70
72
            self.entry_location.show()
71
73
            self.check_remember.show()
137
139
            # This should really never happen
138
140
            pass
139
141
        
 
142
        dialog.info_dialog('%d revision(s) pushed.' % revs)
140
143
        self.close()
141
 
        dialog.info_dialog('%d revision(s) pushed.' % revs)
142
144
    
143
145
    def close(self, widget=None):
144
146
        self.window.destroy()