~ubuntu-branches/ubuntu/jaunty/tomboy/jaunty

« back to all changes in this revision

Viewing changes to Tomboy/Addins/Backlinks/BacklinkMenuItem.cs

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2009-02-17 03:08:19 UTC
  • mfrom: (1.1.46 upstream)
  • Revision ID: james.westby@ubuntu.com-20090217030819-87k5mkna0w5tvvqf
Tags: 0.13.5-0ubuntu1
* New upstream release
  - Removed bundled Mono.Addins. Mono.Addins is
    now a hard dependency.
  - Update printing to use Gtk.Print (#512369, Benjamin Podszun)
    Still buggy.
  - Fix multi-page printing of exported note HTML (#548198)
  - Fix crash when clicking link and browser not set (#569639).
  - 64-bit Windows support (#558272, Jay R. Wren).
  - Search window position saved on Windows/Mac (#559663).
  - Fix lingering tray icon in Windows (#569709, Benjamin Podszun).
  - Fix bug with font settings (#559724, Benjamin Podszun).
  - Mac MonoDevelop solution now easier to build (Doug Johnston et al).
  - Other fixes: #562846 (James Westby) #570917, #570918.
  - Additional updates to note printing (#512369, #572024
    , Benjamin Podszun).
  - Windows installer now requires Novell's GTK# >= 2.12.8 (#569324).
  - Increase/Decrease Indent shortcuts now appear in menu
    (#570334, Benjamin Podszun).
  - No longer writes to disk every 40 seconds (#514434).
  - Fixes to note linking (#323845, Florian).
  - Add GConf preference for auto-accepting SSL Certs in 
    WebDAV sync (#531364).
  - After succcessfully configuring sync, offer to perform 
    first sync (#553079).
* debian/control:
  - Use libgconf2.24-cil and libgnome2.24-cil (LP: #314516)
  - Build-dep on libgnomepanel2.24-cil
  - Remove Build-dep on libgnomeprint and libgnomeprintui
  - Add Vcs headers
* .bzr-builddeb/default.conf: added
* debian/patches/02_configurable_compiler.patch:
  - Removed, merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
                static Gdk.Pixbuf note_icon;
13
13
 
14
 
                static BacklinkMenuItem ()
 
14
                static Gdk.Pixbuf NoteIcon
15
15
                {
16
 
                        note_icon = GuiUtils.GetIcon ("note", 16);
 
16
                        get {
 
17
                                if (note_icon == null)
 
18
                                        note_icon = GuiUtils.GetIcon ("note", 16);
 
19
                                return note_icon;
 
20
                        }
17
21
                }
18
22
 
19
 
public BacklinkMenuItem (Note note, string title_search) :
20
 
                base (note.Title)
 
23
                public BacklinkMenuItem (Note note, string title_search) :
 
24
                        base (note.Title)
21
25
                {
22
26
                        this.note = note;
23
27
                        this.title_search = title_search;
24
 
                        this.Image = new Gtk.Image (note_icon);
 
28
                        this.Image = new Gtk.Image (NoteIcon);
25
29
                }
26
30
 
27
31
                protected override void OnActivated ()