[glom] Set window icon for OK dialogs.
- From: Daniel Borgmann <dborg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Set window icon for OK dialogs.
- Date: Wed, 31 Mar 2010 09:12:41 +0000 (UTC)
commit 8ffc1bad7ccc5d7339d622a7c8499bd060375f70
Author: Daniel Borgmann <danielb openismus com>
Date: Wed Mar 31 10:12:13 2010 +0100
Set window icon for OK dialogs.
* glom/utils_ui.cc: show_ok_dialog: Set window icon.
ChangeLog | 6 ++++++
glom/utils_ui.cc | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 59e4035..aa924fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
diff --git a/glom/utils_ui.cc b/glom/utils_ui.cc
index b4ece6d..4e78553 100644
--- a/glom/utils_ui.cc
+++ b/glom/utils_ui.cc
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]