[glade] Fixed Bug 353002 "wrong cursor over widgets"



commit 4339165df529776d0dac823241d23ca32fe01464
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Thu Apr 17 00:50:31 2014 -0300

    Fixed Bug 353002 "wrong cursor over widgets"

 plugins/gtk+/glade-fixed.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/gtk+/glade-fixed.c b/plugins/gtk+/glade-fixed.c
index 8d3616a..c418698 100644
--- a/plugins/gtk+/glade-fixed.c
+++ b/plugins/gtk+/glade-fixed.c
@@ -969,6 +969,10 @@ glade_fixed_event (GladeWidget *gwidget_fixed, GdkEvent *event)
         }
     }
 
+  /* If the container uses placeholder adding widget is already taken care of */
+  if (GWA_USE_PLACEHOLDERS (glade_widget_get_adaptor (gwidget_fixed)))
+    return FALSE;
+  
   switch (event->type)
     {
       case GDK_BUTTON_PRESS:   /* add widget */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]