Revision: 2224
          http://synfig.svn.sourceforge.net/synfig/?rev=2224&view=rev
Author:   dooglus
Date:     2008-11-19 14:50:53 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
Fix 1829182: "Right click context menu not always appears".

Modified Paths:
--------------
    synfig-studio/trunk/src/gtkmm/state_bline.cpp
    synfig-studio/trunk/src/gtkmm/state_draw.cpp
    synfig-studio/trunk/src/gtkmm/state_polygon.cpp
    synfig-studio/trunk/src/gtkmm/state_sketch.cpp
    synfig-studio/trunk/src/gtkmm/state_stroke.cpp

Modified: synfig-studio/trunk/src/gtkmm/state_bline.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_bline.cpp       2008-11-19 13:45:27 UTC 
(rev 2223)
+++ synfig-studio/trunk/src/gtkmm/state_bline.cpp       2008-11-19 14:50:53 UTC 
(rev 2224)
@@ -983,10 +983,6 @@
                        return Smach::RESULT_ACCEPT;
                }
 
-       case BUTTON_RIGHT: // Intercept the right-button click to short-circuit 
the pop-up menu
-               if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS"))
-                       return Smach::RESULT_ACCEPT;
-
        default:
                return Smach::RESULT_OK;
        }

Modified: synfig-studio/trunk/src/gtkmm/state_draw.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_draw.cpp        2008-11-19 13:45:27 UTC 
(rev 2223)
+++ synfig-studio/trunk/src/gtkmm/state_draw.cpp        2008-11-19 14:50:53 UTC 
(rev 2224)
@@ -589,10 +589,6 @@
                        return Smach::RESULT_ACCEPT;
                }
 
-       case BUTTON_RIGHT: // Intercept the right-button click to short-circuit 
the pop-up menu
-               if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS"))
-                       return Smach::RESULT_ACCEPT;
-
        default:
                return Smach::RESULT_OK;
        }

Modified: synfig-studio/trunk/src/gtkmm/state_polygon.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_polygon.cpp     2008-11-19 13:45:27 UTC 
(rev 2223)
+++ synfig-studio/trunk/src/gtkmm/state_polygon.cpp     2008-11-19 14:50:53 UTC 
(rev 2224)
@@ -899,10 +899,6 @@
                refresh_ducks();
                return Smach::RESULT_ACCEPT;
 
-       case BUTTON_RIGHT: // Intercept the right-button click to short-circuit 
the pop-up menu
-               if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS"))
-                       return Smach::RESULT_ACCEPT;
-
        default:
                return Smach::RESULT_OK;
        }

Modified: synfig-studio/trunk/src/gtkmm/state_sketch.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_sketch.cpp      2008-11-19 13:45:27 UTC 
(rev 2223)
+++ synfig-studio/trunk/src/gtkmm/state_sketch.cpp      2008-11-19 14:50:53 UTC 
(rev 2224)
@@ -487,10 +487,6 @@
                        return Smach::RESULT_ACCEPT;
                }
 
-       case BUTTON_RIGHT: // Intercept the right-button click to short-circuit 
the pop-up menu
-               if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS"))
-                       return Smach::RESULT_ACCEPT;
-
        default:
                return Smach::RESULT_OK;
        }

Modified: synfig-studio/trunk/src/gtkmm/state_stroke.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_stroke.cpp      2008-11-19 13:45:27 UTC 
(rev 2223)
+++ synfig-studio/trunk/src/gtkmm/state_stroke.cpp      2008-11-19 14:50:53 UTC 
(rev 2224)
@@ -173,11 +173,6 @@
                        throw Smach::pop_exception();
                }
 
-       case BUTTON_RIGHT: // Intercept the right-button click to short-circuit 
the pop-up menu
-               printf("%s:%d BUTTON_RIGHT\n", __FILE__, __LINE__);
-               if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS"))
-                       return Smach::RESULT_ACCEPT;
-
        default:
                return Smach::RESULT_OK;
        }
@@ -197,11 +192,6 @@
                        return Smach::RESULT_ACCEPT;
                }
 
-       case BUTTON_RIGHT: // Intercept the right-button click to short-circuit 
the pop-up menu
-               printf("%s:%d BUTTON_RIGHT\n", __FILE__, __LINE__);
-               if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS"))
-                       return Smach::RESULT_ACCEPT;
-
        default:
                return Smach::RESULT_OK;
        }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to