From: John Darrington Date: Mon, 2 Mar 2009 22:40:30 +0000 (+0900) Subject: Added stock icon to About menuitem X-Git-Tag: v0.7.3~262 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81016c80097094353a815f87f68bba672bf17e3e;p=pspp-builds.git Added stock icon to About menuitem --- 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",