Make "title" work
This commit is contained in:
parent
9b25c16980
commit
a2d1ec2c1f
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ class GtkMessageBox {
|
||||||
if (!detail.empty())
|
if (!detail.empty())
|
||||||
gtk_message_dialog_format_secondary_text(
|
gtk_message_dialog_format_secondary_text(
|
||||||
GTK_MESSAGE_DIALOG(dialog_), "%s", detail.c_str());
|
GTK_MESSAGE_DIALOG(dialog_), "%s", detail.c_str());
|
||||||
|
if (!title.empty())
|
||||||
|
gtk_window_set_title(GTK_WINDOW(dialog_), title.c_str());
|
||||||
|
|
||||||
// Set dialog's icon.
|
// Set dialog's icon.
|
||||||
if (!icon.isNull()) {
|
if (!icon.isNull()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue