[balsa/gtk3] Use header bar in address book warning dialog
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Use header bar in address book warning dialog
- Date: Wed, 25 Mar 2015 03:00:07 +0000 (UTC)
commit e117e6ad026d6948fca052a5d1058e517a5e9449
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Mar 24 22:10:07 2015 -0400
Use header bar in address book warning dialog
* src/ab-main.c (ab_warning): use header bar in dialog.
ChangeLog | 6 ++++++
src/ab-main.c | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7d698a8..f5c0c38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
Use header bar
+ * src/ab-main.c (ab_warning): use header bar in dialog.
+
+2015-03-24 Peter Bloomfield <pbloomfield bellsouth net>
+
+ Use header bar
+
* libbalsa/smtp-server.c (libbalsa_smtp_server_dialog): use a
header bar in dialog.
diff --git a/src/ab-main.c b/src/ab-main.c
index c66e299..8c9523a 100644
--- a/src/ab-main.c
+++ b/src/ab-main.c
@@ -1005,7 +1005,8 @@ ab_warning(const char *fmt, ...)
msg = g_strdup_vprintf(fmt, va_args);
va_end(va_args);
d = gtk_message_dialog_new(contacts_app.window,
- GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_DIALOG_DESTROY_WITH_PARENT |
+ GTK_DIALOG_USE_HEADER_BAR,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
"%s", msg);
gtk_dialog_run(GTK_DIALOG(d));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]