From 94d8d28cb0163dc35cb055b65c4ea12f9cbb184c Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Thu, 17 Nov 2005 11:45:35 +0000 Subject: [PATCH] * src/gramps.glade, src/TipOfDay.py: Add window title svn: r5404 --- gramps2/ChangeLog | 4 ++++ gramps2/src/TipOfDay.py | 5 +++++ gramps2/src/gramps.glade | 4 ++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 43be53670..202c369b6 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-11-17 Martin Hawlisch + * src/gramps.glade, + src/TipOfDay.py: Add window title + 2005-11-16 Don Allingham * src/DisplayModels.py: try to handle encoding errors * src/ImageSelect.py: call fix_encoding to handle path names diff --git a/gramps2/src/TipOfDay.py b/gramps2/src/TipOfDay.py index 20c11538a..b6cddf6e9 100644 --- a/gramps2/src/TipOfDay.py +++ b/gramps2/src/TipOfDay.py @@ -44,6 +44,7 @@ import gtk.glade #------------------------------------------------------------------------- import const import GrampsKeys +import Utils #------------------------------------------------------------------------- # @@ -56,6 +57,10 @@ class TipOfDay: top = xml.get_widget("tod") tip = xml.get_widget("tip") use = xml.get_widget('usetips') + + alt_title = xml.get_widget("title") + tmsg = _("GRAMPS' Tip of the Day") + Utils.set_titles(top, alt_title, tmsg, _("Tip of the Day")) tp = TipParser() tip_list = tp.get() diff --git a/gramps2/src/gramps.glade b/gramps2/src/gramps.glade index 8afc7e935..816a74653 100644 --- a/gramps2/src/gramps.glade +++ b/gramps2/src/gramps.glade @@ -30140,9 +30140,9 @@ Given name - + True - <span weight="bold" size="larger">Gramps' Tip of the Day</span> + False True GTK_JUSTIFY_LEFT