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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-19 20:31:46 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-20060819203146-1a5b098844b3f106
GUI (toolbar + menu) cleanup.

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

    * olive/frontend/gtk/__init__.py: applied Diff toolbutton menu
    * olive/frontend/gtk/menu.py: implemented the Diff toolbutton menu
    * cmenu.ui: added Diff toolbutton menu; removed Log from right context menu
    * olive.glade: swapped Diff and Log toolbuttons; coverted log button to an
      ordinary GtkToolButton

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    def __init__(self, gladefile, comm, dialog):
38
38
        """ Initialize the Informations window. """
39
39
        self.gladefile = gladefile
40
 
        self.glade = gtk.glade.XML(self.gladefile, 'window_info', 'olive-gtk')
 
40
        self.glade = gtk.glade.XML(self.gladefile, 'window_info')
41
41
        
42
42
        # Communication object
43
43
        self.comm = comm
482
482
    def display(self):
483
483
        """ Display the Informations window. """
484
484
        if self.notbranch:
485
 
            self.dialog.error_dialog(_('Directory is not a branch'),
486
 
                                     _('You can perform this action only in a branch.'))
 
485
            self.dialog.error_dialog('Directory is not a branch',
 
486
                                     'You can perform this action only in a branch.')
487
487
            self.close()
488
488
        else:
489
489
            self.window.show()