- Posts: 6803
- Thank you received: 0
Inconsistent Error Messages
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
thanks
Please Log in to join the conversation.
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.
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....
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.
5 years 4 months ago #212719
by phillc54
Replied by phillc54 on topic Inconsistent Error Messages
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:
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.
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
adjusted the names a bit - let me know if it's not what you wanted.
Chris
Please Log in to join the conversation.
5 years 4 months ago #212948
by phillc54
Replied by phillc54 on topic Inconsistent Error Messages
Perfect Chris, thank you.
The change in istat.py is not needed now with having notify_max_msgs in the prefs file.
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.
Time to create page: 0.184 seconds
