Files
gtk3/tests
Emmanuele Bassi 4a559d6ec8 Add support for both prepending and appending custom menu items.
2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c: Add support for both prepending
	and appending custom menu items.

	(gtk_recent_chooser_menu_constructor): Add a placeholder menu
	item for the empty menu case, and for giving us a starting
	point for the recent items populating process.

	(gtk_recent_chooser_menu_insert_item),
	(gtk_recent_chooser_menu_dispose_items): Insert an item at
	the position following the placeholder (and find that position
	if needed).

	(idle_populate_func), (idle_populate_clean_up): Show the
	placeholder menu item, instead of creating one each time.

	(gtk_recent_chooser_menu_populate): Kill some indirections
	and hide the placeholder before populating the menu.

	(set_recent_manager): Remember to remove the idle population
	source if the manager changes.

	* tests/testrecentchoosermenu.c: Test the appending and
	prepending of the menu items to the recent chooser menu
	widget.

svn path=/trunk/; revision=17281
2007-02-09 14:24:19 +00:00
..
2006-10-02 17:33:08 +00:00
1997-11-24 22:37:52 +00:00
1998-02-27 06:13:22 +00:00
1997-11-24 22:37:52 +00:00
2006-04-07 17:18:08 +00:00
1997-11-24 22:37:52 +00:00
2003-09-30 20:55:24 +00:00
2003-09-30 20:55:24 +00:00
1997-11-24 22:37:52 +00:00
2002-10-13 23:22:33 +00:00
2004-11-12 05:42:49 +00:00
2006-06-16 16:39:09 +00:00
2006-12-31 00:49:44 +00:00
2005-07-13 05:44:22 +00:00
1997-11-24 22:37:52 +00:00
2005-07-12 18:08:20 +00:00
2004-10-28 15:00:05 +00:00
2004-09-30 14:46:21 +00:00
2006-04-26 12:39:25 +00:00
2006-06-09 01:55:29 +00:00
2004-10-28 15:00:05 +00:00
2006-01-24 10:49:29 +00:00