From 57d21ad6ee5878c2edacc9a8904661275836ed6f Mon Sep 17 00:00:00 2001 From: Kimura Youichi Date: Sun, 13 Feb 2022 17:11:11 +0900 Subject: [PATCH] =?utf8?q?=E6=93=8D=E4=BD=9C=E3=83=A1=E3=83=8B=E3=83=A5?= =?utf8?q?=E3=83=BC=E3=81=8B=E3=82=89=E3=80=8CFav=E3=82=92=E9=96=8B?= =?utf8?q?=E3=81=8F=E3=80=8D=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- OpenTween/Tween.Designer.cs | 22 ++-------------------- OpenTween/Tween.cs | 10 ---------- OpenTween/Tween.en.resx | 4 ---- OpenTween/Tween.resx | 9 --------- 4 files changed, 2 insertions(+), 43 deletions(-) diff --git a/OpenTween/Tween.Designer.cs b/OpenTween/Tween.Designer.cs index 0523437d..717a2c1c 100644 --- a/OpenTween/Tween.Designer.cs +++ b/OpenTween/Tween.Designer.cs @@ -110,7 +110,6 @@ this.AuthorShowUserTimelineMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.AuthorListManageMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.AuthorOpenInBrowserMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.AuthorOpenFavoritesMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.RetweetedByMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.RetweetedByShowProfileMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.RetweetedByShowUserTimelineMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -247,7 +246,6 @@ this.AuthorShowUserTimelineContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.AuthorListManageContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.AuthorOpenInBrowserContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.AuthorOpenFavoritesContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.RetweetedByContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.RetweetedByShowProfileContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.RetweetedByShowUserTimelineContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -1020,8 +1018,7 @@ this.AuthorShowProfileMenuItem, this.AuthorShowUserTimelineMenuItem, this.AuthorListManageMenuItem, - this.AuthorOpenInBrowserMenuItem, - this.AuthorOpenFavoritesMenuItem}); + this.AuthorOpenInBrowserMenuItem}); this.AuthorMenuItem.Name = "AuthorMenuItem"; resources.ApplyResources(this.AuthorMenuItem, "AuthorMenuItem"); // @@ -1049,12 +1046,6 @@ resources.ApplyResources(this.AuthorOpenInBrowserMenuItem, "AuthorOpenInBrowserMenuItem"); this.AuthorOpenInBrowserMenuItem.Click += new System.EventHandler(this.AuthorOpenInBrowserMenuItem_Click); // - // AuthorOpenFavoritesMenuItem - // - this.AuthorOpenFavoritesMenuItem.Name = "AuthorOpenFavoritesMenuItem"; - resources.ApplyResources(this.AuthorOpenFavoritesMenuItem, "AuthorOpenFavoritesMenuItem"); - this.AuthorOpenFavoritesMenuItem.Click += new System.EventHandler(this.AuthorOpenFavoritesMenuItem_Click); - // // RetweetedByMenuItem // this.RetweetedByMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -1959,8 +1950,7 @@ this.AuthorShowProfileContextMenuItem, this.AuthorShowUserTimelineContextMenuItem, this.AuthorListManageContextMenuItem, - this.AuthorOpenInBrowserContextMenuItem, - this.AuthorOpenFavoritesContextMenuItem}); + this.AuthorOpenInBrowserContextMenuItem}); this.AuthorContextMenuItem.Name = "AuthorContextMenuItem"; resources.ApplyResources(this.AuthorContextMenuItem, "AuthorContextMenuItem"); // @@ -1988,12 +1978,6 @@ resources.ApplyResources(this.AuthorOpenInBrowserContextMenuItem, "AuthorOpenInBrowserContextMenuItem"); this.AuthorOpenInBrowserContextMenuItem.Click += new System.EventHandler(this.AuthorOpenInBrowserMenuItem_Click); // - // AuthorOpenFavoritesContextMenuItem - // - this.AuthorOpenFavoritesContextMenuItem.Name = "AuthorOpenFavoritesContextMenuItem"; - resources.ApplyResources(this.AuthorOpenFavoritesContextMenuItem, "AuthorOpenFavoritesContextMenuItem"); - this.AuthorOpenFavoritesContextMenuItem.Click += new System.EventHandler(this.AuthorOpenFavoritesMenuItem_Click); - // // RetweetedByContextMenuItem // this.RetweetedByContextMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -2406,7 +2390,6 @@ private System.Windows.Forms.ToolStripMenuItem AuthorShowUserTimelineMenuItem; private System.Windows.Forms.ToolStripMenuItem AuthorListManageMenuItem; private System.Windows.Forms.ToolStripMenuItem AuthorOpenInBrowserMenuItem; - private System.Windows.Forms.ToolStripMenuItem AuthorOpenFavoritesMenuItem; private System.Windows.Forms.ToolStripMenuItem RetweetedByMenuItem; private System.Windows.Forms.ToolStripMenuItem RetweetedByShowProfileMenuItem; private System.Windows.Forms.ToolStripMenuItem RetweetedByShowUserTimelineMenuItem; @@ -2416,7 +2399,6 @@ private System.Windows.Forms.ToolStripMenuItem AuthorShowUserTimelineContextMenuItem; private System.Windows.Forms.ToolStripMenuItem AuthorListManageContextMenuItem; private System.Windows.Forms.ToolStripMenuItem AuthorOpenInBrowserContextMenuItem; - private System.Windows.Forms.ToolStripMenuItem AuthorOpenFavoritesContextMenuItem; private System.Windows.Forms.ToolStripMenuItem RetweetedByContextMenuItem; private System.Windows.Forms.ToolStripMenuItem RetweetedByShowProfileContextMenuItem; private System.Windows.Forms.ToolStripMenuItem RetweetedByShowUserTimelineContextMenuItem; diff --git a/OpenTween/Tween.cs b/OpenTween/Tween.cs index 963ba4de..d2e477de 100644 --- a/OpenTween/Tween.cs +++ b/OpenTween/Tween.cs @@ -3024,13 +3024,6 @@ namespace OpenTween await MyCommon.OpenInBrowserAsync(this, MyCommon.TwitterUrl); } - private async void AuthorOpenFavoritesMenuItem_Click(object sender, EventArgs e) - { - var post = this.CurrentPost; - if (post != null) - await MyCommon.OpenInBrowserAsync(this, MyCommon.TwitterUrl + "#!/" + post.ScreenName + "/favorites"); - } - private void TweenMain_ClientSizeChanged(object sender, EventArgs e) { if ((!this.initialLayout) && this.Visible) @@ -5824,9 +5817,6 @@ namespace OpenTween ShortcutCommand.Create(Keys.Control | Keys.H) .Do(() => this.AuthorOpenInBrowserMenuItem_Click(this.AuthorOpenInBrowserContextMenuItem, EventArgs.Empty)), - ShortcutCommand.Create(Keys.Control | Keys.G) - .Do(() => this.AuthorOpenFavoritesMenuItem_Click(this.AuthorOpenFavoritesContextMenuItem, EventArgs.Empty)), - ShortcutCommand.Create(Keys.Control | Keys.O) .Do(() => this.StatusOpenMenuItem_Click(this.StatusOpenMenuItem, EventArgs.Empty)), diff --git a/OpenTween/Tween.en.resx b/OpenTween/Tween.en.resx index 8086090e..bb71eeda 100644 --- a/OpenTween/Tween.en.resx +++ b/OpenTween/Tween.en.resx @@ -20,10 +20,6 @@ 223, 22 Add/Remove from &Lists 259, 22 - 197, 22 - Open Favorites (&G) - 223, 22 - Open Favorites (&G) 197, 22 Open in browser (&H) 223, 22 diff --git a/OpenTween/Tween.resx b/OpenTween/Tween.resx index 03614f0e..bb94c2a0 100644 --- a/OpenTween/Tween.resx +++ b/OpenTween/Tween.resx @@ -30,10 +30,6 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 AuthorMenuItem System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - AuthorOpenFavoritesContextMenuItem - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - AuthorOpenFavoritesMenuItem - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 AuthorOpenInBrowserContextMenuItem System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 AuthorOpenInBrowserMenuItem @@ -602,11 +598,6 @@ リスト管理(&L) 244, 22 %Author% - 206, 22 - Favを開く(&G) - Ctrl+G - 247, 22 - Favを開く(&G) 206, 22 ブラウザで開く(&H) Ctrl+H -- 2.11.0