[evolution] I#2022 - Use icon-only buttons in the header bar



commit fde82bd10d57588a7c05fae16588699c754402b2
Author: Milan Crha <mcrha redhat com>
Date:   Tue Sep 13 19:22:34 2022 +0200

    I#2022 - Use icon-only buttons in the header bar
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2022

 src/modules/mail/e-mail-shell-view-private.c | 8 ++++----
 src/shell/e-shell-headerbar.c                | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/modules/mail/e-mail-shell-view-private.c b/src/modules/mail/e-mail-shell-view-private.c
index 86fd1c70db..55efd17c64 100644
--- a/src/modules/mail/e-mail-shell-view-private.c
+++ b/src/modules/mail/e-mail-shell-view-private.c
@@ -1497,7 +1497,7 @@ e_mail_shell_view_update_send_receive_menus (EMailShellView *mail_shell_view)
                        GTK_MENU_ITEM (widget),
                        create_send_receive_submenu (mail_shell_view));
 
-       widget = e_header_bar_button_new (_("Send / Receive"), ACTION (MAIL_SEND_RECEIVE));
+       widget = e_header_bar_button_new (NULL, ACTION (MAIL_SEND_RECEIVE));
        gtk_widget_set_name (widget, "e-mail-shell-view-send-receive");
        e_header_bar_button_take_menu (
                E_HEADER_BAR_BUTTON (widget),
@@ -1508,7 +1508,7 @@ e_mail_shell_view_update_send_receive_menus (EMailShellView *mail_shell_view)
 
        action_name = "mail-forward";
        action = e_mail_reader_get_action (E_MAIL_READER (mail_view), action_name);
-       widget = e_header_bar_button_new (_("Forward"), action);
+       widget = e_header_bar_button_new (NULL, action);
        gtk_widget_set_name (widget, "e-mail-shell-view-forward");
        e_header_bar_button_take_menu (
                E_HEADER_BAR_BUTTON (widget),
@@ -1519,7 +1519,7 @@ e_mail_shell_view_update_send_receive_menus (EMailShellView *mail_shell_view)
 
        action_name = "mail-reply-group";
        action = e_mail_reader_get_action (E_MAIL_READER (mail_view), action_name);
-       widget = e_header_bar_button_new (_("Group Reply"), action);
+       widget = e_header_bar_button_new (NULL, action);
        gtk_widget_set_name (widget, "e-mail-shell-view-reply-group");
        gtk_widget_show (widget);
 
@@ -1531,7 +1531,7 @@ e_mail_shell_view_update_send_receive_menus (EMailShellView *mail_shell_view)
 
        action_name = "mail-reply-sender";
        action = e_mail_reader_get_action (E_MAIL_READER (mail_view), action_name);
-       widget = e_header_bar_button_new (_("Reply"), action);
+       widget = e_header_bar_button_new (NULL, action);
        gtk_widget_set_name (widget, "e-mail-shell-view-reply-sender");
        gtk_widget_show (widget);
 
diff --git a/src/shell/e-shell-headerbar.c b/src/shell/e-shell-headerbar.c
index 70a4ea942b..71467cfe6b 100644
--- a/src/shell/e-shell-headerbar.c
+++ b/src/shell/e-shell-headerbar.c
@@ -157,7 +157,7 @@ shell_header_bar_constructed (GObject *object)
 
        ui_manager = e_shell_window_get_ui_manager (shell_window);
 
-       new_button = e_header_bar_button_new (C_("toolbar-button", "New"), NULL);
+       new_button = e_header_bar_button_new (NULL, NULL);
        gtk_header_bar_pack_start (GTK_HEADER_BAR (self), new_button);
        gtk_widget_show (new_button);
        self->priv->new_button = g_object_ref (new_button);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]