diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-27 13:22:26 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-27 17:08:52 +0300 |
commit | fad585d6f4b99465949bcd29529109527ee254eb (patch) | |
tree | 7a14364be2f1ec6eccdf22b6f369311d8d2e8960 /release | |
parent | eda770f88406c22ad91ee2d5f576477f5e3c8f13 (diff) |
UI: user fewer icons in File and Render menus.
Having an icon for nearly every menu entry can make it harder to scan.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 5ea5923c1e0..bb147dab6a6 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -297,10 +297,10 @@ class INFO_MT_file(Menu): layout.operator_context = 'INVOKE_AREA' layout.operator("wm.read_homefile", text="New", icon='NEW') layout.operator("wm.open_mainfile", text="Open...", icon='FILE_FOLDER') - layout.menu("INFO_MT_file_open_recent", icon='OPEN_RECENT') - layout.operator("wm.revert_mainfile", icon='FILE_REFRESH') - layout.operator("wm.recover_last_session", icon='RECOVER_LAST') - layout.operator("wm.recover_auto_save", text="Recover Auto Save...", icon='RECOVER_AUTO') + layout.menu("INFO_MT_file_open_recent") + layout.operator("wm.revert_mainfile") + layout.operator("wm.recover_last_session") + layout.operator("wm.recover_auto_save", text="Recover Auto Save...") layout.separator() @@ -308,15 +308,15 @@ class INFO_MT_file(Menu): layout.operator("wm.save_mainfile", text="Save", icon='FILE_TICK') layout.operator_context = 'INVOKE_AREA' - layout.operator("wm.save_as_mainfile", text="Save As...", icon='SAVE_AS') + layout.operator("wm.save_as_mainfile", text="Save As...") layout.operator_context = 'INVOKE_AREA' - layout.operator("wm.save_as_mainfile", text="Save Copy...", icon='SAVE_COPY').copy = True + layout.operator("wm.save_as_mainfile", text="Save Copy...").copy = True layout.separator() layout.operator_context = 'INVOKE_AREA' - layout.operator("wm.save_homefile", icon='SAVE_PREFS') - layout.operator("wm.read_factory_settings", icon='LOAD_FACTORY') + layout.operator("wm.save_homefile") + layout.operator("wm.read_factory_settings") layout.separator() @@ -332,7 +332,7 @@ class INFO_MT_file(Menu): layout.separator() - layout.menu("INFO_MT_file_external_data", icon='EXTERNAL_DATA') + layout.menu("INFO_MT_file_external_data") layout.separator() @@ -443,7 +443,7 @@ class INFO_MT_render(Menu): layout.separator() - layout.prop_menu_enum(rd, "display_mode", text="Display Mode", icon='IMAGE_COL') + layout.prop_menu_enum(rd, "display_mode", text="Display Mode") layout.prop(rd, "use_lock_interface", text="Lock Interface") layout.separator() @@ -453,7 +453,7 @@ class INFO_MT_render(Menu): props = layout.operator("render.opengl", text="OpenGL Render Animation", icon='RENDER_ANIMATION') props.view_context = False props.animation = True - layout.menu("INFO_MT_opengl_render", icon='SETTINGS') + layout.menu("INFO_MT_opengl_render") layout.separator() @@ -530,7 +530,7 @@ class INFO_MT_window(Menu): if context.scene.render.use_multiview: layout.separator() - layout.operator("wm.set_stereo_3d", icon='CAMERA_STEREO') + layout.operator("wm.set_stereo_3d") class INFO_MT_help(Menu): |