Added stock icon to About menuitem
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 2 Mar 2009 22:40:30 +0000 (07:40 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 2 Mar 2009 22:40:30 +0000 (07:40 +0900)
src/ui/gui/psppire-syntax-window.c

index b735f35cb241088b58a5ebb5fe1b120d3d0cd524..d47b59b3d8b31bd0385167f0924d979123650cd6 100644 (file)
@@ -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",