rename ICap to Cap (closes #1424)

This commit is contained in:
Romain Bignon 2014-07-05 17:33:44 +02:00
commit e025fb0b20
244 changed files with 679 additions and 679 deletions

View file

@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.recipe import ICapRecipe
from weboob.capabilities.recipe import CapRecipe
from weboob.tools.application.qt import QtApplication
from .main_window import MainWindow
@ -30,14 +30,14 @@ class QCookboob(QtApplication):
COPYRIGHT = 'Copyright(C) 2013 Julien Veyssier'
DESCRIPTION = "Qt application allowing to search recipes."
SHORT_DESCRIPTION = "search recipes"
CAPS = ICapRecipe
CAPS = CapRecipe
CONFIG = {'settings': {'backend': '',
'maxresultsnumber': '10'
}
}
def main(self, argv):
self.load_backends([ICapRecipe])
self.load_backends([CapRecipe])
self.load_config()
self.main_window = MainWindow(self.config, self.weboob, self)