events: fix window focus

This commit is contained in:
Hylke Bons 2011-06-11 19:13:45 +01:00
parent 61d7dc7944
commit a728cbdcaf
2 changed files with 4 additions and 1 deletions

View file

@ -32,7 +32,6 @@ namespace SparkleShare {
public class SparkleEventLog : NSWindow {
private WebView WebView;
private NSBox Separator;
private string HTML;
@ -41,6 +40,7 @@ namespace SparkleShare {
private List<SparkleChangeSet> change_sets;
private string selected_log = null;
public SparkleEventLog (IntPtr handle) : base (handle) { }
public SparkleEventLog () : base ()

View file

@ -163,6 +163,9 @@ namespace SparkleShare {
if (SparkleUI.EventLog == null)
SparkleUI.EventLog = new SparkleEventLog ();
SparkleUI.EventLog.OrderFrontRegardless ();
SparkleUI.EventLog.MakeKeyAndOrderFront (this);
});
};