diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-08-23 12:40:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:38 +0100 |
commit | d86c8c058f00991a449542ea43e75f2fbf424def (patch) | |
tree | b17af5dc7dd595de5e6d04e8e44eb6d3d7e3b344 /vcl | |
parent | 67b234b81d28327766573fc13941fc152facc71b (diff) |
map gtk-media-next and gtk-media-previous stock items
Change-Id: Id5c973942108a95649d1cc23b21820c2b981aef9
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index ad792b98051c..6f0c9afbb030 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -257,6 +257,18 @@ namespace pWindow = new CancelButton(pParent, nBits); else if (sType.equalsL(RTL_CONSTASCII_STRINGPARAM("gtk-help"))) pWindow = new HelpButton(pParent, nBits); + else if (sType.equalsL(RTL_CONSTASCII_STRINGPARAM("gtk-media-next"))) + { + PushButton *pBtn = new PushButton(pParent, nBits); + pBtn->SetSymbol(SYMBOL_NEXT); + pWindow = pBtn; + } + else if (sType.equalsL(RTL_CONSTASCII_STRINGPARAM("gtk-media-previous"))) + { + PushButton *pBtn = new PushButton(pParent, nBits); + pBtn->SetSymbol(SYMBOL_PREV); + pWindow = pBtn; + } else fprintf(stderr, "unknown stock type %s\n", sType.getStr()); } |