Re: peopleview

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: peopleview

by Benny Malengier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is the same problem that Doug had.
In
gen/db/read.py
change

    def get_person_column_order(self):
        """
        Return the Person display common information stored in the database's
        metadata.
        """
        default = [(1, 0, 250), (1, 1, 50), (1, 2, 75), (1, 3, 100),
                   (1, 4, 175), (1, 5, 100), (1, 6, 175), (1, 7, 100),
                   (0, 8, 100)]
        return self.__get_column_order(PERSON_COL_KEY, default)

into

    def get_person_column_order(self):
        """
        Return the Person display common information stored in the database's
        metadata.
        """
        default = [(1, 0, 250), (1, 1, 50), (1, 2, 75), (1, 3, 100),
                   (1, 4, 175), (1, 5, 100), (1, 6, 175), (1, 7, 100),
                   (0, 8, 100)]
        return default

I'll remove obtaining columns from db when finished with my present
changes. Svn is not git, it is difficult to work on many things at the
same time.

Benny

2009/11/8 Rob Healey <robhealey1@...>:

> Dear Benny:
>
> I have a couple of issues with peopleview now...
>
> 1) I can't see who the people's names are now....  Screenshot #1
>
> 2) Can't add name from the column editor either...  screenshot #2...
>
> Am I doing something wrong now or is it something that is still in the
> working....
>
> At current revision 13527 ...
> Sincerely yours,
> Rob G. Healey
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

Re: peopleview

by Doug Blank-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Nov 8, 2009 at 5:42 AM, Benny Malengier
<benny.malengier@...> wrote:

> This is the same problem that Doug had.
> In
> gen/db/read.py
> change
>
>    def get_person_column_order(self):
>        """
>        Return the Person display common information stored in the database's
>        metadata.
>        """
>        default = [(1, 0, 250), (1, 1, 50), (1, 2, 75), (1, 3, 100),
>                   (1, 4, 175), (1, 5, 100), (1, 6, 175), (1, 7, 100),
>                   (0, 8, 100)]
>        return self.__get_column_order(PERSON_COL_KEY, default)
>
> into
>
>    def get_person_column_order(self):
>        """
>        Return the Person display common information stored in the database's
>        metadata.
>        """
>        default = [(1, 0, 250), (1, 1, 50), (1, 2, 75), (1, 3, 100),
>                   (1, 4, 175), (1, 5, 100), (1, 6, 175), (1, 7, 100),
>                   (0, 8, 100)]
>        return default
>
> I'll remove obtaining columns from db when finished with my present
> changes. Svn is not git, it is difficult to work on many things at the
> same time.
>

Benny,

I've put a patch on:

http://www.gramps-project.org/bugs/view.php?id=3339

that moves the column data to config ini keys. It is a minimal set of
changes to fix the current state. I didn't save the column width
changes but all it would take is to change the col in the list and
save the config (where would that be?). config handles lists natively
now, so this is trivial.

Feel free to change/apply, or give me feedback and I will.

-Doug

> Benny
>
> 2009/11/8 Rob Healey <robhealey1@...>:
>> Dear Benny:
>>
>> I have a couple of issues with peopleview now...
>>
>> 1) I can't see who the people's names are now....  Screenshot #1
>>
>> 2) Can't add name from the column editor either...  screenshot #2...
>>
>> Am I doing something wrong now or is it something that is still in the
>> working....
>>
>> At current revision 13527 ...
>> Sincerely yours,
>> Rob G. Healey
>>
>>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@...
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel