svn: r5514
This commit is contained in:
Don Allingham 2005-12-09 03:20:06 +00:00
parent 29eecb3aa9
commit f3ae05e28a
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ from gettext import gettext as _
import gtk import gtk
import gtk.glade import gtk.glade
from gtk.gdk import ACTION_COPY, BUTTON1_MASK from gtk.gdk import ACTION_COPY, BUTTON1_MASK
from gnome import help_display import GrampsDisplay
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -857,7 +857,7 @@ class ScratchPadWindow:
def on_help_clicked(self,obj): def on_help_clicked(self,obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
help_display('gramps-manual','tools-util-scratch-pad') GrampsDisplay.help('tools-util-scratch-pad')
def on_close_scratchpad(self,obj): def on_close_scratchpad(self,obj):
self.remove_itself_from_menu() self.remove_itself_from_menu()

View File

@ -37,7 +37,7 @@ from gettext import gettext as _
#------------------------------------------------------------------------ #------------------------------------------------------------------------
import gtk import gtk
import gtk.glade import gtk.glade
from gnome import help_display import GrampsDisplay
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
@ -112,7 +112,7 @@ class SoundGen(Tool.Tool):
def on_help_clicked(self,obj): def on_help_clicked(self,obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
help_display('gramps-manual','tools-util-other') GrampsDisplay.help('tools-util-other')
def on_delete_event(self,obj,b): def on_delete_event(self,obj,b):
self.remove_itself_from_menu() self.remove_itself_from_menu()