New Locale Notify

AmigaOS users can make feature requests in this forum.
Post Reply
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

New Locale Notify

Post by mritter0 »

I would like to see a system like IIntuition->StartScreenNotify() for changes in Locale. Have a built-in way to notify programs to switch catalogs.
Workbench Explorer - A better way to browse drawers
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1438
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: New Locale Notify

Post by tonyw »

Why?
cheers
tony
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 591
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: New Locale Notify

Post by broadblues »

This is already possible, just put a variable notification (NotifyVar()) on the locale.prefs for 4.x or a file notification IDOS->StartNotify() for 3.x

Then reload your locale on the notification.

There was athread about this already but s simple search for Locale doesn't reveal it. (perhaps it was on os4coding instead?)
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Re: New Locale Notify

Post by mritter0 »

@broadblues: That is what I am doing.

@tonyw: Why not? Why do we need a screen change notify system? Why do we need a directory change notify system? People have asked how to do this, so it obviously would be of benefit.
Workbench Explorer - A better way to browse drawers
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 591
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: New Locale Notify

Post by broadblues »

@mritter

than there no need for anything else. Unless it doesn't work?

Overall though I'm not sure if you should be autoupdating anyway, some programs allow changing locale (ppaint for exaample, albeit with a custom locale system) but few auto change from what they were started with.
Post Reply