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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-15 17:37:54 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-20060815173754-9877ef0e3e64660e
Some small tweaks in the .desktop file.

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

    * icons/olive-gtk.png: added application icon

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
 
65
65
class GtkUIFactory(UIFactory):
66
 
    """A UI factory for GTK user interfaces."""
 
66
    """A UI factory for GTK user interefaces."""
67
67
 
68
68
    def __init__(self,
69
69
                 bar_type=None,
91
91
        dialog = PromptDialog(prompt)
92
92
        response = dialog.run()
93
93
        dialog.destroy()
94
 
        return (response == gtk.RESPONSE_YES)
 
94
        if response == gtk.RESPONSE_YES:
 
95
            return True
 
96
        else:
 
97
            return False
95
98
        
96
99
    @deprecated_method(zero_eight)
97
100
    def progress_bar(self):