GEPS008: Moved TipOfDay module

svn: r19767
This commit is contained in:
Nick Hall 2012-06-05 21:57:00 +00:00
parent 300c65a256
commit f74b14c869
6 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,6 @@ src/Relationship.py
src/Reorder.py
src/ScratchPad.py
src/Spell.py
src/TipOfDay.py
src/ToolTips.py
src/TransUtils.py
src/Utils.py
@ -342,6 +341,7 @@ src/gui/filtereditor.py
src/gui/grampsbar.py
src/gui/grampsgui.py
src/gui/makefilter.py
src/gui/tipofday.py
src/gui/utils.py
src/gui/viewmanager.py

View File

@ -39,7 +39,6 @@ gdir_PYTHON = \
Sort.py\
soundex.py\
Spell.py\
TipOfDay.py\
ThumbNails.py\
ToolTips.py\
TransUtils.py\

View File

@ -35,6 +35,7 @@ pkgpython_PYTHON = \
managedwindow.py \
navigator.py \
pluginmanager.py \
tipofday.py \
user.py \
utils.py \
viewmanager.py

View File

@ -208,7 +208,7 @@ class Gramps(object):
import DbState
from viewmanager import ViewManager
from cli.arghandler import ArgHandler
import TipOfDay
from gui.tipofday import TipOfDay
register_stock_icons()
@ -238,7 +238,7 @@ class Gramps(object):
self.vm.post_init_interface()
if config.get('behavior.use-tips'):
TipOfDay.TipOfDay(self.vm.uistate)
TipOfDay(self.vm.uistate)
def argerrorfunc(self, string):
from QuestionDialog import ErrorDialog

View File

@ -1113,8 +1113,8 @@ class ViewManager(CLIManager):
"""
Display Tip of the day
"""
import TipOfDay
TipOfDay.TipOfDay(self.uistate)
from gui.tipofday import TipOfDay
TipOfDay(self.uistate)
def __plugin_status(self, obj=None):
"""