[Geany-devel] [RFC] Document Messages

Matthew Brush mbrush at xxxxx
Mon Nov 7 07:30:52 UTC 2011


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-message.png
>>
>>
>> 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



More information about the Devel mailing list