Open event log on bubble click

This commit is contained in:
Hylke Bons 2011-10-23 15:31:28 +01:00
parent dae62c94e3
commit bed2b24fff
2 changed files with 15 additions and 1 deletions

View file

@ -41,6 +41,18 @@ namespace SparkleShare {
else
notification.IconName = "folder-sparkleshare";
notification.Closed += delegate {
Application.Invoke (delegate {
if (SparkleUI.EventLog == null)
SparkleUI.EventLog = new SparkleEventLog ();
SparkleUI.EventLog.Controller.SelectedFolder = null;
SparkleUI.EventLog.ShowAll ();
SparkleUI.EventLog.Present ();
});
};
notification.Show ();
} catch (Exception) {

4
SparkleShare/SparkleShare.csproj Executable file → Normal file
View file

@ -9,7 +9,6 @@
<AssemblyName>SparkleShare</AssemblyName>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace>SparkleShare</RootNamespace>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -37,6 +36,9 @@
</Reference>
<Reference Include="System" />
<Reference Include="Mono.Posix" />
<Reference Include="notify-sharp, Version=0.4.0.0, Culture=neutral, PublicKeyToken=2df29c54e245917a">
<Private>False</Private>
</Reference>
</ItemGroup>
<ProjectExtensions>
<MonoDevelop>