[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| 
| | >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| | 
| | Lars> So. Any objections to me committing the change as is?
| | 
| | Please fix the one useful caption that will slip through.
| 
| Hmm... that means playing with qt designer stuff...
| 
| These are the ones that are not just bogus: (Yes, more than one.)
| 
|         LyX: Enter text
|         LyX: Add BibTeX Database
|         LyX: Add Citation

Ok, these are now fixed. I managed to not play with the designer :-)

A bit unsure about the "LyX: Enter text" though, and the code in
Alert_pimpl.C. I am not sure that the code there is correct. The
existing code that is. So as of current I have commented out the
manual setting of the caption.

I am chekcing this in shortly.

Index: frontends/qt3/QCitationDialog.C
===================================================================
--- frontends/qt3/QCitationDialog.C	(revision 15042)
+++ frontends/qt3/QCitationDialog.C	(working copy)
@@ -48,6 +48,8 @@
 		form, SLOT(slotClose()));
 
 	add_ = new QCitationFindDialogBase(this, "", true);
+        add_->setCaption(qt_("LyX: Add Citation"));
+        
 	connect(add_->previousPB, SIGNAL(clicked()), this, SLOT(previous()));
 	connect(add_->nextPB, SIGNAL(clicked()), this, SLOT(next()));
 	connect(add_->availableLB, SIGNAL(currentChanged(QListBoxItem *)), this, SLOT(availableChanged()));
Index: frontends/qt3/QBibtexDialog.C
===================================================================
--- frontends/qt3/QBibtexDialog.C	(revision 15042)
+++ frontends/qt3/QBibtexDialog.C	(working copy)
@@ -48,6 +48,8 @@
 		form, SLOT(slotClose()));
 
 	add_ = new QBibtexAddDialogBase(this, "", true);
+        add_->setCaption(qt_("LyX: Add BibTeX Database"));
+        
 	Qt2BC * bcview = new Qt2BC(add_bc_);
 	add_bc_.view(bcview);
 	add_bc_.bp(new OkCancelPolicy);
Index: frontends/qt3/Alert_pimpl.C
===================================================================
--- frontends/qt3/Alert_pimpl.C	(revision 15042)
+++ frontends/qt3/Alert_pimpl.C	(working copy)
@@ -101,6 +101,9 @@
 
 	docstring const title = bformat(_("LyX: %1$s"), msg);
 	QAskForTextDialog d(parent, toqstr(title), true);
+        // We try to go with the title set above.
+        // d.setCaption(qt_("LyX: Enter text"));
+
 	// less than ideal !
 	d.askLA->setText(toqstr('&' + msg));
 	d.askLE->setText(toqstr(dflt));
-- 
        Lgb

Reply via email to