Mercurial > pidgin.yaz
comparison pidgin/plugins/musicmessaging/musicmessaging.c @ 15501:d75099d2567e
gaim_gtk to pidgin. I hope
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 03 Feb 2007 07:23:11 +0000 |
parents | 5fe8042783c1 |
children | 535f002e7b0f |
comparison
equal
deleted
inserted
replaced
15500:45ecefd0ce3a | 15501:d75099d2567e |
---|---|
595 | 595 |
596 gtk_widget_show(sep); | 596 gtk_widget_show(sep); |
597 gtk_widget_show(image); | 597 gtk_widget_show(image); |
598 gtk_widget_show(button); | 598 gtk_widget_show(button); |
599 | 599 |
600 gtk_box_pack_start(GTK_BOX(GAIM_GTK_CONVERSATION(conv)->toolbar), sep, FALSE, FALSE, 0); | 600 gtk_box_pack_start(GTK_BOX(PIDGIN_CONVERSATION(conv)->toolbar), sep, FALSE, FALSE, 0); |
601 gtk_box_pack_start(GTK_BOX(GAIM_GTK_CONVERSATION(conv)->toolbar), button, FALSE, FALSE, 0); | 601 gtk_box_pack_start(GTK_BOX(PIDGIN_CONVERSATION(conv)->toolbar), button, FALSE, FALSE, 0); |
602 } | 602 } |
603 | 603 |
604 static void remove_widget (GtkWidget *button) | 604 static void remove_widget (GtkWidget *button) |
605 { | 605 { |
606 gtk_widget_hide(button); | 606 gtk_widget_hide(button); |
620 /* Outside container */ | 620 /* Outside container */ |
621 ret = gtk_vbox_new(FALSE, 18); | 621 ret = gtk_vbox_new(FALSE, 18); |
622 gtk_container_set_border_width(GTK_CONTAINER(ret), 10); | 622 gtk_container_set_border_width(GTK_CONTAINER(ret), 10); |
623 | 623 |
624 /* Configuration frame */ | 624 /* Configuration frame */ |
625 vbox = gaim_gtk_make_frame(ret, _("Music Messaging Configuration")); | 625 vbox = pidgin_make_frame(ret, _("Music Messaging Configuration")); |
626 | 626 |
627 /* Path to the score editor */ | 627 /* Path to the score editor */ |
628 editor_path = gtk_entry_new(); | 628 editor_path = gtk_entry_new(); |
629 editor_path_label = gtk_label_new(_("Score Editor Path")); | 629 editor_path_label = gtk_label_new(_("Score Editor Path")); |
630 editor_path_button = gtk_button_new_with_mnemonic(_("_Apply")); | 630 editor_path_button = gtk_button_new_with_mnemonic(_("_Apply")); |
641 gtk_widget_show_all(ret); | 641 gtk_widget_show_all(ret); |
642 | 642 |
643 return ret; | 643 return ret; |
644 } | 644 } |
645 | 645 |
646 static GaimGtkPluginUiInfo ui_info = | 646 static PidginPluginUiInfo ui_info = |
647 { | 647 { |
648 get_config_frame, | 648 get_config_frame, |
649 0 /* page_num (reserved) */ | 649 0 /* page_num (reserved) */ |
650 }; | 650 }; |
651 | 651 |
652 static GaimPluginInfo info = { | 652 static GaimPluginInfo info = { |
653 GAIM_PLUGIN_MAGIC, | 653 GAIM_PLUGIN_MAGIC, |
654 GAIM_MAJOR_VERSION, | 654 GAIM_MAJOR_VERSION, |
655 GAIM_MINOR_VERSION, | 655 GAIM_MINOR_VERSION, |
656 GAIM_PLUGIN_STANDARD, /**< type */ | 656 GAIM_PLUGIN_STANDARD, /**< type */ |
657 GAIM_GTK_PLUGIN_TYPE, /**< ui_requirement */ | 657 PIDGIN_PLUGIN_TYPE, /**< ui_requirement */ |
658 0, /**< flags */ | 658 0, /**< flags */ |
659 NULL, /**< dependencies */ | 659 NULL, /**< dependencies */ |
660 GAIM_PRIORITY_DEFAULT, /**< priority */ | 660 GAIM_PRIORITY_DEFAULT, /**< priority */ |
661 | 661 |
662 MUSICMESSAGING_PLUGIN_ID, /**< id */ | 662 MUSICMESSAGING_PLUGIN_ID, /**< id */ |