[Geany-devel] [RFC] Document Messages

Matthew Brush mbrush at xxxxx
Mon Nov 7 01:12:26 UTC 2011


Hi all,

I started working on something I'm calling "document messages" for lack 
of a better name.  Put another way, GtkInfoBar :)

The changes add a new document function called `document_show_message()` 
which will either show a GtkInfoBar on top of the Scintilla widget with 
the message or just show a modal dialog depending if the GTK+ version 
supports GtkInfoBar (2.18).

I've only ported `monitor_reload_file()` and 
`monitor_resave_missing_file()` to use the new function for now, because 
I needed something to test with.

The commits are here:
https://github.com/codebrainz/geany/commits/document-messages

And a screenshot is here:
https://github.com/codebrainz/misc/raw/master/screenshots/geany-document-message.png

Feedback is welcome.

Cheers,
Matthew Brush



More information about the Devel mailing list