Added patch to allow to edit winecfg library override by double clicking.

This commit is contained in:
Sebastian Lackner 2015-03-20 19:01:08 +01:00
parent 468a035b3e
commit 5ee34a9309
5 changed files with 56 additions and 1 deletions

View File

@ -38,10 +38,11 @@ Wine. All those differences are also documented on the
Included bug fixes and improvements
===================================
**Bugfixes and features included in the next upcoming release [12]:**
**Bugfixes and features included in the next upcoming release [13]:**
* Add stub for PowerCreateRequest
* Add stub for wininet.ParseX509EncodedCertificateForListBoxEntry ([Wine Bug #29842](https://bugs.winehq.org/show_bug.cgi?id=29842))
* Allow to edit winecfg library override by double clicking
* Fix caps lock state issues with multiple processes ([Wine Bug #35907](https://bugs.winehq.org/show_bug.cgi?id=35907))
* Fix multithreading issues with fullscreen clipping ([Wine Bug #38087](https://bugs.winehq.org/show_bug.cgi?id=38087))
* Fix wrong version of ID3DXEffect interface for d3dx9_24

1
debian/changelog vendored
View File

@ -24,6 +24,7 @@ wine-staging (1.7.39) UNRELEASED; urgency=low
* Added patch to implement shared memory wineserver communication for various user32 functions.
* Added patch to implement combase.WindowsSubstring function.
* Added patch with stub for wininet.ParseX509EncodedCertificateForListBoxEntry.
* Added patch to allow to edit winecfg library override by double clicking.
* Removed patch to avoid hardcoded values for sizeof(GUID) (accepted upstream).
* Removed patches for SLGetWindowsInformationDWORD (accepted upstream).
* Removed patches for _ismbckata and _mbctohira (fixed upstream).

View File

@ -208,6 +208,7 @@ patch_enable_all ()
enable_wine_inf_Performance="$1"
enable_wineboot_HKEY_DYN_DATA="$1"
enable_winebuild_LinkerVersion="$1"
enable_winecfg_Libraries="$1"
enable_winecfg_Staging="$1"
enable_wineconsole_Buffer_Size="$1"
enable_wined3d_CSMT_Helper="$1"
@ -679,6 +680,9 @@ patch_enable ()
winebuild-LinkerVersion)
enable_winebuild_LinkerVersion="$2"
;;
winecfg-Libraries)
enable_winecfg_Libraries="$2"
;;
winecfg-Staging)
enable_winecfg_Staging="$2"
;;
@ -4237,6 +4241,18 @@ if test "$enable_winebuild_LinkerVersion" -eq 1; then
) >> "$patchlist"
fi
# Patchset winecfg-Libraries
# |
# | Modified files:
# | * programs/winecfg/libraries.c
# |
if test "$enable_winecfg_Libraries" -eq 1; then
patch_apply winecfg-Libraries/0001-winecfg-Double-click-in-dlls-list-to-edit-item-s-ove.patch
(
echo '+ { "Hao Peng", "winecfg: Double click in dlls list to edit item'\''s overides.", 3 },';
) >> "$patchlist"
fi
# Patchset wineconsole-Buffer_Size
# |
# | This patchset fixes the following Wine bugs:

View File

@ -0,0 +1,36 @@
From e73805a78a8001203f866aeb24a56e1c1de36b50 Mon Sep 17 00:00:00 2001
From: Hao Peng <penghao@linuxdeepin.com>
Date: Thu, 5 Mar 2015 12:00:49 +0800
Subject: winecfg: Double click in dlls list to edit item's overides. (try 3)
Add a feature to winecfg. User can double click in dlls list to edit overides of selected item.
---
programs/winecfg/libraries.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/programs/winecfg/libraries.c b/programs/winecfg/libraries.c
index a9889e5..a98da0e 100644
--- a/programs/winecfg/libraries.c
+++ b/programs/winecfg/libraries.c
@@ -643,6 +643,18 @@ LibrariesDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
else
set_controls_from_selection(hDlg);
break;
+ case CBN_DBLCLK:
+ if (LOWORD(wParam) == IDC_DLLS_LIST)
+ {
+ int index;
+ POINT p;
+ if (GetCursorPos(&p) && ScreenToClient((HWND)lParam, &p))
+ {
+ index = SendDlgItemMessageW(hDlg, IDC_DLLS_LIST, LB_ITEMFROMPOINT, 0, MAKELPARAM(p.x, p.y));
+ if (!HIWORD(index)) on_edit_click(hDlg);
+ }
+ }
+ break;
}
break;
}
--
2.3.2

View File

@ -0,0 +1 @@
Fixes: Allow to edit winecfg library override by double clicking