diff options
author | Franz Geffke <franz@pantherx.org> | 2023-06-25 16:07:34 +0100 |
---|---|---|
committer | Franz Geffke <franz@pantherx.org> | 2023-06-25 16:07:34 +0100 |
commit | 54b4056ac571611892c743b65f4c47dc298c49da (patch) | |
tree | 36e4a84137d2b9bc9a241cf82563da6114bf6189 /claws-mail-theme-path.patch |
initial commit
Diffstat (limited to 'claws-mail-theme-path.patch')
-rw-r--r-- | claws-mail-theme-path.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/claws-mail-theme-path.patch b/claws-mail-theme-path.patch new file mode 100644 index 0000000..2d2d212 --- /dev/null +++ b/claws-mail-theme-path.patch @@ -0,0 +1,20 @@ +diff --git a/src/stock_pixmap.c b/src/stock_pixmap.c +index c8e702d75..36c466f22 100644 +--- a/src/stock_pixmap.c ++++ b/src/stock_pixmap.c +@@ -827,6 +827,15 @@ GList *stock_pixmap_themes_list_new(void) + stock_pixmap_find_themes_in_dir(&list, userthemes); + stock_pixmap_find_themes_in_dir(&list, systemthemes); + ++ GList *itt = NULL; ++ const gchar * const *sysdirs; ++ sysdirs = g_get_system_data_dirs(); ++ for (; *sysdirs; sysdirs++) { ++ userthemes = g_strconcat(*sysdirs, G_DIR_SEPARATOR_S, ++ "claws-mail/themes", NULL); ++ stock_pixmap_find_themes_in_dir(&list, userthemes); ++ } ++ + g_free(userthemes); + g_free(systemthemes); + return list; |