feat: refresh button in Files, svg.hpp arc handling
This commit is contained in:
@@ -137,6 +137,17 @@ void filemanager_go_home(FileManagerState* fm) {
|
||||
filemanager_push_history(fm);
|
||||
}
|
||||
|
||||
void filemanager_refresh(FileManagerState* fm) {
|
||||
if (!fm) return;
|
||||
if (filemanager_is_virtual_view(fm)) {
|
||||
filemanager_read_virtual_view(fm, fm->virtual_view);
|
||||
} else if (filemanager_is_computer_view(fm)) {
|
||||
filemanager_read_drives(fm);
|
||||
} else {
|
||||
filemanager_read_dir(fm);
|
||||
}
|
||||
}
|
||||
|
||||
void filemanager_start_pathbar(FileManagerState* fm) {
|
||||
fm->pathbar_editing = true;
|
||||
if (filemanager_is_computer_view(fm) || filemanager_is_virtual_view(fm)) {
|
||||
|
||||
Reference in New Issue
Block a user