forked from osmocom/wireshark
Create proper Help reference.
svn path=/trunk/; revision=35026
This commit is contained in:
parent
dbe63e9730
commit
bc3b5e96a9
|
@ -1257,8 +1257,7 @@ file_import_dlg_new()
|
|||
gtk_box_pack_end(GTK_BOX(main_vb), bbox, FALSE, FALSE, 3);
|
||||
|
||||
help_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_HELP);
|
||||
/* TODO: Create a Help chapter, make a proper reference, add it to help_dlg */
|
||||
g_signal_connect(help_bt, "clicked", G_CALLBACK(topic_cb), (gpointer)HELP_CONTENT);
|
||||
g_signal_connect(help_bt, "clicked", G_CALLBACK(topic_cb), (gpointer)HELP_IMPORT_DIALOG);
|
||||
#if GTK_CHECK_VERSION(2,12,0)
|
||||
gtk_widget_set_tooltip_text(help_bt, "Show topic specific help");
|
||||
#else
|
||||
|
|
|
@ -339,6 +339,9 @@ topic_action(topic_action_e action)
|
|||
case(HELP_MERGE_WIN32_DIALOG):
|
||||
help_topic_html("ChIOMergeSection.html");
|
||||
break;
|
||||
case(HELP_IMPORT_DIALOG):
|
||||
help_topic_html("ChIOImportSection.html");
|
||||
break;
|
||||
case(HELP_SAVE_DIALOG):
|
||||
case(HELP_SAVE_WIN32_DIALOG):
|
||||
help_topic_html("ChIOSaveSection.html");
|
||||
|
|
|
@ -94,6 +94,7 @@ typedef enum {
|
|||
HELP_EXPORT_OBJECT_LIST,
|
||||
HELP_OPEN_DIALOG,
|
||||
HELP_MERGE_DIALOG,
|
||||
HELP_IMPORT_DIALOG,
|
||||
HELP_SAVE_DIALOG,
|
||||
HELP_EXPORT_FILE_WIN32_DIALOG,
|
||||
HELP_EXPORT_BYTES_WIN32_DIALOG,
|
||||
|
|
Loading…
Reference in New Issue