gtk/tests
Matthias Clasen 57f13d815d Test handling of empty menus.
2003-09-30  Matthias Clasen  <maclas@gmx.de>

	* tests/merge-*.ui:
	* tests/testmerge.c: Test handling of empty menus.

	* gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine
	whether a menu is empty. Used in gtkaction.c.
	(update_smart_separators): Also update the visibility of empty menus.
	(update_node): When creating a new menu proxy, insert an "Empty" menu
	item which only gets shown if the menu is empty.

	* gtk/gtkaction.c (gtk_action_class_init): Document the meaning of
	"is_important" for menu proxies.
	(_gtk_action_sync_menu_visible): New function to sync the visibility
	of menu proxies. Used in gtkuimanager.c.
	(gtk_action_sync_visible): New function to sync the visibility of
	proxies.
2003-09-30 20:55:24 +00:00
..
test-images image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
.cvsignore Add stresstest-toolbar 2003-07-18 07:50:54 +00:00
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
apple-red.png Insert cast to fix warning. Assign something to old_value to quiet gcc 2003-07-03 01:02:04 +00:00
check-n.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
check-y.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
circles.xbm gtk/gtktext.c 1998-02-27 06:13:22 +00:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am Landing the new ComboBox. Note that only gtkcombobox.h and 2003-09-26 21:57:06 +00:00
makefile.msc new file to build it all ... added to EXTRA_DIST 2003-07-20 15:50:14 +00:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
merge-1.ui Test handling of empty menus. 2003-09-30 20:55:24 +00:00
merge-2.ui Test handling of empty menus. 2003-09-30 20:55:24 +00:00
merge-3.ui Change the XML format: <Root> element is replaced by <ui>, <menu> element 2003-08-27 22:22:28 +00:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
pixbuf-lowmem.c image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
pixbuf-random.c image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
pixbuf-randomly-modified.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
pixbuf-read.c image files for testing pixbuf loaders the old test-loaders.c split into 2002-05-05 00:59:42 +00:00
prop-editor.c Add navigation for object properties, so that you can easily edit the 2003-05-16 22:14:30 +00:00
prop-editor.h Make it work, even if the window is already realized or mapped. 2002-04-30 23:44:14 +00:00
simple.c marshaller fixes. 2001-03-07 14:49:21 +00:00
stresstest-toolbar.c remove this accidentally committed file. 2003-07-04 17:38:08 +00:00
test.xpm Initial revision 1997-11-24 22:37:52 +00:00
testactions.c Add value parameter to allow setting the currently selected group member 2003-09-15 19:51:55 +00:00
testcalendar.c Use g_date_strftime(), fixing #74745. (Alper Ersoy) 2002-11-07 20:11:47 +00:00
testcombo.c Landing the new ComboBox. Note that only gtkcombobox.h and 2003-09-26 21:57:06 +00:00
testdnd.c Use g_setenv() instead of putenv(). 2003-08-02 21:35:44 +00:00
testfilechooser.c Added an API point about needing a way to fetch the hpaned position so we 2003-09-11 00:56:46 +00:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
testgtk.c Add table menu tests. 2003-09-11 21:02:24 +00:00
testgtkrc Add a --screen option for setting the default screen. (Based on a patch 2002-10-31 21:12:23 +00:00
testgtkrc2 Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
testicontheme.c Add a test program from gnome-desktop. 2003-07-03 21:26:35 +00:00
testinput.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testmenus.c add testmenus.c, a program to test menus when items are dynamically added 2002-11-08 20:16:43 +00:00
testmerge.c Test handling of empty menus. 2003-09-30 20:55:24 +00:00
testmultidisplay.c Don't include strings.h, it's not needed anymore. (#112388) 2003-05-06 21:33:22 +00:00
testmultiscreen.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testrgb.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testselection.c add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. 2002-11-20 01:07:33 +00:00
testsocket_child.c For XEMBED embedding add a _XEMBED_INFO property to the client with 2001-07-03 14:14:30 +00:00
testsocket_common.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testsocket.c add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. 2002-11-20 01:07:33 +00:00
testtext.c Turn off GTK_DISABLE_DEPRECATED, since this test uses the 2003-09-26 23:33:46 +00:00
testtextbuffer.c #include <stdlib.h> for putenv, <string.h> for strlen. 2003-01-09 02:38:13 +00:00
testthreads.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
testtoolbar.c connect to "delete_event" so the application will actually quit when you 2003-08-31 22:32:49 +00:00
testtreecolumns.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testtreeedit.c demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c 2003-02-28 01:45:51 +00:00
testtreeflow.c the rand variable should be static to avoid conflicts with rand(). 2002-12-19 02:38:27 +00:00
testtreefocus.c demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c 2003-02-28 01:45:51 +00:00
testtreesort.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
testtreeview-plan.txt handle case where there are no rows in the model 2001-01-09 17:45:34 +00:00
testtreeview.c demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c 2003-02-28 01:45:51 +00:00
testxinerama.c Deprecation cleanup 2002-10-13 23:22:33 +00:00
treestoretest.c Deprecation cleanup 2002-10-13 23:22:33 +00:00