mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 772325 - Add title and taskbar hint to webapprt error message dialogs. r=karlt
This commit is contained in:
parent
d9b02788df
commit
8e09cfb333
@ -71,6 +71,8 @@ void ErrorDialog(const char* message)
|
||||
gtk_init(pargc, pargv);
|
||||
|
||||
GtkWidget* dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", message);
|
||||
gtk_window_set_title(GTK_WINDOW(dialog), "Error launching webapp");
|
||||
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(dialog), false);
|
||||
gtk_dialog_run(GTK_DIALOG(dialog));
|
||||
gtk_widget_destroy(dialog);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user