summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx1
-rw-r--r--sd/uiconfig/simpress/ui/customanimationeffecttab.ui8
-rw-r--r--vcl/source/window/builder.cxx2
3 files changed, 8 insertions, 3 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 667a0ca19f70..058a0720b7f3 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -1179,7 +1179,6 @@ CustomAnimationEffectTabPage::CustomAnimationEffectTabPage( Window* pParent, con
mpLBSound->SetSelectHdl( LINK( this, CustomAnimationEffectTabPage, implSelectHdl ) );
mpPBSoundPreview->SetClickHdl( LINK( this, CustomAnimationEffectTabPage, implSelectHdl ) );
- mpPBSoundPreview->SetSymbol( SYMBOL_PLAY );
// fill the color box
SfxObjectShell* pDocSh = SfxObjectShell::Current();
diff --git a/sd/uiconfig/simpress/ui/customanimationeffecttab.ui b/sd/uiconfig/simpress/ui/customanimationeffecttab.ui
index 38763e0dd9e9..f55b2d7e07c2 100644
--- a/sd/uiconfig/simpress/ui/customanimationeffecttab.ui
+++ b/sd/uiconfig/simpress/ui/customanimationeffecttab.ui
@@ -2,6 +2,11 @@
<interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
+ <object class="GtkImage" id="image1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stock">gtk-media-play</property>
+ </object>
<object class="GtkBox" id="EffectTab">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -239,11 +244,10 @@
</child>
<child>
<object class="GtkButton" id="sound_preview">
- <property name="label">gtk-media-play</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
- <property name="use_stock">True</property>
+ <property name="image">image1</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index f67e452d9b84..7295c318fdda 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -57,6 +57,8 @@ namespace
eRet = SYMBOL_NEXT;
else if (sType == "gtk-media-previous")
eRet = SYMBOL_PREV;
+ else if (sType == "gtk-media-play")
+ eRet = SYMBOL_PLAY;
else if (sType == "gtk-goto-first")
eRet = SYMBOL_FIRST;
else if (sType == "gtk-goto-last")