comparison src/buddy.c @ 423:0d4e80bdb96b

[gaim-migrate @ 433] No more --enable-oscar option. From now on, it's a toggle in the preferences. PLEASE DO NOT USE OSCAR, even though it's very easy to. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 21 Jun 2000 19:33:58 +0000
parents d6f02d7f78d8
children 0cd2ba801eb4
comparison
equal deleted inserted replaced
422:7cd05539952d 423:0d4e80bdb96b
450 gtk_signal_connect(GTK_OBJECT(button), "activate", 450 gtk_signal_connect(GTK_OBJECT(button), "activate",
451 GTK_SIGNAL_FUNC(pressed_dir_info), b); 451 GTK_SIGNAL_FUNC(pressed_dir_info), b);
452 gtk_menu_append(GTK_MENU(menu), button); 452 gtk_menu_append(GTK_MENU(menu), button);
453 gtk_widget_show(button); 453 gtk_widget_show(button);
454 454
455 #ifdef USE_OSCAR /* FIXME : someday maybe TOC can do this too */ 455 if (USE_OSCAR) {
456 button = gtk_menu_item_new_with_label(_("Away Msg")); 456 button = gtk_menu_item_new_with_label(_("Away Msg"));
457 gtk_signal_connect(GTK_OBJECT(button), "activate", 457 gtk_signal_connect(GTK_OBJECT(button), "activate",
458 GTK_SIGNAL_FUNC(pressed_away_msg), b); 458 GTK_SIGNAL_FUNC(pressed_away_msg), b);
459 gtk_menu_append(GTK_MENU(menu), button); 459 gtk_menu_append(GTK_MENU(menu), button);
460 gtk_widget_show(button); 460 gtk_widget_show(button);
461 #endif 461 }
462 462
463 button = gtk_menu_item_new_with_label(_("Toggle Logging")); 463 button = gtk_menu_item_new_with_label(_("Toggle Logging"));
464 gtk_signal_connect(GTK_OBJECT(button), "activate", 464 gtk_signal_connect(GTK_OBJECT(button), "activate",
465 GTK_SIGNAL_FUNC(log_callback), b->name); 465 GTK_SIGNAL_FUNC(log_callback), b->name);
466 gtk_menu_append(GTK_MENU(menu), button); 466 gtk_menu_append(GTK_MENU(menu), button);
1634 permdeny = (int)data; 1634 permdeny = (int)data;
1635 /* printf("BLAH BLAH %d %d", permdeny, (int) data); */ 1635 /* printf("BLAH BLAH %d %d", permdeny, (int) data); */
1636 /* We don't save this 'at home', it's on the server. 1636 /* We don't save this 'at home', it's on the server.
1637 * So, we gotta resend the config to the server. */ 1637 * So, we gotta resend the config to the server. */
1638 serv_save_config(); 1638 serv_save_config();
1639 #ifdef USE_OSCAR
1640 /* we do this here because we can :) */ 1639 /* we do this here because we can :) */
1641 serv_set_permit_deny(); 1640 serv_set_permit_deny();
1642 #endif
1643 } 1641 }
1644 1642
1645 1643
1646 static void move_blist_window(GtkWidget *w, GdkEventConfigure *e, void *dummy) 1644 static void move_blist_window(GtkWidget *w, GdkEventConfigure *e, void *dummy)
1647 { 1645 {