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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-01 16:16:31 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-20060801161631-ca1ac79e3726e307
Visual feedback when Olive is busy; follow bzr API changes; commit dialog update

2006-08-01  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * olive/frontend/gtk/push.py: now the number of pushed revisions gets
      displayed (Fixed: #54698)
    * olive/backend/info.py: added is_checkout()
    * olive/frontend/gtk/commit.py: local commit checkbox shows up only if the
      current directory is a checkout
    * olive/backend/fileops.py: upgraded to new API (compare_trees deprecated)
    * many files: the cursor changes to a watch when performing time consuming
      operations (Fixed: #54015)

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        
62
62
        directory = self.comm.get_path()
63
63
        
 
64
        self.comm.set_busy(self.window)
64
65
        if radio_selected.get_active():
65
66
            # Add only the selected file
66
67
            filename = self.comm.get_selected_right()
73
74
                fileops.add([directory + '/' + filename])
74
75
            except errors.NotBranchError:
75
76
                dialog.error_dialog('The directory is not a branch.')
 
77
                self.comm.set_busy(self.window, False)
76
78
                return
77
79
            except:
78
80
                raise
82
84
                fileops.add([directory], True)
83
85
            except errors.NotBranchError:
84
86
                dialog.error_dialog('The directory is not a branch.')
 
87
                self.comm.set_busy(self.window, False)
85
88
                return
86
89
            except:
87
90
                raise