On 11/06/2011 11:22 PM, Frank Lanitz wrote:
Am 07.11.2011 02:12, schrieb Matthew Brush:
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-mes...
Feedback is welcome.
Didn't check the code or run a test, but based on screenshot looks useful. Is there a way to swith between current popup infobox and this slide?
Hi Frank,
It's not currently implemented, but assuming it's not too tough to add a (hidden?) preference, then it would be trivial to make this code do it.
Cheers, Matthew Brush