Ticket #3999: 0001-Do-not-show-a-palette-while-we-are-dragging-SL-3999.patch

File 0001-Do-not-show-a-palette-while-we-are-dragging-SL-3999.patch, 944 bytes (added by humitos, 11 years ago)

A proposal to avoid the palette in the mid drag operation

  • src/jarabe/journal/listview.py

    From fb1b4c40f06329bd23ab874bbd37b8751c81bbfe Mon Sep 17 00:00:00 2001
    From: Manuel Kaufmann <humitos@gmail.com>
    Date: Fri, 2 Nov 2012 22:03:14 -0300
    Subject: [PATCH sugar] Do not show a palette while we are dragging SL #3999
    
    Avoid to show a palette in the middle of the drag operation.
    
    Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
    ---
     src/jarabe/journal/listview.py | 2 ++
     1 file changed, 2 insertions(+)
    
    diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
    index 6d9cc57..e8dbccd 100644
    a b class ListView(BaseListView): 
    521521
    522522    def __drag_begin_cb(self, widget, drag_context):
    523523        self._is_dragging = True
     524        # Do not show the palette while we are dragging
     525        self.cell_icon._palette_invoker.set_palette(None)
    524526
    525527    def __button_release_event_cb(self, tree_view, event):
    526528        try: