Mercurial > audlegacy
diff audacious/prefswin.c @ 1358:0c41255487ee trunk
[svn] - add toggle option for filepopup window
author | yaz |
---|---|
date | Thu, 29 Jun 2006 02:57:27 -0700 |
parents | 8b249765fdd1 |
children | 5171f489bace |
line wrap: on
line diff
--- a/audacious/prefswin.c Thu Jun 29 00:38:22 2006 -0700 +++ b/audacious/prefswin.c Thu Jun 29 02:57:27 2006 -0700 @@ -1996,6 +1996,18 @@ bmp_cfg_db_close(db); } +static void +on_show_filepopup_for_tuple_realize(GtkToggleButton * button, gpointer data) +{ + gtk_toggle_button_set_active(button, cfg.show_filepopup_for_tuple); +} + +static void +on_show_filepopup_for_tuple_toggled(GtkToggleButton * button, gpointer data) +{ + cfg.show_filepopup_for_tuple = gtk_toggle_button_get_active(button); +} + /* FIXME: complete the map */ FUNC_MAP_BEGIN(prefswin_func_map) FUNC_MAP_ENTRY(on_input_plugin_view_realize) @@ -2066,6 +2078,8 @@ FUNC_MAP_ENTRY(on_output_plugin_bufsize_value_changed) FUNC_MAP_ENTRY(on_audio_format_det_cb_toggled) FUNC_MAP_ENTRY(on_audio_format_det_cb_realize) + FUNC_MAP_ENTRY(on_show_filepopup_for_tuple_realize) + FUNC_MAP_ENTRY(on_show_filepopup_for_tuple_toggled) FUNC_MAP_END void