changeset 17920:677a57f12e28

Add stock icon to about menu.
author Gabriel Schulhof <nix@go-nix.ca>
date Sun, 03 Jun 2007 21:10:12 +0000
parents 2e1131c31941
children ceaa0940bfd6
files pidgin/gtkblist.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sun Jun 03 19:15:42 2007 +0000
+++ b/pidgin/gtkblist.c	Sun Jun 03 21:10:12 2007 +0000
@@ -2851,7 +2851,11 @@
 	{ N_("/Buddies/Add C_hat..."), NULL, pidgin_blist_add_chat_cb, 0, "<StockItem>", GTK_STOCK_ADD },
 	{ N_("/Buddies/Add _Group..."), NULL, purple_blist_request_add_group, 0, "<StockItem>", GTK_STOCK_ADD },
 	{ "/Buddies/sep3", NULL, NULL, 0, "<Separator>", NULL },
+#if GTK_CHECK_VERSION(2,6,0)
+	{ N_("/Buddies/_About Pidgin"), NULL, pidgin_dialogs_about, 0,  "<Item>", GTK_STOCK_ABOUT },
+#else /* GTK < 2.6.0 */
 	{ N_("/Buddies/_About Pidgin"), NULL, pidgin_dialogs_about, 0,  "<Item>", NULL },
+#endif /* GTK >= 2.6.0 */
 	{ N_("/Buddies/_Quit"), "<CTL>Q", purple_core_quit, 0, "<StockItem>", GTK_STOCK_QUIT },
 
 	/* Accounts menu */