summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-21 15:56:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-21 16:07:27 +0300
commitda4cf389bb2f49640816744c4e41b1559afe4721 (patch)
treee6351512795df5f9d6611184392696a952f0ddf1
parenta77b9d248fdaadef39248dd3773354b75138a831 (diff)
downloadmanaplus-da4cf389bb2f49640816744c4e41b1559afe4721.tar.gz
manaplus-da4cf389bb2f49640816744c4e41b1559afe4721.tar.bz2
manaplus-da4cf389bb2f49640816744c4e41b1559afe4721.tar.xz
manaplus-da4cf389bb2f49640816744c4e41b1559afe4721.zip
Rename theme file playerbox_background.xml to playerbox.xml
-rw-r--r--data/graphics/gui/CMakeLists.txt2
-rw-r--r--data/graphics/gui/Makefile.am2
-rw-r--r--data/graphics/gui/playerbox.xml (renamed from data/graphics/gui/playerbox_background.xml)0
-rw-r--r--data/themes/jewelry/CMakeLists.txt2
-rw-r--r--data/themes/jewelry/Makefile.am2
-rw-r--r--data/themes/jewelry/playerbox.xml (renamed from data/themes/jewelry/playerbox_background.xml)0
-rw-r--r--src/gui/widgets/playerbox.cpp4
7 files changed, 6 insertions, 6 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index b3822cbdb..01b14ce9a 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -31,7 +31,7 @@ SET (FILES
listbox.xml
mouse.png
ok.xml
- playerbox_background.xml
+ playerbox.xml
popup.xml
progress-indicator.png
progressbar.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 3f789b401..91ace3d34 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -34,7 +34,7 @@ gui_DATA = \
listbox.xml \
mouse.png \
ok.xml \
- playerbox_background.xml \
+ playerbox.xml \
popup.xml \
progress-indicator.png \
progressbar.xml \
diff --git a/data/graphics/gui/playerbox_background.xml b/data/graphics/gui/playerbox.xml
index 5fc994df5..5fc994df5 100644
--- a/data/graphics/gui/playerbox_background.xml
+++ b/data/graphics/gui/playerbox.xml
diff --git a/data/themes/jewelry/CMakeLists.txt b/data/themes/jewelry/CMakeLists.txt
index b80297e38..092cd95ae 100644
--- a/data/themes/jewelry/CMakeLists.txt
+++ b/data/themes/jewelry/CMakeLists.txt
@@ -29,7 +29,7 @@ SET (FILES
mouse.png
npc.xml
ok.xml
- playerbox_background.xml
+ playerbox.xml
popup.xml
progressbar.xml
quests.xml
diff --git a/data/themes/jewelry/Makefile.am b/data/themes/jewelry/Makefile.am
index 5532b8818..fc5981c93 100644
--- a/data/themes/jewelry/Makefile.am
+++ b/data/themes/jewelry/Makefile.am
@@ -32,7 +32,7 @@ gui_DATA = \
mouse.png \
npc.xml \
ok.xml \
- playerbox_background.xml \
+ playerbox.xml \
popup.xml \
progressbar.xml \
quests.xml \
diff --git a/data/themes/jewelry/playerbox_background.xml b/data/themes/jewelry/playerbox.xml
index 1e18e42fe..1e18e42fe 100644
--- a/data/themes/jewelry/playerbox_background.xml
+++ b/data/themes/jewelry/playerbox.xml
diff --git a/src/gui/widgets/playerbox.cpp b/src/gui/widgets/playerbox.cpp
index 4511a8544..7fbe68f7f 100644
--- a/src/gui/widgets/playerbox.cpp
+++ b/src/gui/widgets/playerbox.cpp
@@ -73,9 +73,9 @@ void PlayerBox::init(std::string skin)
if (Theme::instance())
{
if (skin.empty())
- skin = "playerbox_background.xml";
+ skin = "playerbox.xml";
mSkin = Theme::instance()->loadSkinRect(mBackground,
- skin, "background.xml");
+ skin, "playerbox_background.xml");
if (mSkin)
mDrawBackground = (mSkin->getOption("drawbackground") != 0);
}