update dev300-m58
[ooovba.git] / applied_patches / 0410-statusbar-fancy-modified-status-starmath.diff
blob48f23fcf2bad9c650c6a58f6b704c85d983a15b7
1 diff --git starmath/source/smmod.cxx starmath/source/smmod.cxx
2 index 6351b7b..bbfefb7 100644
3 --- starmath/source/smmod.cxx
4 +++ starmath/source/smmod.cxx
5 @@ -58,6 +58,7 @@
6 #include "edit.hxx"
7 #include "view.hxx"
8 #include "starmath.hrc"
9 +#include "svx/modctrl.hxx"
11 TYPEINIT1( SmModule, SfxModule );
13 @@ -245,6 +246,8 @@ SmModule::SmModule(SfxObjectFactory* pObjFact) :
14 pVirtualDev( 0 )
16 SetName( C2S("StarMath" ));
18 + SvxModifyControl::RegisterControl(SID_DOC_MODIFIED, this);
22 diff --git starmath/uiconfig/smath/statusbar/statusbar.xml starmath/uiconfig/smath/statusbar/statusbar.xml
23 index 7d95fbb..33e4e48 100644
24 --- starmath/uiconfig/smath/statusbar/statusbar.xml
25 +++ starmath/uiconfig/smath/statusbar/statusbar.xml
26 @@ -3,6 +3,6 @@
27 <statusbar:statusbar xmlns:statusbar="http://openoffice.org/2001/statusbar" xmlns:xlink="http://www.w3.org/1999/xlink">
28 <statusbar:statusbaritem xlink:href=".uno:TextStatus" statusbar:align="left" statusbar:width="300" statusbar:helpid="helpid:30367"/>
29 <statusbar:statusbaritem xlink:href=".uno:Zoom" statusbar:align="center" statusbar:width="54" statusbar:helpid="helpid:10000"/>
30 - <statusbar:statusbaritem xlink:href=".uno:ModifiedStatus" statusbar:align="center" statusbar:width="14" statusbar:helpid="helpid:5584"/>
31 + <statusbar:statusbaritem xlink:href=".uno:ModifiedStatus" statusbar:align="center" statusbar:ownerdraw="true" statusbar:width="14" statusbar:helpid="helpid:5584"/>
32 <statusbar:statusbaritem xlink:href=".uno:Signature" statusbar:align="center" statusbar:ownerdraw="true" statusbar:width="16" statusbar:helpid="helpid:5699"/>
33 </statusbar:statusbar>
34 \ No newline at end of file