totem r5840 - in trunk: . src
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5840 - in trunk: . src
- Date: Wed, 10 Dec 2008 15:19:23 +0000 (UTC)
Author: hadess
Date: Wed Dec 10 15:19:23 2008
New Revision: 5840
URL: http://svn.gnome.org/viewvc/totem?rev=5840&view=rev
Log:
2008-12-10 Bastien Nocera <hadess hadess net>
* src/totem.c (drop_video_cb): Only show the "Add to playlist"
menu item on drop when the playlist isn't empty
Modified:
trunk/ChangeLog
trunk/src/totem.c
Modified: trunk/src/totem.c
==============================================================================
--- trunk/src/totem.c (original)
+++ trunk/src/totem.c Wed Dec 10 15:19:23 2008
@@ -1591,7 +1591,7 @@
gboolean empty_pl;
if (context->suggested_action == GDK_ACTION_ASK)
- context->action = totem_drag_ask (TRUE); //FIXME should be playlist != empty
+ context->action = totem_drag_ask (totem_get_playlist_length (totem) > 0);
if (context->action != GDK_ACTION_DEFAULT ) {
empty_pl = (context->action == GDK_ACTION_MOVE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]