[balsa/gtk3] Use header bar in search and check-mail dialogs
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Use header bar in search and check-mail dialogs
- Date: Thu, 26 Mar 2015 21:28:50 +0000 (UTC)
commit 6a9fd2d6386d0f975de2071fbd704769a980fd5b
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Mar 25 14:47:27 2015 -0400
Use header bar in search and check-mail dialogs
* src/main-window.c (ensure_check_mail_dialog), (bw_find_real):
use header bars in dialogs.
ChangeLog | 5 +++++
src/main-window.c | 8 +++++---
2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bb0886c..f6ab055 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-03-25 Peter Bloomfield <pbloomfield bellsouth net>
+ * src/main-window.c (ensure_check_mail_dialog), (bw_find_real):
+ use header bars in dialogs.
+
+2015-03-25 Peter Bloomfield <pbloomfield bellsouth net>
+
* src/mailbox-conf.c (create_local_mailbox_dialog): use
GTK_RESPONSE_CANCEL instead of CLOSE;
(create_generic_dialog): use header bar.
diff --git a/src/main-window.c b/src/main-window.c
index 36a67fb..c348970 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -3334,7 +3334,8 @@ ensure_check_mail_dialog(BalsaWindow * window)
progress_dialog =
gtk_dialog_new_with_buttons(_("Checking Mail..."),
GTK_WINDOW(window),
- GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_DIALOG_DESTROY_WITH_PARENT |
+ GTK_DIALOG_USE_HEADER_BAR,
_("_Hide"), GTK_RESPONSE_CLOSE,
NULL);
#if HAVE_MACOSX_DESKTOP
@@ -4064,9 +4065,10 @@ bw_find_real(BalsaWindow * window, BalsaIndex * bindex, gboolean again)
GtkWidget* vbox, *dia =
gtk_dialog_new_with_buttons(_("Search mailbox"),
GTK_WINDOW(window),
- GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_DIALOG_DESTROY_WITH_PARENT |
+ GTK_DIALOG_USE_HEADER_BAR,
_("_Help"), GTK_RESPONSE_HELP,
- _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Close"), GTK_RESPONSE_CLOSE,
NULL);
GtkWidget *reverse_button, *wrap_button;
GtkWidget *search_entry, *w, *page, *grid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]