Third set of 50 GPL attribution for CV-Contributors added +
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / channelinfo.C
index e6e8486ee486507b142bac5af5066419a01cb20c..8e71c32dde2b8a0da064a420365fec4669b1d3bc 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * CINELERRA
+ * Copyright (C) 2016-2020 William Morrow
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
 #ifdef HAVE_DVB
 
 #include "asset.h"
@@ -349,6 +369,8 @@ ChanSearchGUI::ChanSearchGUI(ChanSearch *cswindow)
        search_column_widths[0] = xS(120);
        search_column_widths[2] = xS(120);
        search_column_widths[1] = get_w()-search_column_widths[0]-search_column_widths[2]-xS(32);
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Capture at some Future Time via Batch");
 }
 
 ChanSearchGUI::~ChanSearchGUI()
@@ -1242,7 +1264,7 @@ int ChannelInfoOK::button_press_event()
 
 int ChannelInfoOK::keypress_event()
 {
-       return 0;
+       return context_help_check_and_show();
 }
 
 
@@ -1451,6 +1473,8 @@ ChannelInfoGUI::ChannelInfoGUI(ChannelInfo *iwindow,
        if( bay_w > max_bay_w ) bay_w = max_bay_w;
        panel_w = w;
        panel_h = h - bay_h;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Capture at some Future Time via Batch");
 }
 
 ChannelInfoGUI::~ChannelInfoGUI()