48 GtkWidget *dialog, *label;
52 if (current_name == NULL) {
59 dialog = gtk_dialog_new_with_buttons(
_(
"Theme suggested"),
64 _(
"Keep current theme"),
67 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_YES);
68 gtk_window_set_destroy_with_parent(GTK_WINDOW(dialog),
TRUE);
71 _(
"Tileset suggests using %s theme.\n"
72 "You are currently using %s."),
73 theme_name, current_name);
75 label = gtk_label_new(buf);
76 gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), label);
77 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
78 gtk_widget_show(label);
80 g_signal_connect(dialog,
"response",
83 gtk_dialog_run(GTK_DIALOG(dialog));
85 gtk_widget_destroy(dialog);
#define GUI_GTK_OPTION(optname)