diff options
author | Matus Kukan <matus.kukan@gmail.com> | 2011-05-20 19:09:51 +0200 |
---|---|---|
committer | Matus Kukan <matus.kukan@gmail.com> | 2011-05-20 19:09:51 +0200 |
commit | 680ba815b8f0874f89c6948217c2a48d74fcc766 (patch) | |
tree | d67484cbb5624e5e00cf50eebba2732d5d404ce8 /toolkit/workben | |
parent | 79fb9ad187546988892b61af0a741aff495a0177 (diff) |
replace res/commandimagelist with cmd in toolkit
Diffstat (limited to 'toolkit/workben')
-rw-r--r-- | toolkit/workben/layout/editor.cxx | 10 | ||||
-rw-r--r-- | toolkit/workben/layout/message-box.xml | 8 | ||||
-rw-r--r-- | toolkit/workben/layout/plugin.xml | 2 | ||||
-rw-r--r-- | toolkit/workben/layout/recover.xml | 10 |
4 files changed, 15 insertions, 15 deletions
diff --git a/toolkit/workben/layout/editor.cxx b/toolkit/workben/layout/editor.cxx index 27a8987ec1ba..ceee0fdaba4d 100644 --- a/toolkit/workben/layout/editor.cxx +++ b/toolkit/workben/layout/editor.cxx @@ -1329,16 +1329,16 @@ public: { mpListBox->SetSelectHdl( LINK( this, SortListBox, ItemSelectedHdl ) ); - mpUpButton->SetModeImage( layout::Image ( "res/commandimagelist/lc_moveup.png" ) ); + mpUpButton->SetModeImage( layout::Image ( "cmd/lc_moveup.png" ) ); mpUpButton->SetImageAlign( IMAGEALIGN_LEFT ); mpUpButton->SetClickHdl( LINK( this, SortListBox, UpPressedHdl ) ); - mpDownButton->SetModeImage( layout::Image ( "res/commandimagelist/lc_movedown.png" ) ); + mpDownButton->SetModeImage( layout::Image ( "cmd/lc_movedown.png" ) ); mpDownButton->SetImageAlign( IMAGEALIGN_LEFT ); mpDownButton->SetClickHdl( LINK( this, SortListBox, DownPressedHdl ) ); - // "res/commandimagelist/lch_delete.png", "res/commandimagelist/lc_delete.png" - mpRemoveButton->SetModeImage( layout::Image ( "res/commandimagelist/sc_closedoc.png" ) ); + // "cmd/lch_delete.png", "cmd/lc_delete.png" + mpRemoveButton->SetModeImage( layout::Image ( "cmd/sc_closedoc.png" ) ); mpRemoveButton->SetImageAlign( IMAGEALIGN_LEFT ); mpRemoveButton->SetClickHdl( LINK( this, SortListBox, RemovePressedHdl ) ); @@ -1659,7 +1659,7 @@ EditorImpl::EditorImpl( layout::Dialog *dialog, pBtn->SetClickHdl( LINK( this, EditorImpl, CreateWidgetHdl ) ); if ( WIDGETS_SPECS[ i ].pIconName != NULL ) { - rtl::OString aPath ("res/commandimagelist/"); + rtl::OString aPath ("cmd/"); aPath += WIDGETS_SPECS[ i ].pIconName; layout::Image aImg( aPath ); pBtn->SetModeImage( aImg ); diff --git a/toolkit/workben/layout/message-box.xml b/toolkit/workben/layout/message-box.xml index 61305e443fa3..2bd19bbb42fb 100644 --- a/toolkit/workben/layout/message-box.xml +++ b/toolkit/workben/layout/message-box.xml @@ -10,16 +10,16 @@ <vbox border="5" spacing="5"> <hbox border="5" spacing="20"> <align cnt:expand="false" cnt:fill="true"> - <fixedimage id="FI_ERROR" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="res/commandimagelist/msgbox-error.png" /> + <fixedimage id="FI_ERROR" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="cmd/msgbox-error.png" /> </align> <align cnt:expand="false" cnt:fill="true"> - <fixedimage id="FI_INFO" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="res/commandimagelist/msgbox-info.png" /> + <fixedimage id="FI_INFO" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="cmd/msgbox-info.png" /> </align> <align cnt:expand="false" cnt:fill="true"> - <fixedimage id="FI_QUERY" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="res/commandimagelist/msgbox-query.png" /> + <fixedimage id="FI_QUERY" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="cmd/msgbox-query.png" /> </align> <align cnt:expand="false" cnt:fill="true"> - <fixedimage id="FI_WARNING" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="res/commandimagelist/msgbox-warning.png" /> + <fixedimage id="FI_WARNING" cnt:expand="false" cnt:v-align="0.5" cnt:v-fill="0" graphic="cmd/msgbox-warning.png" /> </align> <align cnt:expand="false" cnt:fill="true"> <fixedtext id="FT_MESSAGE" _label="FT-LABEL" cnt:v-align="0.5" cnt:v-fill="0" /> diff --git a/toolkit/workben/layout/plugin.xml b/toolkit/workben/layout/plugin.xml index c5f1b2abe040..5303e3a2329e 100644 --- a/toolkit/workben/layout/plugin.xml +++ b/toolkit/workben/layout/plugin.xml @@ -10,7 +10,7 @@ has_border="true" sizeable="true" moveable="true"> <vbox spacing="5" border="5"> <hbox spacing="5" cnt:expand="false"> - <fixedimage id="FI_HEADER" cnt:expand="false" graphic="res/commandimagelist/sc_apply.png" /> + <fixedimage id="FI_HEADER" cnt:expand="false" graphic="cmd/sc_apply.png" /> <fixedtext id="FT_HEADER" _label="Plugin Test"/> </hbox> <fixedline id="FL_HEADER"/> diff --git a/toolkit/workben/layout/recover.xml b/toolkit/workben/layout/recover.xml index b7387b687de2..790a6b694658 100644 --- a/toolkit/workben/layout/recover.xml +++ b/toolkit/workben/layout/recover.xml @@ -10,7 +10,7 @@ has_border="true" sizeable="true" moveable="true"> <vbox spacing="5" border="5" width="640"> <hbox spacing="5" cnt:expand="false"> - <fixedimage id="FI_HEADER" cnt:expand="false" graphic="res/commandimagelist/sc_apply.png" /> + <fixedimage id="FI_HEADER" cnt:expand="false" graphic="cmd/sc_apply.png" /> <fixedtext id="FT_HEADER" _label="OpenOffice.org Document Restore"/> </hbox> <fixedline id="FL_HEADER"/> @@ -24,22 +24,22 @@ LINE TEST"/> <vbox cnt:fill="true" cnt:expand="true" cnt:padding="20" border="20" spacing="20"> <hbox> <checkbox id="CB_DOC" state="1" cnt:expand="false" scale="false"/> - <fixedimage id="FI_DOC" cnt:v-align="0.5" image-align="0.5" cnt:expand="false" scale="false" graphic="res/commandimagelist/lc_insertdoc.png"/> + <fixedimage id="FI_DOC" cnt:v-align="0.5" image-align="0.5" cnt:expand="false" scale="false" graphic="cmd/lc_insertdoc.png"/> <fixedtext id="FT_DOC" _label="My document"/> </hbox> <hbox> <checkbox id="CB_SHEET" state="1" cnt:expand="false" scale="false" /> - <fixedimage id="FI_SHEET" cnt:expand="false" scale="false" graphic="res/commandimagelist/lc_inserttable.png" /> + <fixedimage id="FI_SHEET" cnt:expand="false" scale="false" graphic="cmd/lc_inserttable.png" /> <fixedtext id="FT_SHEET" _label="My spreadsheet"/> </hbox> <hbox> <checkbox id="CB_DRAW" state="1" cnt:expand="false" scale="false"/> - <fixedimage id="FI_DRAW" cnt:expand="false" scale="false" graphic="res/commandimagelist/lc_insertdraw.png" /> + <fixedimage id="FI_DRAW" cnt:expand="false" scale="false" graphic="cmd/lc_insertdraw.png" /> <fixedtext id="FT_DRAW" _label="My drawing"/> </hbox> <hbox> <checkbox id="CB_PRESENT" state="1" cnt:expand="false" scale="false" /> - <fixedimage id="FI_PRESENT" cnt:expand="false" scale="false" graphic="res/commandimagelist/lc_insertvideo.png" /> + <fixedimage id="FI_PRESENT" cnt:expand="false" scale="false" graphic="cmd/lc_insertvideo.png" /> <fixedtext id="FT_PRESENT" _label="My presentation"/> </hbox> <hbox border="5"> |