All of lore.kernel.org
 help / color / mirror / Atom feed
* [2/4] [PATCH] first state of the timeouts is non-zero.
@ 2013-03-13 10:52 Vladimir Testov
  0 siblings, 0 replies; only message in thread
From: Vladimir Testov @ 2013-03-13 10:52 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

I think progress bar, starting for zero looks more usual and more adequate.

See screenshots.
-- 
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru

[-- Attachment #2: grub-2.00-start-from-zero.patch --]
[-- Type: text/x-patch, Size: 532 bytes --]

diff -Naur grub-new/grub-core/gfxmenu/view.c grub-new2/grub-core/gfxmenu/view.c
--- grub-new/grub-core/gfxmenu/view.c	2012-02-24 14:19:45.000000000 +0400
+++ grub-new2/grub-core/gfxmenu/view.c	2013-03-11 15:14:03.253381794 +0400
@@ -195,7 +195,7 @@
   if (view->first_timeout == -1)
     view->first_timeout = timeout;
 
-  update_timeouts (1, -(view->first_timeout + 1), -timeout, 0);
+  update_timeouts (1, -view->first_timeout, -timeout, 0);
   redraw_timeouts (view);
   grub_video_swap_buffers ();
   if (view->double_repaint)

[-- Attachment #3: grub-guide-start-from-zero-before.png --]
[-- Type: image/png, Size: 15431 bytes --]

[-- Attachment #4: grub-guide-start-from-zero-after.png --]
[-- Type: image/png, Size: 15321 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-13 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 10:52 [2/4] [PATCH] first state of the timeouts is non-zero Vladimir Testov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.