Hello community,
here is the log from the commit of package kolor-manager for openSUSE:Factory checked in at 2011-11-21 15:45:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kolor-manager (Old)
and /work/SRC/openSUSE:Factory/.kolor-manager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kolor-manager", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/kolor-manager/kolor-manager.changes 2011-09-26 10:07:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kolor-manager.new/kolor-manager.changes 2011-11-21 15:45:51.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Nov 15 13:01:00 UTC 2011 - Kai-Uwe Behrmann - r1252330
+
+- fix for bug bnc#730109 KolorManager does not pass ICC profile name to Oyranos
+- rename visible panel title from Kolor Management to Color Management
+- i18n fixes
+- adaptions to KDE coding style
+
+-------------------------------------------------------------------
New:
----
kolor-manager_fix-const-char-and-coding-style.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kolor-manager.spec ++++++
--- /var/tmp/diff_new_pack.0YL3rl/_old 2011-11-21 15:45:53.000000000 +0100
+++ /var/tmp/diff_new_pack.0YL3rl/_new 2011-11-21 15:45:53.000000000 +0100
@@ -1,8 +1,7 @@
-# These macros are not present on the target distribution and are provided explicitly here
-%define make_jobs %{__make} %{?_smp_mflags} VERBOSE=1
-
-# Generated by kde-obs-generator version 0.3.2
#
+# spec file for package kolor-manager
+#
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Kai-Uwe Behrmann
#
# All modifications and additions to the file contributed by third parties
@@ -14,8 +13,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
# norootforbuild
+# These macros are not present on the target distribution and are provided explicitly here
+%define make_jobs %{__make} %{?_smp_mflags} VERBOSE=1
+
+# Generated by kde-obs-generator version 0.3.2
+#
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
Name: kolor-manager
BuildRequires: liboyranos-alpha-devel
@@ -23,7 +39,7 @@
BuildRequires: libkde4-devel
%endif
%if 0%{?fedora}
-BuildRequires: kdelibs-devel gcc-c++ libtool-ltdl-devel
+BuildRequires: gcc-c++ kdelibs-devel libtool-ltdl-devel
%endif
%if 0%{?mandriva_version}
BuildRequires: kdelibs4-devel libtool-devel
@@ -37,6 +53,7 @@
Release: 0
Source: %{name}-%{version}.tar.bz2
%kde4_runtime_requires
+Patch0: kolor-manager_fix-const-char-and-coding-style.patch
Requires: oyranos
@@ -49,6 +66,7 @@
%prep
%setup -n %{name}-%{version} -q
+%patch0 -p1
%build
%cmake_kde4 -d build
++++++ kolor-manager_fix-const-char-and-coding-style.patch ++++++
diff --git a/README b/README
index 6f1caf7..6527abd 100644
--- a/README
+++ b/README
@@ -57,7 +57,7 @@ ColourWiki: http://www.oyranos.org/wiki/index.php?title=Kolor-manager
# local debug build
mkdir build
cd build
-cmake -DCMAKE_INSTALL_PREFIX=~/.kde4/ -DCMAKE_BUILD_TYPE=debugfull ../kolor-manager
+cmake -DCMAKE_INSTALL_PREFIX=~/.kde4/ -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_CXX_FLAGS="-g -Wall" ../kolor-manager
#Possibly prepend the PKG_CONFIG_PATH variable to reflect Oyranos...
kbuildsycoca4 # update KDEs internal icon and module cachings
kcmshell4 kminfo & # start
diff --git a/devices/kmdevices.cpp b/devices/kmdevices.cpp
index 8ee3c90..9fcdc79 100644
--- a/devices/kmdevices.cpp
+++ b/devices/kmdevices.cpp
@@ -501,8 +501,9 @@ void kmdevices::openProfile(int /*index*/)
temp_item = profileAssociationList->item(i);
if(temp_item->text() == baseFileName)
{
+ std::string t = baseFileName.toStdString();
KMessageBox::error(this,
- i18n("Profile " + baseFileName.toLocal8Bit() + " is already associated with this device!"),
+ i18n("Profile %1 is already associated with this device!", baseFileName),
i18n("Cannot add profile to list"));
return;
@@ -576,7 +577,7 @@ void kmdevices::profileListDoubleClicked( QListWidgetItem * item )
}
}
- KMessageBox::information( this, i18n("Oyranos DB entry:\n") + d );
+ KMessageBox::information( this, i18n("Oyranos DB entry:\n%1", d) );
oyConfig_Release( &config );
}
@@ -640,7 +641,8 @@ void kmdevices::assingProfile( QString & profile_name )
{
int error= 0;
oyConfig_s * device = getCurrentDevice();
- const char * profilename = profile_name.toLocal8Bit();
+ std::string t = profile_name.toStdString();
+ const char * profilename = t.c_str();
char * pn = strdup(profilename);
/* store a existing profile in DB */
@@ -698,7 +700,8 @@ QString kmdevices::convertFilenameToDescription(QString profileFilename)
QString profileDescriptionName;
oyProfile_s * profile_name;
- profile_name = oyProfile_FromFile( profileFilename.toLocal8Bit(), 0, 0);
+ std::string t = profileFilename.toStdString();
+ profile_name = oyProfile_FromFile( t.c_str(), 0, 0);
profileDescriptionName = oyProfile_GetText( profile_name, oyNAME_DESCRIPTION );
return profileDescriptionName;
diff --git a/devices/kmdevices.desktop b/devices/kmdevices.desktop
index bbf798c..46ac833 100644
--- a/devices/kmdevices.desktop
+++ b/devices/kmdevices.desktop
@@ -1,45 +1,6 @@
[Desktop Entry]
Name=Devices
-Name[cs]=Zařízení
-Name[el]=Συσκευές
-Name[en_GB]=Devices
-Name[eo]=Aparatoj
-Name[es]=Dispositivos
-Name[et]=Seadmed
-Name[fr]=Périphériques
-Name[ga]=Gléasanna
-Name[gl]=Dispositivos
-Name[hne]=उपकरन
-Name[it]=Dispositivi
-Name[km]=ឧបករណ៍
-Name[mai]=डिवाइस
-Name[nds]=Reedschappen
-Name[nl]=Apparaten
-Name[pa]=ਜੰਤਰ
-Name[pl]=Urządzenia
-Name[pt]=Dispositivos
-Name[pt_BR]=Dispositivos
-Name[sv]=Enheter
-Name[tr]=Aygıtlar
-Name[ug]=ئۈسكۈنىلەر
-Name[uk]=Пристрої
-Name[x-test]=xxDevicesxx
-Comment=Device settings for Kolor Management
-Comment[en_GB]=Device settings for Kolour Management
-Comment[es]=Preferencias de los dispositivos para el gestor de Kolor
-Comment[et]= Kolori haldamise seadmete seadistused
-Comment[fr]=Configuration du périphérique pour la gestion de Kolor
-Comment[it]=Impostazioni dispositivo per il gestore Kolor
-Comment[km]=ការកំណត់ឧបករណ៍សម្រាប់ការគ្រប់គ្រង Kolor
-Comment[nl]=Apparaatinstellingen voor kleurbeheer
-Comment[pa]= ਕਲਰ ਮੈਨੇਜਮੈਂਟ ਲਈ ਜੰਤਰ ਸੈਟਿੰਗ
-Comment[pl]=Ustawienia urządzenia dla Zarządzania Kolorem
-Comment[pt]=Configuração do dispositivo de Gestão de Cores
-Comment[pt_BR]=Configurações do dispositivo de Gerenciamento de Cores
-Comment[sv]=Enhetsinställningar för färghantering
-Comment[tr]=Renk Yönetimi için aygıt ayarları
-Comment[uk]=Параметри пристрою для керування Kolor
-Comment[x-test]=xxDevice settings for Kolor Managementxx
+Comment=Device settings for Color Management
Exec=kcprofiler
Icon=preferences-desktop-display
Type=Service
diff --git a/information/kminfo.cpp b/information/kminfo.cpp
index b5bdf95..1d32870 100644
--- a/information/kminfo.cpp
+++ b/information/kminfo.cpp
@@ -204,7 +204,8 @@ void kminfo::launchICCExamin()
} else
return;
}
- system(exec.toLocal8Bit());
+ std::string t = exec.toStdString();
+ system(t.c_str());
}
// Populate the tree with detected profile items.
@@ -446,19 +447,19 @@ void kminfo::populateDeviceProfileDescriptions(oyProfile_s * profile, bool valid
else
{
// Set default descriptions.
- descriptionTagLabel -> setText(tr("No Profile Selected"));
- copyrightTagLabel -> setText(tr("(Copyright not available)"));
- filenameTagLabel -> setText("");
- mfgTagLabel -> setText("");
- modelTagLabel -> setText("");
-
- dateTagLabel -> setText("");
- colorspaceTagLabel -> setText("");
- iccVerTagLabel -> setText("");
- pcsTagLabel -> setText("");
- deviceClassTagLabel -> setText("");
-
- directoryListingTag -> setText("");
+ descriptionTagLabel -> setText(i18n("No Profile Selected"));
+ copyrightTagLabel -> setText(i18n("(Copyright not available)"));
+ filenameTagLabel -> setText(QString());
+ mfgTagLabel -> setText(QString());
+ modelTagLabel -> setText(QString());
+
+ dateTagLabel -> setText(QString());
+ colorspaceTagLabel -> setText(QString());
+ iccVerTagLabel -> setText(QString());
+ pcsTagLabel -> setText(QString());
+ deviceClassTagLabel -> setText(QString());
+
+ directoryListingTag -> setText(QString());
}
}
@@ -483,7 +484,7 @@ void kminfo::setDeviceClassTag(oyProfile_s * profile, QLabel * devClassLabel)
QString string;
string = oyICCDeviceClassDescription( (icProfileClassSignature)
oyProfile_GetSignature(profile, oySIGNATURE_CLASS) );
- devClassLabel->setText(string.toLocal8Bit());
+ devClassLabel->setText(string);
}
void kminfo::setPcsTag(oyProfile_s * profile, QLabel * pcsLabel)
@@ -491,7 +492,7 @@ void kminfo::setPcsTag(oyProfile_s * profile, QLabel * pcsLabel)
QString tagString;
tagString = oyICCColourSpaceGetName( (icColorSpaceSignature)
oyProfile_GetSignature(profile, oySIGNATURE_PCS) );
- pcsLabel->setText("CIE" + tagString.toLocal8Bit());
+ pcsLabel->setText("CIE" + tagString);
}
void kminfo::setCSpaceTag(oyProfile_s * profile, QLabel * cSpaceLabel)
diff --git a/information/kminfo.desktop b/information/kminfo.desktop
index 392f3ac..4c31ecd 100644
--- a/information/kminfo.desktop
+++ b/information/kminfo.desktop
@@ -1,40 +1,6 @@
[Desktop Entry]
Name=Profile Information
-Name[de]=Profil-Information
-Name[el]=Πληροφορίες προφίλ
-Name[en_GB]=Profile Information
-Name[es]=Información del perfil
-Name[et]=Profiili teave
-Name[fr]=Informations sur le profil
-Name[gl]=Información do perfil
-Name[hne]=प्रोफाइल जानकारी
-Name[it]=Informazioni profilo
-Name[km]=ព័ត៌មានទម្រង់
-Name[nds]=Profil-Informatschonen
-Name[nl]=Profielinformatie
-Name[pa]=ਪਰੋਫਾਇਲ ਮੈਨੇਜਰ
-Name[pl]=Informacje o profilu
-Name[pt]=Informação do Perfil
-Name[pt_BR]=Informação do perfil
-Name[sv]=Profilinformation
-Name[tr]=Profil Bilgisi
-Name[uk]=Відомості профілю
-Name[x-test]=xxProfile Informationxx
Comment=Display ICC-specific Profile Information
-Comment[en_GB]=Display ICC-specific Profile Information
-Comment[es]=Muestra información del perfil especifica de ICC
-Comment[et]= ICC profiiliga seotud teave
-Comment[fr]=Affiche des informations sur le profil spécifique ICC
-Comment[it]=Visualizza le informazioni profilo delle specifiche ICC
-Comment[km]=បបង្ហាញព័ត៌មានទម្រង់ជាក់លាក់របស់ ICC
-Comment[nl]=Toon ICC-specifieke profielinformatie
-Comment[pl]=Wyświetl informacje ICC o profilu
-Comment[pt]=Mostrar a informação específica do perfil de ICC
-Comment[pt_BR]=Mostrar a informação específica do perfil de ICC
-Comment[sv]=Visa ICC-specifik profilinformation
-Comment[tr]=ICC-özellikli Profil Bilgilerini göster
-Comment[uk]=Показати відомості профілю, характерні для ICC
-Comment[x-test]=xxDisplay ICC-specific Profile Informationxx
Exec=kminfo
Icon=help-about
Type=Service
diff --git a/settings-kolor-management.desktop b/settings-kolor-management.desktop
index 7ca675f..ac82693 100644
--- a/settings-kolor-management.desktop
+++ b/settings-kolor-management.desktop
@@ -5,25 +5,5 @@ X-KDE-System-Settings-Category=kolor-management
X-KDE-System-Settings-Parent-Category=application-appearance-and-behavior
Icon=oyranos_logo
-Name=Kolor Management
-Name[de]=Farbverwaltung
-Name[el]=Διαχείριση χρωμάτων Kolor
-Name[en_GB]=Kolour Management
-Name[es]=Gestor de Kolor
-Name[et]=Kolori haldus
-Name[fr]=Gestion de Kolor
-Name[gl]=Xestor da cor
-Name[hne]=कलर प्रबंधन
-Name[it]=Gestore Kolor
-Name[km]=ការគ្រប់គ្រង Kolor
-Name[nds]=Kolor
-Name[nl]=Kolor Management
-Name[pa]=ਕਲਰ ਪਰਬੰਧ
-Name[pl]=Zarządzanie Kolorem
-Name[pt]=Gestão de Cores
-Name[pt_BR]=Gerenciamento de Cores
-Name[sv]=Färghantering
-Name[tr]=Renk Yönetimi
-Name[uk]=Керування Kolor
-Name[x-test]=xxKolor Managementxx
+Name=Color Management
X-SuSE-translate=true
diff --git a/settings/kmsettings.cpp b/settings/kmsettings.cpp
index 2ea98bb..60625ec 100644
--- a/settings/kmsettings.cpp
+++ b/settings/kmsettings.cpp
@@ -373,8 +373,8 @@ void kmsettings::selectPolicy(QListWidgetItem* selectedPolicyItem)
if (settingsChanged == true && isCustom == true)
{
if(KMessageBox::questionYesNo(this,
- i18n("The policy settings for '" + selected_policy.toLocal8Bit() + "' have changed. \nDo you wish to save them?"),
- i18n("Policy settings have been modified...")) == KMessageBox::Yes)
+ i18n("The policy settings for '%1' have changed. \nDo you wish to save them?", selected_policy),
+ i18n("Policy settings have been modified.")) == KMessageBox::Yes)
save();
@@ -385,15 +385,17 @@ void kmsettings::selectPolicy(QListWidgetItem* selectedPolicyItem)
selected_policy = selectedPolicyItem->text();
char * full_name = 0;
- oyPolicyFileNameGet( selected_policy.toLocal8Bit(), &full_name, malloc );
+ std::string t = selected_policy.toStdString();
+ oyPolicyFileNameGet( t.c_str(), &full_name, malloc );
+ t.clear();
QFile file( full_name );
if(file.permissions() & QFile::WriteOwner)
{
isCustom = true; // This is a custom policy.
removePolicyButton->setEnabled(true);
-
- oyPolicySet( selectedPolicyItem->text().toLocal8Bit(), 0 );
+ t = selectedPolicyItem->text().toStdString();
+ oyPolicySet( t.c_str(), 0 );
}
if(full_name) free( full_name );
@@ -512,8 +514,8 @@ void kmsettings::addNewPolicy()
bool ok;
// New policy name dialog.
- xmlFileName = QInputDialog::getText(this, tr("Add new policy"),
- tr("Please enter a name for the new policy: "),
+ xmlFileName = QInputDialog::getText(this, i18n("Add new policy"),
+ i18n("Please enter a name for the new policy: "),
QLineEdit::Normal, QDir::home().dirName(), &ok);
if(ok)
@@ -527,8 +529,8 @@ void kmsettings::addNewPolicy()
if (xmlFileName == temp_item->text())
{
KMessageBox::error(this,
- i18n("The policy name '" + xmlFileName.toLocal8Bit() + "' already exists!"),
- i18n("Unable to add policy..."));
+ i18n("The policy name '%1' already exists!", xmlFileName),
+ i18n("Unable to add policy."));
return;
}
@@ -555,7 +557,8 @@ void kmsettings::removeCustomPolicy()
// Remove actual Xml file from directory.
char * full_name = 0;
- oyPolicyFileNameGet( deleted_item->text().toLocal8Bit(),&full_name,malloc);
+ std::string t = deleted_item->text().toStdString();
+ oyPolicyFileNameGet( t.c_str(),&full_name,malloc);
QFile file( full_name );
file.remove();
if(full_name) free( full_name );
@@ -570,64 +573,64 @@ void kmsettings::saveSettingsToXml()
void kmsettings::saveSettings()
{
- QString stringToXml;
+ std::string t;
int behaviorSetting;
- stringToXml = combo_EDITING_RGB->currentText();
- oySetDefaultProfile(oyEDITING_RGB, stringToXml.toLocal8Bit());
+ t = combo_EDITING_RGB->currentText().toStdString();
+ oySetDefaultProfile(oyEDITING_RGB, t.c_str()); t.clear();
- stringToXml = combo_EDITING_CMYK->currentText();
- oySetDefaultProfile(oyEDITING_CMYK, stringToXml.toLocal8Bit());
+ t = combo_EDITING_CMYK->currentText().toStdString();
+ oySetDefaultProfile(oyEDITING_CMYK, t.c_str()); t.clear();
- stringToXml = combo_EDITING_XYZ->currentText();
- oySetDefaultProfile(oyEDITING_XYZ, stringToXml.toLocal8Bit());
+ t = combo_EDITING_XYZ->currentText().toStdString();
+ oySetDefaultProfile(oyEDITING_XYZ, t.c_str()); t.clear();
- stringToXml = combo_EDITING_LAB->currentText();
- oySetDefaultProfile(oyEDITING_LAB, stringToXml.toLocal8Bit());
+ t = combo_EDITING_LAB->currentText().toStdString();
+ oySetDefaultProfile(oyEDITING_LAB, t.c_str()); t.clear();
- stringToXml = combo_EDITING_GRAY->currentText();
- oySetDefaultProfile(oyEDITING_GRAY, stringToXml.toLocal8Bit());
+ t = combo_EDITING_GRAY->currentText().toStdString();
+ oySetDefaultProfile(oyEDITING_GRAY, t.c_str()); t.clear();
- stringToXml = combo_ASSUMED_RGB->currentText();
- oySetDefaultProfile(oyASSUMED_RGB, stringToXml.toLocal8Bit());
+ t = combo_ASSUMED_RGB->currentText().toStdString();
+ oySetDefaultProfile(oyASSUMED_RGB, t.c_str()); t.clear();
- stringToXml = combo_ASSUMED_CMYK->currentText();
- oySetDefaultProfile(oyASSUMED_CMYK, stringToXml.toLocal8Bit());
+ t = combo_ASSUMED_CMYK->currentText().toStdString();
+ oySetDefaultProfile(oyASSUMED_CMYK, t.c_str()); t.clear();
- stringToXml = combo_ASSUMED_LAB->currentText();
- oySetDefaultProfile(oyASSUMED_LAB, stringToXml.toLocal8Bit());
+ t = combo_ASSUMED_LAB->currentText().toStdString();
+ oySetDefaultProfile(oyASSUMED_LAB, t.c_str()); t.clear();
- stringToXml = combo_ASSUMED_XYZ->currentText();
- oySetDefaultProfile(oyASSUMED_XYZ, stringToXml.toLocal8Bit());
+ t = combo_ASSUMED_XYZ->currentText().toStdString();
+ oySetDefaultProfile(oyASSUMED_XYZ, t.c_str()); t.clear();
- stringToXml = combo_ASSUMED_GRAY->currentText();
- oySetDefaultProfile(oyASSUMED_GRAY, stringToXml.toLocal8Bit());
+ t = combo_ASSUMED_GRAY->currentText().toStdString();
+ oySetDefaultProfile(oyASSUMED_GRAY, t.c_str()); t.clear();
- stringToXml = combo_PROFILE_PROOF->currentText();
- oySetDefaultProfile(oyPROFILE_PROOF, stringToXml.toLocal8Bit());
+ t = combo_PROFILE_PROOF->currentText().toStdString();
+ oySetDefaultProfile(oyPROFILE_PROOF, t.c_str()); t.clear();
//----------------------------------------------------------------
behaviorSetting = combo_RENDERING_INTENT->currentIndex();
- oySetBehaviour ( oyBEHAVIOUR_RENDERING_INTENT, behaviorSetting );
+ oySetBehaviour ( oyBEHAVIOUR_RENDERING_INTENT, behaviorSetting ); t.clear();
behaviorSetting = combo_ACTION_UNTAGGED_ASSIGN->currentIndex();
- oySetBehaviour ( oyBEHAVIOUR_ACTION_UNTAGGED_ASSIGN, behaviorSetting );
+ oySetBehaviour ( oyBEHAVIOUR_ACTION_UNTAGGED_ASSIGN, behaviorSetting ); t.clear();
behaviorSetting = combo_ACTION_OPEN_MISMATCH_RGB->currentIndex();
- oySetBehaviour ( oyBEHAVIOUR_ACTION_OPEN_MISMATCH_RGB , behaviorSetting );
+ oySetBehaviour ( oyBEHAVIOUR_ACTION_OPEN_MISMATCH_RGB , behaviorSetting ); t.clear();
behaviorSetting = combo_ACTION_OPEN_MISMATCH_CMYK->currentIndex();
- oySetBehaviour ( oyBEHAVIOUR_ACTION_OPEN_MISMATCH_CMYK , behaviorSetting );
+ oySetBehaviour ( oyBEHAVIOUR_ACTION_OPEN_MISMATCH_CMYK , behaviorSetting ); t.clear();
behaviorSetting = combo_RENDERING_INTENT_PROOF->currentIndex();
- oySetBehaviour ( oyBEHAVIOUR_RENDERING_INTENT_PROOF , behaviorSetting );
+ oySetBehaviour ( oyBEHAVIOUR_RENDERING_INTENT_PROOF , behaviorSetting ); t.clear();
behaviorSetting = combo_MIXED_MOD_DOCUMENTS_SCREEN->currentIndex();
- oySetBehaviour ( oyBEHAVIOUR_MIXED_MOD_DOCUMENTS_SCREEN , behaviorSetting );
+ oySetBehaviour ( oyBEHAVIOUR_MIXED_MOD_DOCUMENTS_SCREEN , behaviorSetting ); t.clear();
behaviorSetting = combo_MIXED_MOD_DOCUMENTS_PRINT->currentIndex();
- oySetBehaviour ( oyBEHAVIOUR_MIXED_MOD_DOCUMENTS_PRINT , behaviorSetting );
+ oySetBehaviour ( oyBEHAVIOUR_MIXED_MOD_DOCUMENTS_PRINT , behaviorSetting ); t.clear();
if (check_RENDERING_BPC->isChecked())
oySetBehaviour ( oyBEHAVIOUR_RENDERING_BPC , 1 );
@@ -654,7 +657,8 @@ void kmsettings::saveSettings()
void kmsettings::saveCustomXmlFile()
{
saveSettings();
- oyPolicySaveActual(oyGROUP_ALL, selected_policy.toLocal8Bit());
+ std::string t = selected_policy.toStdString();
+ oyPolicySaveActual(oyGROUP_ALL, t.c_str());
}
// Used to enable the "Apply" button.
diff --git a/settings/kmsettings.desktop b/settings/kmsettings.desktop
index 5d6f22f..7a16630 100644
--- a/settings/kmsettings.desktop
+++ b/settings/kmsettings.desktop
@@ -1,47 +1,6 @@
[Desktop Entry]
Name=Settings
-Name[cs]=Nastavení
-Name[de]=Einstellungen
-Name[el]=Ρυθμίσεις
-Name[en_GB]=Settings
-Name[eo]=Agordo
-Name[es]=Preferencias
-Name[et]=Seadistused
-Name[fr]=Configuration
-Name[ga]=Socruithe
-Name[gl]=Configuración
-Name[hne]=सेटिंग
-Name[it]=Impostazioni
-Name[km]=ការកំណត់
-Name[mai]=जमावट
-Name[nds]=Instellen
-Name[nl]=Instellingen
-Name[pa]=ਸੈਟਿੰਗ
-Name[pl]=Ustawienia
-Name[pt]=Configuração
-Name[pt_BR]=Configurações
-Name[sv]=Inställningar
-Name[tr]=Ayarlar
-Name[ug]=تەڭشەكلەر
-Name[uk]=Параметри
-Name[x-test]=xxSettingsxx
-Comment=Kolor Management Settings
-Comment[de]=Einstellungen zur Farbverwaltung
-Comment[en_GB]=Kolour Management Settings
-Comment[es]=Preferencias del gestor de Kolor
-Comment[et]= Kolori haldamisseadistused
-Comment[fr]=Paramètres de gestion de Kolor
-Comment[it]=Impostazioni del gestore Kolor
-Comment[km]=កំណត់ការគ្រប់គ្រង Kolor
-Comment[nl]=Kleurbeheerinstellingen
-Comment[pa]= ਕਲਰ ਮੈਨੇਜਮੈਂਟ ਸੈਟਿੰਗ
-Comment[pl]=Ustawienia Zarządzaniem Kolorem
-Comment[pt]=Configuração da Gestão de Cores
-Comment[pt_BR]=Configurações do Gerenciamento de Cores
-Comment[sv]=Inställningar av färghantering
-Comment[tr]=Renk Yönetimi Ayarları
-Comment[uk]=Параметри керування Kolor
-Comment[x-test]=xxKolor Management Settingsxx
+Comment=Color Management Settings
Exec=kmsettings
Icon=configure
Type=Service
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org