app, docs, etc: "Default" is (as the name implies) the new default theme.

This commit is contained in:
Jehan 2022-08-21 00:51:47 +02:00
parent cb7f9f86a8
commit 623346a8a7
4 changed files with 13 additions and 4 deletions

View File

@ -24,7 +24,7 @@
#include "config/gimpdisplayconfig.h"
#define GIMP_CONFIG_DEFAULT_THEME "Dark"
#define GIMP_CONFIG_DEFAULT_THEME "Default"
#define GIMP_CONFIG_DEFAULT_ICON_THEME "Symbolic"

View File

@ -259,11 +259,20 @@ themes_apply_theme (Gimp *gimp,
gchar *tmp;
tmp = g_build_filename (gimp_data_directory (),
"themes", "System", "gimp.css",
"themes", "Default", "gimp.css",
NULL);
css_files = g_slist_prepend (
css_files, g_file_new_for_path (tmp));
g_free (tmp);
if (config->prefer_dark_theme)
{
tmp = g_build_filename (gimp_data_directory (),
"themes", "Default", "gimp-dark.css",
NULL);
css_files = g_slist_prepend (css_files, g_file_new_for_path (tmp));
g_free (tmp);
}
}
css_files = g_slist_prepend (

View File

@ -992,7 +992,7 @@ Sets the theme search path. This is a colon-separated list of folders to
search.
.TP
(theme "Dark")
(theme "Default")
The name of the theme to use. This is a string value.

View File

@ -786,7 +786,7 @@
# The name of the theme to use. This is a string value.
#
# (theme "Dark")
# (theme "Default")
# The name of the theme to use. Possible values are yes and no.
#