summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 29c767c17..a37771a86 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -79,6 +79,7 @@
#include "hb-backend.h"
#include "ghb-dvd.h"
#include "ghbcellrenderertext.h"
+#include "x264handler.h"
static void reset_chapter_list(signal_user_data_t *ud, GValue *settings);
static void update_chapter_list_from_settings(GtkBuilder *builder, GValue *settings);
@@ -3757,7 +3758,7 @@ ghb_hbfd(signal_user_data_t *ud, gboolean hbfd)
set_visible(widget, !hbfd);
widget = GHB_WIDGET(ud->builder, "container_box");
set_visible(widget, !hbfd);
- widget = GHB_WIDGET(ud->builder, "settings_box");
+ widget = GHB_WIDGET(ud->builder, "SettingsNotebook");
set_visible(widget, !hbfd);
widget = GHB_WIDGET(ud->builder, "presets_save");
set_visible(widget, !hbfd);
@@ -3790,6 +3791,17 @@ advanced_audio_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
}
G_MODULE_EXPORT void
+advanced_video_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
+{
+ g_debug("advanced_video_changed_cb");
+ ghb_widget_to_setting (ud->settings, widget);
+ ghb_check_dependency(ud, widget, NULL);
+ const gchar *name = ghb_get_setting_key(widget);
+ ghb_pref_save(ud->settings, name);
+ ghb_show_hide_advanced_video( ud );
+}
+
+G_MODULE_EXPORT void
pref_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
{
g_debug("pref_changed_cb");