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

  • Committer: Vincent Ladeuil
  • Date: 2009-06-12 11:34:44 UTC
  • mto: This revision was merged to the branch mainline in revision 648.
  • Revision ID: v.ladeuil+lp@free.fr-20090612113444-bpjckekeq2ojcyvw
Cleanup.

* branchview/treeview.py:
(TreeView.__init__): Replace the FIXME by a comment :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        super(GtkUIFactory, self).__init__()
168
168
        self.set_progress_bar_widget(None)
169
169
 
 
170
    def set_progress_bar_widget(self, widget):
 
171
        self._progress_bar_widget = widget
 
172
 
170
173
    def get_boolean(self, prompt):
171
174
        """GtkDialog with yes/no answers"""
172
175
        dialog = PromptDialog(prompt)
209
212
        self._progress_bar_widget.update(task.msg,
210
213
                                         task.current_cnt, task.total_cnt)
211
214
 
212
 
    def set_progress_bar_widget(self, widget):
213
 
        self._progress_bar_widget = widget
214