diff options
author | jstebbins <[email protected]> | 2008-10-05 22:03:09 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-10-05 22:03:09 +0000 |
commit | c1fa8a9521bb2401ffd9a1d09afaed7f436216af (patch) | |
tree | ad99226bb818abf2993e09b482a365f9c3f5ad30 /gtk/src/presets.h | |
parent | 621d71fdc4bce76ad561968f15fc205698bd6f40 (diff) |
LinGui: nested presets and drag n drop re-ordering of presets
adding a preset always places it at the top level. drag it to where
you want it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1816 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/presets.h')
-rw-r--r-- | gtk/src/presets.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk/src/presets.h b/gtk/src/presets.h index 37bc00583..ff11e3f92 100644 --- a/gtk/src/presets.h +++ b/gtk/src/presets.h @@ -18,11 +18,8 @@ void ghb_settings_save(signal_user_data_t *ud, const gchar *name); void ghb_presets_load(void); -void ghb_presets_reload(signal_user_data_t *ud); -void ghb_set_preset(signal_user_data_t *ud, const gchar *name); -void ghb_update_from_preset( - signal_user_data_t *ud, const gchar *name, const gchar *key); -void ghb_presets_remove(const gchar *name); +void ghb_update_from_preset(signal_user_data_t *ud, + const gchar *folder, const gchar *name, const gchar *key); void ghb_prefs_load(signal_user_data_t *ud); void ghb_settings_init(signal_user_data_t *ud); void ghb_settings_close(); @@ -36,7 +33,9 @@ void ghb_remove_queue_file(void);; gchar* ghb_get_user_config_dir(); void ghb_settings_to_ui(signal_user_data_t *ud, GValue *dict); void ghb_clear_presets_selection(signal_user_data_t *ud); -void ghb_select_preset(GtkBuilder *builder, const gchar *preset); -void ghb_presets_list_update(signal_user_data_t *ud); +void ghb_select_preset(GtkBuilder *builder, + const gchar *folder, const gchar *preset); +void ghb_presets_list_init( signal_user_data_t *ud, + GValue *presets, const gchar *parent_name, GtkTreeIter *parent); #endif // _GHB_PRESETS_H_ |