From 1d5c0ce25ba988f375bfe26dc5d69c87753d26b5 Mon Sep 17 00:00:00 2001 From: ttp Date: Sun, 27 Dec 2009 01:23:02 +0900 Subject: [PATCH] =?utf8?q?AppliStation-GUI,=E5=85=AC=E5=BC=8F=E3=82=B5?= =?utf8?q?=E3=82=A4=E3=83=88=E3=81=AE=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC?= =?utf8?q?=E3=81=AE=E3=83=84=E3=83=BC=E3=83=AB=E3=83=81=E3=83=83=E3=83=97?= =?utf8?q?=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E3=81=A8=E3=81=97=E3=81=A6?= =?utf8?q?=E9=A3=9B=E3=81=B3=E5=85=88URL=E3=82=92=E8=A1=A8=E7=A4=BA?= =?utf8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= =?utf8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- AppliStation/PackageListViewForm.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/AppliStation/PackageListViewForm.cs b/AppliStation/PackageListViewForm.cs index d68ee0d..3c01042 100644 --- a/AppliStation/PackageListViewForm.cs +++ b/AppliStation/PackageListViewForm.cs @@ -560,7 +560,15 @@ namespace AppliStation void WebResourceCommonContextMenuStripOpening(object sender, System.ComponentModel.CancelEventArgs e) { Package pkg = packageListView.SelectedPackage; - webOfficialMenuItem.Enabled = (pkg != null && pkg.Url != null && !string.IsNullOrEmpty(pkg.Url.Href)); + + if (pkg != null && pkg.Url != null && !string.IsNullOrEmpty(pkg.Url.Href)) { + webOfficialMenuItem.Enabled = true; + webOfficialMenuItem.ToolTipText = pkg.Url.Href; + } else { + webOfficialMenuItem.Enabled = false; + webOfficialMenuItem.ToolTipText = null; + } + // webGoogleSearchMenuItem always active. } -- 2.11.0