Open event log on bubble click
This commit is contained in:
parent
dae62c94e3
commit
bed2b24fff
|
@ -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
4
SparkleShare/SparkleShare.csproj
Executable file → Normal 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>
|
||||
|
|
Loading…
Reference in a new issue