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

  • Committer: Curtis Hovey
  • Date: 2011-09-03 01:25:04 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110903012504-0jr4diz9033g5df2
Menu fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
442
442
    def _get_menu_bar(self):
443
443
        menubar = Gtk.MenuBar()
444
444
        # View menu
445
 
        mb_view = Gtk.MenuItem(label=_i18n("_View"))
 
445
        mb_view = Gtk.MenuItem.new_with_mnemonic(_i18n("_View"))
446
446
        mb_view_menu = Gtk.Menu()
447
 
        mb_view_wrapsource = Gtk.CheckMenuItem(
448
 
            label=_i18n("Wrap _Long Lines"))
 
447
        mb_view_wrapsource = Gtk.CheckMenuItem.new_with_mnemonic(
 
448
            _i18n("Wrap _Long Lines"))
449
449
        mb_view_wrapsource.connect('activate', self.diff._on_wraplines_toggled)
450
450
        mb_view_wrapsource.show()
451
451
        mb_view_menu.append(mb_view_wrapsource)