rename playlist on tab double-click

Bug #480285 reported by reacocard
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Unassigned

Bug Description

Would it be possible to add to the possibility of launching the rename window for a playlist when you double-click on it ?
Thanks in advance.
Johan

reacocard (reacocard)
Changed in exaile:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Florian Demmer (fdemmer) wrote :

hm... i thought this can't be that difficult, checked out the code and found it nearly implemented... or did i miss something important?

do_rename=== modified file 'xlgui/main.py'
--- xlgui/main.py 2009-10-28 21:03:07 +0000
+++ xlgui/main.py 2009-11-11 00:09:42 +0000
@@ -260,6 +260,7 @@
             self.do_close()
             return True
         elif event.button == 1 and event.type == gtk.gdk._2BUTTON_PRESS:
+ self.do_rename()
             return True # stop the event propagating

     def do_new_playlist(self, *args):

Revision history for this message
reacocard (reacocard) wrote :

I believe it was like that because at one point we were experimenting with double-click on tabbar opening a new tab, so that return True was needed to intercept the click before it reached the tabbar, as the comment indicates.

Added in trunk/2614

Changed in exaile:
milestone: none → 0.3.1
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.