diff options
author | jstebbins <[email protected]> | 2008-07-12 22:59:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-07-12 22:59:01 +0000 |
commit | 49e96a4a903d23db26e7c613c28b41f20b0fbabd (patch) | |
tree | 472ff29ffc5f5bca103d3b87e87a7fda2887277d /gtk/src/callbacks.c | |
parent | 4ac57457da4b980f1e49a1cf8905be0917648d9f (diff) |
LinGui: Add preferences dialog
gives access to some some previously hidden settings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1567 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r-- | gtk/src/callbacks.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 9bd155822..a071674b3 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -1851,6 +1851,18 @@ presets_save_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud) } void +prefs_dialog_cb(GtkWidget *xwidget, signal_user_data_t *ud) +{ + GtkWidget *dialog; + GtkResponseType response; + + g_debug("prefs_dialog_cb ()\n"); + dialog = GHB_WIDGET(ud->builder, "prefs_dialog"); + response = gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_hide(dialog); +} + +void presets_remove_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud) { GtkTreeView *treeview; @@ -3190,6 +3202,14 @@ hbfd_toggled_cb(GtkWidget *widget, signal_user_data_t *ud) } void +pref_changed_cb(GtkWidget *widget, signal_user_data_t *ud) +{ + g_debug("pref_changed_cb\n"); + ghb_widget_to_setting (ud->settings, widget); + ghb_prefs_save(ud->settings); +} + +void ghb_file_menu_add_dvd(signal_user_data_t *ud) { GList *link, *drives; |