From 32d99dc0d07a918ec44b2296bc71b8ffce199ae1 Mon Sep 17 00:00:00 2001 From: lenemter Date: Fri, 14 Aug 2026 10:43:41 +0300 Subject: [PATCH] App: use correct GPU name --- src/AppSystem/App.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AppSystem/App.vala b/src/AppSystem/App.vala index e4aabd30..dfa69dbe 100644 --- a/src/AppSystem/App.vala +++ b/src/AppSystem/App.vala @@ -90,7 +90,7 @@ public class Dock.App : Object { app_action_group.add_action (switcheroo_action); app_action_menu.append ( - _("Open with %s Graphics").printf (switcheroo_control.get_gpu_name (!prefers_nondefault_gpu)), + _("Open with %s Graphics").printf (switcheroo_control.get_gpu_name (prefers_nondefault_gpu)), ACTION_PREFIX + SWITCHEROO_ACTION ); } @@ -132,7 +132,7 @@ public class Dock.App : Object { }); } - public void launch (AppLaunchContext context, string? action = null, bool? use_preferred_gpu = true) { + public void launch (AppLaunchContext context, string? action = null, bool use_preferred_gpu = true) { launched (); if (use_preferred_gpu) {