comparison src/gtkpounce.c @ 12141:dcd2bcad2f3d

[gaim-migrate @ 14442] These strings have been bothering me for quite some time. Flame me if you object to the changes. I also changed the default pounce action to 'pop up notification'. This isn't a big deal, as the action(s) you choose are saved as the default for the next time. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 18 Nov 2005 23:35:26 +0000
parents 44104dfce57b
children 0c672be21798
comparison
equal deleted inserted replaced
12140:ed6c64e5e0ed 12141:dcd2bcad2f3d
539 else if (name != NULL) { 539 else if (name != NULL) {
540 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), name); 540 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), name);
541 } 541 }
542 542
543 /* Create the "Pounce When" frame. */ 543 /* Create the "Pounce When" frame. */
544 frame = gaim_gtk_make_frame(vbox2, _("Pounce When")); 544 frame = gaim_gtk_make_frame(vbox2, _("Pounce When Buddy..."));
545 545
546 table = gtk_table_new(2, 4, FALSE); 546 table = gtk_table_new(2, 4, FALSE);
547 gtk_container_add(GTK_CONTAINER(frame), table); 547 gtk_container_add(GTK_CONTAINER(frame), table);
548 gtk_table_set_col_spacings(GTK_TABLE(table), GAIM_HIG_BORDER); 548 gtk_table_set_col_spacings(GTK_TABLE(table), GAIM_HIG_BORDER);
549 gtk_widget_show(table); 549 gtk_widget_show(table);
550 550
551 dialog->signon = 551 dialog->signon =
552 gtk_check_button_new_with_mnemonic(_("Si_gn on")); 552 gtk_check_button_new_with_mnemonic(_("Si_gns on"));
553 dialog->signoff = 553 dialog->signoff =
554 gtk_check_button_new_with_mnemonic(_("Sign _off")); 554 gtk_check_button_new_with_mnemonic(_("Signs _off"));
555 dialog->away = 555 dialog->away =
556 gtk_check_button_new_with_mnemonic(_("A_way")); 556 gtk_check_button_new_with_mnemonic(_("Goes a_way"));
557 dialog->away_return = 557 dialog->away_return =
558 gtk_check_button_new_with_mnemonic(_("_Return from away")); 558 gtk_check_button_new_with_mnemonic(_("_Returns from away"));
559 dialog->idle = 559 dialog->idle =
560 gtk_check_button_new_with_mnemonic(_("_Idle")); 560 gtk_check_button_new_with_mnemonic(_("Becomes _Idle"));
561 dialog->idle_return = 561 dialog->idle_return =
562 gtk_check_button_new_with_mnemonic(_("Retur_n from idle")); 562 gtk_check_button_new_with_mnemonic(_("Is _no longer idle"));
563 dialog->typing = 563 dialog->typing =
564 gtk_check_button_new_with_mnemonic(_("Buddy starts _typing")); 564 gtk_check_button_new_with_mnemonic(_("Starts _typing"));
565 dialog->stop_typing = 565 dialog->stop_typing =
566 gtk_check_button_new_with_mnemonic(_("Buddy stops t_yping")); 566 gtk_check_button_new_with_mnemonic(_("Stops t_yping"));
567 567
568 gtk_table_attach(GTK_TABLE(table), dialog->signon, 0, 1, 0, 1, 568 gtk_table_attach(GTK_TABLE(table), dialog->signon, 0, 1, 0, 1,
569 GTK_FILL, 0, 0, 0); 569 GTK_FILL, 0, 0, 0);
570 gtk_table_attach(GTK_TABLE(table), dialog->signoff, 1, 2, 0, 1, 570 gtk_table_attach(GTK_TABLE(table), dialog->signoff, 1, 2, 0, 1,
571 GTK_FILL, 0, 0, 0); 571 GTK_FILL, 0, 0, 0);
600 gtk_widget_show(table); 600 gtk_widget_show(table);
601 601
602 dialog->open_win 602 dialog->open_win
603 = gtk_check_button_new_with_mnemonic(_("Op_en an IM window")); 603 = gtk_check_button_new_with_mnemonic(_("Op_en an IM window"));
604 dialog->popup 604 dialog->popup
605 = gtk_check_button_new_with_mnemonic(_("_Popup notification")); 605 = gtk_check_button_new_with_mnemonic(_("_Pop up a notification"));
606 dialog->send_msg 606 dialog->send_msg
607 = gtk_check_button_new_with_mnemonic(_("Send a _message")); 607 = gtk_check_button_new_with_mnemonic(_("Send a _message"));
608 dialog->exec_cmd 608 dialog->exec_cmd
609 = gtk_check_button_new_with_mnemonic(_("E_xecute a command")); 609 = gtk_check_button_new_with_mnemonic(_("E_xecute a command"));
610 dialog->play_sound 610 dialog->play_sound
696 g_signal_connect(G_OBJECT(dialog->play_sound_entry), "activate", 696 g_signal_connect(G_OBJECT(dialog->play_sound_entry), "activate",
697 G_CALLBACK(save_pounce_cb), dialog); 697 G_CALLBACK(save_pounce_cb), dialog);
698 698
699 /* Now the last part, where we have the Save checkbox */ 699 /* Now the last part, where we have the Save checkbox */
700 dialog->save_pounce = gtk_check_button_new_with_mnemonic( 700 dialog->save_pounce = gtk_check_button_new_with_mnemonic(
701 _("Sav_e this pounce after activation")); 701 _("K_eep this pounce after the first time it runs"));
702 702
703 gtk_box_pack_start(GTK_BOX(vbox2), dialog->save_pounce, FALSE, FALSE, 0); 703 gtk_box_pack_start(GTK_BOX(vbox2), dialog->save_pounce, FALSE, FALSE, 0);
704 704
705 /* Now the button box! */ 705 /* Now the button box! */
706 bbox = gtk_hbutton_box_new(); 706 bbox = gtk_hbutton_box_new();
1523 gaim_prefs_add_none("/gaim/gtk/pounces"); 1523 gaim_prefs_add_none("/gaim/gtk/pounces");
1524 gaim_prefs_add_none("/gaim/gtk/pounces/default_actions"); 1524 gaim_prefs_add_none("/gaim/gtk/pounces/default_actions");
1525 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/open-window", 1525 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/open-window",
1526 FALSE); 1526 FALSE);
1527 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/popup-notify", 1527 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/popup-notify",
1528 TRUE);
1529 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/send-message",
1528 FALSE); 1530 FALSE);
1529 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/send-message",
1530 TRUE);
1531 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/execute-command", 1531 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/execute-command",
1532 FALSE); 1532 FALSE);
1533 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/play-sound", 1533 gaim_prefs_add_bool("/gaim/gtk/pounces/default_actions/play-sound",
1534 FALSE); 1534 FALSE);
1535 gaim_prefs_add_none("/gaim/gtk/pounces/dialog"); 1535 gaim_prefs_add_none("/gaim/gtk/pounces/dialog");