gtk/gtkdialogs.c

changeset 15434
94dcf9e39d66
parent 15342
1b259c524a49
equal deleted inserted replaced
15433:1be109687973 15434:94dcf9e39d66
296 gtk_window_present(GTK_WINDOW(about)); 296 gtk_window_present(GTK_WINDOW(about));
297 return; 297 return;
298 } 298 }
299 299
300 GAIM_DIALOG(about); 300 GAIM_DIALOG(about);
301 gtk_window_set_title(GTK_WINDOW(about), _("About Gaim")); 301 gtk_window_set_title(GTK_WINDOW(about), _("About " PIDGIN_NAME));
302 gtk_window_set_role(GTK_WINDOW(about), "about"); 302 gtk_window_set_role(GTK_WINDOW(about), "about");
303 gtk_window_set_resizable(GTK_WINDOW(about), TRUE); 303 gtk_window_set_resizable(GTK_WINDOW(about), TRUE);
304 gtk_window_set_default_size(GTK_WINDOW(about), 340, 450); 304 gtk_window_set_default_size(GTK_WINDOW(about), 340, 450);
305 305
306 hbox = gtk_hbox_new(FALSE, GAIM_HIG_BORDER); 306 hbox = gtk_hbox_new(FALSE, GAIM_HIG_BORDER);
320 gtk_widget_destroy(logo); 320 gtk_widget_destroy(logo);
321 logo = gtk_image_new_from_pixbuf(pixbuf); 321 logo = gtk_image_new_from_pixbuf(pixbuf);
322 gdk_pixbuf_unref(pixbuf); 322 gdk_pixbuf_unref(pixbuf);
323 /* Insert the logo */ 323 /* Insert the logo */
324 obj = gtk_widget_get_accessible(logo); 324 obj = gtk_widget_get_accessible(logo);
325 atk_object_set_description(obj, "Gaim " VERSION); 325 atk_object_set_description(obj, PIDGIN_NAME " " VERSION);
326 gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0); 326 gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0);
327 327
328 frame = gaim_gtk_create_imhtml(FALSE, &text, NULL, NULL); 328 frame = gaim_gtk_create_imhtml(FALSE, &text, NULL, NULL);
329 gtk_imhtml_set_format_functions(GTK_IMHTML(text), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY); 329 gtk_imhtml_set_format_functions(GTK_IMHTML(text), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY);
330 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); 330 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0);
331 331
332 str = g_string_sized_new(4096); 332 str = g_string_sized_new(4096);
333 333
334 g_string_append(str, 334 g_string_append(str,
335 _("Gaim is a modular messaging client capable of using " 335 _(PIDGIN_NAME " is a modular messaging client capable of using "
336 "AIM, MSN, Yahoo!, Jabber, ICQ, IRC, SILC, SIP/SIMPLE, " 336 "AIM, MSN, Yahoo!, Jabber, ICQ, IRC, SILC, SIP/SIMPLE, "
337 "Novell GroupWise, Lotus Sametime, Bonjour, Zephyr, " 337 "Novell GroupWise, Lotus Sametime, Bonjour, Zephyr, "
338 "Gadu-Gadu, and QQ all at once. " 338 "Gadu-Gadu, and QQ all at once. "
339 "It is written using GTK+.<BR><BR>" 339 "It is written using GTK+.<BR><BR>"
340 "You may modify and redistribute the program under " 340 "You may modify and redistribute the program under "
341 "the terms of the GPL (version 2 or later). A copy of the GPL is " 341 "the terms of the GPL (version 2 or later). A copy of the GPL is "
342 "contained in the 'COPYING' file distributed with Gaim. " 342 "contained in the 'COPYING' file distributed with Gaim. "
343 "Gaim is copyrighted by its contributors. See the 'COPYRIGHT' " 343 PIDGIN_NAME " is copyrighted by its contributors. See the 'COPYRIGHT' "
344 "file for the complete list of contributors. We provide no " 344 "file for the complete list of contributors. We provide no "
345 "warranty for this program.<BR><BR>")); 345 "warranty for this program.<BR><BR>"));
346 346
347 g_string_append(str, "<FONT SIZE=\"4\">URL:</FONT> <A HREF=\"" 347 g_string_append(str, "<FONT SIZE=\"4\">URL:</FONT> <A HREF=\""
348 GAIM_WEBSITE "\">" GAIM_WEBSITE "</A><BR/><BR/>"); 348 GAIM_WEBSITE "\">" GAIM_WEBSITE "</A><BR/><BR/>");
467 #else 467 #else
468 g_string_append(str, " <b>Plugins:</b> Disabled<br/>"); 468 g_string_append(str, " <b>Plugins:</b> Disabled<br/>");
469 #endif 469 #endif
470 470
471 #ifdef HAVE_SSL 471 #ifdef HAVE_SSL
472 g_string_append(str, " <b>SSL:</b> Gaim was compiled with SSL support.<br/>"); 472 g_string_append(str, " <b>SSL:</b> " PIDGIN_NAME " was compiled with SSL support.<br/>");
473 #else 473 #else
474 g_string_append(str, " <b>SSL:</b> Gaim was <b><i>NOT</i></b> compiled with any SSL support!<br/>"); 474 g_string_append(str, " <b>SSL:</b> " PIDGIN_NAME " was <b><i>NOT</i></b> compiled with any SSL support!<br/>");
475 #endif 475 #endif
476 476
477 /* This might be useful elsewhere too, but it is particularly useful for 477 /* This might be useful elsewhere too, but it is particularly useful for
478 * debugging stuff known to be GTK+/Glib bugs on Windows */ 478 * debugging stuff known to be GTK+/Glib bugs on Windows */
479 #ifdef _WIN32 479 #ifdef _WIN32

mercurial