SHA256
1
0
forked from pool/breeze-gtk
breeze-gtk/0001-Set-the-default-cursor-theme-to-breeze_cursors.patch

46 lines
1.7 KiB
Diff

From dcacaa1d4f7e2a591de64889ae108e9c07054b1c Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Tue, 27 Nov 2018 15:36:07 +0100
Subject: [PATCH] Set the default cursor theme to breeze_cursors
Summary: Currently the cursor theme is not set by anything, so it's Adwaita by default.
Test Plan: New user account has "Breeze" as cursor theme in kde-gtk-config.
Reviewers: #plasma, ngraham
Reviewed By: ngraham
Subscribers: ngraham, broulik, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D17187
---
kconf_update/main.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kconf_update/main.cpp b/kconf_update/main.cpp
index d5f7ce0..cde1838 100644
--- a/kconf_update/main.cpp
+++ b/kconf_update/main.cpp
@@ -133,6 +133,7 @@ int setGtk2()
out << QStringLiteral(" font_name=\"Noto Sans Regular\"\n");
out << QStringLiteral("}\n");
out << QStringLiteral("widget_class \"*\" style \"user-font\"\n");
+ out << QStringLiteral("gtk-cursor-theme-name=\"breeze_cursors\"\n");
out << QStringLiteral("gtk-font-name=\"Noto Sans Regular 10\"\n"); // matches plasma-workspace:startkde/startkde.cmake
out << QStringLiteral("gtk-theme-name=\"Breeze\"\n");
out << QStringLiteral("gtk-icon-theme-name=\"breeze\"\n");
@@ -175,6 +176,7 @@ int setGtk3()
}
QTextStream out(&gtkrc3writer);
out << QStringLiteral("[Settings]\n");
+ out << QStringLiteral("gtk-cursor-theme-name=breeze_cursors\n");
out << QStringLiteral("gtk-font-name=Noto Sans 10\n"); // matches plasma-workspace:startkde/startkde.cmake
out << QStringLiteral("gtk-theme-name=")+gtk3Theme+QStringLiteral("\n");
out << QStringLiteral("gtk-icon-theme-name=breeze\n");
--
2.19.1