[balsa/gtk4: 14/294] Bump Gtk requirement to 3.22
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk4: 14/294] Bump Gtk requirement to 3.22
- Date: Sun, 20 Jun 2021 23:36:33 +0000 (UTC)
commit d6c28156f76e66ffbaa18af07ac9d977647dcbd8
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed May 6 22:00:32 2020 -0400
Bump Gtk requirement to 3.22
* configure.ac:
* libbalsa/identity.c (help_ident_cb):
* libbalsa/mime.c (is_in_url):
* libbalsa/misc.c (libbalsa_font_string_to_css):
* libbalsa/smtp-server.c (smtp_server_response):
* meson.build:
* src/address-book-config.c (help_button_cb):
* src/balsa-index.c (bndx_do_popup):
* src/balsa-mblist.c (bmbl_do_popup):
* src/balsa-message.c (balsa_headers_attachments_popup),
(tree_mult_selection_popup), (tree_button_press_cb):
* src/balsa-mime-widget-image.c (balsa_image_button_press_cb):
* src/balsa-mime-widget-message.c (extbody_call_url):
* src/balsa-mime-widget-text.c (balsa_mime_widget_new_text),
(handle_url):
* src/filter-edit-callbacks.c (condition_dialog_response),
(fe_dialog_response):
* src/filter-run-callbacks.c (fr_dialog_response):
* src/folder-conf.c (folder_conf_response):
* src/main-window.c (help_activated), (bw_notebook_label_new),
(bw_find_real):
* src/pref-manager.c (balsa_help_pbox_display), (add_menu_cb):
* src/sendmsg-window.c (change_attach_mode),
(attachment_menu_vfs_cb), (on_open_url_cb),
(attachment_button_press_cb), (attachment_popup_cb),
(create_text_area):
* src/toolbar-factory.c (tm_popup_context_menu_cb):
* src/toolbar-prefs.c (tp_dialog_response_cb):
ChangeLog | 34 +++++++++++++++++++++++++++++++++-
configure.ac | 2 +-
src/sendmsg-window.c | 12 ------------
src/toolbar-factory.c | 1 -
4 files changed, 34 insertions(+), 15 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c57678f0f..ddf7fbab3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -676,12 +676,44 @@
* NEWS, configure.ac, meson.build: release balsa-2.6.1
-
2020-05-06 Peter Bloomfield <pbloomfield bellsouth net>
* src/sendmsg-window.c (add_attachment): Insert separators
between logically distinct sections of the popup menu.
+2020-05-06 Peter Bloomfield <pbloomfield bellsouth net>
+
+ Bump Gtk requirement to 3.22
+
+ * configure.ac:
+ * libbalsa/identity.c (help_ident_cb):
+ * libbalsa/mime.c (is_in_url):
+ * libbalsa/misc.c (libbalsa_font_string_to_css):
+ * libbalsa/smtp-server.c (smtp_server_response):
+ * meson.build:
+ * src/address-book-config.c (help_button_cb):
+ * src/balsa-index.c (bndx_do_popup):
+ * src/balsa-mblist.c (bmbl_do_popup):
+ * src/balsa-message.c (balsa_headers_attachments_popup),
+ (tree_mult_selection_popup), (tree_button_press_cb):
+ * src/balsa-mime-widget-image.c (balsa_image_button_press_cb):
+ * src/balsa-mime-widget-message.c (extbody_call_url):
+ * src/balsa-mime-widget-text.c (balsa_mime_widget_new_text),
+ (handle_url):
+ * src/filter-edit-callbacks.c (condition_dialog_response),
+ (fe_dialog_response):
+ * src/filter-run-callbacks.c (fr_dialog_response):
+ * src/folder-conf.c (folder_conf_response):
+ * src/main-window.c (help_activated), (bw_notebook_label_new),
+ (bw_find_real):
+ * src/pref-manager.c (balsa_help_pbox_display), (add_menu_cb):
+ * src/sendmsg-window.c (change_attach_mode),
+ (attachment_menu_vfs_cb), (on_open_url_cb),
+ (attachment_button_press_cb), (attachment_popup_cb),
+ (create_text_area):
+ * src/toolbar-factory.c (tm_popup_context_menu_cb):
+ * src/toolbar-prefs.c (tp_dialog_response_cb):
+
2020-04-11 Pawel Salek <pawsa0 gmail com>
* NEWS, configure.ac, meson.build: release balsa-2.6.0
diff --git a/configure.ac b/configure.ac
index 34c394ae5..4466aa63c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,7 +235,7 @@ libical >= 2.0.0
PKG_CHECK_MODULES(BALSA_AB, [
glib-2.0
- gtk+-3.0
+ gtk+-3.0 >= 3.22.0
gmime-3.0 >= 3.2.6
])
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 76801bc29..cdb9f6ea4 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -1358,11 +1358,7 @@ change_attach_mode(GSimpleAction *action,
result = gtk_dialog_run(GTK_DIALOG(extbody_dialog));
gtk_widget_destroy(extbody_dialog);
if (result != GTK_RESPONSE_YES) {
-#if GTK_CHECK_VERSION(3, 22, 0)
gtk_popover_popdown(GTK_POPOVER(info->popup_menu));
-#else /*GTK_CHECK_VERSION(3, 22, 0) */
- gtk_widget_hide(info->popup_menu);
-#endif /*GTK_CHECK_VERSION(3, 22, 0) */
return;
}
@@ -1373,11 +1369,7 @@ change_attach_mode(GSimpleAction *action,
gtk_list_store_set(GTK_LIST_STORE(model), &iter, ATTACH_MODE_COLUMN,
info->mode, -1);
-#if GTK_CHECK_VERSION(3, 22, 0)
gtk_popover_popdown(GTK_POPOVER(info->popup_menu));
-#else /*GTK_CHECK_VERSION(3, 22, 0) */
- gtk_widget_hide(info->popup_menu);
-#endif /*GTK_CHECK_VERSION(3, 22, 0) */
g_simple_action_set_state(action, parameter);
}
@@ -1401,11 +1393,7 @@ attachment_menu_vfs_cb(GSimpleAction *action,
err ? err->message : "Unknown error");
g_clear_error(&err);
-#if GTK_CHECK_VERSION(3, 22, 0)
gtk_popover_popdown(GTK_POPOVER(info->popup_menu));
-#else /*GTK_CHECK_VERSION(3, 22, 0) */
- gtk_widget_hide(info->popup_menu);
-#endif /*GTK_CHECK_VERSION(3, 22, 0) */
}
diff --git a/src/toolbar-factory.c b/src/toolbar-factory.c
index cc8726f5a..42844e053 100644
--- a/src/toolbar-factory.c
+++ b/src/toolbar-factory.c
@@ -652,7 +652,6 @@ tm_remove_underscore(const gchar * text)
return r;
}
-
static gboolean
tm_popup_context_menu_cb(GtkWidget * toolbar,
gint x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]