소스 검색

Applications+Games: Drop ellipsis from settings action

There is no second step to complete after activating this action.
Linus Groh 3 년 전
부모
커밋
c19486172d
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      Userland/Applications/Browser/BrowserWindow.cpp
  2. 1 1
      Userland/Games/2048/main.cpp
  3. 1 1
      Userland/Games/Hearts/main.cpp

+ 1 - 1
Userland/Applications/Browser/BrowserWindow.cpp

@@ -284,7 +284,7 @@ void BrowserWindow::build_menus()
     }
 
     settings_menu.add_separator();
-    auto open_settings_action = GUI::Action::create("&Settings...", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png").release_value_but_fixme_should_propagate_errors(),
+    auto open_settings_action = GUI::Action::create("&Settings", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png").release_value_but_fixme_should_propagate_errors(),
         [](auto&) {
             Core::Process::spawn("/bin/BrowserSettings");
         });

+ 1 - 1
Userland/Games/2048/main.cpp

@@ -192,7 +192,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
     })));
 
     TRY(game_menu->try_add_separator());
-    TRY(game_menu->try_add_action(GUI::Action::create("&Settings...", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png")), [&](auto&) {
+    TRY(game_menu->try_add_action(GUI::Action::create("&Settings", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png")), [&](auto&) {
         change_settings();
     })));
 

+ 1 - 1
Userland/Games/Hearts/main.cpp

@@ -91,7 +91,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
         game.setup(player_name);
     })));
     TRY(game_menu->try_add_separator());
-    TRY(game_menu->try_add_action(GUI::Action::create("&Settings...", [&](auto&) {
+    TRY(game_menu->try_add_action(GUI::Action::create("&Settings", [&](auto&) {
         change_settings();
     })));
     TRY(game_menu->try_add_separator());