Commit 8ffc1bad authored by Daniel Borgmann's avatar Daniel Borgmann
Browse files

Set window icon for OK dialogs.

* glom/utils_ui.cc: show_ok_dialog: Set window icon.
parent 176e9ae2
2010-03-31 Daniel Borgmann <danielb@openismus.com>
Set window icon for OK dialogs.
* glom/utils_ui.cc: show_ok_dialog: Set window icon.
2010-03-30 Daniel Borgmann <danielb@openismus.com>
 
Set window icon for welcome screen.
......
......@@ -174,6 +174,7 @@ void Utils::show_ok_dialog(const Glib::ustring& title, const Glib::ustring& mess
#else
Gtk::MessageDialog dialog("<b>" + title + "</b>", true /* markup */, message_type, Gtk::BUTTONS_OK);
dialog.set_secondary_text(message);
dialog.set_icon_name("glom");
if(parent)
dialog.set_transient_for(*parent);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment