[Mono-docs-list] Monodoc print support patch - feedback needed.
lists at ophion.org
Tue Aug 30 01:26:22 EDT 2005
My comments are below:
On Mon, 2005-08-29 at 14:45 +0200, Mario Sopena wrote:
> On 8/28/05, Rafael Ferreira <lists at ophion.org> wrote:
> > Hey everyone,
> > This patch creates a basic infrastructure for printing in monodoc. The
> > patch is composed of:
> > * docbrowser.patch - Minor changes to browser.cs / browser.glade to add
> > printing support
> > * IPrintManager.cs - Printing interface to allow for different printing
> > back ends
> > * GtkHTMLPrintManager.cs - GtkHtml implementation of IPrintManager.cs
> It's better to integrate everything in the patch file (just my
> opinion). Just use svn add file_name for adding those .cs files and
> then, when you make the patch, svn will integrate them. For the
> Changelog, label the new files with the word added, so everyone will
> know that file was added at that point (look at the other entries in
> the Changelog).
Fixed. I didn't know I could do a "svn add" while in anonymous svn mode.
I also updated the Changelog, let me know if it looks any better.
> Also, the diff to the glade file shows you are including a lots of things like:
> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
> + <property name="width_chars">-1</property>
> + <property name="single_line_mode">False</property>
> + <property name="angle">0</property>
> that are probably automatically added by glade but are not necessary,
> so try to leave them out. You have also some changes to some icons or
> images..are those necessary? Can you explain why?
I have no clue what those "ellipsize" glade tags are. I played around
with glade for a while to see if I could remove those with no luck.
Aside from manually editing the xml I have no idea how to make them go
away. But to answer your question, the only other change I made to this
file (besides adding the gtk-stock-print menu item) is to enforce that
the About menu item is using the gtk-stock-about icon. Originally
FC4/Clearlooks was having problems saving the glade file because it
could not find the About icon.
Let me know what you think,
> > Currently the GtkHtml implementation is fully functional in all of its
> > css-less glory. The lack of css support will cause the printed html to
> > not look identical to the "on-screen" html if the user is using the
> > gecko rendering engine. This can be easily corrected/improved by
> > implementing a Gecko based print manager once gecko-sharp catches up to
> > printing.
> > As always, feedback is appreciated.
> > - raf
> > _______________________________________________
> > Mono-docs-list maillist - Mono-docs-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-docs-list
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 36126 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-docs-list/attachments/20050829/5cfe4d91/docbrowser-0001.bin
More information about the Mono-docs-list