summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/graphics/gui/CMakeLists.txt4
-rw-r--r--data/graphics/gui/Makefile.am4
-rw-r--r--data/graphics/gui/circle-gray.pngbin300 -> 0 bytes
-rw-r--r--data/graphics/gui/circle-green.pngbin328 -> 0 bytes
-rw-r--r--data/graphics/gui/circle-off.xml5
-rw-r--r--data/graphics/gui/circle-on.xml5
-rw-r--r--data/graphics/gui/window.pngbin14682 -> 15332 bytes
-rw-r--r--src/gui/widgets/avatarlistbox.cpp4
8 files changed, 16 insertions, 6 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index 00acf90f9..a8be383b2 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -6,8 +6,8 @@ SET (FILES
button_pressed.xml
buttonplay.png
checkbox.png
- circle-gray.png
- circle-green.png
+ circle-off.xml
+ circle-on.xml
colors.xml
dropdown.xml
dropdown_background.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 1567f2752..7cd231eae 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -9,8 +9,8 @@ gui_DATA = \
button_pressed.xml \
buttonplay.png \
checkbox.png \
- circle-gray.png \
- circle-green.png \
+ circle-off.xml \
+ circle-on.xml \
colors.xml \
dropdown.xml \
dropdown_background.xml \
diff --git a/data/graphics/gui/circle-gray.png b/data/graphics/gui/circle-gray.png
deleted file mode 100644
index 3e884f405..000000000
--- a/data/graphics/gui/circle-gray.png
+++ /dev/null
Binary files differ
diff --git a/data/graphics/gui/circle-green.png b/data/graphics/gui/circle-green.png
deleted file mode 100644
index 2c98e9ef1..000000000
--- a/data/graphics/gui/circle-green.png
+++ /dev/null
Binary files differ
diff --git a/data/graphics/gui/circle-off.xml b/data/graphics/gui/circle-off.xml
new file mode 100644
index 000000000..8d35ab4f2
--- /dev/null
+++ b/data/graphics/gui/circle-off.xml
@@ -0,0 +1,5 @@
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <part type="standart" xpos="105" ypos="164" width="16" height="16" />
+ </widget>
+</skinset>
diff --git a/data/graphics/gui/circle-on.xml b/data/graphics/gui/circle-on.xml
new file mode 100644
index 000000000..4afe34024
--- /dev/null
+++ b/data/graphics/gui/circle-on.xml
@@ -0,0 +1,5 @@
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <part type="standart" xpos="89" ypos="164" width="16" height="16" />
+ </widget>
+</skinset>
diff --git a/data/graphics/gui/window.png b/data/graphics/gui/window.png
index 5eeb95ab5..477602fa6 100644
--- a/data/graphics/gui/window.png
+++ b/data/graphics/gui/window.png
Binary files differ
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index 377ddac2c..c648c56dd 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -57,8 +57,8 @@ AvatarListBox::AvatarListBox(AvatarListModel *model):
if (instances == 1)
{
- onlineIcon = Theme::getImageFromTheme("circle-green.png");
- offlineIcon = Theme::getImageFromTheme("circle-gray.png");
+ onlineIcon = Theme::getImageFromThemeXml("circle-on.xml");
+ offlineIcon = Theme::getImageFromThemeXml("circle-off.xml");
}
setWidth(200);