diff options
author | waker <wakeroid@gmail.com> | 2011-03-10 11:31:25 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-10 11:31:25 +0100 |
commit | bf8c195369b6e9c105a255427c59bdf3e8fef065 (patch) | |
tree | f73f8d390c1bf96c6109d1b123a692cac462d7e9 /plugins/gtkui/plcommon.c | |
parent | 4c518826541470586bbc875eee477d3be48530eb (diff) |
don't send single track to trkproperties;
never disable Write button in trkproperties
Diffstat (limited to 'plugins/gtkui/plcommon.c')
-rw-r--r-- | plugins/gtkui/plcommon.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/gtkui/plcommon.c b/plugins/gtkui/plcommon.c index bffaa6c9..216b7122 100644 --- a/plugins/gtkui/plcommon.c +++ b/plugins/gtkui/plcommon.c @@ -267,13 +267,7 @@ void main_properties_activate (GtkMenuItem *menuitem, gpointer user_data) { - DB_playItem_t *it = deadbeef->pl_get_for_idx_and_iter (clicked_idx, PL_MAIN); - if (!it) { - fprintf (stderr, "attempt to view properties of non-existing item\n"); - return; - } - show_track_properties_dlg (it); - deadbeef->pl_item_unref (it); + show_track_properties_dlg (); } void |