diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 8cbaad8e21..81e0ca3927 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -1398,6 +1398,7 @@ lib_images_files = Split(''' font-sans.png footnote-insert.png href-insert.png + hidetab.png index-insert.png label-insert.png layout-document.png diff --git a/lib/Makefile.am b/lib/Makefile.am index 06e360311a..94e11a1a86 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -312,6 +312,7 @@ dist_images_DATA = \ images/font-sans.png \ images/footnote-insert.png \ images/href-insert.png \ + images/hidetab.png \ images/index-insert.png \ images/label-insert.png \ images/layout.png \ diff --git a/lib/images/hidetab.png b/lib/images/hidetab.png new file mode 100644 index 0000000000..16f0356655 Binary files /dev/null and b/lib/images/hidetab.png differ diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index dc004cd536..cbc752de58 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -1065,12 +1065,11 @@ TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent) QToolButton * closeTabButton = new QToolButton(this); closeTabButton->setPalette(pal); - // FIXME: we need another icon for this. - closeTabButton->setIcon(QIcon(":/images/closetab.png")); - closeTabButton->setText("Minimize Buffer"); + closeTabButton->setIcon(QIcon(":/images/hidetab.png")); + closeTabButton->setText("Hide tab"); closeTabButton->setAutoRaise(true); closeTabButton->setCursor(Qt::ArrowCursor); - closeTabButton->setToolTip(tr("Close tab")); + closeTabButton->setToolTip(tr("Hide tab")); closeTabButton->setEnabled(true); QObject::connect(closeTabButton, SIGNAL(clicked()), this, SLOT(closeCurrentTab()));