Vladimir 'phcoder' Serbinenko cced9145fc Fix gfxmenu crash.
Reported by: Thorsten Grützmacher.

	* gfxmenu/gui_circular_progress.c (circprog_destroy): Unregister
	timeout hook.
	(circprog_set_property): Register and unregister timeout hook.
	* gfxmenu/gui_label.c (grub_gui_label): New fields template and value.
	(label_destroy): Free template. and unregister hook.
	(label_set_state): New function.
	(label_set_property): Handle templates and hooks.
	* gfxmenu/gui_progress_bar.c (progress_bar_destroy): Unregister
	timeout hook.
	(progress_bar_set_property): Register and unregister timeout hook.
	* gfxmenu/view.c (TIMEOUT_COMPONENT_ID): Move from here ...
	* include/grub/gui.h (GRUB_GFXMENU_TIMEOUT_COMPONENT_ID): ...to here
	* gfxmenu/view.c (grub_gfxmenu_timeout_notifications): New variable.
	(update_timeout_visit): Removed.
	(update_timeouts): New function.
	(redraw_timeouts): Likewise.
	(grub_gfxmenu_print_timeout): Use update_timeouts and redraw_timeouts.
	(grub_gfxmenu_clear_timeout): Likewise.
	* include/grub/gui.h (grub_gfxmenu_set_state_t): New type.
	(grub_gfxmenu_timeout_notify): Likewise.
	(grub_gfxmenu_timeout_notifications): New external variable.
	(grub_gfxmenu_timeout_register): New function.
	(grub_gfxmenu_timeout_unregister): Likewise.
2010-05-13 03:56:14 +02:00
..
2009-09-02 13:34:40 +02:00
2010-05-01 14:32:48 +02:00
2010-04-11 01:14:31 +02:00
2010-04-11 01:14:31 +02:00
2010-02-07 23:49:49 +01:00
2009-06-10 21:04:23 +00:00
2010-02-13 16:26:50 +01:00
2009-12-25 22:29:47 +00:00
2009-10-11 18:18:18 +02:00
2009-12-18 03:57:32 +01:00
2010-02-06 18:43:37 +01:00
2009-12-24 15:34:33 +01:00
2009-12-11 22:14:09 +01:00
2009-12-23 17:33:35 +01:00
2010-02-07 23:49:49 +01:00
2010-02-07 15:17:26 +01:00
2009-10-16 17:40:59 +02:00
2009-03-21 08:39:59 +00:00
2009-11-20 16:02:58 +01:00
2010-05-13 03:56:14 +02:00
2009-11-20 16:02:58 +01:00
2010-02-13 16:26:50 +01:00
2010-04-11 01:14:31 +02:00
2010-04-10 01:56:51 +02:00
2010-02-09 15:32:42 +01:00
2009-06-10 21:04:23 +00:00
2009-09-02 02:52:10 +02:00
2009-09-02 02:52:10 +02:00
2009-06-10 21:04:23 +00:00
2009-12-29 23:01:12 +01:00
2010-04-11 21:24:21 +02:00
2010-03-26 17:06:36 +01:00
2010-02-06 18:43:37 +01:00
2009-06-10 21:04:23 +00:00
2009-12-24 00:37:11 +01:00
2010-03-26 15:44:13 +01:00
2009-06-10 21:04:23 +00:00
2009-10-14 18:17:18 +02:00
2009-07-31 14:25:19 +00:00
2009-12-24 00:37:11 +01:00
2010-03-21 11:03:41 +05:30
2009-11-23 21:15:44 +01:00
2009-10-10 20:59:18 +02:00
2009-12-24 23:20:43 +01:00
2010-02-09 15:32:42 +01:00
2009-11-09 18:43:53 +01:00
2009-06-10 21:04:23 +00:00
2009-12-25 21:32:46 +01:00