summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-04-03 17:10:09 -0400
committerTingPing <tingping@tingping.se>2013-04-03 17:10:09 -0400
commitb4c8d53394d11ecd39826e284cf6b57e98528d08 (patch)
treeee4ecfcb0cc6653a1031863bce17f0916354c996 /src/fe-gtk
parent4c217d4ba35808f84099f705524399e703d09df7 (diff)
Support account-notify and extended-join capabilities
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/menu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c
index 74b1783f..fa7d5790 100644
--- a/src/fe-gtk/menu.c
+++ b/src/fe-gtk/menu.c
@@ -624,6 +624,13 @@ menu_create_nickinfo_menu (struct User *user, GtkWidget *submenu)
 	g_signal_connect (G_OBJECT (item), "activate",
 							G_CALLBACK (copy_to_clipboard_cb), 
 							user->hostname ? user->hostname : unknown);
+	
+	snprintf (buf, sizeof (buf), fmt, _("Account:"),
+				 user->account ? user->account : unknown);
+	item = menu_quick_item (0, buf, submenu, XCMENU_MARKUP, 0, 0);
+	g_signal_connect (G_OBJECT (item), "activate",
+							G_CALLBACK (copy_to_clipboard_cb), 
+							user->account ? user->account : unknown);
 
 	snprintf (buf, sizeof (buf), fmt, _("Country:"),
 				 user->hostname ? country(user->hostname) : unknown);