From 928489e8b4c50f27764d9ecac354d1c27dc8f51f Mon Sep 17 00:00:00 2001 From: Danielle Date: Mon, 6 May 2024 17:39:03 +0000 Subject: [PATCH] Fix missing Dock & Panel settings --- src/Plug.vala | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Plug.vala b/src/Plug.vala index 0acb4484c..d68b41c00 100644 --- a/src/Plug.vala +++ b/src/Plug.vala @@ -56,6 +56,7 @@ public class PantheonShell.Plug : Switchboard.Plug { if (main_grid == null) { wallpaper_view = new Wallpaper (this); + var dock = new Dock (); var multitasking = new Multitasking (); var appearance = new Appearance (); var text = new Text (); @@ -64,12 +65,7 @@ public class PantheonShell.Plug : Switchboard.Plug { stack.add_titled (wallpaper_view, "wallpaper", _("Wallpaper")); stack.add_titled (appearance, "appearance", _("Appearance")); stack.add_titled (text, "text", _("Text")); - - if (GLib.Environment.find_program_in_path ("plank") != null) { - var dock = new Dock (); - stack.add_titled (dock, "dock", _("Dock & Panel")); - } - + stack.add_titled (dock, "dock", _("Dock & Panel")); stack.add_titled (multitasking, "multitasking", _("Multitasking")); var stack_switcher = new Gtk.StackSwitcher () {