[evolution] M!33 - Update usage of stock_task-assigned-to icon



commit 3d58a5e6f2215811e485d6c619a70d32dd74700f
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Fri Jul 12 20:30:44 2019 +0000

    M!33 - Update usage of stock_task-assigned-to icon
    
    The Mail View Todo-Pane used on right mouse click to the action “New
    Assigned Task” the icon (orange arrow), that is used to show that
    somebody else created and assigned the task to the current user.
    
    The icon here is changed to blue arrow (current user is organizer).
    
    In the Event Window→Tasks bar and in the Task window, on right click,
    show in the menu before “Assign Task” an appropriate icon (blue arrow).
    
    Closes https://gitlab.gnome.org/GNOME/evolution/merge_requests/33

 src/calendar/gui/e-to-do-pane.c                  | 2 +-
 src/modules/calendar/e-cal-shell-view-taskpad.c  | 2 +-
 src/modules/calendar/e-task-shell-view-actions.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/calendar/gui/e-to-do-pane.c b/src/calendar/gui/e-to-do-pane.c
index 7ef7094783..eaf0da8bf3 100644
--- a/src/calendar/gui/e-to-do-pane.c
+++ b/src/calendar/gui/e-to-do-pane.c
@@ -2156,7 +2156,7 @@ etdp_fill_popup_menu (EToDoPane *to_do_pane,
 
        item = gtk_image_menu_item_new_with_mnemonic (_("_New Assigned Task..."));
        gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item),
-               gtk_image_new_from_icon_name ("stock_task-assigned", GTK_ICON_SIZE_MENU));
+               gtk_image_new_from_icon_name ("stock_task-assigned-to", GTK_ICON_SIZE_MENU));
        g_signal_connect (item, "activate",
                G_CALLBACK (etdp_new_assigned_task_cb), to_do_pane);
        gtk_widget_show (item);
diff --git a/src/modules/calendar/e-cal-shell-view-taskpad.c b/src/modules/calendar/e-cal-shell-view-taskpad.c
index 57aad8663e..6116c59b8d 100644
--- a/src/modules/calendar/e-cal-shell-view-taskpad.c
+++ b/src/modules/calendar/e-cal-shell-view-taskpad.c
@@ -301,7 +301,7 @@ action_calendar_taskpad_save_as_cb (GtkAction *action,
 static GtkActionEntry calendar_taskpad_entries[] = {
 
        { "calendar-taskpad-assign",
-         NULL,
+         "stock_task-assigned-to",
          N_("_Assign Task"),
          NULL,
          NULL,  /* XXX Add a tooltip! */
diff --git a/src/modules/calendar/e-task-shell-view-actions.c 
b/src/modules/calendar/e-task-shell-view-actions.c
index 7703084961..0bdaa9ec18 100644
--- a/src/modules/calendar/e-task-shell-view-actions.c
+++ b/src/modules/calendar/e-task-shell-view-actions.c
@@ -685,7 +685,7 @@ action_task_view_cb (GtkRadioAction *action,
 static GtkActionEntry task_entries[] = {
 
        { "task-assign",
-         NULL,
+         "stock_task-assigned-to",
          N_("_Assign Task"),
          NULL,
          NULL,  /* XXX Add a tooltip! */


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