Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2018-11-07 00:05:05 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-11-07 00:05:05 +0300
commita55ef183094f72bb92c169ee0d3dce13374857ee (patch)
tree88b3d3212d29add495551b189ccf4c6e184acb9f /source/blender/editors/screen/workspace_edit.c
parent2b1843c491c8caaaa08956e2edc1c6096c938839 (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/screen/workspace_edit.c')
-rw-r--r--source/blender/editors/screen/workspace_edit.c4
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);