Mercurial > pidgin
comparison src/conversation.c @ 862:2ee4e61832a4
[gaim-migrate @ 872]
if rob can play with the UI, i can too, right? :) besides, it's very easily changed
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Fri, 08 Sep 2000 06:44:55 +0000 |
| parents | 00fb90babcb2 |
| children | 4a6ab6995439 |
comparison
equal
deleted
inserted
replaced
| 861:00fb90babcb2 | 862:2ee4e61832a4 |
|---|---|
| 1482 smiley_i = gdk_pixmap_create_from_xpm_d(win->window, &mask, &win->style->white, smile_icon_xpm); | 1482 smiley_i = gdk_pixmap_create_from_xpm_d(win->window, &mask, &win->style->white, smile_icon_xpm); |
| 1483 smiley_p = gtk_pixmap_new(smiley_i, mask); | 1483 smiley_p = gtk_pixmap_new(smiley_i, mask); |
| 1484 gtk_widget_show(smiley_p); | 1484 gtk_widget_show(smiley_p); |
| 1485 gdk_bitmap_unref(mask); | 1485 gdk_bitmap_unref(mask); |
| 1486 | 1486 |
| 1487 fgcolorbtn = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | |
| 1488 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | |
| 1489 NULL, _("Color"), _("Text Color"), | |
| 1490 _("Color"), fgcolor_p, GTK_SIGNAL_FUNC(toggle_fg_color), c); | |
| 1491 bgcolorbtn = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | |
| 1492 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | |
| 1493 NULL, _("Color"), _("Background Color"), | |
| 1494 _("Color"), bgcolor_p, GTK_SIGNAL_FUNC(toggle_bg_color), c); | |
| 1495 | |
| 1496 bold = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 1487 bold = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), |
| 1497 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, | 1488 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, NULL, |
| 1498 _("Bold"), _("Bold Text"), _("Bold"), bold_p, | 1489 _("Bold"), _("Bold Text"), _("Bold"), bold_p, |
| 1499 GTK_SIGNAL_FUNC(do_bold), entry); | 1490 GTK_SIGNAL_FUNC(do_bold), entry); |
| 1500 italic = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 1491 italic = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), |
| 1517 _("Normal"), _("Normal font size"), _("Normal"), | 1508 _("Normal"), _("Normal font size"), _("Normal"), |
| 1518 normal_p, GTK_SIGNAL_FUNC(do_normal), entry); | 1509 normal_p, GTK_SIGNAL_FUNC(do_normal), entry); |
| 1519 big = gtk_toolbar_append_item(GTK_TOOLBAR(toolbar), | 1510 big = gtk_toolbar_append_item(GTK_TOOLBAR(toolbar), |
| 1520 _("Big"), _("Increase font size"), _("Big"), | 1511 _("Big"), _("Increase font size"), _("Big"), |
| 1521 big_p, GTK_SIGNAL_FUNC(do_big), entry); | 1512 big_p, GTK_SIGNAL_FUNC(do_big), entry); |
| 1513 | |
| 1514 gtk_toolbar_append_space(GTK_TOOLBAR(toolbar)); | |
| 1515 | |
| 1522 font = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 1516 font = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), |
| 1523 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | 1517 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, |
| 1524 NULL, _("Font"), _("Select Font"), | 1518 NULL, _("Font"), _("Select Font"), |
| 1525 _("Font"), font_p, GTK_SIGNAL_FUNC(toggle_font), c); | 1519 _("Font"), font_p, GTK_SIGNAL_FUNC(toggle_font), c); |
| 1520 fgcolorbtn = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | |
| 1521 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | |
| 1522 NULL, _("Color"), _("Text Color"), | |
| 1523 _("Color"), fgcolor_p, GTK_SIGNAL_FUNC(toggle_fg_color), c); | |
| 1524 bgcolorbtn = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | |
| 1525 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | |
| 1526 NULL, _("Color"), _("Background Color"), | |
| 1527 _("Color"), bgcolor_p, GTK_SIGNAL_FUNC(toggle_bg_color), c); | |
| 1528 | |
| 1526 gtk_toolbar_append_space(GTK_TOOLBAR(toolbar)); | 1529 gtk_toolbar_append_space(GTK_TOOLBAR(toolbar)); |
| 1530 | |
| 1527 link = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 1531 link = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), |
| 1528 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | 1532 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, |
| 1529 NULL, _("Link"), _("Insert Link"), | 1533 NULL, _("Link"), _("Insert Link"), |
| 1530 _("Link"), link_p, GTK_SIGNAL_FUNC(toggle_link), c); | 1534 _("Link"), link_p, GTK_SIGNAL_FUNC(toggle_link), c); |
| 1535 smiley = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | |
| 1536 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | |
| 1537 NULL, _("Smiley"), _("Insert smiley face"), _("Smiley"), | |
| 1538 smiley_p, GTK_SIGNAL_FUNC(insert_smiley), c); | |
| 1539 | |
| 1540 gtk_toolbar_append_space(GTK_TOOLBAR(toolbar)); | |
| 1541 | |
| 1531 wood = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 1542 wood = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), |
| 1532 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | 1543 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, |
| 1533 NULL, _("Logging"), _("Enable logging"), | 1544 NULL, _("Logging"), _("Enable logging"), |
| 1534 _("Logging"), wood_p, GTK_SIGNAL_FUNC(toggle_loggle), c); | 1545 _("Logging"), wood_p, GTK_SIGNAL_FUNC(toggle_loggle), c); |
| 1535 smiley = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | |
| 1536 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | |
| 1537 NULL, _("Smiley"), _("Insert smiley face"), _("Smiley"), | |
| 1538 smiley_p, GTK_SIGNAL_FUNC(insert_smiley), c); | |
| 1539 speaker = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), | 1546 speaker = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), |
| 1540 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, | 1547 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, |
| 1541 NULL, _("Sound"), _("Enable sounds"), | 1548 NULL, _("Sound"), _("Enable sounds"), |
| 1542 _("Sound"), speaker_p, GTK_SIGNAL_FUNC(set_option), &c->makesound); | 1549 _("Sound"), speaker_p, GTK_SIGNAL_FUNC(set_option), &c->makesound); |
| 1543 c->makesound=0; | 1550 c->makesound=0; |
