From 06d9588736cace43aeae366a45872d70e33be7c2 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 14 Jun 2007 04:20:44 +0000 Subject: [PATCH] * src/DbManager.py: handle cursor while rebuilding * src/glade/gramps.glade: fix label placement 2007-06-13 Don Allingham svn: r8547 --- ChangeLog | 4 ++ src/DbManager.py | 4 ++ src/glade/gramps.glade | 91 ++++++++++++++++++++++++------------------ 3 files changed, 60 insertions(+), 39 deletions(-) diff --git a/ChangeLog b/ChangeLog index afa701d9b..97b30f718 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-06-13 Don Allingham + * src/DbManager.py: handle cursor while rebuilding + * src/glade/gramps.glade: fix label placement + 2007-06-13 Don Allingham * src/DbManager.py: handle broken dbs that have been opened * src/DbState.py: handle broken dbs that have been opened diff --git a/src/DbManager.py b/src/DbManager.py index 5fbcdbb75..d9765b374 100644 --- a/src/DbManager.py +++ b/src/DbManager.py @@ -358,9 +358,13 @@ class DbManager: db.set_save_path(dirname) db.load(dirname, None) self.msg.set_label(_("Rebuilding database from backup files")) + + self.top.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while (gtk.events_pending()): gtk.main_iteration() GrampsDbUtils.Backup.restore(db) + self.top.window.set_cursor(None) + self.msg.set_label("") db.close() self.dbstate.no_database() diff --git a/src/glade/gramps.glade b/src/glade/gramps.glade index 72ab5b4ab..4a272db5a 100644 --- a/src/glade/gramps.glade +++ b/src/glade/gramps.glade @@ -15620,26 +15620,64 @@ Very High 0 - + True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT + False + 0 - + True True - True - False - False - True - False - False - False + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + True + False + False + True + False + False + False + + + + 0 + True + True + + + + + + True + + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 6 + False + False + @@ -15743,31 +15781,6 @@ Very High True - - - - True - - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - 0