From c56a762c912fb6fa0e77c2af4c5aa43d3dcb96b1 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Sun, 2 Aug 2009 02:07:39 +0000 Subject: [PATCH] Added set_header() to ProgressMeter from Bob Harm. Changes to stylesheet once more. svn: r12856 --- src/data/Web_Visually.css | 10 ++++++++++ src/gui/utils.py | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/src/data/Web_Visually.css b/src/data/Web_Visually.css index d83700e16..091b085e5 100644 --- a/src/data/Web_Visually.css +++ b/src/data/Web_Visually.css @@ -924,6 +924,16 @@ div#parents table.infolist tbody tr td.ColumnValue ol li { ----------------------------------------------------- */ div#families table.infolist { margin-top:.5em; + background-color:#FFF; + width:100%; +} +div#Families table.infolist tr.TableTitle { + border-top:solid 2px #000; + border-bottom:solid 1px #000; +} +div#Families table.infolist tr.TableTitle td { + width:100%; + text-align:center; } div#families table.infolist tbody tr td.ColumnValue p { margin-top:0; diff --git a/src/gui/utils.py b/src/gui/utils.py index a08dfe438..a2d132cd4 100644 --- a/src/gui/utils.py +++ b/src/gui/utils.py @@ -170,6 +170,11 @@ class ProgressMeter(object): while gtk.events_pending(): gtk.main_iteration() + def set_header(self, text): + self.__lbl.set_text(text) + while gtk.events_pending(): + gtk.main_iteration() + def __warn(self, *obj): """ Don't let the user close the progress dialog.