/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-25 12:38:56 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-20060725123856-f7b3018de9dc669f
2006-07-25  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * olive-gtk: display error if python 2.4 not available (Mario Đanić)
      (Fixed: #54014)
    * olive-gtk: display error if pygtk2 (and glade) not available (Mario Đanić)
      (Fixed: #54013)

2006-07-24  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * olive/frontend/gtk/push.py: display number of pushed revisions

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
                return
116
116
            
117
117
            try:
118
 
                commit.push(self.comm.get_path(), location,
119
 
                            self.check_remember.get_active(),
120
 
                            self.check_overwrite.get_active(),
121
 
                            self.check_create.get_active())
 
118
                revs = commit.push(self.comm.get_path(), location,
 
119
                                   self.check_remember.get_active(),
 
120
                                   self.check_overwrite.get_active(),
 
121
                                   self.check_create.get_active())
122
122
            except errors.NotBranchError:
123
123
                dialog.error_dialog('Directory is not a branch.')
124
124
                return
138
138
            pass
139
139
        
140
140
        self.close()
 
141
        dialog.info_dialog('%d revision(s) pushed.' % revs)
141
142
    
142
143
    def close(self, widget=None):
143
144
        self.window.destroy()