[d-i-commits] r32222 - trunk/packages/clock-setup/debian

Joey Hess joeyh at costa.debian.org
Thu Nov 17 19:59:42 UTC 2005


Author: joeyh
Date: 2005-11-17 19:59:40 +0000 (Thu, 17 Nov 2005)
New Revision: 32222

Modified:
   trunk/packages/clock-setup/debian/changelog
   trunk/packages/clock-setup/debian/clock-setup.postinst
   trunk/packages/clock-setup/debian/clock-setup.templates
Log:
* Add a little progress bar as the os-prober run can take a while.

Modified: trunk/packages/clock-setup/debian/changelog
===================================================================
--- trunk/packages/clock-setup/debian/changelog	2005-11-17 19:31:48 UTC (rev 32221)
+++ trunk/packages/clock-setup/debian/changelog	2005-11-17 19:59:40 UTC (rev 32222)
@@ -1,3 +1,9 @@
+clock-setup (0.5) UNRELEASED; urgency=low
+
+  * Add a little progress bar as the os-prober run can take a while.
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 17 Nov 2005 14:31:06 -0500
+
 clock-setup (0.4) unstable; urgency=low
 
   [ Frans Pop ]

Modified: trunk/packages/clock-setup/debian/clock-setup.postinst
===================================================================
--- trunk/packages/clock-setup/debian/clock-setup.postinst	2005-11-17 19:31:48 UTC (rev 32221)
+++ trunk/packages/clock-setup/debian/clock-setup.postinst	2005-11-17 19:59:40 UTC (rev 32222)
@@ -3,6 +3,9 @@
 
 . /usr/share/debconf/confmodule
 
+db_progress START 0 1 clock-setup/progress/title
+db_progress INFO clock-setup/progress/working
+
 pri=high
 
 if db_fget clock-setup/utc seen && [ "$RET" = true ]; then
@@ -30,7 +33,11 @@
 	fi
 fi
 
+db_progress STEP 1
+
 db_input $pri clock-setup/utc || true
 if ! db_go; then
 	exit 10 # back to main menu
 fi
+
+db_progress stop

Modified: trunk/packages/clock-setup/debian/clock-setup.templates
===================================================================
--- trunk/packages/clock-setup/debian/clock-setup.templates	2005-11-17 19:31:48 UTC (rev 32221)
+++ trunk/packages/clock-setup/debian/clock-setup.templates	2005-11-17 19:59:40 UTC (rev 32222)
@@ -12,6 +12,15 @@
  local time. This is recommended unless you also use another operating
  system that expects the clock to be set to local time.
 
+Template: clock-setup/progress/title
+Type: text
+_Description: Setting up the clock
+
+Template: clock-setup/progress/working
+Type: text
+# progress bar item
+_Description: Please wait...
+
 Template: prebaseconfig/progress/clock-setup
 Type: text
 # Prebaseconfig progress bar item




More information about the d-i-commits mailing list