New Masked Calender for GnuCash
Amin Aghabeiki
amin.aghabeiki at gmail.com
Tue Nov 22 07:28:57 EST 2016
Hi Everyone
I make a lots of change on GtkCalendar , the change is in this way :
1- I replace GtkCalendar with a new GObject ( GTK like Calendar) ( all the
external function is like GtkCalendar )
2- separate all the calendar base function ( some function that do
calculation for week month and etc ) , and create a class like interface
with separated implantation for Gregorian / Jalalian ( and its also
possible to be implement in different calendar logic )
3- replace the most part that use GtkCalendar and use now gnucash-calendar
note : all the implementation/Change is in C not CPP ( so its just a struct
not a class interface)
ok now the question :D
1- is it posible to merge my change ( I remove GTK Calendar - and add my
onwn calendar )?
2- if answer of first question is false ,please guide me what should I do ?
3- which place use GtkCalendar ( except of Gnc-date-picker - gnc date-edit
) to replace my own Gnucash-calendar ) ?
PS1 : I add a path of my change that has GnuCash-Calendar at this e-mail .
PS2 : the code is not last
PS3 : it just compile with CMAKE and make not work ( I did not have time
yet to find the reason )
at the end , sorry again for my bad english ;-)
Regards
Amin
On Mon, Nov 21, 2016 at 11:05 PM, John Ralls <jralls at ceridwen.us> wrote:
>
> > On Nov 21, 2016, at 1:37 AM, Amin Aghabeiki <amin.aghabeiki at gmail.com>
> wrote:
> >
> > Hi Everyone
> >
> > Flow of my Change to add support for new Calendar in Gnu-Cash , I need to
> > know how Date Picker that used in Preferences work , any one can help me
> to
> > find a start point ?
>
> Amin,
>
> It's a GNCDateEdit and the code is in src/gnome-utils/gnc-date-edit.c.
>
> Regards,
> John Ralls
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jalalian_Calendar___add_Jalalian_Calendar_to_GnuCash___use_preference_date_time_setting_to.patch
Type: text/x-patch
Size: 239406 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20161122/b21d7962/attachment-0001.bin>
More information about the gnucash-devel
mailing list