summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{