[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegames/libkmahjongg
From: Mauricio Piacentini <mauricio () tabuleiro ! com>
Date: 2007-03-06 15:10:24
Message-ID: 1173193824.861803.28759.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 640014 by piacentini:
Show tileset description in the UI
M +1 -2 kmahjonggtileset.cpp
M +0 -2 kmahjonggtilesetselector.cpp
M +0 -14 kmahjonggtilesetselector.ui
M +1 -0 tilesets/classic.desktop
M +1 -0 tilesets/default.desktop
--- trunk/KDE/kdegames/libkmahjongg/kmahjonggtileset.cpp #640013:640014
@@ -122,8 +122,7 @@
authorproperties.insert("Author", group.readEntry("Author"));
authorproperties.insert("Description", group.readEntry("Description"));
authorproperties.insert("AuthorEmail", group.readEntry("AuthorEmail"));
- authorproperties.insert("VersionString", group.readEntry("VersionString"));
- authorproperties.insert("Description", group.readEntry("Description"));
+
//Version control
int tileversion = group.readEntry("VersionFormat",0);
//Format is increased when we have incompatible changes, meaning that older \
clients are not able to use the remaining information safely
--- trunk/KDE/kdegames/libkmahjongg/kmahjonggtilesetselector.cpp #640013:640014
@@ -78,12 +78,10 @@
}
QString authstr("Author");
QString contactstr("AuthorEmail");
- QString versionstr("Description");
QString descstr("Description");
kcfg_TileSet->setText(selTileset->path());
tilesetAuthor->setText(selTileset->authorProperty(authstr));
tilesetContact->setText(selTileset->authorProperty(contactstr));
- tilesetVersion->setText(selTileset->authorProperty(versionstr));
tilesetDescription->setText(selTileset->authorProperty(descstr));
//Let the tileset calculate its ideal size for the preview area, but reduce the \
margins a bit (pass oversized drawing area)
--- trunk/KDE/kdegames/libkmahjongg/kmahjonggtilesetselector.ui #640013:640014
@@ -107,13 +107,6 @@
</widget>
</item>
<item>
- <widget class="QLabel" name="labelVersion" >
- <property name="text" >
- <string>Version:</string>
- </property>
- </widget>
- </item>
- <item>
<widget class="QLabel" name="labelDescription" >
<property name="text" >
<string>Description:</string>
@@ -145,13 +138,6 @@
</widget>
</item>
<item>
- <widget class="QLabel" name="tilesetVersion" >
- <property name="text" >
- <string/>
- </property>
- </widget>
- </item>
- <item>
<widget class="QLabel" name="tilesetDescription" >
<property name="text" >
<string/>
--- trunk/KDE/kdegames/libkmahjongg/tilesets/classic.desktop #640013:640014
@@ -2,6 +2,7 @@
Name=Classic
Name[uk]=Класичні
Name[x-test]=xxClassicxx
+Description=Chinese tileset, inspired by the classic version shipped with KDE 3
VersionFormat=1
Author=Robert Buchholz
AuthorEmail=robertbuchholz@gmx.de
--- trunk/KDE/kdegames/libkmahjongg/tilesets/default.desktop #640013:640014
@@ -2,6 +2,7 @@
Name=Default
Name[uk]=Типові
Name[x-test]=xxDefaultxx
+Description=Art inspired by real japanese Mahjongg tiles
VersionFormat=1
Author=Raquel Ravanini
AuthorEmail=raquel@tabuleiro.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic