diff options
author | waker <wakeroid@gmail.com> | 2013-08-04 18:45:37 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2013-08-04 18:45:37 +0200 |
commit | 47de4322277b381e21d39c66c5ac49fa3d735f62 (patch) | |
tree | e773ea3ece6fac54791c973eb1d27dbd64dc150f /plugins/gtkui/actionhandlers.c | |
parent | 2b8aaffc9cf2aff18fa30cfd522f13dfdf4f3c88 (diff) |
gtkui: make cursor and scroll to follow current playing track by default
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r-- | plugins/gtkui/actionhandlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c index bacb96c2..1ca56aa0 100644 --- a/plugins/gtkui/actionhandlers.c +++ b/plugins/gtkui/actionhandlers.c @@ -588,7 +588,7 @@ action_find_handler (DB_plugin_action_t *act, int ctx) { gboolean action_scroll_follows_playback_handler_cb (void *data) { - int val = 1 - deadbeef->conf_get_int ("playlist.scroll.followplayback", 0); + int val = 1 - deadbeef->conf_get_int ("playlist.scroll.followplayback", 1); deadbeef->conf_set_int ("playlist.scroll.followplayback", val); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (lookup_widget (mainwin, "scroll_follows_playback")), val); return FALSE; @@ -602,7 +602,7 @@ action_scroll_follows_playback_handler (DB_plugin_action_t *act, int ctx) { gboolean action_cursor_follows_playback_handler_cb (void *data) { - int val = 1 - deadbeef->conf_get_int ("playlist.scroll.cursorfollowplayback", 0); + int val = 1 - deadbeef->conf_get_int ("playlist.scroll.cursorfollowplayback", 1); deadbeef->conf_set_int ("playlist.scroll.cursorfollowplayback", val); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (lookup_widget (mainwin, "cursor_follows_playback")), val); return FALSE; |