talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 16ec40c835fcce0cfec782b3709e5ad8b285608d
parent 0156e3dd6e9d5310de1775126f2f18a7a7fef86f
Author: Paul <paul@claws-mail.org>
Date:   Tue, 29 Apr 2025 17:44:39 +0100

use '-symbolic' variant of gtk stock images

Diffstat:
Msrc/account.c | 2+-
Msrc/addrduplicates.c | 4++--
Msrc/addressbook.c | 6+++---
Msrc/exphtmldlg.c | 2+-
Msrc/gtk/gtkaspell.c | 4++--
Msrc/gtk/gtkutils.c | 8++++----
Msrc/gtk/inputdialog.c | 6+++---
Msrc/gtk/quicksearch.c | 14++++++++------
Msrc/gtk/sslcertwindow.c | 2+-
Msrc/imap_gtk.c | 6+++---
Msrc/message_search.c | 4++--
Msrc/mh_gtk.c | 6+++---
Msrc/plugins/att_remover/att_remover.c | 6+++---
Msrc/plugins/mailmbox/plugin_gtk.c | 6+++---
Msrc/plugins/managesieve/sieve_manager.c | 4++--
Msrc/plugins/notification/notification_prefs.c | 6+++---
Msrc/plugins/pdf_viewer/poppler_viewer.c | 4++--
Msrc/plugins/pgpcore/passphrase.c | 4++--
Msrc/plugins/pgpcore/sgpgme.c | 4++--
Msrc/plugins/rssyl/rssyl_cb_menu.c | 6+++---
Msrc/plugins/vcalendar/vcal_folder.c | 6+++---
Msrc/plugins/vcalendar/vcal_meeting_gtk.c | 12+++++-------
Msrc/plugins/vcalendar/vcalendar.c | 4++--
Msrc/ssl_manager.c | 2+-
Msrc/summary_search.c | 4++--
25 files changed, 66 insertions(+), 66 deletions(-)

diff --git a/src/account.c b/src/account.c @@ -1138,7 +1138,7 @@ static void account_delete(GtkWidget *widget, gpointer data) ac_prefs->account_name ? ac_prefs->account_name : _("(Untitled)")); if (alertpanel_full(_("Delete account"), buf, - NULL, _("_Cancel"), "edit-delete", _("_Delete"), + NULL, _("_Cancel"), "edit-delete-symbolic", _("_Delete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING) != G_ALERTALTERNATE) return; diff --git a/src/addrduplicates.c b/src/addrduplicates.c @@ -1,5 +1,5 @@ /* Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 2007-2024 Holger Berndt <hb@claws-mail.org> + * Copyright (C) 2007-2025 Holger Berndt <hb@claws-mail.org> * and the Claws Mail team * * This program is free software; you can redistribute it and/or modify @@ -144,7 +144,7 @@ static gboolean create_dialog() val = alertpanel_full(_("Find address book email duplicates"), _("Claws Mail will now search for duplicate email " "addresses in the address book."), - NULL, _("_Cancel"), "edit-find", _("_Find"), NULL, NULL, + NULL, _("_Cancel"), "edit-find-symbolic", _("_Find"), NULL, NULL, ALERTFOCUS_SECOND, FALSE, vbox, ALERT_NOTICE); if(val == G_ALERTALTERNATE) { want_search = TRUE; diff --git a/src/addressbook.c b/src/addressbook.c @@ -4183,12 +4183,12 @@ static gboolean addressbook_convert( AddressIndex *addrIndex ) { if (errFlag) { debug_print( "Error\n%s\n", msg ); alertpanel_full(_("Addressbook conversion error"), msg, - "window-close", _("_Close"), NULL, NULL, NULL, NULL, + "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_ERROR); } else if (msg) { debug_print( "Warning\n%s\n", msg ); alertpanel_full(_("Addressbook conversion error"), msg, - "window-close", _("_Close"), NULL, NULL, NULL, NULL, + "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); } @@ -4304,7 +4304,7 @@ void addressbook_read_file( void ) { addrindex_print_index( addrIndex, stdout ); alertpanel_full(_("Addressbook Error"), _("Could not read address index"), - "window-close", _("_Close"), NULL, NULL, NULL, NULL, + "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_ERROR); } debug_print( "done.\n" ); diff --git a/src/exphtmldlg.c b/src/exphtmldlg.c @@ -190,7 +190,7 @@ static gboolean exp_html_move_file( void ) { "Could not create output directory for HTML file:\n%s" ), reason ); aval = alertpanel_full(_("Failed to Create Directory"), msg, - "window-close", _("_Close"), NULL, NULL, + "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_ERROR); g_free( msg ); diff --git a/src/gtk/gtkaspell.c b/src/gtk/gtkaspell.c @@ -1,7 +1,7 @@ /* gtkaspell - a spell-checking addon for GtkText * Copyright (c) 2000 Evan Martin (original code for ispell). * Copyright (c) 2002 Melvin Hadasht. - * Copyright (C) 2001-2021 the Claws Mail Team + * Copyright (C) 2001-2025 the Claws Mail Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -1451,7 +1451,7 @@ static void replace_with_create_dialog_cb(GtkWidget *w, gpointer data) thelabel = g_strdup_printf(format, utf8buf); g_free(format); - icon = gtk_image_new_from_icon_name("dialog-question", + icon = gtk_image_new_from_icon_name("dialog-question-symbolic", GTK_ICON_SIZE_DIALOG); gtk_widget_set_halign(icon, GTK_ALIGN_CENTER); gtk_widget_set_valign(icon, GTK_ALIGN_START); diff --git a/src/gtk/gtkutils.c b/src/gtk/gtkutils.c @@ -101,7 +101,7 @@ void gtkut_stock_button_add_help(GtkWidget *bbox, GtkWidget **help_btn) { cm_return_if_fail(bbox != NULL); - *help_btn = gtkut_stock_button("help-browser", "Help"); + *help_btn = gtkut_stock_button("help-browser-symbolic", "Help"); gtk_widget_set_can_default(*help_btn, TRUE); gtk_box_pack_end(GTK_BOX (bbox), *help_btn, TRUE, TRUE, 0); @@ -892,7 +892,7 @@ GtkWidget *gtkut_get_browse_file_btn(const gchar *button_label) button = gtk_button_new_with_mnemonic(button_label); gtk_button_set_image(GTK_BUTTON(button), - gtk_image_new_from_icon_name("folder", GTK_ICON_SIZE_BUTTON)); + gtk_image_new_from_icon_name("folder-symbolic", GTK_ICON_SIZE_BUTTON)); return button; } @@ -906,7 +906,7 @@ GtkWidget *gtkut_get_browse_directory_btn(const gchar *button_label) button = gtk_button_new_with_mnemonic(button_label); gtk_button_set_image(GTK_BUTTON(button), - gtk_image_new_from_icon_name("folder", GTK_ICON_SIZE_BUTTON)); + gtk_image_new_from_icon_name("folder-symbolic", GTK_ICON_SIZE_BUTTON)); return button; } @@ -917,7 +917,7 @@ GtkWidget *gtkut_get_replace_btn(const gchar *button_label) button = gtk_button_new_with_mnemonic(button_label); gtk_button_set_image(GTK_BUTTON(button), - gtk_image_new_from_icon_name("view-refresh", GTK_ICON_SIZE_BUTTON)); + gtk_image_new_from_icon_name("view-refresh-symbolic", GTK_ICON_SIZE_BUTTON)); return button; } diff --git a/src/gtk/inputdialog.c b/src/gtk/inputdialog.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto + * Copyright (C) 1999-2025 the Claws Mail team and Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -319,12 +319,12 @@ static void input_dialog_create(gboolean is_password) FALSE, FALSE, 0); /* for title label */ - icon_q = gtk_image_new_from_icon_name("dialog-question", + icon_q = gtk_image_new_from_icon_name("dialog-question-symbolic", GTK_ICON_SIZE_DIALOG); gtk_widget_set_halign(icon_q, GTK_ALIGN_CENTER); gtk_widget_set_valign(icon_q, GTK_ALIGN_START); gtk_box_pack_start (GTK_BOX (hbox), icon_q, FALSE, FALSE, 0); - icon_p = gtk_image_new_from_icon_name("dialog-password", + icon_p = gtk_image_new_from_icon_name("dialog-password-symbolic", GTK_ICON_SIZE_DIALOG); gtk_widget_set_halign(icon_p, GTK_ALIGN_CENTER); gtk_widget_set_valign(icon_p, GTK_ALIGN_START); diff --git a/src/gtk/quicksearch.c b/src/gtk/quicksearch.c @@ -994,9 +994,10 @@ QuickSearch *quicksearch_new() quicksearch->normal_search_strings = NULL; quicksearch->extended_search_strings = NULL; - quicksearch_set_button(GTK_BUTTON(quicksearch->search_description), "dialog-information", _("_Information")); + quicksearch_set_button(GTK_BUTTON(quicksearch->search_description), "dialog-information-symbolic", + _("_Information")); quicksearch_set_button(GTK_BUTTON(quicksearch->search_condition_expression), NULL, _("E_dit")); - quicksearch_set_button(GTK_BUTTON(quicksearch->clear_search), "edit-clear", _("C_lear")); + quicksearch_set_button(GTK_BUTTON(quicksearch->clear_search), "edit-clear-symbolic", _("C_lear")); update_extended_buttons(quicksearch); @@ -1023,15 +1024,16 @@ void quicksearch_relayout(QuickSearch *quicksearch) case NORMAL_LAYOUT: case WIDE_LAYOUT: case WIDE_MSGLIST_LAYOUT: - quicksearch_set_button(GTK_BUTTON(quicksearch->search_description), "dialog-information", _("_Information")); + quicksearch_set_button(GTK_BUTTON(quicksearch->search_description), + "dialog-information-symbolic", _("_Information")); quicksearch_set_button(GTK_BUTTON(quicksearch->search_condition_expression), NULL, _("E_dit")); - quicksearch_set_button(GTK_BUTTON(quicksearch->clear_search), "edit-clear", _("C_lear")); + quicksearch_set_button(GTK_BUTTON(quicksearch->clear_search), "edit-clear-symbolic", _("C_lear")); break; case SMALL_LAYOUT: case VERTICAL_LAYOUT: - quicksearch_set_button(GTK_BUTTON(quicksearch->search_description), "dialog-information", ""); + quicksearch_set_button(GTK_BUTTON(quicksearch->search_description), "dialog-information-symbolic", ""); quicksearch_set_button(GTK_BUTTON(quicksearch->search_condition_expression), NULL, _("E_dit")); - quicksearch_set_button(GTK_BUTTON(quicksearch->clear_search), "edit-clear", ""); + quicksearch_set_button(GTK_BUTTON(quicksearch->clear_search), "edit-clear-symbolic", ""); break; } } diff --git a/src/gtk/sslcertwindow.c b/src/gtk/sslcertwindow.c @@ -371,7 +371,7 @@ void sslcertwindow_show_cert(SSLCertificate *cert) gchar *buf; buf = g_strdup_printf(_("TLS certificate for %s"), cert->host); - alertpanel_full(buf, NULL, "window-close", _("_Close"), NULL, NULL, NULL, NULL, + alertpanel_full(buf, NULL, "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, FALSE, cert_widget, ALERT_NOTICE); g_free(buf); } diff --git a/src/imap_gtk.c b/src/imap_gtk.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2024 the Claws Mail Team and Hiroyuki Yamamoto + * Copyright (C) 1999-2025 the Claws Mail Team and Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -366,7 +366,7 @@ static void delete_folder_cb(GtkAction *action, gpointer data) "Recovery will not be possible.\n\n" "Do you really want to delete?"), name); avalue = alertpanel_full(_("Delete folder"), message, - NULL, _("_Cancel"), "edit-delete", _("_Delete"), + NULL, _("_Cancel"), "edit-delete-symbolic", _("_Delete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); g_free(message); @@ -516,7 +516,7 @@ static void subscribe_cb_full(FolderView *folderview, guint action) G_CALLBACK(chk_update_val), &recurse); avalue = alertpanel_full(_("Subscriptions"), message, - NULL, _("_Cancel"), "edit-find", _("_Search"), + NULL, _("_Cancel"), "edit-find-symbolic", _("_Search"), NULL, NULL, ALERTFOCUS_SECOND, FALSE, rec_chk, ALERT_QUESTION); g_free(message); diff --git a/src/message_search.c b/src/message_search.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto + * Copyright (C) 1999-2025 the Claws Mail team and Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -317,7 +317,7 @@ static void message_search_execute(gboolean backward) if (all_searched) { alertpanel_full(_("Search failed"), _("Search string not found."), - "window-close", _("_Close"), NULL, NULL, NULL, NULL, + "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, FALSE, ALERTFOCUS_FIRST, NULL, ALERT_WARNING); break; } diff --git a/src/mh_gtk.c b/src/mh_gtk.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2022 the Claws Mail Team and Hiroyuki Yamamoto + * Copyright (C) 1999-2025 the Claws Mail Team and Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -204,7 +204,7 @@ static void delete_folder_cb(GtkAction *action, gpointer data) "Recovery will not be possible.\n\n" "Do you really want to delete?"), name); avalue = alertpanel_full(_("Delete folder"), message, - NULL, _("_Cancel"), "edit-delete", _("D_elete"), + NULL, _("_Cancel"), "edit-delete-symbolic", _("D_elete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); g_free(message); @@ -373,7 +373,7 @@ static void remove_mailbox_cb(GtkAction *action, gpointer data) (_("Really remove the mailbox '%s'?\n" "(The messages are NOT deleted from the disk)"), name); avalue = alertpanel_full(_("Remove mailbox"), message, - NULL, _("_Cancel"), "list-remove", _("_Remove"), + NULL, _("_Cancel"), "list-remove-symbolic", _("_Remove"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); diff --git a/src/plugins/att_remover/att_remover.c b/src/plugins/att_remover/att_remover.c @@ -1,9 +1,9 @@ /* * att_remover -- for Claws Mail - * Copyright (C) 2005-2024 the Claws Mail Team and Colin Leroy + * Copyright (C) 2005-2025 the Claws Mail Team and Colin Leroy * * Claws Mail is a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2024 the Claws Mail Team and Hiroyuki Yamamoto + * Copyright (C) 1999-2025 the Claws Mail Team and Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -422,7 +422,7 @@ static void remove_attachments(GSList *msglist) _("Do you really want to remove all attachments from " "the selected messages?\n\n" "The deleted data will be unrecoverable."), - NULL, _("_Cancel"), "edit-delete", _("_Delete"), NULL, NULL, + NULL, _("_Cancel"), "edit-delete-symbolic", _("_Delete"), NULL, NULL, ALERTFOCUS_SECOND, FALSE, NULL, ALERT_QUESTION) != G_ALERTALTERNATE) return; diff --git a/src/plugins/mailmbox/plugin_gtk.c b/src/plugins/mailmbox/plugin_gtk.c @@ -1,6 +1,6 @@ /* * mailmbox Plugin -- mbox support for Claws Mail - * Copyright (C) 2003-2022 the Claws Mail team, + * Copyright (C) 2003-2025 the Claws Mail team, * Christoph Hohmann, * Hoa v. Dinh, * Alfons Hoogervorst @@ -299,7 +299,7 @@ static void remove_mailbox_cb(GtkAction *action, gpointer data) (_("Really remove the mailbox '%s'?\n" "(The messages are NOT deleted from the disk)"), name); avalue = alertpanel_full(_("Remove mailbox"), message, - NULL, _("_Cancel"), "list-remove", _("_Remove"), + NULL, _("_Cancel"), "list-remove-symbolic", _("_Remove"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); g_free(message); @@ -333,7 +333,7 @@ static void delete_folder_cb(GtkAction *action, gpointer data) "Recovery will not be possible.\n\n" "Do you really want to delete?"), name); avalue = alertpanel_full(_("Delete folder"), message, - NULL, _("_Cancel"), "edit-delete", _("_Delete"), + NULL, _("_Cancel"), "edit-delete-symbolic", _("_Delete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_NOTICE); g_free(message); diff --git a/src/plugins/managesieve/sieve_manager.c b/src/plugins/managesieve/sieve_manager.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 2004-2024 the Claws Mail team + * Copyright (C) 2004-2025 the Claws Mail team * Copyright (C) 2014-2015 Charles Lehner * * This program is free software; you can redistribute it and/or modify @@ -327,7 +327,7 @@ static void filter_delete(GtkWidget *widget, SieveManagerPage *page) g_snprintf(buf, sizeof(buf), _("Do you really want to delete the filter '%s'?"), filter_name); if (alertpanel_full(_("Delete filter"), buf, - NULL, _("_Cancel"), "edit-delete", _("_Delete"), NULL, NULL, + NULL, _("_Cancel"), "edit-delete-symbolic", _("_Delete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING) != G_ALERTALTERNATE) return; diff --git a/src/plugins/notification/notification_prefs.c b/src/plugins/notification/notification_prefs.c @@ -1,7 +1,7 @@ /* * Notification plugin for Claws-Mail * Claws Mail -- A GTK based, lightweight, and fast e-mail client - * Copyright (C) 2005-2021 the Claws Mail team and Holger Berndt + * Copyright (C) 2005-2025 the Claws Mail team and Holger Berndt * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -843,7 +843,7 @@ static void notify_create_banner_page(PrefsPage *page, GtkWindow *window, button = gtk_button_new(); gtk_button_set_image(GTK_BUTTON(button), - gtk_image_new_from_icon_name("list-remove", GTK_ICON_SIZE_MENU)); + gtk_image_new_from_icon_name("list-remove-symbolic", GTK_ICON_SIZE_MENU)); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(notify_banner_slider_remove_cb), slider); @@ -854,7 +854,7 @@ static void notify_create_banner_page(PrefsPage *page, GtkWindow *window, button = gtk_button_new(); gtk_button_set_image(GTK_BUTTON(button), - gtk_image_new_from_icon_name("list-add", GTK_ICON_SIZE_MENU)); + gtk_image_new_from_icon_name("list-add-symbolic", GTK_ICON_SIZE_MENU)); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(notify_banner_slider_add_cb), slider); diff --git a/src/plugins/pdf_viewer/poppler_viewer.c b/src/plugins/pdf_viewer/poppler_viewer.c @@ -1231,8 +1231,8 @@ static void pdf_viewer_button_print_cb(GtkButton *button, PdfViewer *viewer) static void pdf_viewer_button_document_info_cb(GtkButton *button, PdfViewer *viewer) { - alertpanel_full(_("PDF properties"), NULL, "window-close", _("_Close"), NULL, NULL, - NULL, NULL, ALERTFOCUS_FIRST, FALSE, + alertpanel_full(_("PDF properties"), NULL, "window-close-symbolic", _("_Close"), + NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, FALSE, GTK_WIDGET(pdf_viewer_fill_info_table(viewer)), ALERT_NOTICE); } diff --git a/src/plugins/pgpcore/passphrase.c b/src/plugins/pgpcore/passphrase.c @@ -1,5 +1,5 @@ /* passphrase.c - GTK based passphrase callback - * Copyright (C) 2001-2022 Werner Koch (dd9jn) and the Claws Mail team + * Copyright (C) 2001-2025 Werner Koch (dd9jn) and the Claws Mail team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -102,7 +102,7 @@ passphrase_mbox(const gchar *uid_hint, const gchar *pass_hint, gint prev_bad, gi if (uid_hint || pass_hint) { GtkWidget *label, *icon; label = create_description (uid_hint, prev_bad, new_key); - icon = gtk_image_new_from_icon_name("dialog-password", + icon = gtk_image_new_from_icon_name("dialog-password-symbolic", GTK_ICON_SIZE_DIALOG); hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 12); diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2022 the Claws Mail team + * Copyright (C) 1999-2025 the Claws Mail team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -997,7 +997,7 @@ void sgpgme_init() _("GnuPG is not installed properly, or needs " "to be upgraded.\n" "OpenPGP support disabled."), - "window-close", _("_Close"), NULL, NULL, NULL, NULL, + "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, TRUE, NULL, ALERT_WARNING); if (val & G_ALERTDISABLE) prefs_gpg_get_config()->gpg_warning = FALSE; diff --git a/src/plugins/rssyl/rssyl_cb_menu.c b/src/plugins/rssyl/rssyl_cb_menu.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 2005-2023 the Claws Mail Team and Andrej Kacian <andrej@kacian.sk> + * Copyright (C) 2005-2025 the Claws Mail Team and Andrej Kacian <andrej@kacian.sk> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -186,7 +186,7 @@ void rssyl_remove_folder_cb(GtkAction *action, "Recovery will not be possible.\n\n" "Do you really want to delete?"), name); avalue = alertpanel_full(_("Delete folder"), message, - NULL, _("_Cancel"), "edit-delete", _("_Delete"), + NULL, _("_Cancel"), "edit-delete-symbolic", _("_Delete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); g_free(message); @@ -353,7 +353,7 @@ void rssyl_remove_mailbox_cb(GtkAction *action, gpointer data) n = trim_string(item->folder->name, 32); message = g_strdup_printf(_("Really remove the feed tree `%s' ?\n"), n); avalue = alertpanel_full(_("Remove feed tree"), message, - NULL, _("_Cancel"), "list-remove", _("_Remove"), + NULL, _("_Cancel"), "list-remove-symbolic", _("_Remove"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); g_free(message); diff --git a/src/plugins/vcalendar/vcal_folder.c b/src/plugins/vcalendar/vcal_folder.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2024 the Claws Mail team and Colin Leroy <colin@colino.net> + * Copyright (C) 1999-2025 the Claws Mail team and Colin Leroy <colin@colino.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -2025,8 +2025,8 @@ static void unsubscribe_cal_cb(GtkAction *action, gpointer data) message = g_strdup_printf (_("Do you really want to unsubscribe?")); avalue = alertpanel_full(_("Delete subscription"), message, - NULL, _("_Cancel"), "edit-delete", _("_Delete"), - NULL, NULL, ALERTFOCUS_FIRST, + NULL, _("_Cancel"), "edit-delete-symbolic", + _("_Delete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); g_free(message); if (avalue != G_ALERTALTERNATE) return; diff --git a/src/plugins/vcalendar/vcal_meeting_gtk.c b/src/plugins/vcalendar/vcal_meeting_gtk.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2022 Colin Leroy <colin@colino.net> and + * Copyright (C) 1999-2025 Colin Leroy <colin@colino.net> and * the Claws Mail team * * This program is free software; you can redistribute it and/or modify @@ -294,8 +294,7 @@ VCalAttendee *attendee_add(VCalMeeting *meet, gchar *address, gchar *name, gchar attendee->address = gtk_entry_new(); attendee->cutype = gtk_combo_box_text_new(); attendee->avail_evtbox = gtk_event_box_new(); - attendee->avail_img = gtk_image_new_from_icon_name - ("dialog-warning", GTK_ICON_SIZE_SMALL_TOOLBAR); + attendee->avail_img = gtk_image_new_from_icon_name("dialog-warning-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_widget_show(attendee->address); gtk_widget_show(attendee->cutype); @@ -1364,8 +1363,7 @@ static VCalMeeting *vcal_meeting_create_real(VCalEvent *event, gboolean visible) meet->end_c = gtk_calendar_new(); meet->avail_evtbox = gtk_event_box_new(); - meet->avail_img = gtk_image_new_from_icon_name - ("dialog-warning", GTK_ICON_SIZE_SMALL_TOOLBAR); + meet->avail_img = gtk_image_new_from_icon_name("dialog-warning-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR); meet->start_time = gtkut_time_select_combo_new(); @@ -1405,8 +1403,8 @@ static VCalMeeting *vcal_meeting_create_real(VCalEvent *event, gboolean visible) meet->avail_btn = gtk_button_new_with_label(_("Check availability")); meet->total_avail_evtbox = gtk_event_box_new(); - meet->total_avail_img = gtk_image_new_from_icon_name - ("dialog-warning", GTK_ICON_SIZE_SMALL_TOOLBAR); + meet->total_avail_img = gtk_image_new_from_icon_name("dialog-warning-symbolic", + GTK_ICON_SIZE_SMALL_TOOLBAR); meet->total_avail_msg = gtk_label_new(""); gtk_widget_set_size_request(meet->total_avail_evtbox, 18, 16); diff --git a/src/plugins/vcalendar/vcalendar.c b/src/plugins/vcalendar/vcalendar.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2022 the Claws Mail team and Colin Leroy + * Copyright (C) 1999-2025 the Claws Mail team and Colin Leroy * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1199,7 +1199,7 @@ MimeViewer *vcal_viewer_create(void) vcalviewer->uribtn = gtk_button_new_with_label(_("Launch website")); vcalviewer->unavail_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); warning_img = gtk_image_new_from_icon_name - ("dialog-warning", GTK_ICON_SIZE_SMALL_TOOLBAR); + ("dialog-warning-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR); warning_label = gtk_label_new(_("You are already busy at this time.")); gtk_box_pack_start(GTK_BOX(vcalviewer->unavail_box), warning_img, FALSE, FALSE, 0); diff --git a/src/ssl_manager.c b/src/ssl_manager.c @@ -448,7 +448,7 @@ static void ssl_manager_delete_cb(GtkWidget *widget, val = alertpanel_full(_("Delete certificate"), _("Do you really want to delete this certificate?"), - NULL, _("_Cancel"), "edit-delete", _("D_elete"), NULL, NULL, + NULL, _("_Cancel"), "edit-delete-symbolic", _("D_elete"), NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); diff --git a/src/summary_search.c b/src/summary_search.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto + * Copyright (C) 1999-2025 the Claws Mail team and Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -782,7 +782,7 @@ static void summary_search_execute(gboolean backward, gboolean search_all) if (all_searched) { alertpanel_full(_("Search failed"), _("Search string not found."), - "window-close", _("_Close"), NULL, NULL, + "window-close-symbolic", _("_Close"), NULL, NULL, NULL, NULL, ALERTFOCUS_FIRST, FALSE, NULL, ALERT_WARNING); break;