Re: Author setting in cell comments



Thanks John, that's very helpful.

I'll try compiling a version with that line commented out. If I'm going to go to the effort of compiling and installing should I use the source for the currently installed 1.12.17 version (Ubuntu 14.04), or should I go with the latest from git?

Dave.

On 17/11/15 00:12, jcupitt gmail com wrote:
I had a quick look at the sources for you. Gnumeric is calling
g_get_real_name():

   https://git.gnome.org/browse/gnumeric/tree/src/dialogs/dialog-cell-comment.c#n143

Which reads the password file:

   https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-real-name

Looking at the glib sources, there doesn't seem to be an easy way to
disable this behaviour.

The simplest solution would probably be to comment that line out of
the gnumeric sources and build your own version. If you cook up a
patch to remember the user's previous setting I imagine it would be
welcomed.

You could also change your real name in the passwd table to include a
non-utf-8 character, but of course that might break some strange
things.

John




On 16 November 2015 at 12:50, David Jennings <mail davidjennings net> wrote:
Hello list,

I'm going to try this question again. I can't believe that no-one knows the
answer.

In Gnumeric 1.12.17 whenever I create a comment on a cell it prefills New
Author with my name. I would rather it didn't do that but I can't find where
it's set.

Where does the cell comment dialog get the Author name from?

Thanks, David.
_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]