forked from AuroraMiddleware/gtk
Test icon names in actions with toolitems
svn path=/trunk/; revision=22209
This commit is contained in:
parent
a576e0c9fa
commit
a8c2a3eb9f
@ -1,4 +1,9 @@
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user