update dev300-m58
[ooovba.git] / applied_patches / 0238-tango-prefer-over-industrial.diff
blob526eaeb608113b4e1d3bf26813c29cac03650a0d
1 --- vcl/source/app/settings.cxx.old 2007-08-31 18:54:34.000000000 +0200
2 +++ vcl/source/app/settings.cxx 2007-09-03 10:29:36.000000000 +0200
3 @@ -767,7 +767,15 @@ void StyleSettings::SetPreferredSymbolsS
5 for( sal_uInt32 n = 0; n <= STYLE_SYMBOLS_THEMES_MAX; n++ )
6 if ( rNameLowCase.indexOf( ImplSymbolsStyleToName( n ) ) != -1 )
7 - SetPreferredSymbolsStyle( n );
8 + {
9 + if (n == STYLE_SYMBOLS_INDUSTRIAL)
10 + // The Industrial OOo icon theme is too old.
11 + // The OOo Tango icon theme is closer to the current GNOME Industrial theme rules.
12 + SetPreferredSymbolsStyle( STYLE_SYMBOLS_TANGO );
13 + else
14 + SetPreferredSymbolsStyle( n );
15 + return;
16 + }