Kaydet (Commit) e3f513ce authored tarafından Efe Gürkan YALAMAN's avatar Efe Gürkan YALAMAN Kaydeden (comit) Jan Holesovsky

Code Cleanup

Some unneccesary code cleaned up.

Change-Id: Iebc43ddc8276d5865c640b7fa955152a3361eb36
üst 37bd2d2d
...@@ -71,14 +71,14 @@ const char TEMPLATE_URL[] = "slot:5500"; ...@@ -71,14 +71,14 @@ const char TEMPLATE_URL[] = "slot:5500";
const char OPEN_URL[] = ".uno:Open"; const char OPEN_URL[] = ".uno:Open";
const char SERVICENAME_CFGREADACCESS[] = "com.sun.star.configuration.ConfigurationAccess"; const char SERVICENAME_CFGREADACCESS[] = "com.sun.star.configuration.ConfigurationAccess";
const char TEMPLATEBAR_SAVE[] = "template_save"; //const char TEMPLATEBAR_SAVE[] = "template_save";
const char TEMPLATEBAR_OPEN[] = "open"; //const char TEMPLATEBAR_OPEN[] = "open";
const char TEMPLATEBAR_EDIT[] = "edit"; //const char TEMPLATEBAR_EDIT[] = "edit";
const char TEMPLATEBAR_PROPERTIES[] = "properties"; //const char TEMPLATEBAR_PROPERTIES[] = "properties";
const char TEMPLATEBAR_DEFAULT[] = "default"; //const char TEMPLATEBAR_DEFAULT[] = "default";
const char TEMPLATEBAR_MOVE[] = "move"; //const char TEMPLATEBAR_MOVE[] = "move";
const char TEMPLATEBAR_EXPORT[] = "export"; //const char TEMPLATEBAR_EXPORT[] = "export";
const char TEMPLATEBAR_DELETE[] = "template_delete"; //const char TEMPLATEBAR_DELETE[] = "template_delete";
float fMultiplier = 1.4f; float fMultiplier = 1.4f;
const Color aButtonsBackground(114, 168, 84); // TDF green const Color aButtonsBackground(114, 168, 84); // TDF green
...@@ -124,8 +124,8 @@ BackingWindow::BackingWindow( Window* i_pParent ) : ...@@ -124,8 +124,8 @@ BackingWindow::BackingWindow( Window* i_pParent ) :
get(mpHelpButton, "help"); get(mpHelpButton, "help");
get(mpExtensionsButton, "extensions"); get(mpExtensionsButton, "extensions");
get(mpViewBar, "action_view"); //get(mpViewBar, "action_view");
get(mpTemplateBar, "action_templates"); //get(mpTemplateBar, "action_templates");
//Containers are invisible to cursor traversal //Containers are invisible to cursor traversal
//So on pressing "right" when in Help the //So on pressing "right" when in Help the
...@@ -280,21 +280,21 @@ void BackingWindow::initControls() ...@@ -280,21 +280,21 @@ void BackingWindow::initControls()
mpCurrentView = mpLocalView; mpCurrentView = mpLocalView;
mpViewBar->SetButtonType(BUTTON_SYMBOLTEXT); //mpViewBar->SetButtonType(BUTTON_SYMBOLTEXT);
mpViewBar->SetItemBits(mpViewBar->GetItemId("repository"), TIB_DROPDOWNONLY); //mpViewBar->SetItemBits(mpViewBar->GetItemId("repository"), TIB_DROPDOWNONLY);
//mpViewBar->SetClickHdl(LINK(this,BackingWindow,TBXViewHdl)); //mpViewBar->SetClickHdl(LINK(this,BackingWindow,TBXViewHdl));
//mpViewBar->SetDropdownClickHdl(LINK(this,BackingWindow,TBXDropdownHdl)); //mpViewBar->SetDropdownClickHdl(LINK(this,BackingWindow,TBXDropdownHdl));
mpViewBar->Hide(); //mpViewBar->Hide();
mpViewBar->HideItem("import"); //mpViewBar->HideItem("import");
mpTemplateBar->SetButtonType(BUTTON_SYMBOLTEXT); //mpTemplateBar->SetButtonType(BUTTON_SYMBOLTEXT);
mpTemplateBar->SetItemBits(mpTemplateBar->GetItemId(TEMPLATEBAR_MOVE), TIB_DROPDOWNONLY); //mpTemplateBar->SetItemBits(mpTemplateBar->GetItemId(TEMPLATEBAR_MOVE), TIB_DROPDOWNONLY);
//mpTemplateBar->SetClickHdl( LINK( this, BackingWindow,TBXTemplateHdl ) ); //mpTemplateBar->SetClickHdl( LINK( this, BackingWindow,TBXTemplateHdl ) );
//mpTemplateBar->SetDoubleClickHdl( LINK(this, BackingWindow, OpenTemplateHdl) ); //mpTemplateBar->SetDoubleClickHdl( LINK(this, BackingWindow, OpenTemplateHdl) );
//mpTemplateBar->SetDropdownClickHdl(LINK(this, BackingWindow,TBXDropdownHdl)); //mpTemplateBar->SetDropdownClickHdl(LINK(this, BackingWindow,TBXDropdownHdl));
//set handlers //set handlers
mpLocalView->setItemStateHdl(LINK(this, BackingWindow, TVItemStateHdl)); //mpLocalView->setItemStateHdl(LINK(this, BackingWindow, TVItemStateHdl));
mpLocalView->setOpenRegionHdl(LINK(this, BackingWindow, OpenRegionHdl)); mpLocalView->setOpenRegionHdl(LINK(this, BackingWindow, OpenRegionHdl));
mpLocalView->setOpenTemplateHdl(LINK(this,BackingWindow,OpenTemplateHdl)); mpLocalView->setOpenTemplateHdl(LINK(this,BackingWindow,OpenTemplateHdl));
...@@ -491,207 +491,6 @@ void BackingWindow::Resize() ...@@ -491,207 +491,6 @@ void BackingWindow::Resize()
Invalidate(); Invalidate();
} }
//Editing related method
/*
void BackingWindow::OnTemplateImport ()
{
size_t nDialogType =
com::sun::star::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE;
sfx2::FileDialogHelper aFileDlg(nDialogType, SFXWB_MULTISELECTION);
// add "All" filter
aFileDlg.AddFilter( SfxResId(STR_SFX_FILTERNAME_ALL).toString(),
OUString(FILEDIALOG_FILTER_ALL) );
// add template filter
OUString sFilterExt;
OUString sFilterName( SfxResId( STR_TEMPLATE_FILTER ).toString() );
// add filters of modules which are installed
SvtModuleOptions aModuleOpt;
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::E_SWRITER ) )
sFilterExt += "*.ott;*.stw;*.oth";
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::E_SCALC ) )
{
if ( !sFilterExt.isEmpty() )
sFilterExt += ";";
sFilterExt += "*.ots;*.stc";
}
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::E_SIMPRESS ) )
{
if ( !sFilterExt.isEmpty() )
sFilterExt += ";";
sFilterExt += "*.otp;*.sti";
}
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::E_SDRAW ) )
{
if ( !sFilterExt.isEmpty() )
sFilterExt += ";";
sFilterExt += "*.otg;*.std";
if ( !sFilterExt.isEmpty() )
sFilterExt += ";";
sFilterExt += "*.vor";
sFilterName += " (";
sFilterName += sFilterExt;
sFilterName += ")";
aFileDlg.AddFilter( sFilterName, sFilterExt );
aFileDlg.SetCurrentFilter( sFilterName );
ErrCode nCode = aFileDlg.Execute();
if ( nCode == ERRCODE_NONE )
{
com::sun::star::uno::Sequence<OUString> aFiles = aFileDlg.GetSelectedFiles();
if (aFiles.hasElements())
{
if (!maSelFolders.empty())
{
//Import to the selected regions
std::set<const ThumbnailViewItem*,selection_cmp_fn>::const_iterator pIter;
for (pIter = maSelFolders.begin(); pIter != maSelFolders.end(); ++pIter)
{
OUString aTemplateList;
TemplateContainerItem *pFolder = (TemplateContainerItem*)(*pIter);
for (size_t i = 0, n = aFiles.getLength(); i < n; ++i)
{
if(!mpLocalView->copyFrom(pFolder,aFiles[i]))
{
if (aTemplateList.isEmpty())
aTemplateList = aFiles[i];
else
aTemplateList = aTemplateList + "\n" + aFiles[i];
}
}
if (!aTemplateList.isEmpty())
{
OUString aMsg(SfxResId(STR_MSG_ERROR_IMPORT).toString());
aMsg = aMsg.replaceFirst("$1",pFolder->maTitle);
ErrorBox(this,WB_OK,aMsg.replaceFirst("$2",aTemplateList));
}
}
}
else
{
//Import to current region
OUString aTemplateList;
for (size_t i = 0, n = aFiles.getLength(); i < n; ++i)
{
if(!mpLocalView->copyFrom(aFiles[i]))
{
if (aTemplateList.isEmpty())
aTemplateList = aFiles[i];
else
aTemplateList = aTemplateList + "\n" + aFiles[i];
}
}
if (!aTemplateList.isEmpty())
{
OUString aMsg(SfxResId(STR_MSG_ERROR_IMPORT).toString());
aMsg = aMsg.replaceFirst("$1",mpLocalView->getCurRegionName());
ErrorBox(this,WB_OK,aMsg.replaceFirst("$2",aTemplateList));
}
}
mpLocalView->Invalidate(INVALIDATE_NOERASE);
}
}
}
}*/
//Editing related method
/*void BackingWindow::OnFolderDelete()
{
QueryBox aQueryDlg(this, WB_YES_NO | WB_DEF_YES, SfxResId(STR_QMSG_SEL_FOLDER_DELETE).toString());
if ( aQueryDlg.Execute() == RET_NO )
return;
OUString aFolderList;
std::set<const ThumbnailViewItem*,selection_cmp_fn>::const_iterator pIter;
std::set<const ThumbnailViewItem*,selection_cmp_fn> aSelFolders = maSelFolders; //Copy to avoid invalidating an iterator
for (pIter = aSelFolders.begin(); pIter != aSelFolders.end(); ++pIter)
{
if (!mpLocalView->removeRegion((*pIter)->mnId))
{
if (aFolderList.isEmpty())
aFolderList = (*pIter)->maTitle;
else
aFolderList = aFolderList + "\n" + (*pIter)->maTitle;
++pIter;
if (pIter == aSelFolders.end())
break;
}
}
if (!aFolderList.isEmpty())
{
OUString aMsg( SfxResId(STR_MSG_ERROR_DELETE_FOLDER).toString() );
ErrorBox(this, WB_OK,aMsg.replaceFirst("$1",aFolderList)).Execute();
}
}*/
//Editing related method
/*void BackingWindow::OnFolderNew()
{
InputDialog dlg(SfxResId(STR_INPUT_NEW).toString(),this);
int ret = dlg.Execute();
if (ret)
{
OUString aName = dlg.getEntryText();
mpCurrentView->createRegion(aName);
}
}*/
// void BackingWindow::OnRegionState (const ThumbnailViewItem *pItem)
// {
// if (pItem->isSelected())
// {
// if (maSelFolders.empty() && !mbIsSaveMode)
// {
// mpViewBar->ShowItem("import");
// mpViewBar->ShowItem("delete");
// mpViewBar->HideItem("new_folder");
// }
// maSelFolders.insert(pItem);
// }
// else
// {
// maSelFolders.erase(pItem);
// if (maSelFolders.empty() && !mbIsSaveMode)
// {
// mpViewBar->HideItem("import");
// mpViewBar->HideItem("delete");
// mpViewBar->ShowItem("new_folder");
// }
// }
// }
IMPL_LINK(BackingWindow, ExtLinkClickHdl, Button*, pButton) IMPL_LINK(BackingWindow, ExtLinkClickHdl, Button*, pButton)
{ {
OUString aNode; OUString aNode;
...@@ -771,40 +570,19 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton ) ...@@ -771,40 +570,19 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton )
*/ */
mpAllRecentThumbnails->Hide(); mpAllRecentThumbnails->Hide();
mpLocalView->Show(); mpLocalView->Show();
mpViewBar->Hide(); //mpViewBar->Hide();
mpViewBar->HideItem("import");
mpViewBar->HideItem("delete");
mpViewBar->HideItem("new_folder");
} }
return 0; return 0;
} }
IMPL_LINK_NOARG(BackingWindow, DoubleClickHdl)
{
ThumbnailViewItem *pItem = const_cast<ThumbnailViewItem*>(*maSelTemplates.begin());
OpenTemplateHdl(pItem);
return 0;
}
//FIXME: Obvious enough
IMPL_LINK_NOARG( BackingWindow, OpenRegionHdl) IMPL_LINK_NOARG( BackingWindow, OpenRegionHdl)
{ {
maSelFolders.clear(); maSelFolders.clear();
maSelTemplates.clear(); maSelTemplates.clear();
//mpTemplateBar->Hide();
//mpViewBar->ShowItem("new_folder", mpCurrentView->isNestedRegionAllowed()); //mpViewBar->Hide();
//if (!mbIsSaveMode)
// mpViewBar->ShowItem("import", mpCurrentView->isImportAllowed());
mpTemplateBar->Hide();
mpViewBar->Hide();
mpViewBar->HideItem("import");
mpViewBar->HideItem("delete");
mpViewBar->HideItem("new_folder");
//mpActionBar->Show();
return 0; return 0;
} }
...@@ -841,66 +619,6 @@ IMPL_LINK(BackingWindow, OpenTemplateHdl, ThumbnailViewItem*, pItem) ...@@ -841,66 +619,6 @@ IMPL_LINK(BackingWindow, OpenTemplateHdl, ThumbnailViewItem*, pItem)
return 0; return 0;
} }
//FIXME: Implement OnSomething() methods
//IMPL_LINK_NOARG(BackingWindow,TBXViewHdl)
//{
// const size_t nCurItemId = mpViewBar->GetCurItemId();
/*//if (nCurItemId == mpViewBar->GetItemId("import"))
// OnTemplateImport();
else if (nCurItemId == mpViewBar->GetItemId("delete"))
{
if (mpCurrentView == mpLocalView)
OnFolderDelete();
//else
////OnRepositoryDelete();
}
else if (nCurItemId == mpViewBar->GetItemId("new_folder"))
OnFolderNew();
//else if (nCurItemId == mpViewBar->GetItemId("save"))
////OnTemplateSaveAs();
*/
//return 0;
//}
//FIXME: Implement OnSomething() methods // might be deleted
IMPL_LINK_NOARG(BackingWindow,TBXTemplateHdl)
{
//const size_t nCurItemId = mpTemplateBar->GetCurItemId();
//if (nCurItemId == mpTemplateBar->GetItemId(TEMPLATEBAR_OPEN))
//OnTemplateOpen();
//else if (nCurItemId == mpTemplateBar->GetItemId(TEMPLATEBAR_EDIT))
//OnTemplateEdit();
//else if (nCurItemId == mpTemplateBar->GetItemId(TEMPLATEBAR_PROPERTIES))
//OnTemplateProperties();
//else if (nCurItemId == mpTemplateBar->GetItemId(TEMPLATEBAR_DELETE))
//OnTemplateDelete();
//else if (nCurItemId == mpTemplateBar->GetItemId(TEMPLATEBAR_DEFAULT))
//OnTemplateAsDefault();
//else if (nCurItemId == mpTemplateBar->GetItemId(TEMPLATEBAR_EXPORT))
//OnTemplateExport();
return 0;
}
IMPL_LINK(BackingWindow, TVItemStateHdl, const ThumbnailViewItem*, pItem)
{
//const TemplateContainerItem *pCntItem = dynamic_cast<const TemplateContainerItem*>(pItem);
//if (pCntItem)
//OnRegionState(pItem);
//else
//FIXME:Move this to here
//OnTemplateState(pItem);
return 0;
}
struct ImplDelayedDispatch struct ImplDelayedDispatch
{ {
Reference< XDispatch > xDispatch; Reference< XDispatch > xDispatch;
......
...@@ -85,8 +85,8 @@ class BackingWindow ...@@ -85,8 +85,8 @@ class BackingWindow
TemplateLocalView* mpLocalView; TemplateLocalView* mpLocalView;
TemplateAbstractView* mpCurrentView; TemplateAbstractView* mpCurrentView;
ToolBox* mpViewBar; //ToolBox* mpViewBar;
ToolBox* mpTemplateBar; //ToolBox* mpTemplateBar;
std::vector<Window*> maDndWindows; std::vector<Window*> maDndWindows;
...@@ -100,10 +100,6 @@ class BackingWindow ...@@ -100,10 +100,6 @@ class BackingWindow
void setupButton( PushButton* pButton ); void setupButton( PushButton* pButton );
//Template Manager //Template Manager
void OnTemplateOpen (); void OnTemplateOpen ();
//void OnTemplateImport ();
//void OnFolderNew ();
//void OnFolderDelete ();
//void OnRegionState (const ThumbnailViewItem *pItem);
void dispatchURL( const OUString& i_rURL, void dispatchURL( const OUString& i_rURL,
const OUString& i_rTarget = OUString( "_default" ), const OUString& i_rTarget = OUString( "_default" ),
...@@ -117,11 +113,7 @@ class BackingWindow ...@@ -117,11 +113,7 @@ class BackingWindow
DECL_LINK(ClickHdl, Button*); DECL_LINK(ClickHdl, Button*);
DECL_LINK(ExtLinkClickHdl, Button*); DECL_LINK(ExtLinkClickHdl, Button*);
DECL_LINK(OpenRegionHdl, void*); DECL_LINK(OpenRegionHdl, void*);
DECL_LINK(TBXViewHdl, void*);
DECL_LINK(TBXTemplateHdl, void*);
DECL_LINK(TVItemStateHdl, const ThumbnailViewItem*);
DECL_LINK(OpenTemplateHdl, ThumbnailViewItem*); DECL_LINK(OpenTemplateHdl, ThumbnailViewItem*);
DECL_LINK(DoubleClickHdl, void*);
void initControls(); void initControls();
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Sat Jun 14 02:47:36 2014 --> <!-- Generated with glade 3.16.0 on Wed Jul 2 15:37:52 2014 -->
<interface> <interface>
<!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 --> <!-- interface-requires LibreOffice 1.0 -->
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkImage" id="calc_all_image"> <object class="GtkImage" id="calc_all_image">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
...@@ -387,219 +387,6 @@ ...@@ -387,219 +387,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="box3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<child>
<object class="GtkToolbar" id="action_view">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<child>
<object class="GtkToolButton" id="repository">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">repository</property>
<property name="label" translatable="yes">Repository</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actionview026.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="import">
<property name="can_focus">False</property>
<property name="action_name">import</property>
<property name="label" translatable="yes">Import</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actionview010.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="delete">
<property name="can_focus">False</property>
<property name="action_name">delete</property>
<property name="label" translatable="yes">Delete</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actionview025.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="save">
<property name="can_focus">False</property>
<property name="action_name">save</property>
<property name="label" translatable="yes">Save</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actionview028.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="new_folder">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">new_folder</property>
<property name="label" translatable="yes">New Folder</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actionview029.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkToolbar" id="action_templates">
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<child>
<object class="GtkToolButton" id="template_save">
<property name="can_focus">False</property>
<property name="action_name">template_save</property>
<property name="label" translatable="yes">Save</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actionview028.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="open">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">open</property>
<property name="label" translatable="yes">Open</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actionview030.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="edit">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">edit</property>
<property name="label" translatable="yes">Edit</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actiontemplates019.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="properties">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">properties</property>
<property name="label" translatable="yes">Properties</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actiontemplates016.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="default">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">default</property>
<property name="label" translatable="yes">Set as Default</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actiontemplates015.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="move">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">move</property>
<property name="label" translatable="yes">Move to Folder</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actiontemplates017.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="export">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">export</property>
<property name="label" translatable="yes">Export</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actiontemplates020.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="template_delete">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">template_delete</property>
<property name="label" translatable="yes">Delete</property>
<property name="use_underline">True</property>
<property name="icon_name">sfx2/imglst/actiontemplates018.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child> <child>
<object class="sfxlo-RecentDocsView" id="all_recent"> <object class="sfxlo-RecentDocsView" id="all_recent">
<property name="visible">True</property> <property name="visible">True</property>
......
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