Uncomment line commentized for debugging purposes
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 13 Mar 2016 09:51:49 +0000 (10:51 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 13 Mar 2016 09:51:49 +0000 (10:51 +0100)
The call attaching help clicks to Label Options was still commented out.

gtk/xoptions.c

index e9e7a0a..a4ed725 100644 (file)
@@ -1493,7 +1493,7 @@ if(appData.debugMode) printf("n=%d, h=%d, w=%d\n",n,height,width);
                gtk_widget_add_events(GTK_WIDGET(label), GDK_BUTTON_PRESS_MASK);
                if(option[i].target)
                     g_signal_connect(label, "button-press-event", G_CALLBACK(MemoEvent), (gpointer) &option[i]);
                gtk_widget_add_events(GTK_WIDGET(label), GDK_BUTTON_PRESS_MASK);
                if(option[i].target)
                     g_signal_connect(label, "button-press-event", G_CALLBACK(MemoEvent), (gpointer) &option[i]);
-//             else g_signal_connect(label, "button-press-event", G_CALLBACK(HelpEvent), (gpointer) option[i].name);
+               else g_signal_connect(label, "button-press-event", G_CALLBACK(HelpEvent), (gpointer) option[i].name);
                gtk_widget_set_sensitive(label, TRUE);
            }
             Pack(hbox, table, label, left, left+r, top, 0);
                gtk_widget_set_sensitive(label, TRUE);
            }
             Pack(hbox, table, label, left, left+r, top, 0);