Mageia Bugzilla – Attachment 252 Details for
Bug 900
[Review Request] migration from colorScheme to kde ColorScheme
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch for xsettings-kde
xsettings-kde-fix-kde-ColorScheme.patch (text/plain), 735 bytes, created by
Luc Menut
on 2011-04-20 00:15:05 CEST
(
hide
)
Description:
patch for xsettings-kde
Filename:
MIME Type:
Creator:
Luc Menut
Created:
2011-04-20 00:15:05 CEST
Size:
735 bytes
patch
obsolete
>Index: trunk/xsettings-kde.c >=================================================================== >--- trunk/xsettings-kde.c (révision 955) >+++ trunk/xsettings-kde.c (copie de travail) >@@ -330,10 +330,6 @@ > > buttonIconSet |= readBoolean("ShowIconsOnPushButtons", buffer, "Gtk/ButtonImages"); > notify |= buttonIconSet; >- if (strncmp(buffer,"colorScheme=",12) == 0) { >- strcpy(color, buffer+12); >- color[strlen(color)-1]='\0'; >- } > > break; > case General: >@@ -356,6 +352,10 @@ > sscanf(buffer,"widgetStyle=%s", style); > > } >+ if (strncmp(buffer,"ColorScheme=",12) == 0) { >+ strcpy(color, buffer+12); >+ color[strlen(color)-1]='\0'; >+ } > notify |= readDPI(buffer); > > break;
Index: trunk/xsettings-kde.c =================================================================== --- trunk/xsettings-kde.c (révision 955) +++ trunk/xsettings-kde.c (copie de travail) @@ -330,10 +330,6 @@ buttonIconSet |= readBoolean("ShowIconsOnPushButtons", buffer, "Gtk/ButtonImages"); notify |= buttonIconSet; - if (strncmp(buffer,"colorScheme=",12) == 0) { - strcpy(color, buffer+12); - color[strlen(color)-1]='\0'; - } break; case General: @@ -356,6 +352,10 @@ sscanf(buffer,"widgetStyle=%s", style); } + if (strncmp(buffer,"ColorScheme=",12) == 0) { + strcpy(color, buffer+12); + color[strlen(color)-1]='\0'; + } notify |= readDPI(buffer); break;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 900
:
251
| 252