mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
Fixes from Matt Stevens: "For background applications (menu bar, completely UI-less, etc) there are a couple of issues with Sparkle notifications: - When prompts such as the initial prompt to enable update checking are displayed they can be hidden behind other windows since the background app is not in focus. This can cause problems, as these prompts run modally and can stop the application from functioning without the user knowing why. - If the update notification window is displayed and the user clicks away to another application, the window disappears and there is no way to get it back since there is no other UI to cause the app to activate. In this case the update should probably operate as a standard window since it is effectively operating as the application's UI."
21 lines
553 B
Objective-C
21 lines
553 B
Objective-C
//
|
|
// SUWindowController.h
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 2/13/08.
|
|
// Copyright 2008 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#ifndef SUWINDOWCONTROLLER_H
|
|
#define SUWINDOWCONTROLLER_H
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@class SUHost;
|
|
@interface SUWindowController : NSWindowController { }
|
|
// We use this instead of plain old NSWindowController initWithWindowNibName so that we'll be able to find the right path when running in a bundle loaded from another app.
|
|
- (id)initWithHost:(SUHost *)host windowNibName:(NSString *)nibName;
|
|
@end
|
|
|
|
#endif
|