Kaydet (Commit) 65fca19c authored tarafından Caolán McNamara's avatar Caolán McNamara

fix tinderbox build, ends up using gen backend and icons are missing

put the icons back, and replace the bare 1 etc which hid the usage

Change-Id: Id90de7b29a29141b448107adb4028407ed203e2a
üst 9fdecc7e
......@@ -188,10 +188,14 @@
#define SV_ICON_SIZE32_START 21000
#define SV_ICON_SIZE16_START 23000
#define SV_ICON_ID_OFFICE 1
#define SV_ICON_ID_TEXT 2
#define SV_ICON_ID_TEXT_TEMPLATE 3
#define SV_ICON_ID_SPREADSHEET 4
#define SV_ICON_ID_SPREADSHEET_TEMPLATE 5
#define SV_ICON_ID_DRAWING 6
#define SV_ICON_ID_PRESENTATION 8
#define SV_ICON_ID_MASTER_DOCUMENT 10
#define SV_ICON_ID_TEMPLATE 11
#define SV_ICON_ID_DATABASE 12
#define SV_ICON_ID_FORMULA 13
......
......@@ -254,6 +254,21 @@ Bitmap (SV_ICON_SIZE16_START)
File = "mainapp_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_OFFICE)
{
File = "mainapp_48_8.png" ;
};
Bitmap (SV_ICON_SIZE32_START + SV_ICON_ID_OFFICE)
{
File = "mainapp_32_8.png" ;
};
Bitmap (SV_ICON_SIZE16_START + SV_ICON_ID_OFFICE)
{
File = "mainapp_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_TEXT)
{
File = "odt_48_8.png" ;
......@@ -269,6 +284,21 @@ Bitmap (SV_ICON_SIZE16_START + SV_ICON_ID_TEXT)
File = "odt_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_TEXT_TEMPLATE)
{
File = "ott_48_8.png" ;
};
Bitmap (SV_ICON_SIZE32_START + SV_ICON_ID_TEXT_TEMPLATE)
{
File = "ott_32_8.png" ;
};
Bitmap (SV_ICON_SIZE16_START + SV_ICON_ID_TEXT_TEMPLATE)
{
File = "ott_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_SPREADSHEET)
{
File = "ods_48_8.png" ;
......@@ -284,6 +314,21 @@ Bitmap (SV_ICON_SIZE16_START + SV_ICON_ID_SPREADSHEET)
File = "ods_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_SPREADSHEET_TEMPLATE)
{
File = "ots_48_8.png" ;
};
Bitmap (SV_ICON_SIZE32_START + SV_ICON_ID_SPREADSHEET_TEMPLATE)
{
File = "ots_32_8.png" ;
};
Bitmap (SV_ICON_SIZE16_START + SV_ICON_ID_SPREADSHEET_TEMPLATE)
{
File = "ots_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_DRAWING)
{
File = "odg_48_8.png" ;
......@@ -314,6 +359,21 @@ Bitmap (SV_ICON_SIZE16_START + SV_ICON_ID_PRESENTATION)
File = "odp_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_MASTER_DOCUMENT)
{
File = "odm_48_8.png" ;
};
Bitmap (SV_ICON_SIZE32_START + SV_ICON_ID_MASTER_DOCUMENT)
{
File = "odm_32_8.png" ;
};
Bitmap (SV_ICON_SIZE16_START + SV_ICON_ID_MASTER_DOCUMENT)
{
File = "odm_16_8.png" ;
};
Bitmap (SV_ICON_SIZE48_START + SV_ICON_ID_DATABASE)
{
File = "odb_48_8.png" ;
......
......@@ -538,8 +538,8 @@ void X11SalFrame::Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nXScreen
try
{
bOk = lcl_SelectAppIconPixmap( pDisplay_, m_nXScreen,
mnIconID != 1 ? mnIconID :
(mpParent ? mpParent->mnIconID : 1), 32,
mnIconID != SV_ICON_ID_OFFICE ? mnIconID :
(mpParent ? mpParent->mnIconID : SV_ICON_ID_OFFICE), 32,
Hints.icon_pixmap, Hints.icon_mask, netwm_icon );
}
catch( css::uno::Exception& )
......@@ -818,7 +818,7 @@ X11SalFrame::X11SalFrame( SalFrame *pParent, SalFrameStyleFlags nSalFrameStyle,
mbShaded = false;
mbFullScreen = false;
mnIconID = 1; // ICON_LO_DEFAULT
mnIconID = SV_ICON_ID_OFFICE;
m_pClipRectangles = nullptr;
m_nCurClipRect = 0;
......
......@@ -1046,7 +1046,7 @@ void GtkSalFrame::InitCommon()
}
updateScreenNumber();
SetIcon(1);
SetIcon(SV_ICON_ID_OFFICE);
m_nWorkArea = pDisp->getWMAdaptor()->getCurrentWorkArea();
/* #i64117# gtk sets a nice background pixmap
......
......@@ -1158,7 +1158,7 @@ void GtkSalFrame::InitCommon()
}
updateScreenNumber();
SetIcon(1);
SetIcon(SV_ICON_ID_OFFICE);
}
GtkSalFrame *GtkSalFrame::getFromWindow( GtkWindow *pWindow )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment