/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 commit.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-02-04 18:28:46 UTC
  • mto: (157.1.9 trunk) (170.1.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 160.
  • Revision ID: szilveszter.farkas@gmail.com-20070204182846-ko4r7rf4wr09eizt
Default button set on Commit dialog (Fixed: #83030)

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        self._textview_message.modify_font(pango.FontDescription("Monospace"))
112
112
        self.set_default_size(500, 500)
113
113
        self._vpaned_main.set_position(200)
 
114
        self._button_commit.set_flags(gtk.CAN_DEFAULT)
114
115
 
115
116
        if self._is_pending:
116
117
            self._scrolledwindow_merges.set_policy(gtk.POLICY_AUTOMATIC,
157
158
        
158
159
        # Display dialog
159
160
        self.vbox.show_all()
 
161
        
 
162
        # Default to Commit button
 
163
        self._button_commit.grab_default()
160
164
    
161
165
    def _on_treeview_files_row_activated(self, treeview, path, view_column):
162
166
        # FIXME: the diff window freezes for some reason