OSDN Git Service

AppliStation-GUI,ソフトウェアの更新ボタンを常に出すように変更した。
authorttp <ttp@users.sourceforge.jp>
Sun, 11 Oct 2009 05:32:24 +0000 (14:32 +0900)
committerttp <ttp@users.sourceforge.jp>
Sun, 11 Oct 2009 05:32:24 +0000 (14:32 +0900)
(ただし、表示の優先度を低くしてありWindow幅が狭いときはgripの中に入り、インストールボタンなどの表示を優先する)

AppliStation/PackageListViewForm.Designer.cs
AppliStation/PackageListViewForm.cs

index c9c1699..5bcec8d 100644 (file)
                                                                        this.optionToolStripMenuItem});\r
                        this.organizeToolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("organizeToolStripDropDownButton1.Image")));\r
                        this.organizeToolStripDropDownButton1.Name = "organizeToolStripDropDownButton1";\r
+                       this.organizeToolStripDropDownButton1.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;\r
                        this.organizeToolStripDropDownButton1.Size = new System.Drawing.Size(80, 22);\r
                        this.organizeToolStripDropDownButton1.Text = "整理(&O)";\r
                        this.organizeToolStripDropDownButton1.ToolTipText = "ソフトリストの管理など";\r
                        // installToolStripMenuItem\r
                        // \r
                        this.installToolStripMenuItem.Name = "installToolStripMenuItem";\r
+                       this.installToolStripButton.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;\r
                        this.installToolStripMenuItem.Size = new System.Drawing.Size(239, 22);\r
                        this.installToolStripMenuItem.Text = "インストール(&I)...";\r
                        this.installToolStripMenuItem.Click += new System.EventHandler(this.InstallToolStripButtonClick);\r
                        // uninstallToolStripMenuItem\r
                        // \r
                        this.uninstallToolStripMenuItem.Name = "uninstallToolStripMenuItem";\r
+                       this.uninstallToolStripMenuItem.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;\r
                        this.uninstallToolStripMenuItem.Size = new System.Drawing.Size(239, 22);\r
                        this.uninstallToolStripMenuItem.Text = "アンインストール(&U)...";\r
                        this.uninstallToolStripMenuItem.Click += new System.EventHandler(this.UninstallToolStripButtonClick);\r
index 5e52ef1..3407709 100644 (file)
@@ -89,7 +89,6 @@ namespace AppliStation
                        installBtnEnabled = (installPkgCount > 0) && (uninstallPkgCount == 0);\r
                        uninstallBtnEnabled = (uninstallPkgCount == 1) && (installPkgCount == 0);\r
                        \r
-                       upgradeToolStripButton.Visible = (selectedPkgs.Length <= 0);\r
                        informationToolStripDropDownButton.Visible = (selectedPkgs.Length == 1);\r
                        uninstallToolStripButton.Visible = uninstallBtnEnabled;\r
                        installToolStripButton.Visible = installBtnEnabled;\r