From febff04d633b6bc56137dab74d48a9e912ecc962 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 2 Nov 2016 13:22:09 -0700 Subject: LinGui: Improve tab focus navigation --- gtk/src/callbacks.c | 1 + gtk/src/ghb.m4 | 120 ++++++++++++++++++++++++++++------------------------ 2 files changed, 66 insertions(+), 55 deletions(-) (limited to 'gtk') diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 83b7da46c..092bb6435 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -291,6 +291,7 @@ ghb_check_all_depencencies(signal_user_data_t *ud) } sensitive = dep_check(ud, dep_name, &hide); gtk_widget_set_sensitive(GTK_WIDGET(dep_object), sensitive); + gtk_widget_set_can_focus(GTK_WIDGET(dep_object), sensitive); if (!sensitive && hide) { gtk_widget_hide(GTK_WIDGET(dep_object)); diff --git a/gtk/src/ghb.m4 b/gtk/src/ghb.m4 index 0c2a8ff42..7e5d8a4de 100644 --- a/gtk/src/ghb.m4 +++ b/gtk/src/ghb.m4 @@ -922,7 +922,7 @@ libx264 authors: True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Choose Video Source True @@ -940,7 +940,7 @@ Source True False - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Add to Queue True @@ -958,7 +958,7 @@ Queue True False - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Start Encoding True @@ -976,7 +976,7 @@ Encoding True False - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Pause Encoding True @@ -1003,7 +1003,7 @@ Encoding True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Show Queue True @@ -1020,7 +1020,7 @@ Queue True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Show Preview Window True @@ -1037,7 +1037,7 @@ Preview True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Show Activity Window True @@ -1575,7 +1575,7 @@ This allows a player to initiate playback before downloading the entire file.

True - True + False etched-in 6 200 @@ -1622,7 +1622,7 @@ This allows a player to initiate playback before downloading the entire file.

GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT 400 True - True + False vertical @@ -1652,7 +1652,7 @@ This allows a player to initiate playback before downloading the entire file.

GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT 400 True - True + False 12 12 @@ -3982,7 +3982,7 @@ Overrides all other settings. True - True + False etched-in True @@ -4108,14 +4108,14 @@ Colon separated list of encoder options. True - True + False GTK_POLICY_NEVER GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 84 True - False + True @@ -4129,13 +4129,13 @@ Colon separated list of encoder options. True - True + False GTK_POLICY_NEVER GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True - False + True @@ -4600,13 +4600,13 @@ This permits FLAC passthru to be selected when automatic passthru selection is e True - True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True True - False + True True none False @@ -4651,7 +4651,7 @@ This permits FLAC passthru to be selected when automatic passthru selection is e True True - False + True True Add list-add @@ -4666,7 +4666,7 @@ This permits FLAC passthru to be selected when automatic passthru selection is e True True - False + True True Add All list-add @@ -4681,7 +4681,7 @@ This permits FLAC passthru to be selected when automatic passthru selection is e True True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Reload Defaults @@ -4703,7 +4703,7 @@ This permits FLAC passthru to be selected when automatic passthru selection is e True - True + False GTK_POLICY_NEVER GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -4813,14 +4813,14 @@ This permits FLAC passthru to be selected when automatic passthru selection is e True - True + False GTK_POLICY_NEVER GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 108 True - False + True @@ -4834,13 +4834,13 @@ This permits FLAC passthru to be selected when automatic passthru selection is e True - True + False GTK_POLICY_NEVER GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True - False + True Create a list of languages you would like to select subtitles for. The first language in this list is your "preferred" language and will be used @@ -5150,7 +5150,7 @@ Only one subtitle track can be burned! Since conflicts can occur, the first chos True True - False + True True Add list-add @@ -5165,7 +5165,7 @@ Only one subtitle track can be burned! Since conflicts can occur, the first chos True True - False + True True Add All list-add @@ -5180,7 +5180,7 @@ Only one subtitle track can be burned! Since conflicts can occur, the first chos True True - False + True True Foreign Audio Search list-add @@ -5197,7 +5197,7 @@ segments of the audio that are in a foreign language. True True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Reload Defaults @@ -5219,7 +5219,7 @@ segments of the audio that are in a foreign language. True - True + False GTK_POLICY_NEVER GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -6168,7 +6168,7 @@ where you are having trouble keeping fine noise. 12 12 True - True + False etched-in @@ -6265,7 +6265,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True - True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -6326,7 +6326,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 80 - True + False 50 True False @@ -6363,7 +6363,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 80 - True + False 50 True False @@ -6400,7 +6400,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 80 - True + False 50 True False @@ -6437,7 +6437,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 80 - True + False 50 True False @@ -6474,7 +6474,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 80 - True + False 50 True False @@ -6511,7 +6511,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 80 - True + False 50 True False @@ -6548,7 +6548,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 80 - True + False 50 True False @@ -6582,7 +6582,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 40 True - True + False True True etched-in @@ -6603,6 +6603,16 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 1 + + + + + + + + + + 10 @@ -6648,7 +6658,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True False - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Edit @@ -6664,7 +6674,7 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 True False - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Reload @@ -6682,7 +6692,7 @@ Resets the queue job to pending and ready to run again. True True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Reload All @@ -6700,7 +6710,7 @@ Resets all queue jobs to pending and ready to run again. True True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Delete All @@ -6717,7 +6727,7 @@ Resets all queue jobs to pending and ready to run again. True True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Save Queue @@ -6735,7 +6745,7 @@ This file may be reloaded at a later time to edit your jobs and re-encode. True True - False + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Load Queue File @@ -6758,7 +6768,7 @@ This file may be reloaded at a later time to edit your jobs and re-encode. True - True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -6934,14 +6944,14 @@ This file may be reloaded at a later time to edit your jobs and re-encode. True - True + False GTK_POLICY_NEVER GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 400 True - False + True True True none @@ -7161,7 +7171,7 @@ This file may be reloaded at a later time to edit your jobs and re-encode. True - True + False False 12 @@ -9059,7 +9069,7 @@ The source's character code is needed in order to perform this translation. True - False + True Select the SRT file to import. False True @@ -9560,7 +9570,7 @@ DRC allows you to 'compress' the range by making loud sounds softer and soft sou True - False + True GTK_ALIGN_CENTER False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -9654,7 +9664,7 @@ weather-clear True - False + True GTK_ALIGN_CENTER False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -9705,7 +9715,7 @@ audio-volume-medium True - False + True GTK_ALIGN_CENTER False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -9908,7 +9918,7 @@ DRC allows you to 'compress' the range by making loud sounds softer and soft sou 12 start True - True + False -- cgit v1.2.3