Helpviewer/AdBlock/AdBlockDialog.py

changeset 42
23b45a742e17
parent 13
1af94a91f439
child 55
b5c84934de9c
equal deleted inserted replaced
41:572a009369f0 42:23b45a742e17
97 97
98 act = menu.addAction(self.trUtf8("Remove Subscription"), 98 act = menu.addAction(self.trUtf8("Remove Subscription"),
99 self.__removeSubscription) 99 self.__removeSubscription)
100 act.setEnabled(idx.isValid()) 100 act.setEnabled(idx.isValid())
101 101
102 def addCustomRule(self, rule): 102 def addCustomRule(self, rule = ""):
103 """ 103 """
104 Public slot to add a custom AdBlock rule. 104 Public slot to add a custom AdBlock rule.
105 105
106 @param rule string defining the rule to be added (string) 106 @param rule string defining the rule to be added (string)
107 """ 107 """

eric ide

mercurial