ayttm-commits
[Top][All Lists]
Advanced

[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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]