plus some minor layout changes to make sure that all localised string fit in our UI
},
{
ACTIONS = {
+ eyetvGetPlugin = id;
eyetvLaunch = id;
eyetvSwitchChannel = id;
openCaptureModeChanged = id;
"o_eyetv_chn_bgbar" = id;
"o_eyetv_chn_status_txt" = id;
"o_eyetv_currentChannel_lbl" = id;
+ "o_eyetv_getPlugin_btn" = id;
"o_eyetv_launchEyeTV_btn" = id;
"o_eyetv_nextProgram_btn" = id;
"o_eyetv_noInstanceLong_lbl" = id;
<key>IBEditorPositions</key>
<dict>
<key>2297</key>
- <string>366 462 548 183 0 0 1280 778 </string>
+ <string>366 460 548 183 0 0 1280 778 </string>
<key>2301</key>
- <string>366 462 548 183 0 0 1280 778 </string>
+ <string>366 460 548 183 0 0 1280 778 </string>
<key>2304</key>
- <string>366 462 547 183 0 0 1280 778 </string>
+ <string>366 460 547 183 0 0 1280 778 </string>
<key>2346</key>
- <string>15 513 548 183 0 0 1280 778 </string>
+ <string>366 460 548 183 0 0 1280 778 </string>
</dict>
<key>IBFramework Version</key>
<string>489.0</string>
</array>
<key>IBOpenObjects</key>
<array>
+ <integer>2304</integer>
+ <integer>2297</integer>
<integer>636</integer>
- <integer>2346</integer>
+ <integer>2301</integer>
</array>
<key>IBSystem Version</key>
- <string>9D34</string>
+ <string>9E17</string>
</dict>
</plist>
IBOutlet id o_eyetv_chn_status_txt;
IBOutlet id o_eyetv_chn_bgbar;
IBOutlet id o_eyetv_launchEyeTV_btn;
+ IBOutlet id o_eyetv_getPlugin_btn;
IBOutlet id o_eyetv_nextProgram_btn;
IBOutlet id o_eyetv_noInstance_lbl;
IBOutlet id o_eyetv_noInstanceLong_lbl;
- (IBAction)openCaptureModeChanged:(id)sender;
- (IBAction)eyetvSwitchChannel:(id)sender;
- (IBAction)eyetvLaunch:(id)sender;
+- (IBAction)eyetvGetPlugin:(id)sender;
- (void)eyetvChanged:(NSNotification *)o_notification;
- (void)setupChannelInfo;
- (IBAction)screenStepperChanged:(id)sender;
[o_eyetv_noInstance_lbl setStringValue: _NS("EyeTV is not launched")];
[o_eyetv_noInstanceLong_lbl setStringValue: _NS("VLC could not connect to EyeTV.\nMake sure that you installed VLC's EyeTV plugin.")];
[o_eyetv_launchEyeTV_btn setTitle: _NS("Launch EyeTV now")];
+ [o_eyetv_getPlugin_btn setTitle: _NS("Download Plugin")];
[self setSubPanel];
[[[VLCMain sharedInstance] getEyeTVController] launchEyeTV];
}
+- (IBAction)eyetvGetPlugin:(id)sender
+{
+ [[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString: @"http://www.videolan.org/eyetv"]];
+}
+
- (void)eyetvChanged:(NSNotification *)o_notification
{
if( [[o_notification name] isEqualToString: @"DeviceAdded"] )