hi!
I have just submitted a patch that implements a "default metadata" page on the preferences dialog. This defines the default values to be used as metadata for newly created documents.
I need someone to review this code, please. It works fine for me. There is just one little issue: I havent been able to figure out how to update the status of the license radiobuttons on the documentMetadata dialog. Some more experienced programmer could, please, take a look at it? I imagine that it may be a simple thing that is still just not clear enough for me.
This is my first patch for inkscape, so I am not much comfortable yet with the overall structure of the program.
here is the patch: http://sourceforge.net/tracker/index.php?func=detail&aid=1746892&gro...
thanks, Juca
On 7/2/07, Felipe Sanches <felipe.sanches@...400...> wrote:
hi!
I have just submitted a patch that implements a "default metadata" page on the preferences dialog. This defines the default values to be used as metadata for newly created documents.
But, why do we need this if you can just save an empty document with that default metadata as your default template, and it will be then present in all newly created documents?
But, why do we need this if you can just save an empty document with that default metadata as your default template, and it will be then present in all newly created documents?
well... this patch can be improved to have an option such as "use date of creation" for the date field. Afaik, a saved template can't do this.
It could also optionally use Glib::get_real_name() to pre-fill the Creator, Rights and Publisher fields. Here again, a template wouldn't work for more than one user. To achieve this in a group of people working together based on the same templates, one would have to create one customized template for each user for example.
Juca
On Tue, 2007-07-03 at 14:21 -0300, Felipe Sanches wrote:
But, why do we need this if you can just save an empty document with that default metadata as your default template, and it will be then present in all newly created documents?
well... this patch can be improved to have an option such as "use date of creation" for the date field. Afaik, a saved template can't do this.
It could also optionally use Glib::get_real_name() to pre-fill the Creator, Rights and Publisher fields. Here again, a template wouldn't work for more than one user. To achieve this in a group of people working together based on the same templates, one would have to create one customized template for each user for example.
Juca
Did this get applied yet? Where is this discussion at? I have some cool metadata stuff for the whole desktop being developed through creative commons right now. I'd like to see how this can all plug in.
Jon
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
It's not been applied yet, I don't know why. Probably it still needs to be reviewed by someone.
I thought about improving it a bit more. I would like to hear your ideas about what could be done to make it even nicer.
Juca
On Sun, Jul 08, 2007 at 10:36:06PM -0300, Felipe Sanches wrote:
It's not been applied yet, I don't know why. Probably it still needs to be reviewed by someone.
I thought about improving it a bit more. I would like to hear your ideas about what could be done to make it even nicer.
Jon, could you review Felipe's patch and apply it if it looks okay?
Bryce
On Mon, 2007-07-09 at 03:41 -0700, Bryce Harrington wrote:
On Sun, Jul 08, 2007 at 10:36:06PM -0300, Felipe Sanches wrote:
It's not been applied yet, I don't know why. Probably it still needs to be reviewed by someone.
I thought about improving it a bit more. I would like to hear your ideas about what could be done to make it even nicer.
Jon, could you review Felipe's patch and apply it if it looks okay?
Bryce
I'm on it...looks like inkscape in svn is broken by filter effects. I did make clean && make and still broken...anyone else getting this?
Jon
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Jul 10, 2007 5:43 AM, Jon Phillips wrote:
Jon, could you review Felipe's patch and apply it if it looks okay?
Bryce
I'm on it...looks like inkscape in svn is broken by filter effects. I did make clean && make and still broken...anyone else getting this?
Any update on this? :)
Alexandre
On Tue, 2007-12-11 at 22:01 +0300, Alexandre Prokoudine wrote:
On Jul 10, 2007 5:43 AM, Jon Phillips wrote:
I'm on it...looks like inkscape in svn is broken by filter effects. I did make clean && make and still broken...anyone else getting this?
Any update on this? :)
Currently, SVN builds for me.
--Ted
I recall that, when I coded this patch, the only apparent issue with this was a UI bug (I havn´t found out how to properly update a radio button on the licensing metadata page)
Maybe we could apply the patch to svn and then people could try it and some developer that is more familiar with gtkmm than me could try to fix this little issue.
Juca
On Dec 12, 2007 9:15 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
On Dec 11, 2007 10:27 PM, Ted Gould wrote:
Any update on this? :)
Currently, SVN builds for me.
I meant working on the patch to add default metadata :)
Alexandre
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Sun, 2007-07-08 at 22:36 -0300, Felipe Sanches wrote:
It's not been applied yet, I don't know why. Probably it still needs to be reviewed by someone.
I thought about improving it a bit more. I would like to hear your ideas about what could be done to make it even nicer.
Juca
Cool, I'm investing this...you shoudl also check out this: http://wiki.creativecommons.org/liblicense
This is code to abstract handling of licenses on the desktop which I would like to get inkscape to use sometime in the future...
Jon
bulia byak wrote:
On 7/2/07, Felipe Sanches <felipe.sanches@...400...> wrote:
I have just submitted a patch that implements a "default metadata" page on the preferences dialog. This defines the default values to be used as metadata for newly created documents.
But, why do we need this if you can just save an empty document with that default metadata as your default template, and it will be then present in all newly created documents?
Because the number of questions about creating templates with certain properties has proved this method unintuitive. :-)
Aaron Spike
On 7/3/07, Felipe Sanches wrote:
I have just submitted a patch that implements a "default metadata" page on the preferences dialog. This defines the default values to be used as metadata for newly created documents.
Thanks for implementing my request :)
Does it add current user as Contributor in case Author is already defined? Transparent handling of metadata is something modern desktops are still missing,
Alexandre
Does it add current user as Contributor in case Author is already defined? Transparent handling of metadata is something modern desktops are still missing,
No, by now it just applies to newly created documents. Adding current user as contributor seems to be nice, but I think that, in general, automatically dealing with licenses can be dangerous. The user should be always aware of licensing terms.
Juca
participants (7)
-
Aaron Spike
-
Alexandre Prokoudine
-
Bryce Harrington
-
bulia byak
-
Felipe Sanches
-
Jon Phillips
-
Ted Gould