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

« back to all changes in this revision

Viewing changes to Tomboy/Addins/Tasque/TasqueNoteAddin.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:
1
1
 
2
2
using System;
3
 
using System.Collections;
4
3
 
5
4
using Mono.Unix;
6
5
 
18
17
                static string TasqueNamespace = "org.gnome.Tasque";
19
18
                
20
19
                static Gdk.Pixbuf tasqueIcon = null;
21
 
                
22
 
                static TasqueNoteAddin ()
23
 
                {
24
 
                        tasqueIcon =
25
 
                                GuiUtils.GetIcon (System.Reflection.Assembly.GetExecutingAssembly (),
26
 
                                "tasque", 22);
 
20
 
 
21
                static Gdk.Pixbuf TasqueIcon {
 
22
                        get {
 
23
                                if (tasqueIcon == null)
 
24
                                        tasqueIcon =
 
25
                                                GuiUtils.GetIcon (System.Reflection.Assembly.GetExecutingAssembly (),
 
26
                                                "tasque", 22);
 
27
                                return tasqueIcon;
 
28
                        }
27
29
                }
28
30
                
29
31
                Gtk.MenuToolButton menuToolButton;
54
56
                        menu.Hidden += OnMenuHidden;
55
57
                        menu.ShowAll ();
56
58
                        
57
 
                        Gtk.Image tasqueImage = new Gtk.Image (tasqueIcon);
 
59
                        Gtk.Image tasqueImage = new Gtk.Image (TasqueIcon);
58
60
                        tasqueImage.Show ();
59
61
                        menuToolButton =
60
62
                                new Gtk.MenuToolButton (tasqueImage, Catalog.GetString ("Tasque"));