[Pkg-electronics-commits] [SCM] Packaging for Pcb branch, master, updated. debian/20100929-2-21-g2087bcf

أحمد المحمو =?UTF-8?Q?=D8=AF=D9=8A=20?=(Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Wed Sep 21 11:24:50 UTC 2011


The following commit has been merged in the master branch:
commit edab422f20678bc5a095fda77ae435fcc66a1683
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Tue Sep 20 05:45:34 2011 +0200

    Added fix_pan_action.diff patch to fix pan action to stop after button
    release outside window master
    
    Closes: #562641

diff --git a/debian/patches/fix_pan_action.diff b/debian/patches/fix_pan_action.diff
new file mode 100644
index 0000000..a9f9804
--- /dev/null
+++ b/debian/patches/fix_pan_action.diff
@@ -0,0 +1,28 @@
+Description: Fix Pan action to stop after button release outside window master
+ Previously, we required in-view coordinates to stop and start the
+ pan-action, and when the button was released outside the viewport,
+ the code was querying the user to click at a particular location.
+
+ Since the pan action doesn't even use the passed in coordinates,
+ simply remove the requirement for the x-y coordinates from this
+ action.
+Origin: http://git.gpleda.org/?p=pcb.git;a=commit;h=ed9a9d0cd9d054e6fc4a075ec1b8d9a12f1cb376
+Author: Peter Clifton <pcjc2 at cam.ac.uk> [Mon, 19 Sep 2011 10:16:49 +0000 (11:16 +0100)]
+Bug: https://launchpad.net/bugs/699307
+Bug-Debian: http://bugs.debian.org/562641
+
+diff --git a/src/hid/gtk/gtkhid-main.c b/src/hid/gtk/gtkhid-main.c
+
+index 9b239e1..a83ee2e 100644 (file)
+
+--- a/src/hid/gtk/gtkhid-main.c
++++ b/src/hid/gtk/gtkhid-main.c
+@@ -2030,7 +2030,7 @@ HID_Action ghid_main_action_list[] = {
+   {"LayerGroupsChanged", 0, LayerGroupsChanged},
+   {"LibraryChanged", 0, LibraryChanged},
+   {"Load", 0, Load},
+-  {"Pan", N_("Click on a place to pan"), PanAction, pan_help, pan_syntax},
++  {"Pan", 0, PanAction, pan_help, pan_syntax},
+   {"PCBChanged", 0, PCBChanged},
+   {"PointCursor", 0, PointCursor},
+   {"Popup", 0, Popup, popup_help, popup_syntax},
diff --git a/debian/patches/series b/debian/patches/series
index 7be8a28..4359695 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix_typo.diff
 outdated_config.diff
+fix_pan_action.diff

-- 
Packaging for Pcb



More information about the Pkg-electronics-commits mailing list