diff options
author | William Reynish <billrey@me.com> | 2019-05-08 16:07:07 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-05-08 16:07:07 +0300 |
commit | adea6146f626543acffae8eeff90324f7046294d (patch) | |
tree | 24ad802c307e44f5eb423e6de25c810dee02271a /release/scripts/startup/bl_ui/space_filebrowser.py | |
parent | 503ced78f3e8b4851ea118500095a01189e58112 (diff) |
UI: Make File Browser bookmarks panels unparented again
Also open Recents again by default
Diffstat (limited to 'release/scripts/startup/bl_ui/space_filebrowser.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_filebrowser.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py index 9fffa253329..4f371b8851f 100644 --- a/release/scripts/startup/bl_ui/space_filebrowser.py +++ b/release/scripts/startup/bl_ui/space_filebrowser.py @@ -117,20 +117,9 @@ class FILEBROWSER_UL_dir(UIList): -class FILEBROWSER_PT_bookmarks(Panel): - bl_space_type = 'FILE_BROWSER' - bl_region_type = 'TOOLS' - bl_category = "Bookmarks" - bl_label = "Bookmarks" - - def draw(self, context): - pass - - class FILEBROWSER_PT_bookmarks_volumes(Panel): bl_space_type = 'FILE_BROWSER' bl_region_type = 'TOOLS' - bl_parent_id = "FILEBROWSER_PT_bookmarks" bl_options = {'DEFAULT_CLOSED'} bl_category = "Bookmarks" bl_label = "Volumes" @@ -148,7 +137,6 @@ class FILEBROWSER_PT_bookmarks_volumes(Panel): class FILEBROWSER_PT_bookmarks_system(Panel): bl_space_type = 'FILE_BROWSER' bl_region_type = 'TOOLS' - bl_parent_id = "FILEBROWSER_PT_bookmarks" bl_category = "Bookmarks" bl_label = "System" @@ -181,7 +169,6 @@ class FILEBROWSER_MT_bookmarks_context_menu(Menu): class FILEBROWSER_PT_bookmarks_favorites(Panel): bl_space_type = 'FILE_BROWSER' bl_region_type = 'TOOLS' - bl_parent_id = "FILEBROWSER_PT_bookmarks" bl_category = "Bookmarks" bl_label = "Favorites" @@ -212,9 +199,7 @@ class FILEBROWSER_PT_bookmarks_favorites(Panel): class FILEBROWSER_PT_bookmarks_recents(Panel): bl_space_type = 'FILE_BROWSER' bl_region_type = 'TOOLS' - bl_parent_id = "FILEBROWSER_PT_bookmarks" bl_category = "Bookmarks" - bl_options = {'DEFAULT_CLOSED'} bl_label = "Recents" @classmethod @@ -237,7 +222,6 @@ class FILEBROWSER_PT_bookmarks_recents(Panel): class FILEBROWSER_PT_advanced_filter(Panel): bl_space_type = 'FILE_BROWSER' bl_region_type = 'TOOLS' - bl_parent_id = "FILEBROWSER_PT_bookmarks" bl_category = "Filter" bl_label = "Advanced Filter" @@ -278,7 +262,6 @@ class FILEBROWSER_MT_view(Menu): classes = ( FILEBROWSER_HT_header, FILEBROWSER_UL_dir, - FILEBROWSER_PT_bookmarks, FILEBROWSER_PT_bookmarks_volumes, FILEBROWSER_PT_bookmarks_system, FILEBROWSER_MT_bookmarks_context_menu, |