summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-13 12:33:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-13 12:33:40 +0300
commit5e2e0806b135afc33c949b0c7b03da48636f4512 (patch)
treecb4fff92594a0052d2746df2d3e2a7bee32cf36f
parentc5f980195ebf4e249b8759d660a703803fc3e369 (diff)
downloadplus-5e2e0806b135afc33c949b0c7b03da48636f4512.tar.gz
plus-5e2e0806b135afc33c949b0c7b03da48636f4512.tar.bz2
plus-5e2e0806b135afc33c949b0c7b03da48636f4512.tar.xz
plus-5e2e0806b135afc33c949b0c7b03da48636f4512.zip
add theme file for connection dialog.
-rw-r--r--data/graphics/gui/CMakeLists.txt1
-rw-r--r--data/graphics/gui/Makefile.am1
-rw-r--r--data/graphics/gui/connection.xml5
-rw-r--r--src/gui/windows/connectiondialog.cpp2
4 files changed, 8 insertions, 1 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index 497a21b00..45e615244 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -14,6 +14,7 @@ SET (FILES
circle-on.xml
colors.xml
complete_icon.xml
+ connection.xml
dbutton.xml
dbutton_image.xml
desktop.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 1e9ce625b..dbe1498ac 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -17,6 +17,7 @@ gui_DATA = \
circle-on.xml \
colors.xml \
complete_icon.xml \
+ connection.xml \
dbutton.xml \
dbutton_image.xml \
desktop.xml \
diff --git a/data/graphics/gui/connection.xml b/data/graphics/gui/connection.xml
new file mode 100644
index 000000000..18a7cfaa1
--- /dev/null
+++ b/data/graphics/gui/connection.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ </widget>
+</skinset>
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp
index e0ca56e41..9b777f7e5 100644
--- a/src/gui/windows/connectiondialog.cpp
+++ b/src/gui/windows/connectiondialog.cpp
@@ -33,7 +33,7 @@
ConnectionDialog::ConnectionDialog(const std::string &text,
const State cancelState):
- Window(""),
+ Window("", false, nullptr, "connection.xml"),
gcn::ActionListener(),
mCancelState(cancelState)
{