Inconsistent Error Messages

More
5 years 4 months ago #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 to join the conversation.

More
5 years 4 months ago #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.
Code:
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 to join the conversation.

More
5 years 4 months ago #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:

Attachment not found

Please Log in to join the conversation.

More
5 years 4 months ago #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 to join the conversation.

More
5 years 4 months ago #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 to join the conversation.

More
5 years 4 months ago #212989 by cmorley
Replied by cmorley on topic Inconsistent Error Messages
ok thanks i'll remove it.

Please Log in to join the conversation.

Time to create page: 0.184 seconds
Powered by Kunena Forum