| 20108:54b6fc31c703 | 20109:47e44a7b0fb9 |
|---|---|
| 283 if (about != NULL) | 283 if (about != NULL) |
| 284 gtk_widget_destroy(about); | 284 gtk_widget_destroy(about); |
| 285 about = NULL; | 285 about = NULL; |
| 286 } | 286 } |
| 287 | 287 |
| 288 #if 0 | |
| 288 /* This function puts the version number onto the pixmap we use in the 'about' | 289 /* This function puts the version number onto the pixmap we use in the 'about' |
| 289 * screen in Pidgin. */ | 290 * screen in Pidgin. */ |
| 290 static void | 291 static void |
| 291 pidgin_logo_versionize(GdkPixbuf **original, GtkWidget *widget) { | 292 pidgin_logo_versionize(GdkPixbuf **original, GtkWidget *widget) { |
| 292 GdkPixmap *pixmap; | 293 GdkPixmap *pixmap; |
| 320 *original = gdk_pixbuf_get_from_drawable(NULL, pixmap, NULL, | 321 *original = gdk_pixbuf_get_from_drawable(NULL, pixmap, NULL, |
| 321 0, 0, 0, 0, | 322 0, 0, 0, 0, |
| 322 width, height); | 323 width, height); |
| 323 g_object_unref(G_OBJECT(pixmap)); | 324 g_object_unref(G_OBJECT(pixmap)); |
| 324 } | 325 } |
| 326 #endif | |
| 325 | 327 |
| 326 void pidgin_dialogs_about() | 328 void pidgin_dialogs_about() |
| 327 { | 329 { |
| 328 GtkWidget *hbox; | 330 GtkWidget *hbox; |
| 329 GtkWidget *vbox; | 331 GtkWidget *vbox; |
| 381 frame = pidgin_create_imhtml(FALSE, &text, NULL, NULL); | 383 frame = pidgin_create_imhtml(FALSE, &text, NULL, NULL); |
| 382 gtk_imhtml_set_format_functions(GTK_IMHTML(text), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY); | 384 gtk_imhtml_set_format_functions(GTK_IMHTML(text), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY); |
| 383 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); | 385 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); |
| 384 | 386 |
| 385 str = g_string_sized_new(4096); | 387 str = g_string_sized_new(4096); |
| 388 | |
| 389 g_string_append_printf(str, | |
| 390 "<CENTER><FONT SIZE=\"4\"><B>%s %s</B></FONT></CENTER><BR><BR>", PIDGIN_NAME, VERSION); | |
| 386 | 391 |
| 387 g_string_append_printf(str, | 392 g_string_append_printf(str, |
| 388 _("%s is a graphical modular messaging client based on " | 393 _("%s is a graphical modular messaging client based on " |
| 389 "libpurple which is capable of connecting to " | 394 "libpurple which is capable of connecting to " |
| 390 "AIM, MSN, Yahoo!, XMPP, ICQ, IRC, SILC, SIP/SIMPLE, " | 395 "AIM, MSN, Yahoo!, XMPP, ICQ, IRC, SILC, SIP/SIMPLE, " |