[Libreoffice-commits] core.git: sfx2/source
Akshay Deep
akshaydeepiitr at gmail.com
Mon Jun 13 21:30:07 UTC 2016
sfx2/source/doc/templatedlg.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit a8bd44573b75d1399257d6f5d052611439607189
Author: Akshay Deep <akshaydeepiitr at gmail.com>
Date: Tue Jun 14 02:12:59 2016 +0530
Code cleanup: No need to explicitly show tooltips in Template Manager
Change-Id: I32b0bb79c38a91cbafb3075963155d3b38b3012a
Reviewed-on: https://gerrit.libreoffice.org/26231
Reviewed-by: Akshay Deep <akshaydeepiitr at gmail.com>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 1eba875..78eb6ce 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -380,7 +380,6 @@ void SfxTemplateManagerDlg::fillFolderComboBox()
}
mpCBFolder->SelectEntryPos(0);
mpActionMenu->HideItem(MNI_ACTION_RENAME_FOLDER);
- mpLocalView->ShowTooltips(true);
}
void SfxTemplateManagerDlg::getApplicationSpecificSettings()
@@ -466,7 +465,6 @@ void SfxTemplateManagerDlg::readSettings ()
//show all categories
mpCBFolder->SelectEntryPos(0);
mpActionMenu->HideItem(MNI_ACTION_RENAME_FOLDER);
- mpLocalView->ShowTooltips(true);
mpLocalView->showAllTemplates();
}
else
@@ -504,7 +502,6 @@ IMPL_LINK_NOARG_TYPED(SfxTemplateManagerDlg, SelectApplicationHdl, ListBox&, voi
mpCurView->showAllTemplates();
mpCBFolder->SelectEntryPos(0);
mpActionMenu->HideItem(MNI_ACTION_RENAME_FOLDER);
- mpCurView->ShowTooltips(true);
}
if(mpSearchView->IsVisible())
@@ -519,13 +516,11 @@ IMPL_LINK_NOARG_TYPED(SfxTemplateManagerDlg, SelectRegionHdl, ListBox&, void)
if(mpCBFolder->GetSelectEntryPos() == 0)
{
mpLocalView->showAllTemplates();
- mpLocalView->ShowTooltips(true);
mpActionMenu->HideItem(MNI_ACTION_RENAME_FOLDER);
}
else
{
mpLocalView->showRegion(sSelectedRegion);
- mpLocalView->ShowTooltips(false);
mpActionMenu->ShowItem(MNI_ACTION_RENAME_FOLDER);
}
}
@@ -1255,7 +1250,6 @@ void SfxTemplateManagerDlg::OnCategoryRename()
mpLocalView->reload();
mpLocalView->showRegion(aName);
- mpLocalView->ShowTooltips(true);
}
else
{
More information about the Libreoffice-commits
mailing list