summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-12-02 00:27:38 +0000
committerjstebbins <[email protected]>2008-12-02 00:27:38 +0000
commit2dddca5b3135ed939df9cdcaf2e5ffb2e4d7f44f (patch)
tree0a82a97cf3df70eca8333ff3d47ccbc69527c85c /gtk/src/main.c
parent7ff50a3ab593821c96a60951ef8e2551ce6c288d (diff)
LinGui: add logging level to preferences
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1986 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 9f7b940d3..30b20dca4 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -226,6 +226,7 @@ bind_chapter_tree_model (signal_user_data_t *ud)
g_debug("Done\n");
}
+
extern void queue_list_selection_changed_cb(void);
extern void queue_remove_clicked_cb(void);
extern void queue_list_size_allocate_cb(void);
@@ -543,7 +544,7 @@ main (int argc, char *argv[])
g_signal_connect(buffer, "changed", (GCallback)x264_entry_changed_cb, ud);
ghb_file_menu_add_dvd(ud);
- ghb_backend_init(ud->builder, 1, 0);
+ ghb_combo_init(ud->builder);
g_debug("ud %p\n", ud);
g_debug("ud->builder %p\n", ud->builder);
@@ -569,6 +570,10 @@ main (int argc, char *argv[])
ghb_prefs_to_ui(ud);
+ gint logLevel;
+ logLevel = ghb_settings_get_int(ud->settings, "LoggingLevel");
+ ghb_backend_init(logLevel);
+
if (ghb_settings_get_boolean(ud->settings, "hbfd"))
{
ghb_hbfd(ud, TRUE);