~ubuntu-branches/ubuntu/lucid/tomboy/lucid-proposed

« back to all changes in this revision

Viewing changes to Tomboy/Addins/PrintNotes/PrintNotesNoteAddin.cs

  • Committer: Ken VanDine
  • Date: 2010-10-26 14:37:51 UTC
  • mfrom: (47.1.1 lucid-proposed)
  • Revision ID: ken.vandine@canonical.com-20101026143751-m1bsy5ukg3h8f0rb
* New upstream version:
  - Fix bullet list indentation when printing (lp: #516494)
  - Add timestamp to logger messages, useful for watching autosync output, etc
  - Other fixes: LP:#556628

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
                                layout.Attributes = attr_list;
201
201
                        }
202
202
 
 
203
                        DepthNoteTag depth = Buffer.FindDepthTag (p_start);
 
204
                        if (depth != null)
 
205
                                indentation += ((int) (dpiX / 3)) * depth.Depth;
 
206
 
203
207
                        layout.Width = Pango.Units.FromPixels ((int)context.Width -
204
208
                                margin_left - margin_right - indentation);
205
209
                        layout.Wrap = Pango.WrapMode.WordChar;