From 3edbb79861df63634944050c1116d21d4c957d2b Mon Sep 17 00:00:00 2001 From: fgerlits Date: Mon, 13 Nov 2006 11:52:07 +0000 Subject: [PATCH] changed the search results from 10 to 25 items --- campcaster/src/products/gLiveSupport/src/SearchWindow.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx b/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx index 7eb0fc911..6b77397cc 100644 --- a/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx +++ b/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx @@ -72,7 +72,7 @@ const std::string searchWhereRemoteKey = "searchWhereRemote"; /*------------------------------------------------------------------------------ * The number of items which can be shown in the search results. *----------------------------------------------------------------------------*/ -const int searchResultsSize = 10; +const int searchResultsSize = 25; } @@ -119,8 +119,8 @@ SearchWindow :: SearchWindow (Ptr::Ref gLiveSupport, Gtk::Box * searchResultsView = constructSearchResultsView(); // set the sizes of the two parts of the window - searchInput ->set_size_request(750, 231); - searchResultsView->set_size_request(750, 343); + searchInput ->set_size_request(766, 231); + searchResultsView->set_size_request(766, 343); // put them in one big box Gtk::VBox * bigBox = Gtk::manage(new Gtk::VBox); @@ -404,7 +404,7 @@ SearchWindow :: constructSearchResultsView(void) throw () // pack everything in a box Gtk::Box * view = Gtk::manage(new Gtk::VBox); - view->pack_start(*pagingToolbar, Gtk::PACK_SHRINK, 5); + view->pack_start(*pagingToolbar, Gtk::PACK_SHRINK, 5); view->pack_start(*resultsWindow, Gtk::PACK_EXPAND_WIDGET, 0); return view;