]> git.lyx.org Git - features.git/commitdiff
Add hide tab icon.
authorPavel Sanda <sanda@lyx.org>
Thu, 21 Feb 2008 15:13:39 +0000 (15:13 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 21 Feb 2008 15:13:39 +0000 (15:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23101 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/scons_manifest.py
lib/Makefile.am
lib/images/hidetab.png [new file with mode: 0644]
src/frontends/qt4/GuiWorkArea.cpp

index 8cbaad8e211027b9f11cd8b810438eee8bd7de64..81e0ca3927d6bbb677b2ac538e5bac05b9b42fa1 100644 (file)
@@ -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
index 06e360311a5097cd2776ec8aef2dce8efb762a21..94e11a1a860ddc8446328c25a2d9f9a296084b1a 100644 (file)
@@ -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 (file)
index 0000000..16f0356
Binary files /dev/null and b/lib/images/hidetab.png differ
index dc004cd536b8e9df7c44e1ebcaeb6d38b1fd7ed1..cbc752de581cbe5b4a2104a85263d37278d86536 100644 (file)
@@ -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()));