Commit a8c2a3eb authored by Matthias Clasen's avatar Matthias Clasen

Test icon names in actions with toolitems

svn path=/trunk/; revision=22209
parent a576e0c9
2009-01-23 Matthias Clasen <mclasen@redhat.com>
2009-01-24 Matthias Clasen <mclasen@redhat.com>
* tests/testactions.c: Add a testcase for toolitems using
icon names.
2009-01-24 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
Don't update blank cursors.
......
......@@ -129,6 +129,8 @@ static GtkActionEntry entries[] = {
{ "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 @@ static const gchar *ui_info =
" <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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment