diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 18:57:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 19:17:31 +0000 |
commit | dd7babac7096d7f7a4288109f8263293046445aa (patch) | |
tree | 54dde39c9a8811001f841a8aa3f78efcece862bd /vcl | |
parent | f88e69b52c3a153515ad67748e74579c65b8bee1 (diff) |
map GtkSpinner to Throbber
Change-Id: I52eab374fbce2dd51a3ab12c4cff605f4cd7610d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 705af3550a97..535222c4bfbc 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -29,6 +29,7 @@ #include <vcl/svapp.hxx> #include <vcl/tabctrl.hxx> #include <vcl/tabpage.hxx> +#include <vcl/throbber.hxx> #include <vcl/toolbox.hxx> #include <vcl/vclmedit.hxx> #include <vcl/settings.hxx> @@ -1484,6 +1485,10 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri if (pRealParent != pParent) cleanupWidgetOwnScrolling(pParent, pWindow, rMap); } + else if (name == "GtkSpinner") + { + pWindow = new Throbber(pParent, WB_3DLOOK); + } else if (name == "GtkToolbar") { pWindow = new ToolBox(pParent, WB_3DLOOK | WB_TABSTOP); |