comparison plugins/ticker/ticker.c @ 9620:c001be3c330e

[gaim-migrate @ 10464] Changes to those get_alias functions in blist.c from Christopher (siege) O'Brien: Renames gaim_get_buddy_alias to gaim_buddy_get_alias Renames gaim_get_buddy_alias_only to _gaim_buddy_get_alias_only Adds function gaim_buddy_get_contact_alias, which looks up a buddy's appropriate display name by order of: buddy alias; contact alias; server alias; buddy name. Note that the buddy alias is still the top-priority. Changed conversation.c to use _get_contact_alias rather than _get_alias The end result of this is that aliasing the contact will result in conversations with any of that contact's buddies using the contact alias. This allows people like myself to no longer have to alias each buddy to the same alias in order to achieve the same effect. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 31 Jul 2004 21:29:40 +0000
parents 294ae6548d4e
children 4a15962c344a
comparison
equal deleted inserted replaced
9619:da88e2cd5c53 9620:c001be3c330e
152 gtk_box_pack_start(GTK_BOX(hbox), td->icon, FALSE, FALSE, 5); 152 gtk_box_pack_start(GTK_BOX(hbox), td->icon, FALSE, FALSE, 5);
153 153
154 g_signal_connect(G_OBJECT(td->ebox), "button-press-event", 154 g_signal_connect(G_OBJECT(td->ebox), "button-press-event",
155 G_CALLBACK(buddy_click_cb), b); 155 G_CALLBACK(buddy_click_cb), b);
156 156
157 td->label = gtk_label_new(gaim_get_buddy_alias(b)); 157 td->label = gtk_label_new(gaim_buddy_get_alias(b));
158 gtk_box_pack_start(GTK_BOX(hbox), td->label, FALSE, FALSE, 5); 158 gtk_box_pack_start(GTK_BOX(hbox), td->label, FALSE, FALSE, 5);
159 159
160 gtk_widget_show_all(td->ebox); 160 gtk_widget_show_all(td->ebox);
161 gtk_widget_show(tickerwindow); 161 gtk_widget_show(tickerwindow);
162 162