Mercurial > pidgin.yaz
comparison pidgin/gtkplugin.c @ 27782:9cd7892b2c8b
propagate from branch 'im.pidgin.pidgin' (head dfdceb0b08475c3e5750b3e6430d154e9a747d67)
to branch 'im.pidgin.pidgin.yaz' (head 7982395e45644f3f5d8b4a39018946e19ea9572f)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 04 Mar 2008 18:12:32 +0000 |
parents | 19f26913fe71 |
children | f693749f82d2 |
comparison
equal
deleted
inserted
replaced
27781:11713f052640 | 27782:9cd7892b2c8b |
---|---|
557 if (!gtk_tree_model_get_iter(model, &iter, path)) | 557 if (!gtk_tree_model_get_iter(model, &iter, path)) |
558 return FALSE; | 558 return FALSE; |
559 | 559 |
560 gtk_tree_model_get(model, &iter, 2, &plugin, -1); | 560 gtk_tree_model_get(model, &iter, 2, &plugin, -1); |
561 | 561 |
562 markup = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>\n<b>Description:</b> %s\n<b>Author:</b> %s", | 562 markup = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>\n<b>%s:</b> %s\n<b>%s:</b> %s", |
563 name = g_markup_escape_text(purple_plugin_get_name(plugin), -1), | 563 name = g_markup_escape_text(purple_plugin_get_name(plugin), -1), |
564 desc = g_markup_escape_text(purple_plugin_get_description(plugin), -1), | 564 _("Description"), desc = g_markup_escape_text(purple_plugin_get_description(plugin), -1), |
565 author = g_markup_escape_text(purple_plugin_get_author(plugin), -1)); | 565 _("Author"), author = g_markup_escape_text(purple_plugin_get_author(plugin), -1)); |
566 | 566 |
567 layout = gtk_widget_create_pango_layout(tipwindow, NULL); | 567 layout = gtk_widget_create_pango_layout(tipwindow, NULL); |
568 pango_layout_set_markup(layout, markup, -1); | 568 pango_layout_set_markup(layout, markup, -1); |
569 pango_layout_set_wrap(layout, PANGO_WRAP_WORD); | 569 pango_layout_set_wrap(layout, PANGO_WRAP_WORD); |
570 pango_layout_set_width(layout, 600000); | 570 pango_layout_set_width(layout, 600000); |