[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-843-g2f9bccd20
paul at claws-mail.org
paul at claws-mail.org
Thu Nov 21 12:35:00 CET 2019
The branch, gtk3 has been updated
via 2f9bccd20272d12c011849877121bad2539a3918 (commit)
from 4bf97071ddbc02f75233727ea3142e8292046279 (commit)
Summary of changes:
src/mainwindow.c | 16 ++++++++--------
src/mimeview.c | 8 ++++----
2 files changed, 12 insertions(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit 2f9bccd20272d12c011849877121bad2539a3918
Author: paul <paul at claws-mail.org>
Date: Thu Nov 21 12:34:55 2019 +0000
replace deprecated gtk_arrow_set()
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 7ed2a3508..86ec401e5 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -2760,11 +2760,11 @@ void main_window_toggle_message_view(MainWindow *mainwin)
}
if (messageview_is_visible(mainwin->messageview))
- gtk_arrow_set(GTK_ARROW(mainwin->summaryview->toggle_arrow),
- GTK_ARROW_DOWN, GTK_SHADOW_OUT);
+ gtk_image_set_from_icon_name(mainwin->summaryview->toggle_arrow,
+ "pan-down-symbolic", GTK_ICON_SIZE_MENU);
else
- gtk_arrow_set(GTK_ARROW(mainwin->summaryview->toggle_arrow),
- GTK_ARROW_UP, GTK_SHADOW_OUT);
+ gtk_image_set_from_icon_name(mainwin->summaryview->toggle_arrow,
+ "pan-up-symbolic", GTK_ICON_SIZE_MENU);;
if (mainwin->messageview->visible == FALSE)
messageview_clear(mainwin->messageview);
@@ -3783,11 +3783,11 @@ static void main_window_set_widgets(MainWindow *mainwin, LayoutType layout_mode)
prefs_common.display_header_pane);
if (messageview_is_visible(mainwin->messageview))
- gtk_arrow_set(GTK_ARROW(mainwin->summaryview->toggle_arrow),
- GTK_ARROW_DOWN, GTK_SHADOW_OUT);
+ gtk_image_set_from_icon_name(mainwin->summaryview->toggle_arrow,
+ "pan-down-symbolic", GTK_ICON_SIZE_MENU);
else
- gtk_arrow_set(GTK_ARROW(mainwin->summaryview->toggle_arrow),
- GTK_ARROW_UP, GTK_SHADOW_OUT);
+ gtk_image_set_from_icon_name(mainwin->summaryview->toggle_arrow,
+ "pan-up-symbolic", GTK_ICON_SIZE_MENU);
gtk_window_move(GTK_WINDOW(mainwin->window),
prefs_common.mainwin_x,
diff --git a/src/mimeview.c b/src/mimeview.c
index 42e599bb9..551861258 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -2813,8 +2813,8 @@ static gint mime_toggle_button_cb(GtkWidget *button, GdkEventButton *event,
mimeview->ctree_mode = !mimeview->ctree_mode;
if (mimeview->ctree_mode) {
- gtk_arrow_set(GTK_ARROW(gtk_bin_get_child(GTK_BIN((button)))), GTK_ARROW_RIGHT,
- GTK_SHADOW_NONE);
+ gtk_image_set_from_icon_name(gtk_bin_get_child(GTK_BIN(button)),
+ "pan-end-symbolic", GTK_ICON_SIZE_MENU);
gtk_widget_hide(mimeview->icon_mainbox);
gtk_widget_show(mimeview->ctree_mainbox);
gtk_paned_set_position(GTK_PANED(mimeview->paned),
@@ -2825,8 +2825,8 @@ static gint mime_toggle_button_cb(GtkWidget *button, GdkEventButton *event,
gtk_box_pack_end(GTK_BOX(mimeview->ctree_mainbox),
button, FALSE, FALSE, 0);
} else {
- gtk_arrow_set(GTK_ARROW(gtk_bin_get_child(GTK_BIN((button)))), GTK_ARROW_LEFT,
- GTK_SHADOW_NONE);
+ gtk_image_set_from_icon_name(gtk_bin_get_child(GTK_BIN(button)),
+ "pan-start-symbolic", GTK_ICON_SIZE_MENU);
gtk_widget_hide(mimeview->ctree_mainbox);
gtk_widget_show(mimeview->icon_mainbox);
gtk_paned_set_position(GTK_PANED(mimeview->paned), 0);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list