/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 annotate/gannotate.py

  • Committer: Martin Pool
  • Date: 2010-05-27 02:28:54 UTC
  • mto: This revision was merged to the branch mainline in revision 689.
  • Revision ID: mbp@canonical.com-20100527022854-casjvwke7ozk7sey
Also show tooltips on find/goto buttons

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
        button = gtk.Button()
353
353
        button.set_use_stock(True)
354
354
        button.set_label("gtk-find")
 
355
        button.set_tooltip_text("Search for text (Ctrl+F)")
355
356
        button.connect("clicked", self._search_by_text)
356
357
        button.set_relief(gtk.RELIEF_NONE)
357
358
        button.show()
361
362
    def _create_goto_button(self):
362
363
        button = gtk.Button()
363
364
        button.set_label("Goto Line")
 
365
        button.set_tooltip_text("Scroll to a line by entering its number (Ctrl+G)")
364
366
        button.connect("clicked", self._search_by_line)
365
367
        button.set_relief(gtk.RELIEF_NONE)
366
368
        button.show()