On 01/13/2012 01:55 PM, Lex Trotman wrote:
On Sat, Jan 14, 2012 at 5:29 AM, Dimitar Zhekov dimitar.zhekov@gmail.com wrote:
Hi,
In Geany, we have an option to set "Beep on errors or compilation finished", which results in gdk_beep() or nothing. What do you think about adding a "visual beep" option, which flashes the status bar for a short (250ms default) period of time? Personally I want to receive some signal on errors or end of build commands, but quiet.
Writing a visual beep will be easy, and from a few other programs I have used seems noticable enough, without being distracting.
--
unbeep(): gtk_widget_set_state(statusbar, GTK_STATE_NORMAL)
gtk_widget_set_state(statusbar, GTK_STATE_SELECTED) g_timeout_add(user preference, unbeep)
(an event box may be required if gtk status bar does not support SELECTED state)
So long as it has a preference to turn it firmly O-F-F
We're going to break some sort of record for the maximum number of preferences ever used in a single program :)
Cheers, Matthew Brush