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 """ |