@@ -2415,7 +2415,7 @@ def displayNewInboxMessage(
24152415 if acct .feedback != GatewayAccount .ALL_OK :
24162416 if acct .feedback == GatewayAccount .REGISTRATION_DENIED :
24172417 dialogs .EmailGatewayDialog (
2418- self , BMConfigParser () , acct ).exec_ ()
2418+ self , config , acct ).exec_ ()
24192419 # possible other branches?
24202420 except AttributeError :
24212421 pass
@@ -2497,7 +2497,7 @@ def click_pushButtonAddSubscription(self):
24972497 ))
24982498
24992499 def click_pushButtonStatusIcon (self ):
2500- dialogs .IconGlossaryDialog (self , config = BMConfigParser () ).exec_ ()
2500+ dialogs .IconGlossaryDialog (self , config = config ).exec_ ()
25012501
25022502 def click_actionHelp (self ):
25032503 dialogs .HelpDialog (self ).exec_ ()
@@ -2524,10 +2524,10 @@ def on_action_Send(self):
25242524
25252525 def on_action_SpecialAddressBehaviorDialog (self ):
25262526 """Show SpecialAddressBehaviorDialog"""
2527- dialogs .SpecialAddressBehaviorDialog (self , BMConfigParser () )
2527+ dialogs .SpecialAddressBehaviorDialog (self , config )
25282528
25292529 def on_action_EmailGatewayDialog (self ):
2530- dialog = dialogs .EmailGatewayDialog (self , config = BMConfigParser () )
2530+ dialog = dialogs .EmailGatewayDialog (self , config = config )
25312531 # For Modal dialogs
25322532 dialog .exec_ ()
25332533 try :
@@ -3058,7 +3058,8 @@ def on_action_InboxAddSenderToBlackList(self):
30583058 queryreturn = sqlQuery ('''select * from blacklist where address=?''' ,
30593059 addressAtCurrentInboxRow )
30603060 if queryreturn == []:
3061- label = "\" " + tableWidget .item (currentInboxRow , 2 ).subject + "\" in " + config .get (recipientAddress , "label" )
3061+ label = "\" " + tableWidget .item (currentInboxRow , 2 ).subject + "\" in " + config .get (
3062+ recipientAddress , "label" )
30623063 sqlExecute ('''INSERT INTO blacklist VALUES (?,?, ?)''' ,
30633064 label ,
30643065 addressAtCurrentInboxRow , True )
0 commit comments