Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
1357:0675e21d50ea | 1358:0c41255487ee |
---|---|
1992 cfg.chardet_fallback = ret; | 1992 cfg.chardet_fallback = ret; |
1993 | 1993 |
1994 db = bmp_cfg_db_open(); | 1994 db = bmp_cfg_db_open(); |
1995 bmp_cfg_db_set_string(db, NULL, "chardet_fallback", cfg.chardet_fallback); | 1995 bmp_cfg_db_set_string(db, NULL, "chardet_fallback", cfg.chardet_fallback); |
1996 bmp_cfg_db_close(db); | 1996 bmp_cfg_db_close(db); |
1997 } | |
1998 | |
1999 static void | |
2000 on_show_filepopup_for_tuple_realize(GtkToggleButton * button, gpointer data) | |
2001 { | |
2002 gtk_toggle_button_set_active(button, cfg.show_filepopup_for_tuple); | |
2003 } | |
2004 | |
2005 static void | |
2006 on_show_filepopup_for_tuple_toggled(GtkToggleButton * button, gpointer data) | |
2007 { | |
2008 cfg.show_filepopup_for_tuple = gtk_toggle_button_get_active(button); | |
1997 } | 2009 } |
1998 | 2010 |
1999 /* FIXME: complete the map */ | 2011 /* FIXME: complete the map */ |
2000 FUNC_MAP_BEGIN(prefswin_func_map) | 2012 FUNC_MAP_BEGIN(prefswin_func_map) |
2001 FUNC_MAP_ENTRY(on_input_plugin_view_realize) | 2013 FUNC_MAP_ENTRY(on_input_plugin_view_realize) |
2064 FUNC_MAP_ENTRY(on_chardet_fallback_changed) | 2076 FUNC_MAP_ENTRY(on_chardet_fallback_changed) |
2065 FUNC_MAP_ENTRY(on_output_plugin_bufsize_realize) | 2077 FUNC_MAP_ENTRY(on_output_plugin_bufsize_realize) |
2066 FUNC_MAP_ENTRY(on_output_plugin_bufsize_value_changed) | 2078 FUNC_MAP_ENTRY(on_output_plugin_bufsize_value_changed) |
2067 FUNC_MAP_ENTRY(on_audio_format_det_cb_toggled) | 2079 FUNC_MAP_ENTRY(on_audio_format_det_cb_toggled) |
2068 FUNC_MAP_ENTRY(on_audio_format_det_cb_realize) | 2080 FUNC_MAP_ENTRY(on_audio_format_det_cb_realize) |
2081 FUNC_MAP_ENTRY(on_show_filepopup_for_tuple_realize) | |
2082 FUNC_MAP_ENTRY(on_show_filepopup_for_tuple_toggled) | |
2069 FUNC_MAP_END | 2083 FUNC_MAP_END |
2070 | 2084 |
2071 void | 2085 void |
2072 create_prefs_window(void) | 2086 create_prefs_window(void) |
2073 { | 2087 { |