Inconsistent Error Messages

More
16 Jun 2021 05:44 #212175 by cmorley
Replied by cmorley on topic Inconsistent Error Messages
i'll look at your suggested code as soon as i can. - working a lot lately.

thanks

Please Log in or Create an account to join the conversation.

More
23 Jun 2021 04:32 #212717 by cmorley
Replied by cmorley on topic Inconsistent Error Messages
i was thinking it might be useful to include in the STATUS message the type and state of the button returned.
    def yesClicked(self, n, action, callback):
        callback(True)
        STATUS.emit('error_osd_button_pressed', 'YesNo",True)

    def noClicked(self, n, action, callback):
        callback(False)
        STATUS.emit('error_osd_button_pressed', 'YesNo',False)

What does osd stand for? something system dialog?
'system_notify_button_pressed' might be better?

Still working steady so didn;t get any father then that....

Please Log in or Create an account to join the conversation.

More
23 Jun 2021 05:16 - 23 Jun 2021 11:16 #212719 by phillc54
Yes, that would probably be more flexible.

On Screen Display, for want of a better description, which your one is...

Edit: I had a bit of a play with putting the maximum messages in the prefs file, the attached diff is what I came up with:

File Attachment:

File Name: max_messag...diff.txt
File Size:8 KB
Attachments:
Last edit: 23 Jun 2021 11:16 by phillc54.

Please Log in or Create an account to join the conversation.

More
26 Jun 2021 04:42 #212943 by cmorley
Replied by cmorley on topic Inconsistent Error Messages
I pushed your work to master.
adjusted the names a bit - let me know if it's not what you wanted.

Chris

Please Log in or Create an account to join the conversation.

More
26 Jun 2021 06:28 #212948 by phillc54
Perfect Chris, thank you.

The change in istat.py is not needed now with having notify_max_msgs in the prefs file.

Please Log in or Create an account to join the conversation.

More
27 Jun 2021 00:33 #212989 by cmorley
Replied by cmorley on topic Inconsistent Error Messages
ok thanks i'll remove it.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.070 seconds
Powered by Kunena Forum