gtk+ r22209 - in trunk: . tests
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22209 - in trunk: . tests
- Date: Sat, 24 Jan 2009 21:53:29 +0000 (UTC)
Author: matthiasc
Date: Sat Jan 24 21:53:29 2009
New Revision: 22209
URL: http://svn.gnome.org/viewvc/gtk+?rev=22209&view=rev
Log:
Test icon names in actions with toolitems
Modified:
trunk/ChangeLog
trunk/tests/testactions.c
Modified: trunk/tests/testactions.c
==============================================================================
--- trunk/tests/testactions.c (original)
+++ trunk/tests/testactions.c Sat Jan 24 21:53:29 2009
@@ -129,6 +129,8 @@
{ "Menu2Action", NULL, "Menu _2" },
{ "Menu3Action", NULL, "_Dynamic Menu" },
+ { "attach", "mail-attachment", "_Attachment...", "<Control>m",
+ "Attach a file", G_CALLBACK (activate_action) },
{ "cut", GTK_STOCK_CUT, "C_ut", "<control>X",
"Cut the selected text to the clipboard", G_CALLBACK (activate_action) },
{ "copy", GTK_STOCK_COPY, "_Copy", "<control>C",
@@ -226,6 +228,7 @@
" <menu name=\"DynamicMenu\" action=\"Menu3Action\" />\n"
" </menubar>\n"
" <toolbar name=\"toolbar\">\n"
+" <toolitem name=\"attach\" action=\"attach\" />\n"
" <toolitem name=\"cut\" action=\"cut\" />\n"
" <toolitem name=\"copy\" action=\"copy\" />\n"
" <toolitem name=\"paste\" action=\"paste\" />\n"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]