2006-07-16 Alex Roitman <shura@gramps-project.org>

* src/plugins/Checkpoint.py (Checkpoint.run_tool): Add busy cursor.



svn: r7033
This commit is contained in:
Alex Roitman 2006-07-16 15:00:35 +00:00
parent cf0449db8f
commit 275c495a32
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2006-07-16 Alex Roitman <shura@gramps-project.org>
* src/plugins/Checkpoint.py (Checkpoint.run_tool): Add busy cursor.
2006-07-16 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/ViewManager.py: Custom name format support.
* src/GrampsCfg.py: Custom name format support.

View File

@ -201,6 +201,9 @@ class Checkpoint(Tool.Tool, ManagedWindow.ManagedWindow):
"""
if not cli:
self.uistate.status_text(_("Checkpointing database..."))
self.uistate.window.window.set_cursor(
gtk.gdk.Cursor(gtk.gdk.WATCH))
self.window.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
if self.options.handler.options_dict['rcs']:
self.rcs(archive,cli)
@ -210,6 +213,8 @@ class Checkpoint(Tool.Tool, ManagedWindow.ManagedWindow):
self.custom(self.options.handler.options_dict['crcmd'],False,cli)
if not cli:
self.uistate.window.window.set_cursor(None)
self.window.window.set_cursor(None)
self.uistate.pulse_progressbar(0)
self.uistate.modify_statusbar()