John Levon wrote:

> yes please, I simply forgot about this ...
> 
> regards
> john


Two little xpm, to be shoved on lib/images, and this patch.

Bye, Alfredo

Regards, Alfredo
Index: ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/ChangeLog,v
retrieving revision 1.356
diff -u -r1.356 ChangeLog
--- ChangeLog	2002/12/17 17:28:04	1.356
+++ ChangeLog	2002/12/17 19:32:53
@@ -1,3 +1,7 @@
+2002-12-17  Alfredo Braunstein <[EMAIL PROTECTED]>
+
+	* QCommandBuffer.C: added up.xpm and down.xpm to the command buffer
+
 2002-12-13  Juergen Spitzmueller  <[EMAIL PROTECTED]>
 
 	* QBibtexDialog.[Ch]
Index: QCommandBuffer.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QCommandBuffer.C,v
retrieving revision 1.11
diff -u -r1.11 QCommandBuffer.C
--- QCommandBuffer.C	2002/11/27 10:30:23	1.11
+++ QCommandBuffer.C	2002/12/17 19:32:54
@@ -68,10 +68,11 @@
 {
 	setHorizontalStretchable(true);
 
-	QPixmap qp(LibFileSearch("images", "unknown", "xpm").c_str());
+	QPixmap qpup(LibFileSearch("images", "up", "xpm").c_str());
+	QPixmap qpdown(LibFileSearch("images", "down", "xpm").c_str());
 
-	(new QToolButton(qp, _("Up"), "", this, SLOT(up()), this))->show();
-	(new QToolButton(qp, _("Down"), "", this, SLOT(down()), this))->show();
+	(new QToolButton(qpup, _("Previous command"), "", this, SLOT(up()), this))->show();
+	(new QToolButton(qpdown, _("Next command"), "", this, SLOT(down()), this))->show();
 
 	edit_ = new QCommandEdit(this);
 	edit_->setMinimumSize(edit_->sizeHint());

<<attachment: down.xpm>>

<<attachment: up.xpm>>

Reply via email to