diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-07 00:05:05 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-07 00:05:05 +0300 |
commit | a55ef183094f72bb92c169ee0d3dce13374857ee (patch) | |
tree | 88b3d3212d29add495551b189ccf4c6e184acb9f /source/blender/editors | |
parent | 2b1843c491c8caaaa08956e2edc1c6096c938839 (diff) |
UI: Use icons for some operators.
* Area and Workspace duplicate.
* Toggle Area Fullscreen
* Operator Search
* Workspace reorder to front/back (arrows help to know which direction means front/back)
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/workspace_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c index ea7ddd85852..31df1a44f89 100644 --- a/source/blender/editors/screen/workspace_edit.c +++ b/source/blender/editors/screen/workspace_edit.c @@ -502,7 +502,7 @@ static void workspace_add_menu(bContext *C, uiLayout *layout, void *template_v) static int workspace_add_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) { - uiPopupMenu *pup = UI_popup_menu_begin(C, op->type->name, ICON_NONE); + uiPopupMenu *pup = UI_popup_menu_begin(C, op->type->name, ICON_ADD); uiLayout *layout = UI_popup_menu_layout(pup); uiItemMenuF(layout, IFACE_("General"), ICON_NONE, workspace_add_menu, NULL); @@ -523,7 +523,7 @@ static int workspace_add_invoke(bContext *C, wmOperator *op, const wmEvent *UNUS BLI_freelistN(&templates); uiItemS(layout); - uiItemO(layout, "Duplicate Current", ICON_NONE, "WORKSPACE_OT_duplicate"); + uiItemO(layout, "Duplicate Current", ICON_DUPLICATE, "WORKSPACE_OT_duplicate"); UI_popup_menu_end(C, pup); |