[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [xsettings-kde] /: Drop Ia Ora theme support
From: Olav Vitters <olav () vitters ! nl>
Date: 2016-01-23 14:50:45
Message-ID: E1aMzWX-0004HZ-Sg () scm ! kde ! org
[Download RAW message or body]
Git commit 34cc41b6a2a47bc329e0e2bfb853cf6b879ccdd5 by Olav Vitters, on behalf of Luc \
Menut. Committed on 23/01/2016 at 14:50.
Pushed by vitters into branch 'master'.
Drop Ia Ora theme support
M +0 -19 xsettings-kde.c
http://commits.kde.org/xsettings-kde/34cc41b6a2a47bc329e0e2bfb853cf6b879ccdd5
diff --git a/xsettings-kde.c b/xsettings-kde.c
index 39058ac..6162136 100644
--- a/xsettings-kde.c
+++ b/xsettings-kde.c
@@ -239,7 +239,6 @@ void readConfig () {
char filename[1024];
char kdeprefix[1024];
char *prefix;
- char color[1024];
char style[1024];
char themefilename[1024];
struct passwd *password;
@@ -247,7 +246,6 @@ void readConfig () {
int user_file;
int file_index;
- color[0]= '\0';
kdeprefix[0]= '\0';
filename[0]= '\0';
style[0]='\0';
@@ -386,16 +384,7 @@ void readConfig () {
}
notify = 1;
}
- if (strncmp(buffer,"widgetStyle=",12) == 0) {
- /* found style */
- sscanf(buffer,"widgetStyle=%s", style);
-
- }
- if (strncmp(buffer,"ColorScheme=",12) == 0) {
- strcpy(color, buffer+12);
- color[strlen(color)-1]='\0';
- }
notify |= readDPI(buffer);
break;
@@ -455,14 +444,6 @@ void readConfig () {
free (buffer);
}
- if ((style[0] == '\0' || (!is_kde4 && strcmp(style, "ia_ora") == 0) || (is_kde4 && \
strcmp(style, "iaora-qt") == 0) || (is_kde4 && strcmp(style, "iaorakde") == 0)) && \
strncmp("Ia Ora ", color, 7) == 0)
- {
- strcpy(style, color);
- if (!is_kde4) {
- style[strlen(style)-6] = '\0';
- }
- }
-
if (style[0]) {
int gtkrc_access = 1;
sprintf(themefilename, "/usr/share/themes/%s/gtk-2.0/gtkrc", style);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic