Mercurial > pidgin.yaz
comparison src/buddy.c @ 1509:defa15eb9147
[gaim-migrate @ 1519]
comment out Rename for now.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 26 Feb 2001 22:15:28 +0000 |
parents | de0b946e86a4 |
children | f7bef430ccd1 |
comparison
equal
deleted
inserted
replaced
1508:125329e00586 | 1509:defa15eb9147 |
---|---|
521 return TRUE; | 521 return TRUE; |
522 | 522 |
523 node = gtk_ctree_node_nth(GTK_CTREE(edittree), row); | 523 node = gtk_ctree_node_nth(GTK_CTREE(edittree), row); |
524 type = gtk_ctree_node_get_row_data(GTK_CTREE(edittree), node); | 524 type = gtk_ctree_node_get_row_data(GTK_CTREE(edittree), node); |
525 if (*type == EDIT_GROUP) { | 525 if (*type == EDIT_GROUP) { |
526 /*struct group *group = (struct group *)type;*/ | 526 /*struct group *group = (struct group *)type; |
527 menu = gtk_menu_new(); | 527 menu = gtk_menu_new(); |
528 | 528 |
529 button = gtk_menu_item_new_with_label(_("Rename")); | 529 button = gtk_menu_item_new_with_label(_("Rename")); |
530 /* | |
531 gtk_signal_connect(GTK_OBJECT(button), "activate", | 530 gtk_signal_connect(GTK_OBJECT(button), "activate", |
532 GTK_SIGNAL_FUNC(rename_group), node); | 531 GTK_SIGNAL_FUNC(rename_group), node); |
533 */ | |
534 gtk_menu_append(GTK_MENU(menu), button); | 532 gtk_menu_append(GTK_MENU(menu), button); |
535 gtk_widget_show(button); | 533 gtk_widget_show(button); |
536 | 534 |
537 gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, | 535 gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, |
538 event->button, event->time); | 536 event->button, event->time); |
537 */ | |
539 } else if (*type == EDIT_BUDDY) { | 538 } else if (*type == EDIT_BUDDY) { |
540 struct buddy *b = (struct buddy *)type; | 539 struct buddy *b = (struct buddy *)type; |
541 menu = gtk_menu_new(); | 540 menu = gtk_menu_new(); |
542 | 541 |
543 button = gtk_menu_item_new_with_label(_("Alias")); | 542 button = gtk_menu_item_new_with_label(_("Alias")); |