diff options
author | jstebbins <[email protected]> | 2009-03-26 00:34:38 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-03-26 00:34:38 +0000 |
commit | 7d552e2d39f8f7d41efb2038fddf01473b982fef (patch) | |
tree | 4faacb2041749b4507e9ef92c6a6922a94486aa6 /gtk/src/main.c | |
parent | f086356895581f5d827e8e491772f0dd790a8ea3 (diff) |
LinGui: save preset folder collapsed/expanded state. restore at startup.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2275 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index bc19b6bb0..7a0e66f63 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -368,6 +368,7 @@ bind_audio_tree_model (signal_user_data_t *ud) extern void presets_list_selection_changed_cb(void); extern void presets_drag_cb(void); extern void presets_drag_motion_cb(void); +extern void presets_row_expanded_cb(void); // Create and bind the tree model to the tree view for the preset list // Also, connect up the signal that lets us know the selection has changed @@ -405,6 +406,8 @@ bind_presets_tree_model (signal_user_data_t *ud) g_signal_connect(treeview, "drag_data_received", presets_drag_cb, ud); g_signal_connect(treeview, "drag_motion", presets_drag_motion_cb, ud); + g_signal_connect(treeview, "row_expanded", presets_row_expanded_cb, ud); + g_signal_connect(treeview, "row_collapsed", presets_row_expanded_cb, ud); g_signal_connect(selection, "changed", presets_list_selection_changed_cb, ud); widget = GHB_WIDGET (ud->builder, "presets_remove"); gtk_widget_set_sensitive(widget, FALSE); |