Commit 34bd15d6 authored by Jonathan Waddell's avatar Jonathan Waddell Committed by Aaron Plattner

Add text to the help page for widgets missing entries.

This change adds help text for the "Save Current Configuration" button on the "nvidia-settings Configuration" page and re-enables a flag that allows the help text for "Sync to this display device" on the XVideo Settings page.

Also removes the per entry tooltip text for the "Sync to this display device" and adds the tooltip to the entire container widget since it exists for the entire lifetime of the application.
parent 245cc37e
......@@ -544,6 +544,9 @@ GtkTextBuffer *ctk_config_create_help(CtkConfig *ctk_config, GtkTextTagTable *ta
"consecutive polls (in milliseconds). The Active "
"Timers table is only visible when timers are active.");
ctk_help_heading(b, &i, "Save Current Configuration");
ctk_help_para(b, &i, "%s", __save_current_config_help);
return b;
......@@ -229,9 +229,6 @@ static GtkWidget *xv_sync_to_display_radio_button_add(CtkXVideo *ctk_xvideo,
(gpointer) ctk_xvideo);
ctk_config_set_tooltip(ctk_xvideo->ctk_config, button,
return button;
......@@ -281,6 +278,8 @@ static void xv_sync_to_display_rebuild_buttons(CtkXVideo *ctk_xvideo,
ctk_xvideo->active_attributes |= __XV_SYNC_TO_DISPLAY;
/* Add a button for No Display Specified */
last_button = NULL;
button = xv_sync_to_display_radio_button_add(ctk_xvideo, NULL,
......@@ -548,6 +547,10 @@ GtkWidget* ctk_xvideo_new(CtrlTarget *ctrl_target,
gtk_container_add(GTK_CONTAINER(frame), vbox);
ctk_xvideo->xv_sync_to_display_button_box = vbox;
xv_sync_to_display_rebuild_buttons(ctk_xvideo, FALSE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment