From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1U3phz-0001KL-Cf for mharc-grub-devel@gnu.org; Fri, 08 Feb 2013 10:17:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3phr-00010Z-TZ for grub-devel@gnu.org; Fri, 08 Feb 2013 10:17:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3pho-0000qs-0z for grub-devel@gnu.org; Fri, 08 Feb 2013 10:17:39 -0500 Received: from collab.rosalab.ru ([217.199.216.181]:50926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3phn-0000pN-I9 for grub-devel@gnu.org; Fri, 08 Feb 2013 10:17:35 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by collab.rosalab.ru (Postfix) with ESMTP id 4964029C29C for ; Fri, 8 Feb 2013 19:17:33 +0400 (MSK) X-Virus-Scanned: amavisd-new at rosalab.ru Received: from collab.rosalab.ru ([127.0.0.1]) by localhost (collab.rosalab.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RNF8jfTgJPbr for ; Fri, 8 Feb 2013 19:17:32 +0400 (MSK) Received: from icedphoenix.localnet (unknown [10.168.1.56]) by collab.rosalab.ru (Postfix) with ESMTPSA id C9C8629C250 for ; Fri, 8 Feb 2013 19:17:32 +0400 (MSK) From: Vladimir Testov To: grub-devel@gnu.org Subject: Re: ticks_disappear option in circular_progress has no default value Date: Fri, 08 Feb 2013 19:17:32 +0400 Message-ID: <3264485.AOix8cDIaf@icedphoenix> User-Agent: KMail/4.9.4 (Linux/3.5.0-23-generic; KDE/4.9.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2544972.FIcBji60aU" Content-Transfer-Encoding: 7Bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 217.199.216.181 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 15:17:45 -0000 This is a multi-part message in MIME format. --nextPart2544972.FIcBji60aU Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" My last mesage about this problem wasn't answered. Maybe I should write more detailed message. There is parameter for circular progress bar, which hasn't a default value. ticks_disappear If it set to "0" in terms of source code ("true" in terms of grub2 theme) then ticks will APPEAR. If it set to "1" in terms of source code ("false" in terms of grub2 theme) then ticks will DISAPPEAR. Two patches are included for making some value to be default (grub2-ticks- appear-default.patch and grub2-ticks-disappear-default.patch) One of them should be used. (In current situations there is no default value and I see some kind of instability if none "ticks_disappear" was mentioned in a theme.) Thanks. ) -- With best regards, _______________________________ Vladimir Testov, ROSA Laboratory. www.rosalab.ru --nextPart2544972.FIcBji60aU Content-Disposition: attachment; filename="grub2-ticks-appear-default.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="grub2-ticks-appear-default.patch" diff -Naur grub-new/grub-core/gfxmenu/gui_circular_progress.c grub-new2/grub-core/gfxmenu/gui_circular_progress.c --- grub-new/grub-core/gfxmenu/gui_circular_progress.c 2010-12-01 17:45:43.000000000 +0300 +++ grub-new2/grub-core/gfxmenu/gui_circular_progress.c 2013-02-06 20:31:14.198825969 +0400 @@ -303,6 +303,7 @@ self->visible = 1; self->num_ticks = 64; self->start_angle = -64; + self->ticks_disappear = 0; return (grub_gui_component_t) self; } --nextPart2544972.FIcBji60aU Content-Disposition: attachment; filename="grub2-ticks-disappear-default.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="grub2-ticks-disappear-default.patch" diff -Naur grub-new/grub-core/gfxmenu/gui_circular_progress.c grub-new2/grub-core/gfxmenu/gui_circular_progress.c --- grub-new/grub-core/gfxmenu/gui_circular_progress.c 2010-12-01 17:45:43.000000000 +0300 +++ grub-new2/grub-core/gfxmenu/gui_circular_progress.c 2013-02-06 20:31:14.198825969 +0400 @@ -303,6 +303,7 @@ self->visible = 1; self->num_ticks = 64; self->start_angle = -64; + self->ticks_disappear = 1; return (grub_gui_component_t) self; } --nextPart2544972.FIcBji60aU--