~foerdi/ubuntuone-windows-installer/first-shot

« back to all changes in this revision

Viewing changes to src/Canonical.UbuntuOne.Client.Views/NotifyIcon.xaml.cs

  • Committer: Manuel de la Pena
  • Date: 2010-11-02 21:43:43 UTC
  • mfrom: (84.2.28 fix_655853)
  • Revision ID: mandel@themacaque.com-20101102214343-zr32dao20toxw614
Fix lp:655853 by connecting the presenter with the UI. Disable open shares until sync daemon has been ported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
// Authors: Manuel de la Peña <manuel.delapena@canonical.com>
18
18
using System;
19
19
using System.Collections.Generic;
20
 
using System.Diagnostics;
21
 
using System.IO;
22
20
using Canonical.UbuntuOne.Client.Notification;
23
21
 
24
22
namespace Canonical.UbuntuOne.Client.Views
96
94
            NotificationIconPresenter.Exit();
97
95
        }
98
96
 
99
 
        private void HelpMenuItemClick(object sender, System.Windows.RoutedEventArgs e)
 
97
        private void OnHelpMenuItemClick(object sender, System.Windows.RoutedEventArgs e)
100
98
        {
101
99
            NotificationIconPresenter.OpenHelp();
102
100
        }
103
101
 
104
 
        private void MoreSpaceMenuItemClick(object sender, System.Windows.RoutedEventArgs e)
 
102
        private void OnMoreSpaceMenuItemClick(object sender, System.Windows.RoutedEventArgs e)
105
103
        {
106
104
            NotificationIconPresenter.OpenUpgradeOption();
107
105
        }
 
106
 
 
107
        private void OnOpenShareManueItemClick(object sender, System.Windows.RoutedEventArgs e)
 
108
        {
 
109
            NotificationIconPresenter.OpenSyncsLocation();
 
110
        }
 
111
 
108
112
    }
109
113
}