Mercurial > audlegacy
diff audacious/prefswin.c @ 893:6afdd0d7e1e1 trunk
[svn] Make refreshing optional, default to disabled if Gnome VFS available.
author | nemo |
---|---|
date | Wed, 29 Mar 2006 07:35:54 -0800 |
parents | a8fb5974c3a9 |
children | 8cfe13fcd0c7 |
line wrap: on
line diff
--- a/audacious/prefswin.c Tue Mar 28 20:11:34 2006 -0800 +++ b/audacious/prefswin.c Wed Mar 29 07:35:54 2006 -0800 @@ -1287,6 +1287,18 @@ } static void +on_refresh_file_list_realize(GtkToggleButton * button, gpointer data) +{ + gtk_toggle_button_set_active(button, cfg.refresh_file_list); +} + +static void +on_refresh_file_list_toggled(GtkToggleButton * button, gpointer data) +{ + cfg.refresh_file_list = gtk_toggle_button_get_active(button); +} + +static void on_playlist_convert_twenty_realize(GtkToggleButton * button, gpointer data) { gtk_toggle_button_set_active(button, cfg.convert_twenty); @@ -1650,6 +1662,8 @@ FUNC_MAP_ENTRY(on_playlist_font_button_font_set) FUNC_MAP_ENTRY(on_playlist_no_advance_realize) FUNC_MAP_ENTRY(on_playlist_no_advance_toggled) + FUNC_MAP_ENTRY(on_refresh_file_list_realize) + FUNC_MAP_ENTRY(on_refresh_file_list_toggled) FUNC_MAP_ENTRY(on_skin_view_visibility_notify) FUNC_MAP_ENTRY(on_titlestring_entry_realize) FUNC_MAP_ENTRY(on_titlestring_entry_changed)