/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/log.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:
60
60
    def display(self):
61
61
        """ Display the Log (bzrk) window. """
62
62
        if self.notbranch:
63
 
            self.dialog.error_dialog(_('Directory is not a branch'),
64
 
                                     _('You can perform this action only in a branch.'))
 
63
            self.dialog.error_dialog('Directory is not a branch',
 
64
                                     'You can perform this action only in a branch.')
65
65
        else:
66
66
            self.app = BzrkApp()
67
67
            self.app.show(self.branch, self.revid, None)