]> saetta.ns0.it Git - solipa/libsolipa/commitdiff
Modificata SolipaUtils::message_dialog per poter utilizzare i markup Pango.
authorAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Fri, 1 Feb 2013 07:51:30 +0000 (08:51 +0100)
committerAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Fri, 1 Feb 2013 07:51:30 +0000 (08:51 +0100)
src/utils.c

index 4917ece97e8b63ebe026b5ab4bd97c3bf847a83b..da10b123f6482aef1b1c489f911cb125e54829cb 100644 (file)
@@ -1652,11 +1652,11 @@ solipa_message_dialog (GtkWidget *transient,
 
        g_return_val_if_fail (GTK_IS_WINDOW (transient), GTK_RESPONSE_NONE);
 
-       dialog = gtk_message_dialog_new (GTK_WINDOW (transient),
-                                        GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
-                                        type,
-                                        buttons,
-                                        message_text);
+       dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW (transient),
+                                                    GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+                                                    type,
+                                                    buttons,
+                                                    message_text);
        risp = gtk_dialog_run (GTK_DIALOG (dialog));
        gtk_widget_destroy (dialog);