GTK+ annotate plugin

John A Meinel john at arbash-meinel.com
Sat Oct 29 23:57:29 BST 2005


Dan Loda wrote:
> On Fri, 2005-10-28 at 10:27 -0400, Aaron Bentley wrote:
>> A few nice tweaks to gannotate would be:
>> - - on launch, set the window width so that it doesn't scroll horizontally
> 
> Yeah, that scrollbar is no good. In 0.6 I temporarily and inefficiently
> just made the default window size a bit larger. I don't want to
> dynamically resize the window since I'd rather save the window
> dimensions and pane position when the window is destroyed. Which brings
> a new question:
> 
> What is the opinion on plugins writing configuration files to .bazaar?
> 
> At the moment I am writing to ~/.bazaar/gannotate.conf.

This seems like a reasonable place to put it.
To be cross platform capable, you should use:

base = bzrlib.config.config_dir()

That way on win32 it will be put in $APPDATA/bazaar/2.0/gannotate.conf

Also, I thought I saw a commit at some point in time that talked about
an interface for plugins to store data. But I don't remember it now.
Maybe Robert or Martin would have something better to say.

John
=:->


> 
>> - - provide an option to see a given line in the context of the file
>> revision where it was added.
> 
> I have been planning on something like this. Do you think a diff would
> be sufficient, or would you prefer the entire file?
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051029/3f52594c/attachment.pgp 


More information about the bazaar mailing list