add message after subservice has been added to bouquet
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 23 Nov 2006 20:50:13 +0000 (20:50 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 23 Nov 2006 20:50:13 +0000 (20:50 +0000)
lib/python/Screens/InfoBarGenerics.py

index 9122261..2e11eb5 100644 (file)
@@ -1510,10 +1510,12 @@ class InfoBarSubserviceSelection:
                                self.bsel = self.session.openWithCallback(self.bouquetSelClosed, BouquetSelector, self.bouquets, self.addSubserviceToBouquet)
                        elif cnt == 1: # add to only one existing bouquet
                                self.addSubserviceToBouquet(self.bouquets[0][1])
                                self.bsel = self.session.openWithCallback(self.bouquetSelClosed, BouquetSelector, self.bouquets, self.addSubserviceToBouquet)
                        elif cnt == 1: # add to only one existing bouquet
                                self.addSubserviceToBouquet(self.bouquets[0][1])
+                               self.session.open(MessageBox, _("Service has been added to the favourites."), MessageBox.TYPE_INFO)
 
        def bouquetSelClosed(self, **args):
                self.bsel = None
                del self.selectedSubservice
 
        def bouquetSelClosed(self, **args):
                self.bsel = None
                del self.selectedSubservice
+               self.session.open(MessageBox, _("Service has been added to the selected bouquet."), MessageBox.TYPE_INFO)
 
        def addSubserviceToBouquet(self, dest):
                serviceHandler = eServiceCenter.getInstance()
 
        def addSubserviceToBouquet(self, dest):
                serviceHandler = eServiceCenter.getInstance()