From 81016c80097094353a815f87f68bba672bf17e3e Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 3 Mar 2009 07:40:30 +0900 Subject: [PATCH] Added stock icon to About menuitem --- src/ui/gui/psppire-syntax-window.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index b735f35c..d47b59b3 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -478,10 +478,15 @@ psppire_syntax_window_init (PsppireSyntaxWindow *window) window); #endif - g_signal_connect (get_action_assert (xml,"help_about"), - "activate", - G_CALLBACK (about_new), - window); + { + GtkAction *abt = get_action_assert (xml, "help_about"); + g_object_set (abt, "stock-id", "gtk-about", NULL); + + g_signal_connect (abt, + "activate", + G_CALLBACK (about_new), + window); + } g_signal_connect (get_action_assert (xml,"help_reference"), "activate", -- 2.30.2