summaryrefslogtreecommitdiff
path: root/plugins/gtkui
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-10-30 13:19:39 +0200
committerGravatar waker <wakeroid@gmail.com>2010-10-30 13:19:39 +0200
commitfbcdc193b480338a90c6b5308d168955bc881e11 (patch)
tree67770d23ab2b25b50df36c4666a6997d8bf51b38 /plugins/gtkui
parent1a738cde22e26a85caef127e55022755b23183b5 (diff)
enable deleting playlists with middle mouse button by default
Diffstat (limited to 'plugins/gtkui')
-rw-r--r--plugins/gtkui/ddbtabstrip.c2
-rw-r--r--plugins/gtkui/prefwin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/ddbtabstrip.c b/plugins/gtkui/ddbtabstrip.c
index 36b80443..c033c33f 100644
--- a/plugins/gtkui/ddbtabstrip.c
+++ b/plugins/gtkui/ddbtabstrip.c
@@ -920,7 +920,7 @@ on_tabstrip_button_press_event (GtkWidget *widget,
}
return FALSE;
}
- else if (deadbeef->conf_get_int ("gtkui.mmb_delete_playlist", 0)) {
+ else if (deadbeef->conf_get_int ("gtkui.mmb_delete_playlist", 1)) {
if (tab_clicked != -1) {
deadbeef->plt_remove (tab_clicked);
int playlist = deadbeef->plt_get_curr ();
diff --git a/plugins/gtkui/prefwin.c b/plugins/gtkui/prefwin.c
index c2b8a63a..4e1c42b0 100644
--- a/plugins/gtkui/prefwin.c
+++ b/plugins/gtkui/prefwin.c
@@ -521,7 +521,7 @@ on_preferences_activate (GtkMenuItem *menuitem,
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (lookup_widget (w, "hide_tray_icon")), deadbeef->conf_get_int ("gtkui.hide_tray_icon", 0));
// mmb_delete_playlist
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (lookup_widget (w, "mmb_delete_playlist")), deadbeef->conf_get_int ("gtkui.mmb_delete_playlist", 0));
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (lookup_widget (w, "mmb_delete_playlist")), deadbeef->conf_get_int ("gtkui.mmb_delete_playlist", 1));
// embolden current track
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (lookup_widget (w, "embolden_current")), deadbeef->conf_get_int ("gtkui.embolden_current_track", 0));