This commit is contained in:
fgerlits 2005-06-13 17:17:32 +00:00
parent 4716b9c968
commit b46b159528
7 changed files with 25 additions and 40 deletions

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/OperatorComboBoxText.cxx,v $
------------------------------------------------------------------------------*/
@ -62,16 +62,21 @@ OperatorComboBoxText :: OperatorComboBoxText(
: ComboBoxText(leftImage, centerImage, rightImage),
LocalizedObject(bundle)
{
appendPair(getResourceUstring("partialOperatorDisplay"),
getResourceUstring("partialOperatorSearchKey"));
appendPair(getResourceUstring("prefixOperatorDisplay"),
getResourceUstring("prefixOperatorSearchKey"));
appendPair(getResourceUstring("=OperatorDisplay"),
getResourceUstring("=OperatorSearchKey"));
appendPair(getResourceUstring("<=OperatorDisplay"),
getResourceUstring("<=OperatorSearchKey"));
appendPair(getResourceUstring(">=OperatorDisplay"),
getResourceUstring(">=OperatorSearchKey"));
Ptr<Glib::ustring>::Ref searchOperator(new Glib::ustring("partial"));
appendPair(getResourceUstring("partialOperatorDisplay"), searchOperator);
*searchOperator = "prefix";
appendPair(getResourceUstring("prefixOperatorDisplay"), searchOperator);
*searchOperator = "=";
appendPair(getResourceUstring("=OperatorDisplay"), searchOperator);
*searchOperator = "<=";
appendPair(getResourceUstring("<=OperatorDisplay"), searchOperator);
*searchOperator = ">=";
appendPair(getResourceUstring(">=OperatorDisplay"), searchOperator);
set_active(0); // select the first item
}

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $
Version : $Revision: 1.18 $
Version : $Revision: 1.19 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/SearchWindow.cxx,v $
------------------------------------------------------------------------------*/
@ -316,10 +316,15 @@ void
SearchWindow :: onSearch(Ptr<SearchCriteria>::Ref criteria)
throw ()
{
Ptr<std::list<Ptr<Playable>::Ref> >::Ref
Ptr<std::list<Ptr<Playable>::Ref> >::Ref searchResults;
try {
searchResults = gLiveSupport->search(criteria);
std::list<Ptr<Playable>::Ref>::const_iterator it;
} catch (XmlRpcException &e) {
std::cerr << e.what() << std::endl;
return;
}
std::list<Ptr<Playable>::Ref>::const_iterator it;
treeModel->clear();
int rowNumber = 0;

View file

@ -152,15 +152,10 @@ es:table
lengthColumnLabel:string { "Duración" }
partialOperatorDisplay:string { "contiene" }
partialOperatorSearchKey:string { "parcial" }
prefixOperatorDisplay:string { "empieza con" }
prefixOperatorSearchKey:string { "prefix" }
=OperatorDisplay:string { "equivale" }
=OperatorSearchKey:string { "=" }
<=OperatorDisplay:string { "<=" }
<=OperatorSearchKey:string { "<=" }
>=OperatorDisplay:string { ">=" }
>=OperatorSearchKey:string { ">=" }
allStringForBrowse { "--- todo ---" }

View file

@ -150,15 +150,10 @@ hu:table
lengthColumnLabel:string { "Hossz" }
partialOperatorDisplay:string { "része" }
partialOperatorSearchKey:string { "partial" }
prefixOperatorDisplay:string { "kezdete" }
prefixOperatorSearchKey:string { "prefix" }
=OperatorDisplay:string { "=" }
=OperatorSearchKey:string { "=" }
<=OperatorDisplay:string { "<=" }
<=OperatorSearchKey:string { "<=" }
>=OperatorDisplay:string { ">=" }
>=OperatorSearchKey:string { ">=" }
allStringForBrowse { "--- minden ---" }

View file

@ -152,15 +152,10 @@ root:table
lengthColumnLabel:string { "Length" }
partialOperatorDisplay:string { "contains" }
partialOperatorSearchKey:string { "partial" }
prefixOperatorDisplay:string { "starts with" }
prefixOperatorSearchKey:string { "prefix" }
=OperatorDisplay:string { "equals" }
=OperatorSearchKey:string { "=" }
<=OperatorDisplay:string { "<=" }
<=OperatorSearchKey:string { "<=" }
>=OperatorDisplay:string { ">=" }
>=OperatorSearchKey:string { ">=" }
allStringForBrowse { "--- all ---" }

View file

@ -152,15 +152,10 @@ sr_CS:table
lengthColumnLabel:string { "Dužina" }
partialOperatorDisplay:string { "sadrži" }
partialOperatorSearchKey:string { "deo" }
prefixOperatorDisplay:string { "počinje sa" }
prefixOperatorSearchKey:string { "prefiks" }
=OperatorDisplay:string { "jednako" }
=OperatorSearchKey:string { "=" }
<=OperatorDisplay:string { "<=" }
<=OperatorSearchKey:string { "<=" }
>=OperatorDisplay:string { ">=" }
>=OperatorSearchKey:string { ">=" }
allStringForBrowse { "--- sve ---" }

View file

@ -151,15 +151,10 @@ sr_CS_CYRILLIC:table
lengthColumnLabel:string { "Дужина" }
partialOperatorDisplay:string { "садржи" }
partialOperatorSearchKey:string { "део" }
prefixOperatorDisplay:string { "почиње са" }
prefixOperatorSearchKey:string { "префикс" }
=OperatorDisplay:string { "једнако" }
=OperatorSearchKey:string { "=" }
<=OperatorDisplay:string { "<=" }
<=OperatorSearchKey:string { "<=" }
>=OperatorDisplay:string { ">=" }
>=OperatorSearchKey:string { ">=" }
allStringForBrowse { "--- све ---" }