Mercurial > pidgin
comparison src/buddy.c @ 438:881f5d538f15
[gaim-migrate @ 448]
Added hit detection on ticker -- clicking on a name is like double clicking
in the online buddy list, and brings up an IM window.
committer: Tailor Script <tailor@pidgin.im>
author | Syd Logan <slogan> |
---|---|
date | Sun, 25 Jun 2000 17:00:24 +0000 |
parents | 7d5f91c1ff20 |
children | 6a92cd7322cc |
comparison
equal
deleted
inserted
replaced
437:9c113e5c5363 | 438:881f5d538f15 |
---|---|
398 | 398 |
399 if (c != NULL) { | 399 if (c != NULL) { |
400 gdk_window_show(c->window->window); | 400 gdk_window_show(c->window->window); |
401 } else { | 401 } else { |
402 c = new_conversation(b->name); | 402 c = new_conversation(b->name); |
403 } | |
404 } | |
405 | |
406 void pressed_ticker(char *buddy) | |
407 { | |
408 struct conversation *c; | |
409 | |
410 c = find_conversation(buddy); | |
411 | |
412 if (c != NULL) { | |
413 gdk_window_show(c->window->window); | |
414 } else { | |
415 c = new_conversation(buddy); | |
403 } | 416 } |
404 } | 417 } |
405 | 418 |
406 void pressed_info(GtkWidget *widget, struct buddy *b) | 419 void pressed_info(GtkWidget *widget, struct buddy *b) |
407 { | 420 { |