Unverified Commit 6bfdf5c3 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

Pantheon updates 2025-11-15 (#461908)

parents 56b5cf59 ff280357
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -226,7 +226,6 @@ in
            gnome-menus
            adwaita-icon-theme
            gtk3.out # for gtk-launch program
            onboard
            sound-theme-freedesktop
            xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
          ])
+6 −2
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@
  libgnomekbd,
  libxklavier,
  ibus,
  onboard,
  switchboard,
}:

@@ -40,8 +39,13 @@ stdenv.mkDerivation rec {
    # https://github.com/elementary/settings-keyboard/issues/324
    ./hide-install-unlisted-engines-button.patch

    # We no longer ship Pantheon X11 session in NixOS.
    # https://github.com/elementary/session-settings/issues/91
    # https://github.com/elementary/session-settings/issues/82
    ./hide-onscreen-keyboard-settings.patch

    (replaceVars ./fix-paths.patch {
      inherit onboard libgnomekbd;
      inherit libgnomekbd;
    })
  ];

+0 −13
Original line number Diff line number Diff line
diff --git a/src/Behavior/Behavior.vala b/src/Behavior/Behavior.vala
index bd461685..b6371096 100644
--- a/src/Behavior/Behavior.vala
+++ b/src/Behavior/Behavior.vala
@@ -252,7 +252,7 @@ public class Keyboard.Behaviour.Page : Gtk.Box {
 
         onscreen_keyboard_settings.clicked.connect (() => {
             try {
-                var appinfo = GLib.AppInfo.create_from_commandline ("onboard-settings", null, NONE);
+                var appinfo = GLib.AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, NONE);
                 appinfo.launch (null, null);
             } catch (Error e) {
                 critical ("Unable to launch onboard-settings: %s", e.message);
diff --git a/src/Layout/Widgets/AddLayoutDialog.vala b/src/Layout/Widgets/AddLayoutDialog.vala
index 25cc0fe9..b3e350bb 100644
--- a/src/Layout/Widgets/AddLayoutDialog.vala
+12 −0
Original line number Diff line number Diff line
diff --git a/src/Behavior/Behavior.vala b/src/Behavior/Behavior.vala
index a1929fe4..2f332694 100644
--- a/src/Behavior/Behavior.vala
+++ b/src/Behavior/Behavior.vala
@@ -227,7 +227,6 @@ public class Keyboard.Behaviour.Page : Gtk.Box {
         blink_grid.attach (scale_blink_time, 1, 2);
 
         var box = new Gtk.Box (VERTICAL, 18);
-        box.append (onscreen_keyboard_grid);
         box.append (blink_grid);
         box.append (repeat_grid);
         box.append (stickykeys_grid);
+5 −7
Original line number Diff line number Diff line
@@ -31,13 +31,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-mdfmCzR9ikXDlDc7FeOITsdbPbz+G66jUrl1BobY+g8=";
  };

  /*
    This allows `elementary-session-settings` to not use gnome-keyring's ssh capabilities anymore, as they have been
    moved to gcr upstream, in an effort to modularize gnome-keyring.

    More info can be found here: https://gitlab.gnome.org/GNOME/gnome-keyring/-/merge_requests/60
  */
  patches = [ ./no-gnome-keyring-ssh-autostart.patch ];
  patches = [
    # See https://github.com/elementary/session-settings/issues/88 for gnome-keyring.
    # See https://github.com/elementary/session-settings/issues/82 for onboard.
    ./no-autostart.patch
  ];

  nativeBuildInputs = [
    desktop-file-utils
Loading