diff options
Diffstat (limited to 'net-p2p/azureus/files/azureus-2.4.0.2-popup-hide-debian.patch')
-rw-r--r-- | net-p2p/azureus/files/azureus-2.4.0.2-popup-hide-debian.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-p2p/azureus/files/azureus-2.4.0.2-popup-hide-debian.patch b/net-p2p/azureus/files/azureus-2.4.0.2-popup-hide-debian.patch new file mode 100644 index 000000000000..438a73b09d8c --- /dev/null +++ b/net-p2p/azureus/files/azureus-2.4.0.2-popup-hide-debian.patch @@ -0,0 +1,30 @@ +--- org/gudy/azureus2/ui/swt/shells/MessageSlideShell.java ++++ org/gudy/azureus2/ui/swt/shells/MessageSlideShell.java +@@ -324,7 +324,8 @@ + btnHideAll = new Button(cButtons, SWT.PUSH);
+ Messages.setLanguageText(btnHideAll, "popup.error.hideall");
+ btnHideAll.setVisible(false);
+- btnHideAll.addListener(SWT.Selection, new Listener() {
++ // XXX SWT.Selection doesn't work on latest GTK (2.8.17) & SWT3.2 for ON_TOP
++ btnHideAll.addListener(SWT.MouseUp, new Listener() {
+ public void handleEvent(Event arg0) {
+ cButtons.setEnabled(false);
+ try {
+@@ -348,7 +349,7 @@ +
+ final Button btnDetails = new Button(cButtons, SWT.TOGGLE);
+ Messages.setLanguageText(btnDetails, "popup.error.details");
+- btnDetails.addListener(SWT.Selection, new Listener() {
++ btnDetails.addListener(SWT.MouseUp, new Listener() {
+ public void handleEvent(Event arg0) {
+ try {
+ boolean bShow = btnDetails.getSelection();
+@@ -394,7 +395,7 @@ +
+ final Button btnHide = new Button(cButtons, SWT.PUSH);
+ Messages.setLanguageText(btnHide, "popup.error.hide");
+- btnHide.addListener(SWT.Selection, new Listener() {
++ btnHide.addListener(SWT.MouseUp, new Listener() {
+ public void handleEvent(Event arg0) {
+ cButtons.setEnabled(false);
+ shell.dispose();
|