New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added contextual help links #1656
Conversation
I will now stop waiting your approval for the changes done till now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't mark all lines that are setting help links for already existing widgets. Just make sure to only do that once when a new widget gets created.
src/libs/collect.c
Outdated
@@ -1391,17 +1392,20 @@ static void combo_changed(GtkComboBox *combo, dt_lib_collect_rule_t *d) | |||
|| property == DT_COLLECTION_PROP_ISO) | |||
{ | |||
gtk_widget_set_tooltip_text(d->text, _("type your query, use <, <=, >, >=, <>, =, [;] as operators")); | |||
dt_gui_add_help_link(d->text, "collect_images.html#collect_images_usage"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to set the help text in this function, just do it once in gui_init()
when the widgets are created.
src/libs/colorpicker.c
Outdated
@@ -142,6 +142,7 @@ static void _update_picker_output(dt_lib_module_t *self) | |||
darktable.gui->reset = 1; | |||
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(data->picker_button), | |||
module->request_color_pick != DT_REQUEST_COLORPICK_OFF); | |||
dt_gui_add_help_link(data->picker_button, "global_color_picker.html#global_color_picker"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, only set the help text once when creating a widget.
This pull request should be closed. The commits have been integrated in pull request #1774, and have been integrated in master. |
Indeed, thanks for the reminder. |
No description provided.