UI: Rename and put Reset Recent to a menu #112853
|
@ -327,8 +327,8 @@ class FILEBROWSER_PT_bookmarks_favorites(FileBrowserPanel, Panel):
|
|||
layout.operator("file.bookmark_add", icon='ADD')
|
||||
|
||||
|
||||
class FILEBROWSER_MT_bookmarks_recents_context_menu(Menu):
|
||||
bl_label = "Recent Directories Specials"
|
||||
class FILEBROWSER_MT_bookmarks_recents_specials_menu(Menu):
|
||||
persun marked this conversation as resolved
Outdated
|
||||
bl_label = "Recent Items Specials"
|
||||
persun marked this conversation as resolved
Outdated
Pablo Vazquez
commented
`Recent Items Specials`, since it can also be drives or network locations that are not regular directories.
|
||||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
@ -360,7 +360,7 @@ class FILEBROWSER_PT_bookmarks_recents(Panel):
|
|||
space, "recent_folders_active", item_dyntip_propname="path", rows=1, maxrows=10)
|
||||
|
||||
col = row.column(align=True)
|
||||
col.menu("FILEBROWSER_MT_bookmarks_recents_context_menu", icon='DOWNARROW_HLT', text="")
|
||||
col.menu("FILEBROWSER_MT_bookmarks_recents_specials_menu", icon='DOWNARROW_HLT', text="")
|
||||
|
||||
|
||||
class FILEBROWSER_PT_advanced_filter(Panel):
|
||||
|
@ -862,7 +862,7 @@ classes = (
|
|||
FILEBROWSER_PT_bookmarks_favorites,
|
||||
FILEBROWSER_PT_bookmarks_system,
|
||||
FILEBROWSER_PT_bookmarks_volumes,
|
||||
FILEBROWSER_MT_bookmarks_recents_context_menu,
|
||||
FILEBROWSER_MT_bookmarks_recents_specials_menu,
|
||||
FILEBROWSER_PT_bookmarks_recents,
|
||||
FILEBROWSER_PT_advanced_filter,
|
||||
FILEBROWSER_PT_directory_path,
|
||||
|
|
Loading…
Reference in New Issue
This is not actually a context menu so maybe just call it specials?
FILEBROWSER_MT_bookmarks_recents_specials_menu