[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src status.c,1.4,1.5
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src status.c,1.4,1.5 |
Date: |
Mon, 30 Dec 2002 13:15:11 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv18593/src
Modified Files:
status.c
Log Message:
Xft2
Index: status.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/status.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- status.c 27 Dec 2002 17:25:32 -0000 1.4
+++ status.c 30 Dec 2002 18:15:09 -0000 1.5
@@ -332,12 +332,14 @@
GList *iterator;
GtkWidget *InfoMenu = gtk_menu_new();
GtkWidget *button;
-
+ char *buff = NULL;
for(iterator=c->accounts; iterator; iterator=iterator->next)
{
eb_account * account = (eb_account*)iterator->data;
if(account->online){
- button = gtk_menu_item_new_with_label(account->handle);
+ buff = g_strdup_printf("%s [%s]", account->handle,
get_service_name(account->service_id));
+ button = gtk_menu_item_new_with_label(buff);
+ free(buff);
gtk_signal_connect(GTK_OBJECT(button), "activate",
GTK_SIGNAL_FUNC(get_info),account);
gtk_menu_append(GTK_MENU(InfoMenu), button);
gtk_widget_show(button);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/src status.c,1.4,1.5,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.10,1.11 INSTALL,1.2,1.3 configure.in,1.9,1.10
- Next by Date:
[Ayttm-commits] CVS: ayttm/po translation-howtos,1.1.1.1,1.2
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.10,1.11 INSTALL,1.2,1.3 configure.in,1.9,1.10
- Next by thread:
[Ayttm-commits] CVS: ayttm/po translation-howtos,1.1.1.1,1.2
- Index(es):