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

« back to all changes in this revision

Viewing changes to Tomboy/Tray.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-28 14:11:49 UTC
  • mfrom: (1.3.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100128141149-snoxliun1ta8x8d2
Tags: 1.1.1-0ubuntu1
* New upstream version
* debian/control.in:
  - build-depends on cdbs to get strip-schema installed
  - updated cli build-depends for the new binary changes
* debian/rules:
  - set gettext domain in the desktop entry and run strip-schema on build

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
                        if (context_menu != null)
186
186
                                context_menu.Hide ();
187
187
 
188
 
                        TomboyTrayUtils.UpdateTomboyTrayMenu (tray, null);
189
 
                        if (select_first_item)
190
 
                                tray.TomboyTrayMenu.SelectFirst (false);
 
188
                        tray.NoteManager.GtkInvoke (() => {
 
189
                                TomboyTrayUtils.UpdateTomboyTrayMenu (tray, null);
 
190
                                if (select_first_item)
 
191
                                        tray.TomboyTrayMenu.SelectFirst (false);
191
192
 
192
 
                        
193
 
                                
194
 
                        GuiUtils.PopupMenu (tray.TomboyTrayMenu, null, 
195
 
                                new Gtk.MenuPositionFunc (GetTrayMenuPosition));
 
193
                                GuiUtils.PopupMenu (tray.TomboyTrayMenu, null,
 
194
                                        new Gtk.MenuPositionFunc (GetTrayMenuPosition));
 
195
                        });
196
196
                }
197
197
                
198
198
                public void GetTrayMenuPosition (Gtk.Menu menu,