瀏覽代碼

Base: Add new icons for fonts and File Manager

thankyouverycool 4 年之前
父節點
當前提交
42717b5b79

+ 2 - 0
Base/etc/FileIconProvider.ini

@@ -1,5 +1,6 @@
 [Icons]
 cplusplus=*.cpp,*.cxx,*.cc,*.c++
+font=*.font
 form=*.frm
 header=*.h,*.hpp,*.hxx,*.hh,*.h++
 html=*.html,*.htm
@@ -16,3 +17,4 @@ python=*.py
 sound=*.wav
 spreadsheet=*.sheets
 text=*.txt
+truetype=*.ttf

二進制
Base/res/icons/16x16/app-file-manager.png


二進制
Base/res/icons/16x16/filetype-font.png


二進制
Base/res/icons/16x16/filetype-truetype.png


二進制
Base/res/icons/32x32/app-file-manager.png


二進制
Base/res/icons/32x32/filetype-font.png


二進制
Base/res/icons/32x32/filetype-truetype.png


+ 1 - 1
Userland/Applications/FileManager/CMakeLists.txt

@@ -9,5 +9,5 @@ set(SOURCES
     PropertiesWindow.cpp
 )
 
-serenity_app(FileManager ICON filetype-folder)
+serenity_app(FileManager ICON app-file-manager)
 target_link_libraries(FileManager LibGUI LibDesktop)

+ 1 - 1
Userland/Applications/FileManager/main.cpp

@@ -731,7 +731,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
     go_menu.add_action(go_to_location_action);
 
     auto& help_menu = menubar->add_menu("Help");
-    help_menu.add_action(GUI::CommonActions::make_about_action("File Manager", GUI::Icon::default_icon("filetype-folder"), window));
+    help_menu.add_action(GUI::CommonActions::make_about_action("File Manager", GUI::Icon::default_icon("app-file-manager"), window));
 
     GUI::Application::the()->set_menubar(move(menubar));