Permalink
Browse files

changed: use built-in keyboard input handling when searching addons

  • Loading branch information...
1 parent e8f122d commit ab9f86ddb391a6521422aae72bfa394abd486fe9 @mkortstiege mkortstiege committed Aug 31, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 xbmc/filesystem/AddonsDirectory.cpp
@@ -32,7 +32,6 @@
#include "guilib/TextureManager.h"
#include "File.h"
#include "utils/URIUtils.h"
-#include "dialogs/GUIDialogKeyboard.h"
using namespace ADDON;
@@ -100,8 +99,8 @@ bool CAddonsDirectory::GetDirectory(const CStdString& strPath, CFileItemList &it
else if (path.GetHostName().Equals("search"))
{
CStdString search;
- if (!CGUIDialogKeyboard::ShowAndGetInput(search, g_localizeStrings.Get(16017), false))
- return true;
+ if (!GetKeyboardInput(16017, search))
+ return false;
items.SetProperty("reponame",g_localizeStrings.Get(283));
items.SetLabel(g_localizeStrings.Get(283));

0 comments on commit ab9f86d

Please sign in to comment.