mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
IDEA-346478 Collect Theme statistic on Linux
- Fixed review comment GitOrigin-RevId: 7261881fd86609f180e599dfcd91cbb2e41b8967
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c895349db2
commit
c305533a31
@@ -335,7 +335,7 @@ public final class X11UiUtil {
|
||||
if (SystemInfo.isGNOME) {
|
||||
String result = exec("Cannot get gnome theme", "gsettings", "get", "org.gnome.desktop.interface", "gtk-theme");
|
||||
|
||||
if (result == null || !result.startsWith("'") || !result.endsWith("'")) {
|
||||
if (result == null || result.length() <= 1 || !result.startsWith("'") || !result.endsWith("'")) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user