From 41a826caedb5e2790c94aec624b8944520b0a126 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Fri, 23 Feb 2018 02:05:02 +0000 Subject: [PATCH] Remove GTK# version. --- .../.idea.osrepodbmgr/.idea/contentModel.xml | 615 + .idea/.idea.osrepodbmgr/.idea/vcs.xml | 8 + osrepodbmgr.sln | 6 - osrepodbmgr/ChangeLog | 544 - osrepodbmgr/Program.cs | 55 - osrepodbmgr/Properties/AssemblyInfo.cs | 53 - osrepodbmgr/dlgAdd.cs | 1221 -- osrepodbmgr/dlgBlockMedia.cs | 1796 --- osrepodbmgr/dlgFilesystem.cs | 265 - osrepodbmgr/dlgHelp.cs | 46 - osrepodbmgr/dlgMetadata.cs | 1158 -- osrepodbmgr/dlgOpticalDisc.cs | 2028 --- osrepodbmgr/dlgSettings.cs | 373 - osrepodbmgr/frmMain.cs | 1192 -- osrepodbmgr/gtk-gui/dlgAdd.cs | 729 - osrepodbmgr/gtk-gui/generated.cs | 77 - osrepodbmgr/gtk-gui/gui.stetic | 13120 ---------------- osrepodbmgr/gtk-gui/osrepodbmgr.DicCore.cs | 10 - .../gtk-gui/osrepodbmgr.dlgBlockMedia.cs | 3287 ---- .../gtk-gui/osrepodbmgr.dlgFilesystem.cs | 775 - osrepodbmgr/gtk-gui/osrepodbmgr.dlgHelp.cs | 77 - .../gtk-gui/osrepodbmgr.dlgMetadata.cs | 1736 -- .../gtk-gui/osrepodbmgr.dlgOpticalDisc.cs | 4139 ----- .../gtk-gui/osrepodbmgr.dlgSettings.cs | 634 - osrepodbmgr/gtk-gui/osrepodbmgr.frmMain.cs | 529 - osrepodbmgr/osrepodbmgr.Gtk.csproj | 100 - osrepodbmgr/packages.config | 5 - 27 files changed, 623 insertions(+), 33955 deletions(-) create mode 100644 .idea/.idea.osrepodbmgr/.idea/contentModel.xml create mode 100644 .idea/.idea.osrepodbmgr/.idea/vcs.xml delete mode 100644 osrepodbmgr/ChangeLog delete mode 100644 osrepodbmgr/Program.cs delete mode 100644 osrepodbmgr/Properties/AssemblyInfo.cs delete mode 100644 osrepodbmgr/dlgAdd.cs delete mode 100644 osrepodbmgr/dlgBlockMedia.cs delete mode 100644 osrepodbmgr/dlgFilesystem.cs delete mode 100644 osrepodbmgr/dlgHelp.cs delete mode 100644 osrepodbmgr/dlgMetadata.cs delete mode 100644 osrepodbmgr/dlgOpticalDisc.cs delete mode 100644 osrepodbmgr/dlgSettings.cs delete mode 100644 osrepodbmgr/frmMain.cs delete mode 100644 osrepodbmgr/gtk-gui/dlgAdd.cs delete mode 100644 osrepodbmgr/gtk-gui/generated.cs delete mode 100644 osrepodbmgr/gtk-gui/gui.stetic delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.DicCore.cs delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.dlgBlockMedia.cs delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.dlgFilesystem.cs delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.dlgHelp.cs delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.dlgMetadata.cs delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.dlgOpticalDisc.cs delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.dlgSettings.cs delete mode 100644 osrepodbmgr/gtk-gui/osrepodbmgr.frmMain.cs delete mode 100644 osrepodbmgr/osrepodbmgr.Gtk.csproj delete mode 100644 osrepodbmgr/packages.config diff --git a/.idea/.idea.osrepodbmgr/.idea/contentModel.xml b/.idea/.idea.osrepodbmgr/.idea/contentModel.xml new file mode 100644 index 0000000..04d8922 --- /dev/null +++ b/.idea/.idea.osrepodbmgr/.idea/contentModel.xml @@ -0,0 +1,615 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.osrepodbmgr/.idea/vcs.xml b/.idea/.idea.osrepodbmgr/.idea/vcs.xml new file mode 100644 index 0000000..733ad68 --- /dev/null +++ b/.idea/.idea.osrepodbmgr/.idea/vcs.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/osrepodbmgr.sln b/osrepodbmgr.sln index 1206b0b..a1f2a66 100644 --- a/osrepodbmgr.sln +++ b/osrepodbmgr.sln @@ -1,8 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "osrepodbmgr.Gtk", "osrepodbmgr\osrepodbmgr.Gtk.csproj", "{19FB7436-031F-42B3-87F6-8508F63EDADA}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiscImageChef.Checksums", "DiscImageChef\DiscImageChef.Checksums\DiscImageChef.Checksums.csproj", "{CC48B324-A532-4A45-87A6-6F91F7141E8D}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiscImageChef.Helpers", "DiscImageChef\DiscImageChef.Helpers\DiscImageChef.Helpers.csproj", "{F8BDF57B-1571-4CD0-84B3-B422088D359A}" @@ -39,10 +37,6 @@ Global Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {19FB7436-031F-42B3-87F6-8508F63EDADA}.Debug|x86.ActiveCfg = Debug|x86 - {19FB7436-031F-42B3-87F6-8508F63EDADA}.Debug|x86.Build.0 = Debug|x86 - {19FB7436-031F-42B3-87F6-8508F63EDADA}.Release|x86.ActiveCfg = Release|x86 - {19FB7436-031F-42B3-87F6-8508F63EDADA}.Release|x86.Build.0 = Release|x86 {CC48B324-A532-4A45-87A6-6F91F7141E8D}.Debug|x86.ActiveCfg = Debug|Any CPU {CC48B324-A532-4A45-87A6-6F91F7141E8D}.Debug|x86.Build.0 = Debug|Any CPU {CC48B324-A532-4A45-87A6-6F91F7141E8D}.Release|x86.ActiveCfg = Release|Any CPU diff --git a/osrepodbmgr/ChangeLog b/osrepodbmgr/ChangeLog deleted file mode 100644 index 40db628..0000000 --- a/osrepodbmgr/ChangeLog +++ /dev/null @@ -1,544 +0,0 @@ -* packages.config: -* osrepodbmgr.Gtk.csproj: - Updated nuget packages. - -* dlgBlockMedia.cs: -* dlgOpticalDisc.cs: -* gtk-gui/dlgAdd.cs: -* gtk-gui/gui.stetic: -* gtk-gui/generated.cs: -* gtk-gui/osrepodbmgr.dlgHelp.cs: -* gtk-gui/osrepodbmgr.frmMain.cs: -* gtk-gui/osrepodbmgr.dlgMetadata.cs: -* gtk-gui/osrepodbmgr.dlgSettings.cs: -* gtk-gui/osrepodbmgr.dlgFilesystem.cs: -* gtk-gui/osrepodbmgr.dlgBlockMedia.cs: -* gtk-gui/osrepodbmgr.dlgOpticalDisc.cs: - Updated DIC and Metadata code. - -2017-05-21 Natalia Portillo - - * dlgAdd.cs: - Corrected some NULL exceptions on GUI. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - Don't readd delegates every time. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - * Program.cs: - * packages.config: - Refactor: Format document. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - Refactor: Sort and remove usings. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - Change column name to correspong to database. - -2017-05-19 Natalia Portillo - - * dlgAdd.cs: - * frmMain.cs: - Corrected delegate. - -2017-05-19 Natalia Portillo - - * dlgAdd.cs: - * frmMain.cs: - * gtk-gui/dlgAdd.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.frmMain.cs: - * gtk-gui/osrepodbmgr.dlgBlockMedia.cs: - Added status fields. - -2017-05-19 Natalia Portillo - - * dlgBlockMedia.cs: - * dlgOpticalDisc.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.dlgBlockMedia.cs: - * gtk-gui/osrepodbmgr.dlgOpticalDisc.cs: - Corrected GUI behaviour. - -2017-05-19 Natalia Portillo - - * gtk-gui/osrepodbmgr.dlgHelp.cs: - * gtk-gui/osrepodbmgr.dlgSettings.cs: - * gtk-gui/osrepodbmgr.dlgMetadata.cs: - * gtk-gui/osrepodbmgr.dlgFilesystem.cs: - Just ignore this commit (really). - -2017-05-19 Natalia Portillo - - * dlgAdd.cs: - * frmMain.cs: - * gtk-gui/dlgAdd.cs: - * gtk-gui/osrepodbmgr.frmMain.cs: - Do not color OS tables. Has no sense to be on the opaque - repo. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - * gtk-gui/gui.stetic: - * gtk-gui/generated.cs: - * gtk-gui/osrepodbmgr.frmMain.cs: - Added code to clean database and repository. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - Make sure the OnBtnPopulateFilesClicked() is called. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.frmMain.cs: - Added an option to scan all pending files with clamd. - -2017-05-19 Natalia Portillo - - * dlgAdd.cs: - * frmMain.cs: - * gtk-gui/osrepodbmgr.dlgSettings.cs: - Corrected GUI behaviour. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - Corrected column name. - -2017-05-19 Natalia Portillo - - * frmMain.cs: - Added progress messages to clamd core. - -2017-05-19 Natalia Portillo - - * Program.cs: - * frmMain.cs: - * dlgSettings.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.frmMain.cs: - * gtk-gui/osrepodbmgr.dlgSettings.cs: - Added support for VirusTotal. - -2017-05-18 Natalia Portillo - - * frmMain.cs: - * Program.cs: - * dlgSettings.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.dlgSettings.cs: - Added support for clamd scanning. - -2017-05-18 Natalia Portillo - - * dlgAdd.cs: - * frmMain.cs: - * gtk-gui/dlgAdd.cs: - * gtk-gui/gui.stetic: - * gtk-gui/generated.cs: - * gtk-gui/osrepodbmgr.frmMain.cs: - Added support for marking/unmarking/detecting cracks. - -2017-05-18 Natalia Portillo - - * dlgAdd.cs: - * frmMain.cs: - * gtk-gui/dlgAdd.cs: - * gtk-gui/gui.stetic: - - - * gtk-gui/osrepodbmgr.frmMain.cs: - Added code and UI for listing files in the database. - -2017-05-12 Natalia Portillo - - * frmMain.cs: - * gtk-gui/gui.stetic: - * gtk-gui/generated.cs: - * gtk-gui/osrepodbmgr.frmMain.cs: - Implemented extract of OS from repo, as files or zipped. - -2017-05-11 Natalia Portillo - - * dlgAdd.cs: - Correct buttons visibility. - -2017-05-11 Natalia Portillo - - * dlgAdd.cs: - * frmMain.cs: - * dlgSettings.cs: - * gtk-gui/generated.cs: - * gtk-gui/osrepodbmgr.dlgSettings.cs: - Store files separate in the repository instead of - compressing them in ZIP. Supported GZ, BZ2 and LZMA formats. - -2017-05-11 Natalia Portillo - - * frmMain.cs: - * dlgSettings.cs: - Refactor: Sort and remove usings. - -2017-05-11 Natalia Portillo - - * dlgAdd.cs: - * dlgHelp.cs: - * frmMain.cs: - * dlgSettings.cs: - * gtk-gui/frmAdd.cs: - * gtk-gui/dlgAdd.cs: - * osrepodbmgr.csproj: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.frmHelp.cs: - * gtk-gui/osrepodbmgr.dlgHelp.cs: - * gtk-gui/osrepodbmgr.dlgSettings.cs: - * gtk-gui/osrepodbmgr.frmSettings.cs: - Refactor: Rename dialog classes from frm* to dlg*. - -2017-05-11 Natalia Portillo - - * frmAdd.cs: - * frmMain.cs: - Corrected file copy and extract. - -2017-05-11 Natalia Portillo - - * frmAdd.cs: - * frmMain.cs: - Inform main window that an OS has been added. - -2017-05-11 Natalia Portillo - - * frmAdd.cs: - * gtk-gui/frmAdd.cs: - * gtk-gui/gui.stetic: - Do not allow to add to the database without adding to the - repository, to prevent inconsistencies between them. - -2017-05-11 Natalia Portillo - - * frmAdd.cs: - * Program.cs: - * frmHelp.cs: - * frmMain.cs: - * frmSettings.cs: - * gtk-gui/frmAdd.cs: - * gtk-gui/gui.stetic: - * osrepodbmgr.csproj: - * gtk-gui/osrepodbmgr.frmHelp.cs: - * gtk-gui/osrepodbmgr.frmMain.cs: - * gtk-gui/osrepodbmgr.frmSettings.cs: - * gtk-gui/osrepodbmgr.dlgBlockMedia.cs: - Added a main window to handle everything from there. - -2017-05-11 Natalia Portillo - - * dlgBlockMedia.cs: - Corrected initialization of LOG SENSE table. - -2017-05-11 Natalia Portillo - - * frmAdd.cs: - Correct visibility of progress bars on extraction with - DotNetZip. - -2017-05-11 Natalia Portillo - - * frmSettings.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.frmSettings.cs: - Add support for choosing compression algorithm. - -2017-05-11 Natalia Portillo - - * packages.config: - * osrepodbmgr.csproj: - Remove unneeded packages. - -2017-05-11 Natalia Portillo - - * frmAdd.cs: - Use DotNetZip to extract ZIP files that are not created by - mac OS. - -2017-05-10 Natalia Portillo - - * frmAdd.cs: - Corrected GUI bugs. - -2017-05-10 Natalia Portillo - - * frmAdd.cs: - * dlgMetadata.cs: - * frmSettings.cs: - Refactor: Rename Core.Core to Core.Workers - -2017-05-10 Natalia Portillo - - * frmAdd.cs: - * Program.cs: - * frmHelp.cs: - * dlgMetadata.cs: - * frmSettings.cs: - * dlgFilesystem.cs: - * gtk-gui/frmAdd.cs: - * osrepodbmgr.csproj: - * gtk-gui/generated.cs: - Refactor: Separate engine code from GUI. - -2017-05-10 Natalia Portillo - - * frmAdd.cs: - * Program.cs: - * gtk-gui/frmAdd.cs: - * gtk-gui/gui.stetic: - * osrepodbmgr.csproj: - * gtk-gui/generated.cs: - * gtk-gui/MainWindow.cs: - Refactor: Rename MainWindow to frmAdd. - -2017-05-04 Natalia Portillo - - * Settings.cs: - * dlgMetadata.cs: - Corrected GUI nuisances. - -2017-05-03 Natalia Portillo - - * Checksum.cs: - Removed dead code. - - - * DBOps.cs: - Check null exceptions. - Don't fill console with debug lines. - - * DicCore.cs: - Reduced buffer size for better UI responsiveness. - - - * MainWindow.cs: - Corrected some GUI nuisances. - Check null exceptions. - - * dlgMetadata.cs: - * frmSettings.cs: - * dlgOpticalDisc.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.dlgMetadata.cs: - Corrected some GUI nuisances. - - - * DetectImageFormat.cs: - Don't fill console with debug lines. - -2017-05-03 Natalia Portillo - - * MainWindow.cs: - Solved some null references. - -2017-05-03 Natalia Portillo - - * Core.cs: - * SQLite.cs: - * DicCore.cs: - * Checksum.cs: - * PluginBase.cs: - * dlgMetadata.cs: - * dlgFilesystem.cs: - * dlgOpticalDisc.cs: - Refactor code. - -2017-05-03 Natalia Portillo - - * MainWindow.cs: - * gtk-gui/gui.stetic: - * gtk-gui/MainWindow.cs: - * gtk-gui/osrepodbmgr.dlgMetadata.cs: - Added option to remove file from list of files, so to ignore - it. - -2017-05-03 Natalia Portillo - - * dlgMetadata.cs: - * gtk-gui/gui.stetic: - * gtk-gui/osrepodbmgr.dlgMetadata.cs: - * gtk-gui/osrepodbmgr.dlgBlockMedia.cs: - * gtk-gui/osrepodbmgr.dlgFilesystem.cs: - * gtk-gui/osrepodbmgr.dlgOpticalDisc.cs: - Added window titles. - -2017-05-03 Natalia Portillo - - * DicCore.cs: - Corrected null reference. - Inform we are hashing bytes. - - * MainWindow.cs: - * dlgMetadata.cs: - * dlgBlockMedia.cs: - * dlgFilesystem.cs: - * dlgOpticalDisc.cs: - * gtk-gui/gui.stetic: - * osrepodbmgr.csproj: - * gtk-gui/osrepodbmgr.dlgMetadata.cs: - * gtk-gui/osrepodbmgr.dlgBlockMedia.cs: - * gtk-gui/osrepodbmgr.dlgFilesystem.cs: - * gtk-gui/osrepodbmgr.dlgOpticalDisc.cs: - Added support for editing media metadata. - -2017-04-29 Natalia Portillo - - * dlgMetadata.cs: - Re-add file to both combos when removed from any table. - -2017-04-29 Natalia Portillo - - * Core.cs: - * DicCore.cs: - * Checksum.cs: - * PluginBase.cs: - * dlgMetadata.cs: - * gtk-gui/gui.stetic: - * osrepodbmgr.csproj: - * DetectImageFormat.cs: - * gtk-gui/osrepodbmgr.dlgMetadata.cs: - Added code to retrieve metadata from media images using - DiscImageChef libraries. - -2017-04-29 Natalia Portillo - - * Core.cs: - * SHA256Context.cs: - * osrepodbmgr.csproj: - Use SHA256 algorithm from DiscImageChef. - -2017-04-29 Natalia Portillo - - * Core.cs: - * DBOps.cs: - * Schema.cs: - * DicCore.cs: - * Program.cs: - * MainWindow.cs: - * dlgMetadata.cs: - * gtk-gui/gui.stetic: - * osrepodbmgr.csproj: - * gtk-gui/generated.cs: - * gtk-gui/MainWindow.cs: - * gtk-gui/osrepodbmgr.DicCore.cs: - * gtk-gui/osrepodbmgr.dlgMetadata.cs: - Added support for reading, editing (basic) metadata, adding - it to the DB, and compress and copy it as XML and JSON to - the archived file. - -2017-04-24 Natalia Portillo - - * osrepodbmgr.csproj: - Added CICM Metadata submodule. - -2017-04-23 Natalia Portillo - - * DBOps.cs: - Added checking for which OSes contains chosen files. - Corrected DB misscalling. - - * Core.cs: - * MainWindow.cs: - * gtk-gui/gui.stetic: - * gtk-gui/generated.cs: - * gtk-gui/MainWindow.cs: - Added checking for which OSes contains chosen files. - -2017-04-23 Natalia Portillo - - * Core.cs: - * DBOps.cs: - * DBCore.cs: - * SQLite.cs: - * Program.cs: - * MainWindow.cs: - Adds files to an OS table. - -2017-04-23 Natalia Portillo - - * DBOps.cs: - * SQLite.cs: - * DBCore.cs: - * osrepodbmgr.csproj: - Modified DB. - -2017-04-23 Natalia Portillo - - * Core.cs: - Added detection of ZIP files created with Mac OS X. - -2017-04-23 Natalia Portillo - - * Core.cs: - * Program.cs: - * MainWindow.cs: - * packages.config: - * osrepodbmgr.csproj: - * gtk-gui/gui.stetic: - * gtk-gui/MainWindow.cs: - Added support for archives. - -2017-04-20 Natalia Portillo - - * Core.cs: - * Program.cs: - * MainWindow.cs: - * frmSettings.cs: - * gtk-gui/gui.stetic: - * gtk-gui/MainWindow.cs: - * gtk-gui/osrepodbmgr.frmSettings.cs: - Detect and check unar and lsar runnability. - -2017-04-20 Natalia Portillo - - * Core.cs: - * MainWindow.cs: - * packages.config: - * gtk-gui/gui.stetic: - * osrepodbmgr.csproj: - * gtk-gui/MainWindow.cs: - Added support for packing. - -2017-04-20 Natalia Portillo - - * Core.cs: - * Schema.cs: - * SQLite.cs: - * DBCore.cs: - * frmHelp.cs: - * Program.cs: - * DetectOS.cs: - * Settings.cs: - * DBEntries.cs: - * PlatformID.cs: - * MainWindow.cs: - * frmSettings.cs: - * packages.config: - * SHA256Context.cs: - * osrepodbmgr.csproj: - * gtk-gui/gui.stetic: - * gtk-gui/generated.cs: - * gtk-gui/MainWindow.cs: - * Properties/AssemblyInfo.cs: - * gtk-gui/osrepodbmgr.frmHelp.cs: - * gtk-gui/osrepodbmgr.frmSettings.cs: - Initial version. - diff --git a/osrepodbmgr/Program.cs b/osrepodbmgr/Program.cs deleted file mode 100644 index a2ebf7d..0000000 --- a/osrepodbmgr/Program.cs +++ /dev/null @@ -1,55 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using Gtk; -using osrepodbmgr.Core; -using Settings = osrepodbmgr.Core.Settings; - -namespace osrepodbmgr -{ - static class MainClass - { - public static void Main(string[] args) - { - Settings.LoadSettings(); - Context.CheckUnar(); - Context.UsableDotNetZip = true; - if(Settings.Current.UseAntivirus) - { - if(Settings.Current.UseClamd) Workers.InitClamd(); - if(Settings.Current.UseVirusTotal) - Context.VirusTotalEnabled = Workers.InitVirusTotal(Settings.Current.VirusTotalKey); - } - - Application.Init(); - frmMain win = new frmMain(); - win.Show(); - Application.Run(); - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/Properties/AssemblyInfo.cs b/osrepodbmgr/Properties/AssemblyInfo.cs deleted file mode 100644 index 8a9a1ff..0000000 --- a/osrepodbmgr/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle ("osrepodbmgr")] -[assembly: AssemblyDescription ("")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("Claunia.com")] -[assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("© Claunia.com")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion ("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] diff --git a/osrepodbmgr/dlgAdd.cs b/osrepodbmgr/dlgAdd.cs deleted file mode 100644 index 6b20ed9..0000000 --- a/osrepodbmgr/dlgAdd.cs +++ /dev/null @@ -1,1221 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using System.Collections.Generic; -using System.IO; -using System.Threading; -using System.Xml.Serialization; -using Gdk; -using Gtk; -using Newtonsoft.Json; -using osrepodbmgr; -using osrepodbmgr.Core; -using Schemas; - -public partial class dlgAdd : Dialog -{ - public delegate void OnAddedOSDelegate(DbEntry os); - - ListStore fileView; - int knownFiles; - ListStore osView; - bool stopped; - Thread thdAddFiles; - Thread thdCheckFiles; - Thread thdExtractArchive; - Thread thdFindFiles; - Thread thdHashFiles; - Thread thdOpenArchive; - Thread thdPackFiles; - Thread thdPulseProgress; - Thread thdRemoveTemp; - - public dlgAdd() - { - Build(); - - Context.UnarChangeStatus += UnarChangeStatus; - Context.CheckUnar(); - - CellRendererText filenameCell = new CellRendererText(); - CellRendererToggle crackCell = new CellRendererToggle(); - CellRendererText hashCell = new CellRendererText(); - CellRendererToggle dbCell = new CellRendererToggle(); - - TreeViewColumn filenameColumn = - new TreeViewColumn("Path", filenameCell, "text", 0, "background", 3, - "foreground", 4); - TreeViewColumn crackColumn = new TreeViewColumn("Crack?", crackCell, "active", 5); - TreeViewColumn hashColumn = - new TreeViewColumn("SHA256", hashCell, "text", 1, "background", 3, "foreground", 4); - TreeViewColumn dbColumn = new TreeViewColumn("Known?", dbCell, "active", 2); - - fileView = new ListStore(typeof(string), typeof(string), typeof(bool), typeof(string), typeof(string), - typeof(bool)); - - treeFiles.Model = fileView; - treeFiles.AppendColumn(filenameColumn); - treeFiles.AppendColumn(crackColumn); - treeFiles.AppendColumn(hashColumn); - treeFiles.AppendColumn(dbColumn); - - tabTabs.GetNthPage(1).Visible = false; - - CellRendererText developerCell = new CellRendererText(); - CellRendererText productCell = new CellRendererText(); - CellRendererText versionCell = new CellRendererText(); - CellRendererText languagesCell = new CellRendererText(); - CellRendererText architectureCell = new CellRendererText(); - CellRendererText machineCell = new CellRendererText(); - CellRendererText formatCell = new CellRendererText(); - CellRendererText descriptionCell = new CellRendererText(); - CellRendererToggle oemCell = new CellRendererToggle(); - CellRendererToggle upgradeCell = new CellRendererToggle(); - CellRendererToggle updateCell = new CellRendererToggle(); - CellRendererToggle sourceCell = new CellRendererToggle(); - CellRendererToggle filesCell = new CellRendererToggle(); - CellRendererToggle netinstallCell = new CellRendererToggle(); - - TreeViewColumn developerColumn = new TreeViewColumn("Developer", developerCell, "text", 0); - TreeViewColumn productColumn = new TreeViewColumn("Product", productCell, "text", 1); - TreeViewColumn versionColumn = new TreeViewColumn("Version", versionCell, "text", 2); - TreeViewColumn languagesColumn = new TreeViewColumn("Languages", languagesCell, "text", 3); - TreeViewColumn architectureColumn = new TreeViewColumn("Architecture", architectureCell, "text", 4); - TreeViewColumn machineColumn = new TreeViewColumn("Machine", machineCell, "text", 5); - TreeViewColumn formatColumn = new TreeViewColumn("Format", formatCell, "text", 6); - TreeViewColumn descriptionColumn = new TreeViewColumn("Description", descriptionCell, "text", 7); - TreeViewColumn oemColumn = new TreeViewColumn("OEM?", oemCell, "active", 8); - TreeViewColumn upgradeColumn = new TreeViewColumn("Upgrade?", upgradeCell, "active", 9); - TreeViewColumn updateColumn = new TreeViewColumn("Update?", updateCell, "active", 10); - TreeViewColumn sourceColumn = new TreeViewColumn("Source?", sourceCell, "active", 11); - TreeViewColumn filesColumn = new TreeViewColumn("Files?", filesCell, "active", 12); - TreeViewColumn netinstallColumn = new TreeViewColumn("NetInstall?", netinstallCell, "active", 13); - - osView = new ListStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), - typeof(string), typeof(string), typeof(string), typeof(bool), typeof(bool), typeof(bool), - typeof(bool), typeof(bool), typeof(bool)); - - treeOSes.Model = osView; - treeOSes.AppendColumn(developerColumn); - treeOSes.AppendColumn(productColumn); - treeOSes.AppendColumn(versionColumn); - treeOSes.AppendColumn(languagesColumn); - treeOSes.AppendColumn(architectureColumn); - treeOSes.AppendColumn(machineColumn); - treeOSes.AppendColumn(formatColumn); - treeOSes.AppendColumn(descriptionColumn); - treeOSes.AppendColumn(oemColumn); - treeOSes.AppendColumn(upgradeColumn); - treeOSes.AppendColumn(updateColumn); - treeOSes.AppendColumn(sourceColumn); - treeOSes.AppendColumn(filesColumn); - treeOSes.AppendColumn(netinstallColumn); - - treeFiles.Selection.Changed += treeFilesSelectionChanged; - } - - public event OnAddedOSDelegate OnAddedOS; - - void UnarChangeStatus() - { - Application.Invoke(delegate { btnArchive.Sensitive = Context.UnarUsable; }); - } - - protected void OnDeleteEvent(object sender, DeleteEventArgs a) - { - if(btnStop.Visible) btnStop.Click(); - if(btnClose.Sensitive) btnClose.Click(); - - Application.Quit(); - a.RetVal = true; - } - - protected void OnBtnFolderClicked(object sender, EventArgs e) - { - FileChooserDialog dlgFolder = - new FileChooserDialog("Open folder", this, FileChooserAction.SelectFolder, "Cancel", ResponseType.Cancel, - "Choose", ResponseType.Accept) {SelectMultiple = false}; - - if(dlgFolder.Run() == (int)ResponseType.Accept) - { - knownFiles = 0; - stopped = false; - lblProgress.Text = "Finding files"; - lblProgress.Visible = true; - prgProgress.Visible = true; - btnExit.Sensitive = false; - btnFolder.Visible = false; - btnArchive.Visible = false; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgress.Pulse(); }); - Thread.Sleep(66); - } - }); - - thdFindFiles = new Thread(Workers.FindFiles); - Context.Path = dlgFolder.Filename; - Workers.Failed += FindFilesFailed; - Workers.Finished += FindFilesFinished; - btnStop.Visible = true; - thdPulseProgress.Start(); - thdFindFiles.Start(); - } - - dlgFolder.Destroy(); - } - - void FindFilesFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - thdPulseProgress?.Abort(); - lblProgress.Visible = false; - prgProgress.Visible = false; - btnExit.Sensitive = true; - btnFolder.Visible = true; - btnArchive.Visible = true; - btnStop.Visible = false; - Workers.Failed -= FindFilesFailed; - Workers.Finished -= FindFilesFinished; - thdFindFiles = null; - }); - } - - void FindFilesFinished() - { - Application.Invoke(delegate - { - thdPulseProgress?.Abort(); - - Workers.Failed -= FindFilesFailed; - Workers.Finished -= FindFilesFinished; - - lblProgress.Visible = true; - prgProgress.Visible = true; - lblProgress2.Visible = true; - prgProgress2.Visible = true; - - thdFindFiles = null; - thdHashFiles = new Thread(Workers.HashFiles); - Workers.Failed += HashFilesFailed; - Workers.Finished += HashFilesFinished; - Workers.UpdateProgress += UpdateProgress; - Workers.UpdateProgress2 += UpdateProgress2; - thdHashFiles.Start(); - }); - } - - void HashFilesFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - thdPulseProgress?.Abort(); - lblProgress.Visible = false; - prgProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress2.Visible = false; - btnStop.Visible = false; - Workers.Failed -= HashFilesFailed; - Workers.Finished -= HashFilesFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - btnExit.Sensitive = true; - btnFolder.Visible = true; - btnArchive.Visible = true; - thdHashFiles = null; - }); - } - - void HashFilesFinished() - { - Application.Invoke(delegate - { - thdPulseProgress?.Abort(); - lblProgress.Visible = false; - prgProgress.Visible = false; - lblProgress.Visible = false; - prgProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress2.Visible = false; - Workers.Failed -= HashFilesFailed; - Workers.Finished -= HashFilesFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - thdHashFiles = null; - - prgProgress.Visible = true; - - thdCheckFiles = new Thread(Workers.CheckDbForFiles); - Workers.Failed += ChkFilesFailed; - Workers.Finished += ChkFilesFinished; - Workers.UpdateProgress += UpdateProgress; - Workers.UpdateProgress2 += UpdateProgress2; - Workers.AddFileForOS += AddFile; - Workers.AddOS += AddOS; - thdCheckFiles.Start(); - }); - } - - void ChkFilesFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - prgProgress.Visible = false; - btnStop.Visible = false; - btnClose.Visible = false; - btnExit.Sensitive = true; - Workers.Failed -= ChkFilesFailed; - Workers.Finished -= ChkFilesFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - Workers.AddFileForOS -= AddFile; - Workers.AddOS -= AddOS; - thdPulseProgress?.Abort(); - thdCheckFiles?.Abort(); - thdHashFiles = null; - fileView?.Clear(); - if(osView == null) return; - - tabTabs.GetNthPage(1).Visible = false; - osView.Clear(); - }); - } - - void ChkFilesFinished() - { - Application.Invoke(delegate - { - Workers.Failed -= ChkFilesFailed; - Workers.Finished -= ChkFilesFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - Workers.AddFileForOS -= AddFile; - Workers.AddOS -= AddOS; - - thdCheckFiles?.Abort(); - thdPulseProgress?.Abort(); - thdHashFiles = null; - prgProgress.Visible = false; - btnStop.Visible = false; - btnClose.Visible = true; - btnExit.Sensitive = true; - btnPack.Visible = true; - btnPack.Sensitive = true; - btnRemoveFile.Visible = true; - btnToggleCrack.Visible = true; - btnRemoveFile.Sensitive = true; - btnToggleCrack.Sensitive = true; - - txtFormat.IsEditable = true; - txtMachine.IsEditable = true; - txtProduct.IsEditable = true; - txtVersion.IsEditable = true; - txtLanguages.IsEditable = true; - txtDeveloper.IsEditable = true; - txtDescription.IsEditable = true; - txtArchitecture.IsEditable = true; - chkOem.Sensitive = true; - chkFiles.Sensitive = true; - chkUpdate.Sensitive = true; - chkUpgrade.Sensitive = true; - chkNetinstall.Sensitive = true; - chkSource.Sensitive = true; - - btnMetadata.Visible = true; - if(Context.Metadata != null) - { - if(Context.Metadata.Developer != null) - foreach(string developer in Context.Metadata.Developer) - { - if(!string.IsNullOrWhiteSpace(txtDeveloper.Text)) txtDeveloper.Text += ","; - txtDeveloper.Text += developer; - } - - if(!string.IsNullOrWhiteSpace(Context.Metadata.Name)) txtProduct.Text = Context.Metadata.Name; - if(!string.IsNullOrWhiteSpace(Context.Metadata.Version)) txtVersion.Text = Context.Metadata.Version; - - if(Context.Metadata.Languages != null) - foreach(LanguagesTypeLanguage language in Context.Metadata.Languages) - { - if(!string.IsNullOrWhiteSpace(txtLanguages.Text)) txtLanguages.Text += ","; - txtLanguages.Text += language; - } - - if(Context.Metadata.Architectures != null) - foreach(ArchitecturesTypeArchitecture architecture in Context.Metadata.Architectures) - { - if(!string.IsNullOrWhiteSpace(txtArchitecture.Text)) txtArchitecture.Text += ","; - txtArchitecture.Text += architecture; - } - - if(Context.Metadata.Systems != null) - foreach(string machine in Context.Metadata.Systems) - { - if(!string.IsNullOrWhiteSpace(txtMachine.Text)) txtMachine.Text += ","; - txtMachine.Text += machine; - } - - btnMetadata.ModifyBg(StateType.Normal, new Color(0, 127, 0)); - } - else btnMetadata.ModifyBg(StateType.Normal, new Color(127, 0, 0)); - - lblStatus.Visible = true; - lblStatus.Text = $"{fileView.IterNChildren()} files ({knownFiles} already known)"; - }); - } - - void AddFile(string filename, string hash, bool known, bool isCrack) - { - Application.Invoke(delegate - { - string color = known ? "green" : "red"; - fileView.AppendValues(filename, hash, known, color, "black", isCrack); - btnPack.Sensitive |= !known; - if(known) knownFiles++; - }); - } - - void AddOS(DbEntry os) - { - Application.Invoke(delegate - { - tabTabs.GetNthPage(1).Visible = true; - osView.AppendValues(os.Developer, os.Product, os.Version, os.Languages, os.Architecture, os.Machine, - os.Format, os.Description, os.Oem, os.Upgrade, os.Update, os.Source, os.Files, - os.Netinstall); - }); - } - - protected void OnBtnExitClicked(object sender, EventArgs e) - { - if(btnClose.Sensitive) btnClose.Click(); - - btnDialog.Click(); - } - - protected void OnBtnCloseClicked(object sender, EventArgs e) - { - btnFolder.Visible = true; - btnArchive.Visible = true; - Context.Path = ""; - Context.Files = null; - Context.Hashes = null; - btnStop.Visible = false; - btnPack.Visible = false; - btnClose.Visible = false; - btnRemoveFile.Visible = false; - btnToggleCrack.Visible = false; - fileView?.Clear(); - if(osView != null) - { - tabTabs.GetNthPage(1).Visible = false; - osView.Clear(); - } - - txtFormat.IsEditable = false; - txtMachine.IsEditable = false; - txtProduct.IsEditable = false; - txtVersion.IsEditable = false; - txtLanguages.IsEditable = false; - txtDeveloper.IsEditable = false; - txtDescription.IsEditable = false; - txtArchitecture.IsEditable = false; - chkOem.Sensitive = false; - chkFiles.Sensitive = false; - chkUpdate.Sensitive = false; - chkUpgrade.Sensitive = false; - chkNetinstall.Sensitive = false; - chkSource.Sensitive = false; - txtFormat.Text = ""; - txtMachine.Text = ""; - txtProduct.Text = ""; - txtVersion.Text = ""; - txtLanguages.Text = ""; - txtDeveloper.Text = ""; - txtDescription.Text = ""; - txtArchitecture.Text = ""; - chkOem.Active = false; - chkFiles.Active = false; - chkUpdate.Active = false; - chkUpgrade.Active = false; - chkNetinstall.Active = false; - chkSource.Active = false; - - if(Context.TmpFolder != null) - { - btnStop.Visible = false; - prgProgress.Visible = true; - prgProgress.Text = "Removing temporary files"; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgress.Pulse(); }); - Thread.Sleep(66); - } - }); - Workers.Failed += RemoveTempFilesFailed; - Workers.Finished += RemoveTempFilesFinished; - thdRemoveTemp = new Thread(Workers.RemoveTempFolder); - thdRemoveTemp.Start(); - } - - btnMetadata.Visible = false; - Context.Metadata = null; - lblStatus.Visible = false; - } - - void UpdateProgress(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - lblProgress.Text = text; - prgProgress.Text = inner; - if(maximum > 0) prgProgress.Fraction = current / (double)maximum; - else prgProgress.Pulse(); - }); - } - - void UpdateProgress2(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - lblProgress2.Text = text; - prgProgress2.Text = inner; - if(maximum > 0) prgProgress2.Fraction = current / (double)maximum; - else prgProgress2.Pulse(); - }); - } - - protected void OnBtnStopClicked(object sender, EventArgs e) - { - stopped = true; - - Workers.AddFileForOS -= AddFile; - Workers.AddOS -= AddOS; - Workers.Failed -= AddFilesToDbFailed; - Workers.Failed -= ChkFilesFailed; - Workers.Failed -= ExtractArchiveFailed; - Workers.Failed -= FindFilesFailed; - Workers.Failed -= HashFilesFailed; - Workers.Failed -= OpenArchiveFailed; - Workers.Failed -= PackFilesFailed; - Workers.Failed -= RemoveTempFilesFailed; - Workers.Finished -= AddFilesToDbFinished; - Workers.Finished -= ChkFilesFinished; - Workers.Finished -= ExtractArchiveFinished; - Workers.Finished -= FindFilesFinished; - Workers.Finished -= HashFilesFinished; - Workers.Finished -= OpenArchiveFinished; - Workers.Finished -= RemoveTempFilesFinished; - Workers.FinishedWithText -= PackFilesFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdFindFiles != null) - { - thdFindFiles.Abort(); - thdFindFiles = null; - } - - if(thdHashFiles != null) - { - thdHashFiles.Abort(); - thdHashFiles = null; - } - - if(thdCheckFiles != null) - { - thdCheckFiles.Abort(); - thdCheckFiles = null; - } - - if(thdAddFiles != null) - { - thdAddFiles.Abort(); - thdAddFiles = null; - } - - if(thdPackFiles != null) - { - thdPackFiles.Abort(); - thdPackFiles = null; - } - - if(thdOpenArchive != null) - { - thdOpenArchive.Abort(); - thdOpenArchive = null; - } - - if(Context.UnarProcess != null) - { - Context.UnarProcess.Kill(); - Context.UnarProcess = null; - } - - if(Context.TmpFolder != null) - { - btnStop.Visible = false; - prgProgress.Text = "Removing temporary files"; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgress.Pulse(); }); - Thread.Sleep(66); - } - }); - Workers.Failed += RemoveTempFilesFailed; - Workers.Finished += RemoveTempFilesFinished; - thdRemoveTemp = new Thread(Workers.RemoveTempFolder); - thdRemoveTemp.Start(); - } - else RestoreUi(); - } - - void RestoreUi() - { - lblProgress.Visible = false; - prgProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress2.Visible = false; - btnExit.Sensitive = true; - btnFolder.Visible = true; - btnArchive.Visible = true; - lblProgress.Visible = false; - prgProgress.Visible = false; - btnExit.Sensitive = true; - btnFolder.Visible = true; - btnArchive.Visible = true; - Workers.Failed -= FindFilesFailed; - Workers.Failed -= HashFilesFailed; - Workers.Failed -= ChkFilesFailed; - Workers.Failed -= OpenArchiveFailed; - Workers.Failed -= AddFilesToDbFailed; - Workers.Failed -= PackFilesFailed; - Workers.Failed -= ExtractArchiveFailed; - Workers.Failed -= RemoveTempFilesFailed; - Workers.Finished -= FindFilesFinished; - Workers.Finished -= HashFilesFinished; - Workers.Finished -= ChkFilesFinished; - Workers.Finished -= OpenArchiveFinished; - Workers.Finished -= AddFilesToDbFinished; - Workers.Finished -= ExtractArchiveFinished; - Workers.Finished -= RemoveTempFilesFinished; - Workers.FinishedWithText -= PackFilesFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - btnStop.Visible = false; - fileView?.Clear(); - if(osView == null || tabTabs?.GetNthPage(1) == null) return; - - tabTabs.GetNthPage(1).Visible = false; - osView.Clear(); - } - - void RemoveTempFilesFailed(string text) - { - Application.Invoke(delegate - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - Workers.Failed -= RemoveTempFilesFailed; - Workers.Finished -= RemoveTempFilesFinished; - Context.Path = null; - Context.TmpFolder = null; - RestoreUi(); - }); - } - - void RemoveTempFilesFinished() - { - Application.Invoke(delegate - { - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - Workers.Failed -= RemoveTempFilesFailed; - Workers.Finished -= RemoveTempFilesFinished; - Context.Path = null; - Context.TmpFolder = null; - RestoreUi(); - }); - } - - void AddToDatabase() - { - btnRemoveFile.Sensitive = false; - btnToggleCrack.Sensitive = false; - btnPack.Sensitive = false; - btnClose.Sensitive = false; - prgProgress.Visible = true; - txtFormat.IsEditable = false; - txtMachine.IsEditable = false; - txtProduct.IsEditable = false; - txtVersion.IsEditable = false; - txtLanguages.IsEditable = false; - txtDeveloper.IsEditable = false; - txtDescription.IsEditable = false; - txtArchitecture.IsEditable = false; - chkOem.Sensitive = false; - chkFiles.Sensitive = false; - chkUpdate.Sensitive = false; - chkUpgrade.Sensitive = false; - chkNetinstall.Sensitive = false; - chkSource.Sensitive = false; - - Workers.UpdateProgress += UpdateProgress; - Workers.Finished += AddFilesToDbFinished; - Workers.Failed += AddFilesToDbFailed; - - Context.DbInfo.Architecture = txtArchitecture.Text; - Context.DbInfo.Description = txtDescription.Text; - Context.DbInfo.Developer = txtDeveloper.Text; - Context.DbInfo.Format = txtFormat.Text; - Context.DbInfo.Languages = txtLanguages.Text; - Context.DbInfo.Machine = txtMachine.Text; - Context.DbInfo.Product = txtProduct.Text; - Context.DbInfo.Version = txtVersion.Text; - Context.DbInfo.Files = chkFiles.Active; - Context.DbInfo.Netinstall = chkNetinstall.Active; - Context.DbInfo.Oem = chkOem.Active; - Context.DbInfo.Source = chkSource.Active; - Context.DbInfo.Update = chkUpdate.Active; - Context.DbInfo.Upgrade = chkUpgrade.Active; - - if(Context.Metadata != null) - { - MemoryStream ms = new MemoryStream(); - XmlSerializer xs = new XmlSerializer(typeof(CICMMetadataType)); - xs.Serialize(ms, Context.Metadata); - Context.DbInfo.Xml = ms.ToArray(); - JsonSerializer js = new JsonSerializer(); - ms = new MemoryStream(); - StreamWriter sw = new StreamWriter(ms); - js.Serialize(sw, Context.Metadata, typeof(CICMMetadataType)); - Context.DbInfo.Json = ms.ToArray(); - } - else - { - Context.DbInfo.Xml = null; - Context.DbInfo.Json = null; - } - - thdAddFiles = new Thread(Workers.AddFilesToDb); - thdAddFiles.Start(); - } - - void AddFilesToDbFinished() - { - Application.Invoke(delegate - { - Workers.UpdateProgress -= UpdateProgress; - Workers.Finished -= AddFilesToDbFinished; - Workers.Failed -= AddFilesToDbFailed; - - thdAddFiles?.Abort(); - thdPulseProgress?.Abort(); - - long counter = 0; - fileView.Clear(); - foreach(KeyValuePair kvp in Context.Hashes) - { - UpdateProgress(null, "Updating table", counter, Context.Hashes.Count); - fileView.AppendValues(kvp.Key, kvp.Value.Sha256, true, "green", "black"); - counter++; - } - - // TODO: Update OS table - - OnAddedOS?.Invoke(Context.DbInfo); - - prgProgress.Visible = false; - btnClose.Sensitive = true; - }); - } - - void AddFilesToDbFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - Workers.UpdateProgress -= UpdateProgress; - Workers.Finished -= AddFilesToDbFinished; - Workers.Failed -= AddFilesToDbFailed; - - thdAddFiles?.Abort(); - thdPulseProgress?.Abort(); - - ChkFilesFinished(); - }); - } - - protected void OnBtnPackClicked(object sender, EventArgs e) - { - btnRemoveFile.Sensitive = false; - btnToggleCrack.Sensitive = false; - btnPack.Sensitive = false; - btnClose.Sensitive = false; - prgProgress.Visible = true; - prgProgress2.Visible = true; - lblProgress.Visible = true; - lblProgress2.Visible = true; - txtFormat.IsEditable = false; - txtMachine.IsEditable = false; - txtProduct.IsEditable = false; - txtVersion.IsEditable = false; - txtLanguages.IsEditable = false; - txtDeveloper.IsEditable = false; - txtDescription.IsEditable = false; - txtArchitecture.IsEditable = false; - chkOem.Sensitive = false; - chkFiles.Sensitive = false; - chkUpdate.Sensitive = false; - chkUpgrade.Sensitive = false; - chkNetinstall.Sensitive = false; - chkSource.Sensitive = false; - - Workers.UpdateProgress += UpdateProgress; - Workers.UpdateProgress2 += UpdateProgress2; - Workers.FinishedWithText += PackFilesFinished; - Workers.Failed += PackFilesFailed; - - Context.DbInfo = new DbEntry - { - Architecture = txtArchitecture.Text, - Description = txtDescription.Text, - Developer = txtDeveloper.Text, - Format = txtFormat.Text, - Languages = txtLanguages.Text, - Machine = txtMachine.Text, - Product = txtProduct.Text, - Version = txtVersion.Text, - Files = chkFiles.Active, - Netinstall = chkNetinstall.Active, - Oem = chkOem.Active, - Source = chkSource.Active, - Update = chkUpdate.Active, - Upgrade = chkUpgrade.Active - }; - - thdPackFiles = new Thread(Workers.CompressFiles); - thdPackFiles.Start(); - } - - void PackFilesFinished(string text) - { - Application.Invoke(delegate - { - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - Workers.FinishedWithText -= PackFilesFinished; - Workers.Failed -= PackFilesFailed; - prgProgress2.Visible = false; - lblProgress2.Visible = false; - - thdPackFiles?.Abort(); - thdPulseProgress?.Abort(); - - AddToDatabase(); - - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Info, ButtonsType.Ok, - "Correctly packed to " + text); - dlgMsg.Run(); - dlgMsg.Destroy(); - }); - } - - public void PackFilesFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - Workers.FinishedWithText -= PackFilesFinished; - Workers.Failed -= PackFilesFailed; - - thdPackFiles?.Abort(); - thdPulseProgress?.Abort(); - - btnRemoveFile.Sensitive = true; - btnToggleCrack.Sensitive = true; - btnPack.Sensitive = true; - btnClose.Sensitive = true; - prgProgress.Visible = false; - prgProgress2.Visible = false; - lblProgress.Visible = false; - lblProgress2.Visible = false; - txtFormat.IsEditable = true; - txtMachine.IsEditable = true; - txtProduct.IsEditable = true; - txtVersion.IsEditable = true; - txtLanguages.IsEditable = true; - txtDeveloper.IsEditable = true; - txtDescription.IsEditable = true; - txtArchitecture.IsEditable = true; - chkOem.Sensitive = true; - chkFiles.Sensitive = true; - chkUpdate.Sensitive = true; - chkUpgrade.Sensitive = true; - chkNetinstall.Sensitive = true; - chkSource.Sensitive = true; - }); - } - - protected void OnBtnArchiveClicked(object sender, EventArgs e) - { - if(!Context.UnarUsable) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Cannot open archives without a working unar installation."); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - FileChooserDialog dlgFolder = - new FileChooserDialog("Open archive", this, FileChooserAction.Open, "Cancel", ResponseType.Cancel, "Open", - ResponseType.Accept) {SelectMultiple = false}; - - if(dlgFolder.Run() == (int)ResponseType.Accept) - { - knownFiles = 0; - stopped = false; - prgProgress.Text = "Opening archive"; - lblProgress.Visible = false; - prgProgress.Visible = true; - btnExit.Sensitive = false; - btnFolder.Visible = false; - btnArchive.Visible = false; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgress.Pulse(); }); - Thread.Sleep(66); - } - }); - - thdOpenArchive = new Thread(Workers.OpenArchive); - Context.Path = dlgFolder.Filename; - Workers.Failed += OpenArchiveFailed; - Workers.Finished += OpenArchiveFinished; - btnStop.Visible = true; - thdPulseProgress.Start(); - thdOpenArchive.Start(); - } - - dlgFolder.Destroy(); - } - - void OpenArchiveFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - thdPulseProgress?.Abort(); - lblProgress.Visible = false; - prgProgress.Visible = false; - btnExit.Sensitive = true; - btnFolder.Visible = true; - btnArchive.Visible = true; - btnStop.Visible = false; - Workers.Failed -= OpenArchiveFailed; - Workers.Finished -= OpenArchiveFinished; - thdOpenArchive = null; - }); - } - - void OpenArchiveFinished() - { - Application.Invoke(delegate - { - stopped = false; - prgProgress.Text = "Extracting archive"; - prgProgress.Visible = true; - prgProgress2.Visible = true; - btnExit.Sensitive = false; - btnFolder.Visible = false; - btnArchive.Visible = false; - thdPulseProgress?.Abort(); - Workers.UpdateProgress += UpdateProgress; - lblProgress.Visible = true; - lblProgress2.Visible = true; - Workers.Failed -= OpenArchiveFailed; - Workers.Finished -= OpenArchiveFinished; - thdOpenArchive = null; - Workers.Failed += ExtractArchiveFailed; - Workers.Finished += ExtractArchiveFinished; - Workers.UpdateProgress2 += UpdateProgress2; - thdExtractArchive = new Thread(Workers.ExtractArchive); - thdExtractArchive.Start(); - }); - } - - void ExtractArchiveFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - thdPulseProgress?.Abort(); - lblProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress2.Visible = false; - btnExit.Sensitive = true; - btnFolder.Visible = true; - btnArchive.Visible = true; - Workers.Failed -= ExtractArchiveFailed; - Workers.Finished -= ExtractArchiveFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - thdExtractArchive = null; - if(Context.TmpFolder == null) return; - - btnStop.Visible = false; - prgProgress.Text = "Removing temporary files"; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgress.Pulse(); }); - Thread.Sleep(66); - } - }); - Workers.Failed += RemoveTempFilesFailed; - Workers.Finished += RemoveTempFilesFinished; - thdRemoveTemp = new Thread(Workers.RemoveTempFolder); - thdRemoveTemp.Start(); - }); - } - - void ExtractArchiveFinished() - { - Application.Invoke(delegate - { - stopped = false; - lblProgress.Text = "Finding files"; - lblProgress.Visible = true; - lblProgress2.Visible = false; - prgProgress.Visible = true; - btnExit.Sensitive = false; - btnFolder.Visible = false; - btnArchive.Visible = false; - Workers.Failed -= ExtractArchiveFailed; - Workers.Finished -= ExtractArchiveFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - if(thdExtractArchive != null) thdExtractArchive = null; - thdPulseProgress?.Abort(); - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgress.Pulse(); }); - Thread.Sleep(66); - } - }); - - thdFindFiles = new Thread(Workers.FindFiles); - Workers.Failed += FindFilesFailed; - Workers.Finished += FindFilesFinished; - btnStop.Visible = true; - thdPulseProgress.Start(); - thdFindFiles.Start(); - }); - } - - protected void OnBtnMetadataClicked(object sender, EventArgs e) - { - dlgMetadata _dlgMetadata = new dlgMetadata {Metadata = Context.Metadata}; - _dlgMetadata.FillFields(); - - if(_dlgMetadata.Run() == (int)ResponseType.Ok) - { - Context.Metadata = _dlgMetadata.Metadata; - - if(string.IsNullOrWhiteSpace(txtDeveloper.Text)) - if(Context.Metadata.Developer != null) - foreach(string developer in Context.Metadata.Developer) - { - if(!string.IsNullOrWhiteSpace(txtDeveloper.Text)) txtDeveloper.Text += ","; - txtDeveloper.Text += developer; - } - - if(string.IsNullOrWhiteSpace(txtProduct.Text)) - if(!string.IsNullOrWhiteSpace(Context.Metadata.Name)) - txtProduct.Text = Context.Metadata.Name; - - if(string.IsNullOrWhiteSpace(txtVersion.Text)) - if(!string.IsNullOrWhiteSpace(Context.Metadata.Version)) - txtVersion.Text = Context.Metadata.Version; - - if(string.IsNullOrWhiteSpace(txtLanguages.Text)) - if(Context.Metadata.Languages != null) - foreach(LanguagesTypeLanguage language in Context.Metadata.Languages) - { - if(!string.IsNullOrWhiteSpace(txtLanguages.Text)) txtLanguages.Text += ","; - txtLanguages.Text += language; - } - - if(string.IsNullOrWhiteSpace(txtArchitecture.Text)) - if(Context.Metadata.Architectures != null) - foreach(ArchitecturesTypeArchitecture architecture in Context.Metadata.Architectures) - { - if(!string.IsNullOrWhiteSpace(txtArchitecture.Text)) txtArchitecture.Text += ","; - txtArchitecture.Text += architecture; - } - - if(string.IsNullOrWhiteSpace(txtMachine.Text)) - if(Context.Metadata.Systems != null) - foreach(string machine in Context.Metadata.Systems) - { - if(!string.IsNullOrWhiteSpace(txtMachine.Text)) txtMachine.Text += ","; - txtMachine.Text += machine; - } - - btnMetadata.ModifyBg(StateType.Normal, new Color(0, 127, 0)); - } - - _dlgMetadata.Destroy(); - } - - protected void OnBtnRemoveFileClicked(object sender, EventArgs e) - { - if(!treeFiles.Selection.GetSelected(out TreeIter fileIter)) return; - - string name = (string)fileView.GetValue(fileIter, 0); - string filesPath; - - if(!string.IsNullOrEmpty(Context.TmpFolder) && Directory.Exists(Context.TmpFolder)) - filesPath = Context.TmpFolder; - else filesPath = Context.Path; - - Context.Hashes.Remove(name); - Context.Files.Remove(System.IO.Path.Combine(filesPath, name)); - fileView.Remove(ref fileIter); - } - - protected void OnBtnToggleCrackClicked(object sender, EventArgs e) - { - if(!treeFiles.Selection.GetSelected(out TreeIter fileIter)) return; - - string name = (string)fileView.GetValue(fileIter, 0); - bool known = (bool)fileView.GetValue(fileIter, 2); - string color = (string)fileView.GetValue(fileIter, 3); - - if(!Context.Hashes.TryGetValue(name, out DbOsFile osfile)) return; - - osfile.Crack = !osfile.Crack; - Context.Hashes.Remove(name); - Context.Hashes.Add(name, osfile); - fileView.Remove(ref fileIter); - fileView.AppendValues(name, osfile.Sha256, known, color, "black", osfile.Crack); - } - - void treeFilesSelectionChanged(object sender, EventArgs e) - { - if(!treeFiles.Selection.GetSelected(out TreeIter fileIter)) return; - - if((bool)fileView.GetValue(fileIter, 5)) btnToggleCrack.Label = "Mark as not crack"; - else btnToggleCrack.Label = "Mark as crack"; - } -} \ No newline at end of file diff --git a/osrepodbmgr/dlgBlockMedia.cs b/osrepodbmgr/dlgBlockMedia.cs deleted file mode 100644 index 2a7494a..0000000 --- a/osrepodbmgr/dlgBlockMedia.cs +++ /dev/null @@ -1,1796 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using System.Collections.Generic; -using Gtk; -using Schemas; -using ImageType = Schemas.ImageType; - -namespace osrepodbmgr -{ - public partial class dlgBlockMedia : Dialog - { - // Non-editable fields - ChecksumType[] checksums; - ChecksumType[] contentChks; - TreeIter dumpHwIter; - bool editingDumpHw; - - bool editingPartition; - TreeIter filesystemIter; - ListStore lstAdditionalInformation; - - ListStore lstAta; - ListStore lstCID; - ListStore lstCSD; - ListStore lstDumpHw; - ListStore lstECSD; - ListStore lstEVPDs; - ListStore lstInquiry; - ListStore lstLogSense; - ListStore lstMAM; - ListStore lstModeSense; - ListStore lstModeSense10; - ListStore lstPartitions; - ListStore lstPCIConfiguration; - ListStore lstPCIOptionROM; - ListStore lstPCMCIACIS; - ListStore lstTracks; - ListStore lstUSBDescriptors; - public BlockMediaType Metadata; - - TreeIter partitionIter; - ScansType scans; - TapePartitionType[] tapeInformation; - BlockSizeType[] variableBlockSize; - - public dlgBlockMedia() - { - Build(); - - #region Set partitions table - lstPartitions = new ListStore(typeof(int), typeof(int), typeof(int), typeof(string), typeof(string), - typeof(string), typeof(ListStore)); - - CellRendererText partSequenceCell = new CellRendererText(); - CellRendererText partStartCell = new CellRendererText(); - CellRendererText partEndCell = new CellRendererText(); - CellRendererText partTypeCell = new CellRendererText(); - CellRendererText partNameCell = new CellRendererText(); - CellRendererText partDescriptionCell = new CellRendererText(); - - TreeViewColumn partSequenceColumn = new TreeViewColumn("Sequence", partSequenceCell, "text", 0); - TreeViewColumn partStartColumn = new TreeViewColumn("Start", partStartCell, "text", 1); - TreeViewColumn partEndColumn = new TreeViewColumn("End", partEndCell, "text", 2); - TreeViewColumn partTypeColumn = new TreeViewColumn("Type", partTypeCell, "text", 3); - TreeViewColumn partNameColumn = new TreeViewColumn("Name", partNameCell, "text", 4); - TreeViewColumn partDescriptionColumn = new TreeViewColumn("Description", partDescriptionCell, "text", 5); - - treePartitions.Model = lstPartitions; - - treePartitions.AppendColumn(partSequenceColumn); - treePartitions.AppendColumn(partStartColumn); - treePartitions.AppendColumn(partEndColumn); - treePartitions.AppendColumn(partTypeColumn); - treePartitions.AppendColumn(partNameColumn); - treePartitions.AppendColumn(partDescriptionColumn); - - treePartitions.Selection.Mode = SelectionMode.Single; - #endregion Set partitions table - - #region Set filesystems table - CellRendererText fsTypeCell = new CellRendererText(); - CellRendererText fsNameCell = new CellRendererText(); - TreeViewColumn fsTypeColumn = new TreeViewColumn("Type", fsTypeCell, "text", 0); - TreeViewColumn fsNameColumn = new TreeViewColumn("Name", fsNameCell, "text", 1); - treeFilesystems.AppendColumn(fsTypeColumn); - treeFilesystems.AppendColumn(fsNameColumn); - treeFilesystems.Selection.Mode = SelectionMode.Single; - #endregion Set filesystems table - - #region Set dump hardware table - lstDumpHw = new ListStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), - typeof(string), typeof(string), typeof(string), typeof(ListStore)); - - CellRendererText hwManufacturerCell = new CellRendererText(); - CellRendererText hwModelCell = new CellRendererText(); - CellRendererText hwRevisionCell = new CellRendererText(); - CellRendererText hwFirmwareCell = new CellRendererText(); - CellRendererText hwSerialCell = new CellRendererText(); - CellRendererText swNameCell = new CellRendererText(); - CellRendererText swVersionCell = new CellRendererText(); - CellRendererText swOSCell = new CellRendererText(); - - TreeViewColumn hwManufacturerColumn = new TreeViewColumn("Manufacturer", hwManufacturerCell, "text", 0); - TreeViewColumn hwModelColumn = new TreeViewColumn("Model", hwModelCell, "text", 1); - TreeViewColumn hwRevisionColumn = new TreeViewColumn("Revision", hwRevisionCell, "text", 2); - TreeViewColumn hwFirmwareColumn = new TreeViewColumn("Firmware", hwFirmwareCell, "text", 3); - TreeViewColumn hwSerialColumn = new TreeViewColumn("Serial", hwSerialCell, "text", 4); - TreeViewColumn swNameColumn = new TreeViewColumn("Software", swNameCell, "text", 5); - TreeViewColumn swVersionColumn = new TreeViewColumn("Version", swVersionCell, "text", 6); - TreeViewColumn swOSColumn = new TreeViewColumn("Operating system", swOSCell, "text", 7); - - treeDumpHardware.Model = lstDumpHw; - - treeDumpHardware.AppendColumn(hwManufacturerColumn); - treeDumpHardware.AppendColumn(hwModelColumn); - treeDumpHardware.AppendColumn(hwRevisionColumn); - treeDumpHardware.AppendColumn(hwFirmwareColumn); - treeDumpHardware.AppendColumn(hwSerialColumn); - treeDumpHardware.AppendColumn(swNameColumn); - treeDumpHardware.AppendColumn(swVersionColumn); - treeDumpHardware.AppendColumn(swOSColumn); - - treeDumpHardware.Selection.Mode = SelectionMode.Single; - - CellRendererText extentStartCell = new CellRendererText(); - CellRendererText extentEndCell = new CellRendererText(); - TreeViewColumn extentStartColumn = new TreeViewColumn("Start", extentStartCell, "text", 0); - TreeViewColumn extentEndColumn = new TreeViewColumn("End", extentEndCell, "text", 1); - treeExtents.AppendColumn(extentStartColumn); - treeExtents.AppendColumn(extentEndColumn); - treeExtents.Selection.Mode = SelectionMode.Single; - #endregion Set dump hardware table - - CellRendererText fileCell = new CellRendererText(); - CellRendererText sizeCell = new CellRendererText(); - TreeViewColumn fileColumn = new TreeViewColumn("File", fileCell, "text", 0); - TreeViewColumn sizeColumn = new TreeViewColumn("Size", sizeCell, "text", 1); - - #region Set ATA IDENTIFY table - lstAta = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeATA.Model = lstAta; - treeATA.AppendColumn(fileColumn); - treeATA.AppendColumn(sizeColumn); - #endregion Set ATA IDENTIFY table - - #region Set PCI configuration table - lstPCIConfiguration = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeATA.Model = lstPCIConfiguration; - treeATA.AppendColumn(fileColumn); - treeATA.AppendColumn(sizeColumn); - #endregion Set PCI configuration table - - #region Set PCMCIA CIS table - lstPCMCIACIS = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeCIS.Model = lstPCMCIACIS; - treeCIS.AppendColumn(fileColumn); - treeCIS.AppendColumn(sizeColumn); - #endregion Set PCI option ROM table - - #region Set CID table - lstCID = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeCID.Model = lstCID; - treeCID.AppendColumn(fileColumn); - treeCID.AppendColumn(sizeColumn); - #endregion Set CID table - - #region Set CSD table - lstCSD = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeCSD.Model = lstCSD; - treeCSD.AppendColumn(fileColumn); - treeCSD.AppendColumn(sizeColumn); - #endregion Set CSD table - - #region Set Extended CSD table - lstECSD = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeECSD.Model = lstECSD; - treeECSD.AppendColumn(fileColumn); - treeECSD.AppendColumn(sizeColumn); - #endregion Set Extended CSD table - - #region Set SCSI INQUIRY table - lstInquiry = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeInquiry.Model = lstInquiry; - treeInquiry.AppendColumn(fileColumn); - treeInquiry.AppendColumn(sizeColumn); - #endregion Set SCSI INQUIRY table - - #region Set SCSI MODE SENSE table - lstModeSense = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeModeSense.Model = lstModeSense; - treeModeSense.AppendColumn(fileColumn); - treeModeSense.AppendColumn(sizeColumn); - #endregion Set SCSI MODE SENSE table - - #region Set SCSI MODE SENSE (10) table - lstModeSense10 = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeModeSense10.Model = lstModeSense10; - treeModeSense10.AppendColumn(fileColumn); - treeModeSense10.AppendColumn(sizeColumn); - #endregion Set SCSI MODE SENSE (10) table - - #region Set SCSI LOG SENSE table - lstLogSense = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeLogSense.Model = lstLogSense; - treeLogSense.AppendColumn(fileColumn); - treeLogSense.AppendColumn(sizeColumn); - #endregion Set SCSI MODE SENSE (10) table - - #region Set SCSI EVPDs table - lstEVPDs = new ListStore(typeof(int), typeof(string), typeof(int), typeof(int), typeof(ChecksumType[])); - - CellRendererText evpdPageCell = new CellRendererText(); - CellRendererText evpdFileCell = new CellRendererText(); - CellRendererText evpdSizeCell = new CellRendererText(); - - TreeViewColumn evpdPageColumn = new TreeViewColumn("Page", evpdPageCell, "text", 0); - TreeViewColumn evpdFileColumn = new TreeViewColumn("File", evpdFileCell, "text", 1); - TreeViewColumn evpdSizecolumn = new TreeViewColumn("Size", evpdSizeCell, "text", 2); - - treeEVPDs.Model = lstEVPDs; - - treeEVPDs.AppendColumn(evpdPageColumn); - treeEVPDs.AppendColumn(evpdFileColumn); - treeEVPDs.AppendColumn(evpdSizecolumn); - - treeEVPDs.Selection.Mode = SelectionMode.Single; - #endregion Set SCSI EVPDs table - - #region Set USB descriptors table - lstUSBDescriptors = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeDescriptors.Model = lstUSBDescriptors; - treeDescriptors.AppendColumn(fileColumn); - treeDescriptors.AppendColumn(sizeColumn); - #endregion Set USB descriptors table - - #region Set MAM table - lstMAM = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeMAM.Model = lstMAM; - treeMAM.AppendColumn(fileColumn); - treeMAM.AppendColumn(sizeColumn); - #endregion Set MAM table - - #region Set Option ROM table - lstPCIOptionROM = new ListStore(typeof(string), typeof(int), typeof(int), typeof(LinearMediaType)); - - CellRendererText romFileCell = new CellRendererText(); - CellRendererText romOffsetCell = new CellRendererText(); - CellRendererText romSizeCell = new CellRendererText(); - - TreeViewColumn romFileColumn = new TreeViewColumn("File", romFileCell, "text", 0); - TreeViewColumn romOffsetColumn = new TreeViewColumn("Offset", romOffsetCell, "text", 1); - TreeViewColumn romSizeColumn = new TreeViewColumn("Size", romSizeCell, "text", 2); - - treeOptionROM.Model = lstPCIOptionROM; - - treeOptionROM.AppendColumn(romFileColumn); - treeOptionROM.AppendColumn(romOffsetColumn); - treeOptionROM.AppendColumn(romSizeColumn); - - treeOptionROM.Selection.Mode = SelectionMode.Single; - #endregion Set Option ROM table - - #region Set tracks table - lstTracks = new ListStore(typeof(string), typeof(int), typeof(int), typeof(string), typeof(int), - typeof(int), typeof(int), typeof(int), typeof(int), typeof(int), typeof(string), - typeof(ChecksumType[])); - - CellRendererText trkFileCell = new CellRendererText(); - CellRendererText trkOffsetCell = new CellRendererText(); - CellRendererText trkSizeCell = new CellRendererText(); - CellRendererText trkImgFormatCell = new CellRendererText(); - CellRendererText trkHeadCell = new CellRendererText(); - CellRendererText trkCylCell = new CellRendererText(); - CellRendererText trkStartCell = new CellRendererText(); - CellRendererText trkEndCell = new CellRendererText(); - CellRendererText trkSectorsCell = new CellRendererText(); - CellRendererText trkBpsCell = new CellRendererText(); - CellRendererText trkFormatCell = new CellRendererText(); - - TreeViewColumn trkFileColumn = new TreeViewColumn("File", trkFileCell, "text", 0); - TreeViewColumn trkOffsetColumn = new TreeViewColumn("Offset", trkOffsetCell, "text", 1); - TreeViewColumn trkSizeColumn = new TreeViewColumn("Size", trkSizeCell, "text", 2); - TreeViewColumn trkImgFormatColumn = new TreeViewColumn("Image format", trkImgFormatCell, "text", 3); - TreeViewColumn trkHeadColumn = new TreeViewColumn("Head", trkHeadCell, "text", 4); - TreeViewColumn trkCylColumn = new TreeViewColumn("Cylinder", trkCylCell, "text", 5); - TreeViewColumn trkStartColumn = new TreeViewColumn("Start", trkStartCell, "text", 6); - TreeViewColumn trkEndColumn = new TreeViewColumn("End", trkEndCell, "text", 7); - TreeViewColumn trkSectorsColumn = new TreeViewColumn("Sectors", trkSectorsCell, "text", 8); - TreeViewColumn trkBpsColumn = new TreeViewColumn("Bytes per sector", trkBpsCell, "text", 9); - TreeViewColumn trkFormatColumn = new TreeViewColumn("Track format", trkFormatCell, "text", 10); - - treeTracks.Model = lstTracks; - - treeTracks.AppendColumn(trkFileColumn); - treeTracks.AppendColumn(trkOffsetColumn); - treeTracks.AppendColumn(trkSizeColumn); - treeTracks.AppendColumn(trkImgFormatColumn); - treeTracks.AppendColumn(trkHeadColumn); - treeTracks.AppendColumn(trkCylColumn); - treeTracks.AppendColumn(trkStartColumn); - treeTracks.AppendColumn(trkEndColumn); - treeTracks.AppendColumn(trkSectorsColumn); - treeTracks.AppendColumn(trkBpsColumn); - treeTracks.AppendColumn(trkFormatColumn); - - treeTracks.Selection.Mode = SelectionMode.Single; - #endregion Set tracks table - - lstAdditionalInformation = new ListStore(typeof(string)); - CellRendererText addInfoCell = new CellRendererText(); - TreeViewColumn addInfoColumn = new TreeViewColumn("Information", addInfoCell, "text", 0); - treeAdditionalInformation.Model = lstAdditionalInformation; - treeAdditionalInformation.AppendColumn(addInfoColumn); - treeAdditionalInformation.Selection.Mode = SelectionMode.Single; - } - - public void FillFields() - { - if(Metadata == null) return; - - txtImage.Text = Metadata.Image.Value; - txtFormat.Text = Metadata.Image.format; - if(Metadata.Image.offsetSpecified) txtOffset.Text = Metadata.Image.offset.ToString(); - txtSize.Text = Metadata.Size.ToString(); - checksums = Metadata.Checksums; - contentChks = Metadata.ContentChecksums; - if(Metadata.Sequence != null) - { - lblMediaTitle.Visible = true; - txtMediaTitle.Visible = true; - lblSequence.Visible = true; - spSequence.Visible = true; - lblTotalMedia.Visible = true; - spTotalMedia.Visible = true; - lblSide.Visible = true; - spSide.Visible = true; - lblLayer.Visible = true; - spLayer.Visible = true; - chkSequence.Active = true; - txtMediaTitle.Text = Metadata.Sequence.MediaTitle; - spSequence.Value = Metadata.Sequence.MediaSequence; - spTotalMedia.Value = Metadata.Sequence.TotalMedia; - if(Metadata.Sequence.SideSpecified) spSide.Value = Metadata.Sequence.Side; - if(Metadata.Sequence.LayerSpecified) spLayer.Value = Metadata.Sequence.Layer; - } - - if(Metadata.Manufacturer != null) txtManufacturer.Text = Metadata.Manufacturer; - if(Metadata.Model != null) txtModel.Text = Metadata.Model; - if(Metadata.Serial != null) txtSerial.Text = Metadata.Serial; - if(Metadata.Firmware != null) txtFirmware.Text = Metadata.Firmware; - if(Metadata.Interface != null) txtInterface.Text = Metadata.Interface; - spPhysicalBlockSize.Value = Metadata.PhysicalBlockSize; - spLogicalBlockSize.Value = Metadata.LogicalBlockSize; - txtBlocks.Text = Metadata.LogicalBlocks.ToString(); - variableBlockSize = Metadata.VariableBlockSize; - tapeInformation = Metadata.TapeInformation; - scans = Metadata.Scans; - if(Metadata.ATA?.Identify != null) - { - chkATA.Active = true; - treeATA.Visible = true; - lstAta.AppendValues(Metadata.ATA.Identify.Image, Metadata.ATA.Identify.Size, - Metadata.ATA.Identify.Checksums); - } - - if(Metadata.PCI != null) - { - chkPCI.Active = true; - lblPCIVendor.Visible = true; - txtPCIVendor.Visible = true; - lblPCIProduct.Visible = true; - txtPCIProduct.Visible = true; - txtPCIVendor.Text = $"0x{Metadata.PCI.VendorID:X4}"; - txtPCIProduct.Text = $"0x{Metadata.PCI.DeviceID:X4}"; - if(Metadata.PCI.Configuration != null) - { - frmPCIConfiguration.Visible = true; - lstPCIConfiguration.AppendValues(Metadata.PCI.Configuration.Image, Metadata.PCI.Configuration.Size, - Metadata.PCI.Configuration.Checksums); - } - - if(Metadata.PCI.ExpansionROM != null) - { - frmOptionROM.Visible = true; - lstPCIOptionROM.AppendValues(Metadata.PCI.ExpansionROM.Image.Value, - Metadata.PCI.ExpansionROM.Image.offset, Metadata.PCI.ExpansionROM.Size, - Metadata.PCI.ExpansionROM); - } - } - - if(Metadata.PCMCIA != null) - { - chkPCMCIA.Active = true; - chkCIS.Visible = true; - lblPCMCIAManufacturer.Visible = true; - txtPCMCIAManufacturer.Visible = true; - lblManufacturerCode.Visible = true; - txtMfgCode.Visible = true; - lblProductName.Visible = true; - txtPCMCIAProductName.Visible = true; - lblCardCode.Visible = true; - txtCardCode.Visible = true; - lblCompliance.Visible = true; - txtCompliance.Visible = true; - - if(Metadata.PCMCIA.CIS != null) - { - treeCIS.Visible = true; - lstPCMCIACIS.AppendValues(Metadata.PCMCIA.CIS.Image, Metadata.PCMCIA.CIS.Size, - Metadata.PCMCIA.CIS.Checksums); - } - - if(Metadata.PCMCIA.Compliance != null) txtCompliance.Text = Metadata.PCMCIA.Compliance; - if(Metadata.PCMCIA.ManufacturerCodeSpecified) - txtMfgCode.Text = - $"0x{Metadata.PCMCIA.ManufacturerCode:X4}"; - if(Metadata.PCMCIA.CardCodeSpecified) - txtCardCode.Text = $"0x{Metadata.PCMCIA.CardCode:X4}"; - if(Metadata.PCMCIA.Manufacturer != null) - txtPCMCIAManufacturer.Text = Metadata.PCMCIA.Manufacturer; - if(Metadata.PCMCIA.ProductName != null) - txtPCMCIAProductName.Text = Metadata.PCMCIA.ProductName; - if(Metadata.PCMCIA.AdditionalInformation != null) - { - lblAdditionalInformation.Visible = true; - treeAdditionalInformation.Visible = true; - - foreach(string addinfo in Metadata.PCMCIA.AdditionalInformation) - lstAdditionalInformation.AppendValues(addinfo); - } - } - - if(Metadata.SecureDigital?.CID != null) - { - chkSecureDigital.Active = true; - chkCSD.Visible = true; - chkECSD.Visible = true; - lblCID.Visible = true; - treeCID.Visible = true; - lstCID.AppendValues(Metadata.SecureDigital.CID.Image, Metadata.SecureDigital.CID.Size, - Metadata.SecureDigital.CID.Checksums); - - if(Metadata.SecureDigital.CSD != null) - { - chkCSD.Active = true; - treeCSD.Visible = true; - lstCSD.AppendValues(Metadata.SecureDigital.CSD.Image, Metadata.SecureDigital.CSD.Size, - Metadata.SecureDigital.CSD.Checksums); - } - - if(Metadata.MultiMediaCard.ExtendedCSD != null) - { - chkECSD.Active = true; - treeECSD.Visible = true; - lstECSD.AppendValues(Metadata.MultiMediaCard.ExtendedCSD.Image, - Metadata.MultiMediaCard.ExtendedCSD.Size, - Metadata.MultiMediaCard.ExtendedCSD.Checksums); - } - } - - if(Metadata.SCSI?.Inquiry != null) - { - chkSCSI.Active = true; - frmInquiry.Visible = true; - lstInquiry.AppendValues(Metadata.SCSI.Inquiry.Image, Metadata.SCSI.Inquiry.Size, - Metadata.SCSI.Inquiry.Checksums); - - if(Metadata.SCSI.ModeSense != null) - { - frmModeSense.Visible = true; - lstModeSense.AppendValues(Metadata.SCSI.ModeSense.Image, Metadata.SCSI.ModeSense.Size, - Metadata.SCSI.ModeSense.Checksums); - } - - if(Metadata.SCSI.ModeSense10 != null) - { - frmModeSense10.Visible = true; - lstModeSense10.AppendValues(Metadata.SCSI.ModeSense10.Image, Metadata.SCSI.ModeSense10.Size, - Metadata.SCSI.ModeSense10.Checksums); - } - - if(Metadata.SCSI.LogSense != null) - { - frmLogSense.Visible = true; - lstLogSense.AppendValues(Metadata.SCSI.LogSense.Image, Metadata.SCSI.LogSense.Size, - Metadata.SCSI.LogSense.Checksums); - } - - if(Metadata.SCSI.EVPD != null) - { - frmEVPDs.Visible = true; - foreach(EVPDType evpd in Metadata.SCSI.EVPD) - lstEVPDs.AppendValues(evpd.page, evpd.Image, evpd.Size, evpd.Checksums); - } - } - - if(Metadata.USB != null) - { - chkUSB.Active = true; - lblUSBVendor.Visible = true; - txtUSBVendor.Visible = true; - lblUSBProduct.Visible = true; - txtUSBProduct.Visible = true; - txtUSBVendor.Text = $"0x{Metadata.USB.VendorID:X4}"; - txtUSBProduct.Text = $"0x{Metadata.USB.ProductID:X4}"; - if(Metadata.USB.Descriptors != null) - { - frmDescriptors.Visible = true; - lstUSBDescriptors.AppendValues(Metadata.USB.Descriptors.Image, Metadata.USB.Descriptors.Size, - Metadata.USB.Descriptors.Checksums); - } - } - - if(Metadata.MAM != null) - { - chkMAM.Active = true; - treeMAM.Visible = true; - lstMAM.AppendValues(Metadata.MAM.Image, Metadata.MAM.Size, Metadata.MAM.Checksums); - } - - if(Metadata.HeadsSpecified) spHeads.Value = Metadata.Heads; - if(Metadata.CylindersSpecified) spCylinders.Value = Metadata.Cylinders; - if(Metadata.SectorsPerTrackSpecified) spSectors.Value = Metadata.SectorsPerTrack; - if(Metadata.Track != null) - { - chkTracks.Active = true; - treeTracks.Visible = true; - foreach(BlockTrackType track in Metadata.Track) - lstTracks.AppendValues(track.Image.Value, track.Image.offset, track.Size, track.Image.format, - track.Head, track.Cylinder, track.StartSector, track.EndSector, - track.Sectors, track.BytesPerSector, track.Format, track.Checksums); - } - - if(Metadata.CopyProtection != null) txtCopyProtection.Text = Metadata.CopyProtection; - if(Metadata.Dimensions != null) - { - chkDimensions.Active = true; - if(Metadata.Dimensions.DiameterSpecified) - { - chkRound.Active = true; - lblDiameter.Visible = true; - spDiameter.Visible = true; - lblDiametersUnits.Visible = true; - spDiameter.Value = Metadata.Dimensions.Diameter; - } - else - { - lblHeight.Visible = true; - spHeight.Visible = true; - lblHeightUnits.Visible = true; - spHeight.Value = Metadata.Dimensions.Height; - lblWidth.Visible = true; - spWidth.Visible = true; - lblWidthUnits.Visible = true; - spWidth.Value = Metadata.Dimensions.Width; - } - - lblThickness.Visible = true; - spThickness.Visible = true; - lblThicknessUnits.Visible = true; - spThickness.Value = Metadata.Dimensions.Thickness; - } - - if(Metadata.FileSystemInformation != null) - foreach(PartitionType partition in Metadata.FileSystemInformation) - { - ListStore lstFilesystems = new ListStore(typeof(string), typeof(string), typeof(FileSystemType)); - if(partition.FileSystems != null) - foreach(FileSystemType fs in partition.FileSystems) - lstFilesystems.AppendValues(fs.Type, fs.VolumeName, fs); - lstPartitions.AppendValues(partition.Sequence, partition.StartSector, partition.EndSector, - partition.Type, partition.Name, partition.Description, lstFilesystems); - } - - if(Metadata.DumpHardwareArray != null) - { - chkDumpHardware.Active = true; - treeDumpHardware.Visible = true; - btnAddHardware.Visible = true; - btnRemoveHardware.Visible = true; - btnEditHardware.Visible = true; - - foreach(DumpHardwareType hw in Metadata.DumpHardwareArray) - { - if(hw.Extents == null) continue; - - ListStore lstExtents = new ListStore(typeof(ulong), typeof(ulong)); - foreach(ExtentType extent in hw.Extents) lstExtents.AppendValues(extent.Start, extent.End); - if(hw.Software != null) - lstDumpHw.AppendValues(hw.Manufacturer, hw.Model, hw.Revision, hw.Firmware, hw.Serial, - hw.Software.Name, hw.Software.Version, hw.Software.OperatingSystem, - lstExtents); - else - lstDumpHw.AppendValues(hw.Manufacturer, hw.Model, hw.Revision, hw.Firmware, hw.Serial, null, - null, null, lstExtents); - } - } - - if(Metadata.DiskType != null) txtMediaType.Text = Metadata.DiskType; - if(Metadata.DiskSubType != null) txtMediaSubtype.Text = Metadata.DiskSubType; - } - - protected void OnChkSequenceToggled(object sender, EventArgs e) - { - lblMediaTitle.Visible = chkSequence.Active; - txtMediaTitle.Visible = chkSequence.Active; - lblSequence.Visible = chkSequence.Active; - spSequence.Visible = chkSequence.Active; - lblTotalMedia.Visible = chkSequence.Active; - spTotalMedia.Visible = chkSequence.Active; - lblSide.Visible = chkSequence.Active; - spSide.Visible = chkSequence.Active; - lblLayer.Visible = chkSequence.Active; - spLayer.Visible = chkSequence.Active; - } - - protected void OnChkDimensionsToggled(object sender, EventArgs e) - { - chkRound.Visible = chkDimensions.Active; - lblThickness.Visible = chkDimensions.Active; - spThickness.Visible = chkDimensions.Active; - lblThicknessUnits.Visible = chkDimensions.Active; - if(chkDimensions.Active) OnChkRoundToggled(sender, e); - else - { - lblDiameter.Visible = false; - spDiameter.Visible = false; - lblDiametersUnits.Visible = false; - lblHeight.Visible = false; - spHeight.Visible = false; - lblHeightUnits.Visible = false; - lblWidth.Visible = false; - spWidth.Visible = false; - lblWidthUnits.Visible = false; - } - } - - protected void OnChkRoundToggled(object sender, EventArgs e) - { - lblDiameter.Visible = chkRound.Active; - spDiameter.Visible = chkRound.Active; - lblDiametersUnits.Visible = chkRound.Active; - lblHeight.Visible = !chkRound.Active; - spHeight.Visible = !chkRound.Active; - lblHeightUnits.Visible = !chkRound.Active; - lblWidth.Visible = !chkRound.Active; - spWidth.Visible = !chkRound.Active; - lblWidthUnits.Visible = !chkRound.Active; - } - - protected void OnChkPCMCIAToggled(object sender, EventArgs e) - { - chkCIS.Visible = chkPCMCIA.Active; - treeCIS.Visible = chkPCMCIA.Active; - lblPCMCIAManufacturer.Visible = chkPCMCIA.Active; - txtPCMCIAManufacturer.Visible = chkPCMCIA.Active; - lblManufacturerCode.Visible = chkPCMCIA.Active; - txtMfgCode.Visible = chkPCMCIA.Active; - lblProductName.Visible = chkPCMCIA.Active; - txtPCMCIAProductName.Visible = chkPCMCIA.Active; - lblCardCode.Visible = chkPCMCIA.Active; - txtCardCode.Visible = chkPCMCIA.Active; - lblCompliance.Visible = chkPCMCIA.Active; - txtCompliance.Visible = chkPCMCIA.Active; - lblAdditionalInformation.Visible = false; - treeAdditionalInformation.Visible = false; - } - - protected void OnBtnCancelPartitionClicked(object sender, EventArgs e) - { - btnCancelPartition.Visible = false; - btnApplyPartition.Visible = false; - btnRemovePartition.Visible = true; - btnEditPartition.Visible = true; - btnAddPartition.Visible = true; - lblPartitionSequence.Visible = false; - spPartitionSequence.Visible = false; - lblPartitionStart.Visible = false; - txtPartitionStart.Visible = false; - lblPartitionEnd.Visible = false; - txtPartitionEnd.Visible = false; - lblPartitionType.Visible = false; - txtPartitionType.Visible = false; - lblPartitionName.Visible = false; - txtPartitionName.Visible = false; - lblPartitionDescription.Visible = false; - txtPartitionDescription.Visible = false; - frmFilesystems.Visible = false; - } - - protected void OnBtnRemovePartitionClicked(object sender, EventArgs e) - { - if(treePartitions.Selection.GetSelected(out partitionIter)) lstPartitions.Remove(ref partitionIter); - } - - protected void OnBtnEditPartitionClicked(object sender, EventArgs e) - { - if(!treePartitions.Selection.GetSelected(out partitionIter)) return; - - spPartitionSequence.Value = (int)lstPartitions.GetValue(partitionIter, 0); - txtPartitionStart.Text = ((int)lstPartitions.GetValue(partitionIter, 1)).ToString(); - txtPartitionEnd.Text = ((int)lstPartitions.GetValue(partitionIter, 2)).ToString(); - txtPartitionType.Text = (string)lstPartitions.GetValue(partitionIter, 3); - txtPartitionName.Text = (string)lstPartitions.GetValue(partitionIter, 4); - txtPartitionDescription.Text = (string)lstPartitions.GetValue(partitionIter, 5); - treeFilesystems.Model = (ListStore)lstPartitions.GetValue(partitionIter, 6); - - btnCancelPartition.Visible = true; - btnApplyPartition.Visible = true; - btnRemovePartition.Visible = false; - btnEditPartition.Visible = false; - btnAddPartition.Visible = false; - lblPartitionSequence.Visible = true; - spPartitionSequence.Visible = true; - lblPartitionStart.Visible = true; - txtPartitionStart.Visible = true; - lblPartitionEnd.Visible = true; - txtPartitionEnd.Visible = true; - lblPartitionType.Visible = true; - txtPartitionType.Visible = true; - lblPartitionName.Visible = true; - txtPartitionName.Visible = true; - lblPartitionDescription.Visible = true; - txtPartitionDescription.Visible = true; - frmFilesystems.Visible = true; - - editingPartition = true; - } - - protected void OnBtnApplyPartitionClicked(object sender, EventArgs e) - { - MessageDialog dlgMsg; - - if(spPartitionSequence.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition sequence must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!int.TryParse(txtPartitionStart.Text, out int temp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition start must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!int.TryParse(txtPartitionEnd.Text, out int temp2)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition end must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(temp2 <= temp) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition must end after start, and be bigger than 1 sector"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(editingPartition) lstPartitions.Remove(ref partitionIter); - - lstPartitions.AppendValues(spPartitionSequence.ValueAsInt, int.Parse(txtPartitionStart.Text), - int.Parse(txtPartitionEnd.Text), txtPartitionType.Text, txtPartitionName.Text, - txtPartitionDescription.Text, (ListStore)treeFilesystems.Model); - - btnCancelPartition.Visible = false; - btnApplyPartition.Visible = false; - btnRemovePartition.Visible = true; - btnEditPartition.Visible = true; - btnAddPartition.Visible = true; - lblPartitionSequence.Visible = false; - spPartitionSequence.Visible = false; - lblPartitionStart.Visible = false; - txtPartitionStart.Visible = false; - lblPartitionEnd.Visible = false; - txtPartitionEnd.Visible = false; - lblPartitionType.Visible = false; - txtPartitionType.Visible = false; - lblPartitionName.Visible = false; - txtPartitionName.Visible = false; - lblPartitionDescription.Visible = false; - txtPartitionDescription.Visible = false; - frmFilesystems.Visible = false; - } - - protected void OnBtnAddPartitionClicked(object sender, EventArgs e) - { - spPartitionSequence.Value = 0; - txtPartitionStart.Text = ""; - txtPartitionEnd.Text = ""; - txtPartitionType.Text = ""; - txtPartitionName.Text = ""; - txtPartitionDescription.Text = ""; - treeFilesystems.Model = new ListStore(typeof(string), typeof(string), typeof(FileSystemType)); - - btnCancelPartition.Visible = true; - btnApplyPartition.Visible = true; - btnRemovePartition.Visible = false; - btnEditPartition.Visible = false; - btnAddPartition.Visible = false; - lblPartitionSequence.Visible = true; - spPartitionSequence.Visible = true; - lblPartitionStart.Visible = true; - txtPartitionStart.Visible = true; - lblPartitionEnd.Visible = true; - txtPartitionEnd.Visible = true; - lblPartitionType.Visible = true; - txtPartitionType.Visible = true; - lblPartitionName.Visible = true; - txtPartitionName.Visible = true; - lblPartitionDescription.Visible = true; - txtPartitionDescription.Visible = true; - frmFilesystems.Visible = true; - - editingPartition = false; - } - - protected void OnBtnRemoveFilesystemClicked(object sender, EventArgs e) - { - if(treeFilesystems.Selection.GetSelected(out filesystemIter)) - ((ListStore)treeFilesystems.Model).Remove(ref filesystemIter); - } - - protected void OnBtnEditFilesystemClicked(object sender, EventArgs e) - { - if(!treeFilesystems.Selection.GetSelected(out filesystemIter)) return; - - dlgFilesystem _dlgFilesystem = new dlgFilesystem - { - Metadata = (FileSystemType)((ListStore)treeFilesystems.Model).GetValue(filesystemIter, 2) - }; - _dlgFilesystem.FillFields(); - - if(_dlgFilesystem.Run() == (int)ResponseType.Ok) - { - ((ListStore)treeFilesystems.Model).Remove(ref filesystemIter); - ((ListStore)treeFilesystems.Model).AppendValues(_dlgFilesystem.Metadata.Type, - _dlgFilesystem.Metadata.VolumeName, - _dlgFilesystem.Metadata); - } - - _dlgFilesystem.Destroy(); - } - - protected void OnBtnAddFilesystemClicked(object sender, EventArgs e) - { - dlgFilesystem _dlgFilesystem = new dlgFilesystem(); - - if(_dlgFilesystem.Run() == (int)ResponseType.Ok) - ((ListStore)treeFilesystems.Model).AppendValues(_dlgFilesystem.Metadata.Type, - _dlgFilesystem.Metadata.VolumeName, - _dlgFilesystem.Metadata); - - _dlgFilesystem.Destroy(); - } - - protected void OnChkDumpHardwareToggled(object sender, EventArgs e) - { - treeDumpHardware.Visible = chkDumpHardware.Active; - btnAddHardware.Visible = chkDumpHardware.Active; - btnRemoveHardware.Visible = chkDumpHardware.Active; - btnEditHardware.Visible = chkDumpHardware.Active; - - btnCancelHardware.Visible = false; - btnApplyHardware.Visible = false; - lblHWManufacturer.Visible = false; - txtHWManufacturer.Visible = false; - lblHWModel.Visible = false; - txtHWModel.Visible = false; - lblHWRevision.Visible = false; - txtHWRevision.Visible = false; - lblHWFirmware.Visible = false; - txtHWFirmware.Visible = false; - lblHWSerial.Visible = false; - txtHWSerial.Visible = false; - frmExtents.Visible = false; - frmDumpSoftware.Visible = false; - } - - protected void OnBtnCancelHardwareClicked(object sender, EventArgs e) - { - btnAddHardware.Visible = true; - btnRemoveHardware.Visible = true; - btnCancelHardware.Visible = false; - btnEditHardware.Visible = true; - btnApplyHardware.Visible = false; - lblHWManufacturer.Visible = false; - txtHWManufacturer.Visible = false; - lblHWModel.Visible = false; - txtHWModel.Visible = false; - lblHWRevision.Visible = false; - txtHWRevision.Visible = false; - lblHWFirmware.Visible = false; - txtHWFirmware.Visible = false; - lblHWSerial.Visible = false; - txtHWSerial.Visible = false; - frmExtents.Visible = false; - frmDumpSoftware.Visible = false; - } - - protected void OnBtnRemoveHardwareClicked(object sender, EventArgs e) - { - if(treeDumpHardware.Selection.GetSelected(out TreeIter dumphwIter)) lstDumpHw.Remove(ref dumphwIter); - } - - protected void OnBtnEditHardwareClicked(object sender, EventArgs e) - { - if(!treeDumpHardware.Selection.GetSelected(out dumpHwIter)) return; - - txtHWManufacturer.Text = (string)lstDumpHw.GetValue(dumpHwIter, 0); - txtHWModel.Text = (string)lstDumpHw.GetValue(dumpHwIter, 1); - txtHWRevision.Text = (string)lstDumpHw.GetValue(dumpHwIter, 2); - txtHWFirmware.Text = (string)lstDumpHw.GetValue(dumpHwIter, 3); - txtHWSerial.Text = (string)lstDumpHw.GetValue(dumpHwIter, 4); - txtDumpName.Text = (string)lstDumpHw.GetValue(dumpHwIter, 5); - txtDumpVersion.Text = (string)lstDumpHw.GetValue(dumpHwIter, 6); - txtDumpOS.Text = (string)lstDumpHw.GetValue(dumpHwIter, 7); - treeExtents.Model = (ListStore)lstDumpHw.GetValue(dumpHwIter, 8); - - btnAddHardware.Visible = false; - btnRemoveHardware.Visible = false; - btnCancelHardware.Visible = true; - btnEditHardware.Visible = false; - btnApplyHardware.Visible = true; - lblHWManufacturer.Visible = true; - txtHWManufacturer.Visible = true; - lblHWModel.Visible = true; - txtHWModel.Visible = true; - lblHWRevision.Visible = true; - txtHWRevision.Visible = true; - lblHWFirmware.Visible = true; - txtHWFirmware.Visible = true; - lblHWSerial.Visible = true; - txtHWSerial.Visible = true; - frmExtents.Visible = true; - frmDumpSoftware.Visible = true; - - editingDumpHw = true; - } - - protected void OnBtnApplyHardwareClicked(object sender, EventArgs e) - { - if(editingDumpHw) lstDumpHw.Remove(ref dumpHwIter); - - lstDumpHw.AppendValues(txtHWManufacturer.Text, txtHWModel.Text, txtHWRevision.Text, txtHWFirmware.Text, - txtHWSerial.Text, txtDumpName.Text, txtDumpVersion.Text, txtDumpOS.Text, - (ListStore)treeExtents.Model); - - btnAddHardware.Visible = true; - btnRemoveHardware.Visible = true; - btnCancelHardware.Visible = false; - btnEditHardware.Visible = true; - btnApplyHardware.Visible = false; - lblHWManufacturer.Visible = false; - txtHWManufacturer.Visible = false; - lblHWModel.Visible = false; - txtHWModel.Visible = false; - lblHWRevision.Visible = false; - txtHWRevision.Visible = false; - lblHWFirmware.Visible = false; - txtHWFirmware.Visible = false; - lblHWSerial.Visible = false; - txtHWSerial.Visible = false; - frmExtents.Visible = false; - frmDumpSoftware.Visible = false; - } - - protected void OnBtnAddHardwareClicked(object sender, EventArgs e) - { - txtHWManufacturer.Text = ""; - txtHWModel.Text = ""; - txtHWRevision.Text = ""; - txtHWFirmware.Text = ""; - txtHWSerial.Text = ""; - txtDumpName.Text = ""; - txtDumpVersion.Text = ""; - txtDumpOS.Text = ""; - treeExtents.Model = new ListStore(typeof(int), typeof(int)); - - btnAddHardware.Visible = false; - btnRemoveHardware.Visible = false; - btnCancelHardware.Visible = true; - btnEditHardware.Visible = false; - btnApplyHardware.Visible = true; - lblHWManufacturer.Visible = true; - txtHWManufacturer.Visible = true; - lblHWModel.Visible = true; - txtHWModel.Visible = true; - lblHWRevision.Visible = true; - txtHWRevision.Visible = true; - lblHWFirmware.Visible = true; - txtHWFirmware.Visible = true; - lblHWSerial.Visible = true; - txtHWSerial.Visible = true; - frmExtents.Visible = true; - frmDumpSoftware.Visible = true; - - editingDumpHw = false; - } - - protected void OnBtnRemoveExtentClicked(object sender, EventArgs e) - { - if(treeExtents.Selection.GetSelected(out TreeIter extentIter)) - ((ListStore)treeExtents.Model).Remove(ref extentIter); - } - - protected void OnBtnAddExtentClicked(object sender, EventArgs e) - { - ((ListStore)treeExtents.Model).AppendValues(spExtentStart.ValueAsInt, spExtentEnd.ValueAsInt); - } - - protected void OnButtonOkClicked(object sender, EventArgs e) { } - - protected void OnBtnCancelClicked(object sender, EventArgs e) - { - buttonCancel.Click(); - } - - protected void OnBtnSaveClicked(object sender, EventArgs e) - { - MessageDialog dlgMsg; - - #region Sanity checks - if(string.IsNullOrEmpty(txtFormat.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Image format cannot be null"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(chkSequence.Active) - { - if(spSequence.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Media sequence must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spTotalMedia.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Total medias must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spSequence.Value > spTotalMedia.Value) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Media sequence cannot be bigger than total medias"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(string.IsNullOrEmpty(txtBlocks.Text) || !long.TryParse(txtBlocks.Text, out long ltmp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Blocks must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(ltmp < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Blocks must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spPhysicalBlockSize.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Physical Block Size must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spLogicalBlockSize.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Logical Block Size must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spPhysicalBlockSize.Value < spLogicalBlockSize.Value) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Physical Block Size must be bigger than Logical Block Size"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(chkDimensions.Active) - { - if(chkRound.Active) - { - if(spDiameter.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Diameter must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - else - { - if(spHeight.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Height must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spWidth.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Width must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(spThickness.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Thickness must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(chkPCI.Active) - { - if(string.IsNullOrWhiteSpace(txtPCIVendor.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Vendor ID must be set"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(string.IsNullOrWhiteSpace(txtPCIProduct.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Product ID must be set"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - try - { - if(Convert.ToInt32(txtPCIVendor.Text, 16) < 0 || Convert.ToInt32(txtPCIVendor.Text, 16) > 0xFFFF) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Vendor ID must be between 0x0000 and 0xFFFF"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - catch(FormatException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Vendor ID must be a number in hexadecimal format"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - catch(OverflowException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Vendor ID must not be negative"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - try - { - if(Convert.ToInt32(txtPCIProduct.Text, 16) < 0 || Convert.ToInt32(txtPCIProduct.Text, 16) > 0xFFFF) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Product ID must be between 0x0000 and 0xFFFF"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - catch(FormatException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Product ID must be a number in hexadecimal format"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - catch(OverflowException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCI Product ID must not be negative"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(chkPCMCIA.Active) - { - if(string.IsNullOrWhiteSpace(txtPCMCIAManufacturer.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Manufacturer Code must be set"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(string.IsNullOrWhiteSpace(txtCardCode.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Card Code must be set"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - try - { - if(Convert.ToInt32(txtMfgCode.Text, 16) < 0 || Convert.ToInt32(txtMfgCode.Text, 16) > 0xFFFF) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Manufacturer Code must be between 0x0000 and 0xFFFF"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - catch(FormatException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Manufacturer Code must be a number in hexadecimal format"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - catch(OverflowException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Manufacturer Code must not be negative"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - try - { - if(Convert.ToInt32(txtCardCode.Text, 16) < 0 || Convert.ToInt32(txtCardCode.Text, 16) > 0xFFFF) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Card Code must be between 0x0000 and 0xFFFF"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - catch(FormatException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Card Code must be a number in hexadecimal format"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - catch(OverflowException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "PCMCIA Card Code must not be negative"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(chkUSB.Active) - { - if(string.IsNullOrWhiteSpace(txtUSBVendor.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Vendor ID must be set"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(string.IsNullOrWhiteSpace(txtUSBProduct.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Product ID must be set"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - try - { - if(Convert.ToInt32(txtUSBVendor.Text, 16) < 0 || Convert.ToInt32(txtUSBVendor.Text, 16) > 0xFFFF) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Vendor ID must be between 0x0000 and 0xFFFF"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - catch(FormatException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Vendor ID must be a number in hexadecimal format"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - catch(OverflowException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Vendor ID must not be negative"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - try - { - if(Convert.ToInt32(txtUSBProduct.Text, 16) < 0 || Convert.ToInt32(txtUSBProduct.Text, 16) > 0xFFFF) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Product ID must be between 0x0000 and 0xFFFF"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - catch(FormatException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Product ID must be a number in hexadecimal format"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - catch(OverflowException) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "USB Product ID must not be negative"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(chkDumpHardware.Active) - if(lstDumpHw.IterNChildren() < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "If dump hardware is known at least an entry must be created"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - #endregion Sanity checks - - Metadata = new BlockMediaType {Image = new ImageType {Value = txtImage.Text, format = txtFormat.Text}}; - - if(!string.IsNullOrWhiteSpace(txtOffset.Text) && long.TryParse(txtOffset.Text, out ltmp)) - { - Metadata.Image.offsetSpecified = true; - Metadata.Image.offset = long.Parse(txtOffset.Text); - } - - Metadata.Size = long.Parse(txtSize.Text); - Metadata.Checksums = checksums; - Metadata.ContentChecksums = contentChks; - - if(chkSequence.Active) - { - Metadata.Sequence = new SequenceType - { - MediaTitle = txtMediaTitle.Text, - MediaSequence = spSequence.ValueAsInt, - TotalMedia = spTotalMedia.ValueAsInt - }; - if(spSide.ValueAsInt > 0) - { - Metadata.Sequence.SideSpecified = true; - Metadata.Sequence.Side = spSide.ValueAsInt; - } - - if(spLayer.ValueAsInt > 0) - { - Metadata.Sequence.LayerSpecified = true; - Metadata.Sequence.Layer = spLayer.ValueAsInt; - } - } - - if(!string.IsNullOrWhiteSpace(txtManufacturer.Text)) Metadata.Manufacturer = txtManufacturer.Text; - if(!string.IsNullOrWhiteSpace(txtModel.Text)) Metadata.Model = txtModel.Text; - if(!string.IsNullOrWhiteSpace(txtSerial.Text)) Metadata.Serial = txtSerial.Text; - if(!string.IsNullOrWhiteSpace(txtFirmware.Text)) Metadata.Firmware = txtFirmware.Text; - if(!string.IsNullOrWhiteSpace(txtInterface.Text)) Metadata.Interface = txtInterface.Text; - - Metadata.PhysicalBlockSize = spPhysicalBlockSize.ValueAsInt; - Metadata.LogicalBlockSize = spLogicalBlockSize.ValueAsInt; - Metadata.LogicalBlocks = long.Parse(txtBlocks.Text); - Metadata.VariableBlockSize = variableBlockSize; - Metadata.TapeInformation = tapeInformation; - Metadata.Scans = scans; - - if(chkATA.Active && lstAta.GetIterFirst(out TreeIter outIter)) - Metadata.ATA = new ATAType - { - Identify = new DumpType - { - Image = (string)lstAta.GetValue(outIter, 0), - Size = (int)lstAta.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstAta.GetValue(outIter, 2) - } - }; - - if(chkPCI.Active) - { - Metadata.PCI = new PCIType - { - VendorID = Convert.ToUInt16(txtPCIVendor.Text, 16), - DeviceID = Convert.ToUInt16(txtPCIProduct.Text, 16) - }; - - if(lstPCIConfiguration.GetIterFirst(out outIter)) - Metadata.PCI.Configuration = new DumpType - { - Image = (string)lstPCIConfiguration.GetValue(outIter, 0), - Size = (int)lstPCIConfiguration.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstPCIConfiguration.GetValue(outIter, 2) - }; - - if(lstPCIOptionROM.GetIterFirst(out outIter)) - Metadata.PCI.ExpansionROM = (LinearMediaType)lstPCIOptionROM.GetValue(outIter, 3); - } - - if(chkPCMCIA.Active) - { - Metadata.PCMCIA = new PCMCIAType(); - - if(lstPCMCIACIS.GetIterFirst(out outIter)) - Metadata.PCMCIA.CIS = new DumpType - { - Image = (string)lstPCMCIACIS.GetValue(outIter, 0), - Size = (int)lstPCMCIACIS.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstPCMCIACIS.GetValue(outIter, 2) - }; - - if(!string.IsNullOrWhiteSpace(txtCompliance.Text)) Metadata.PCMCIA.Compliance = txtCompliance.Text; - if(!string.IsNullOrWhiteSpace(txtPCMCIAManufacturer.Text)) - Metadata.PCMCIA.Manufacturer = txtPCMCIAManufacturer.Text; - if(!string.IsNullOrWhiteSpace(txtPCMCIAProductName.Text)) - Metadata.PCMCIA.ProductName = txtPCMCIAProductName.Text; - if(!string.IsNullOrWhiteSpace(txtMfgCode.Text)) - { - Metadata.PCMCIA.ManufacturerCodeSpecified = true; - Metadata.PCMCIA.ManufacturerCode = Convert.ToUInt16(txtMfgCode.Text, 16); - } - - if(!string.IsNullOrWhiteSpace(txtCardCode.Text)) - { - Metadata.PCMCIA.CardCodeSpecified = true; - Metadata.PCMCIA.CardCode = Convert.ToUInt16(txtCardCode.Text, 16); - } - - if(lstAdditionalInformation.GetIterFirst(out outIter)) - { - List addinfos = new List(); - do addinfos.Add((string)lstAdditionalInformation.GetValue(outIter, 0)); - while(lstAdditionalInformation.IterNext(ref outIter)); - Metadata.PCMCIA.AdditionalInformation = addinfos.ToArray(); - } - } - - if(chkSecureDigital.Active) - { - Metadata.SecureDigital = new SecureDigitalType(); - - if(lstCID.GetIterFirst(out outIter)) - Metadata.SecureDigital.CID = new DumpType - { - Image = (string)lstCID.GetValue(outIter, 0), - Size = (int)lstCID.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstCID.GetValue(outIter, 2) - }; - if(lstCSD.GetIterFirst(out outIter)) - Metadata.SecureDigital.CSD = new DumpType - { - Image = (string)lstCSD.GetValue(outIter, 0), - Size = (int)lstCSD.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstCSD.GetValue(outIter, 2) - }; - if(lstECSD.GetIterFirst(out outIter)) - Metadata.MultiMediaCard.ExtendedCSD = new DumpType - { - Image = (string)lstECSD.GetValue(outIter, 0), - Size = (int)lstECSD.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstECSD.GetValue(outIter, 2) - }; - } - - if(chkSCSI.Active) - { - Metadata.SCSI = new SCSIType(); - - if(lstInquiry.GetIterFirst(out outIter)) - Metadata.SCSI.Inquiry = new DumpType - { - Image = (string)lstInquiry.GetValue(outIter, 0), - Size = (int)lstInquiry.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstInquiry.GetValue(outIter, 2) - }; - if(lstModeSense.GetIterFirst(out outIter)) - Metadata.SCSI.ModeSense = new DumpType - { - Image = (string)lstModeSense.GetValue(outIter, 0), - Size = (int)lstModeSense.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstModeSense.GetValue(outIter, 2) - }; - if(lstModeSense10.GetIterFirst(out outIter)) - Metadata.SCSI.ModeSense10 = new DumpType - { - Image = (string)lstModeSense10.GetValue(outIter, 0), - Size = (int)lstModeSense10.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstModeSense10.GetValue(outIter, 2) - }; - if(lstLogSense.GetIterFirst(out outIter)) - Metadata.SCSI.LogSense = new DumpType - { - Image = (string)lstLogSense.GetValue(outIter, 0), - Size = (int)lstLogSense.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstLogSense.GetValue(outIter, 2) - }; - if(lstEVPDs.GetIterFirst(out outIter)) - { - List evpds = new List(); - do - evpds.Add(new EVPDType - { - page = (int)lstEVPDs.GetValue(outIter, 0), - pageSpecified = true, - Image = (string)lstEVPDs.GetValue(outIter, 1), - Size = (long)lstEVPDs.GetValue(outIter, 2), - Checksums = (ChecksumType[])lstEVPDs.GetValue(outIter, 3) - }); - while(lstEVPDs.IterNext(ref outIter)); - Metadata.SCSI.EVPD = evpds.ToArray(); - } - } - - if(chkUSB.Active) - { - Metadata.USB = new USBType - { - VendorID = Convert.ToUInt16(txtUSBVendor.Text, 16), - ProductID = Convert.ToUInt16(txtUSBProduct.Text, 16) - }; - - if(lstUSBDescriptors.GetIterFirst(out outIter)) - Metadata.USB.Descriptors = new DumpType - { - Image = (string)lstUSBDescriptors.GetValue(outIter, 0), - Size = (int)lstUSBDescriptors.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstUSBDescriptors.GetValue(outIter, 2) - }; - } - - if(chkMAM.Active && lstMAM.GetIterFirst(out outIter)) - Metadata.MAM = new DumpType - { - Image = (string)lstMAM.GetValue(outIter, 0), - Size = (int)lstMAM.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstMAM.GetValue(outIter, 2) - }; - - if(spHeads.ValueAsInt > 0 && spCylinders.ValueAsInt > 0 && spSectors.ValueAsInt > 0) - { - Metadata.HeadsSpecified = true; - Metadata.CylindersSpecified = true; - Metadata.SectorsPerTrackSpecified = true; - Metadata.Heads = spHeads.ValueAsInt; - Metadata.Cylinders = spCylinders.ValueAsInt; - Metadata.SectorsPerTrack = spSectors.ValueAsInt; - } - - if(lstTracks.GetIterFirst(out outIter)) - { - List tracks = new List(); - do - { - BlockTrackType track = new BlockTrackType - { - Image = - new ImageType - { - Value = (string)lstTracks.GetValue(outIter, 0), - offset = (long)lstTracks.GetValue(outIter, 1), - format = (string)lstTracks.GetValue(outIter, 3) - }, - Size = (long)lstTracks.GetValue(outIter, 2), - Head = (long)lstTracks.GetValue(outIter, 4), - Cylinder = (long)lstTracks.GetValue(outIter, 5), - StartSector = (long)lstTracks.GetValue(outIter, 6), - EndSector = (long)lstTracks.GetValue(outIter, 7), - Sectors = (long)lstTracks.GetValue(outIter, 8), - BytesPerSector = (int)lstTracks.GetValue(outIter, 9), - Format = (string)lstTracks.GetValue(outIter, 10), - Checksums = (ChecksumType[])lstTracks.GetValue(outIter, 11) - }; - if(track.Image.offset > 0) track.Image.offsetSpecified = true; - tracks.Add(track); - } - while(lstTracks.IterNext(ref outIter)); - - Metadata.Track = tracks.ToArray(); - } - - if(!string.IsNullOrWhiteSpace(txtCopyProtection.Text)) Metadata.CopyProtection = txtCopyProtection.Text; - - if(chkDimensions.Active) - { - Metadata.Dimensions = new DimensionsType(); - if(chkRound.Active) - { - Metadata.Dimensions.DiameterSpecified = true; - Metadata.Dimensions.Diameter = spDiameter.Value; - } - else - { - Metadata.Dimensions.HeightSpecified = true; - Metadata.Dimensions.WidthSpecified = true; - Metadata.Dimensions.Height = spHeight.Value; - Metadata.Dimensions.Width = spWidth.Value; - } - - Metadata.Dimensions.Thickness = spThickness.Value; - } - - if(lstPartitions.GetIterFirst(out outIter)) - { - List partitions = new List(); - do - { - PartitionType partition = new PartitionType - { - Sequence = (int)lstPartitions.GetValue(outIter, 0), - StartSector = (int)lstPartitions.GetValue(outIter, 1), - EndSector = (int)lstPartitions.GetValue(outIter, 2), - Type = (string)lstPartitions.GetValue(outIter, 3), - Name = (string)lstPartitions.GetValue(outIter, 4), - Description = (string)lstPartitions.GetValue(outIter, 5) - }; - ListStore lstFilesystems = (ListStore)lstPartitions.GetValue(outIter, 6); - - if(lstFilesystems.GetIterFirst(out TreeIter fsIter)) - { - List fss = new List(); - do - { - FileSystemType fs = (FileSystemType)lstFilesystems.GetValue(fsIter, 2); - fss.Add(fs); - } - while(lstFilesystems.IterNext(ref fsIter)); - - partition.FileSystems = fss.ToArray(); - } - - partitions.Add(partition); - } - while(lstPartitions.IterNext(ref outIter)); - - Metadata.FileSystemInformation = partitions.ToArray(); - } - - if(chkDumpHardware.Active && lstDumpHw.GetIterFirst(out outIter)) - { - List dumps = new List(); - do - { - DumpHardwareType dump = new DumpHardwareType - { - Software = new SoftwareType(), - Manufacturer = (string)lstDumpHw.GetValue(outIter, 0), - Model = (string)lstDumpHw.GetValue(outIter, 1), - Revision = (string)lstDumpHw.GetValue(outIter, 2), - Firmware = (string)lstDumpHw.GetValue(outIter, 3), - Serial = (string)lstDumpHw.GetValue(outIter, 4) - }; - - dump.Software.Name = (string)lstDumpHw.GetValue(outIter, 5); - dump.Software.Version = (string)lstDumpHw.GetValue(outIter, 6); - dump.Software.OperatingSystem = (string)lstDumpHw.GetValue(outIter, 7); - ListStore lstExtents = (ListStore)lstDumpHw.GetValue(outIter, 8); - - if(lstExtents.GetIterFirst(out TreeIter extIter)) - { - List extents = new List(); - do - { - ExtentType extent = new ExtentType - { - Start = (ulong)lstExtents.GetValue(extIter, 0), - End = (ulong)lstExtents.GetValue(extIter, 1) - }; - extents.Add(extent); - } - while(lstExtents.IterNext(ref extIter)); - - dump.Extents = extents.ToArray(); - } - - dumps.Add(dump); - } - while(lstDumpHw.IterNext(ref outIter)); - - Metadata.DumpHardwareArray = dumps.ToArray(); - } - - if(!string.IsNullOrWhiteSpace(txtMediaType.Text)) Metadata.DiskType = txtMediaType.Text; - if(!string.IsNullOrWhiteSpace(txtMediaSubtype.Text)) Metadata.DiskSubType = txtMediaSubtype.Text; - - buttonOk.Click(); - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/dlgFilesystem.cs b/osrepodbmgr/dlgFilesystem.cs deleted file mode 100644 index a0c76c2..0000000 --- a/osrepodbmgr/dlgFilesystem.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using Gtk; -using Schemas; - -namespace osrepodbmgr -{ - public partial class dlgFilesystem : Dialog - { - public FileSystemType Metadata; - - public dlgFilesystem() - { - Build(); - } - - public void FillFields() - { - if(Metadata == null) return; - - if(Metadata.Type != null) txtType.Text = Metadata.Type; - if(Metadata.CreationDateSpecified) - { - chkCreationDate.Active = true; - cldCreationDate.Sensitive = true; - cldCreationDate.Date = Metadata.CreationDate; - } - - if(Metadata.ModificationDateSpecified) - { - chkModificationDate.Active = true; - cldModificationDate.Sensitive = true; - cldModificationDate.Date = Metadata.ModificationDate; - } - - if(Metadata.BackupDateSpecified) - { - chkBackupDate.Active = true; - cldBackupDate.Sensitive = true; - cldBackupDate.Date = Metadata.BackupDate; - } - - spClusterSize.Value = Metadata.ClusterSize; - txtClusters.Text = Metadata.Clusters.ToString(); - if(Metadata.FilesSpecified) txtFiles.Text = Metadata.Files.ToString(); - chkBootable.Active = Metadata.Bootable; - if(Metadata.VolumeSerial != null) txtSerial.Text = Metadata.VolumeSerial; - if(Metadata.VolumeName != null) txtLabel.Text = Metadata.VolumeName; - if(Metadata.FreeClustersSpecified) txtFreeClusters.Text = Metadata.FreeClusters.ToString(); - chkDirty.Active = Metadata.Dirty; - if(Metadata.ExpirationDateSpecified) - { - chkExpirationDate.Active = true; - cldExpirationDate.Sensitive = true; - cldExpirationDate.Date = Metadata.ExpirationDate; - } - - if(Metadata.EffectiveDateSpecified) - { - chkEffectiveDate.Active = true; - cldEffectiveDate.Sensitive = true; - cldEffectiveDate.Date = Metadata.EffectiveDate; - } - - if(Metadata.SystemIdentifier != null) txtSysId.Text = Metadata.SystemIdentifier; - if(Metadata.VolumeSetIdentifier != null) txtVolId.Text = Metadata.VolumeSetIdentifier; - if(Metadata.PublisherIdentifier != null) txtPubId.Text = Metadata.PublisherIdentifier; - if(Metadata.DataPreparerIdentifier != null) txtDataId.Text = Metadata.DataPreparerIdentifier; - if(Metadata.ApplicationIdentifier != null) txtAppId.Text = Metadata.ApplicationIdentifier; - } - - protected void OnChkCreationDateToggled(object sender, EventArgs e) - { - cldCreationDate.Sensitive = chkCreationDate.Active; - } - - protected void OnChkModificationDateToggled(object sender, EventArgs e) - { - cldModificationDate.Sensitive = chkModificationDate.Active; - } - - protected void OnChkEffectiveDateToggled(object sender, EventArgs e) - { - cldEffectiveDate.Sensitive = chkEffectiveDate.Active; - } - - protected void OnChkExpirationDateToggled(object sender, EventArgs e) - { - cldExpirationDate.Sensitive = chkExpirationDate.Active; - } - - protected void OnChkBackupDateToggled(object sender, EventArgs e) - { - cldBackupDate.Sensitive = chkBackupDate.Active; - } - - protected void OnButtonOkClicked(object sender, EventArgs e) { } - - protected void OnBtnCancelClicked(object sender, EventArgs e) - { - buttonCancel.Click(); - } - - protected void OnBtnSaveClicked(object sender, EventArgs e) - { - MessageDialog dlgMsg; - - if(string.IsNullOrWhiteSpace(txtType.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Filesystem type cannot be empty"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spClusterSize.ValueAsInt < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Clusters must be bigger than 0 bytes"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!long.TryParse(txtClusters.Text, out long temp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Clusters must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(temp < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Filesystem must have more than 0 clusters"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!string.IsNullOrWhiteSpace(txtFiles.Text) && !long.TryParse(txtFiles.Text, out temp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Files must be a number, or empty for unknown"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!string.IsNullOrWhiteSpace(txtFiles.Text) && temp < 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Files must be positive"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!string.IsNullOrWhiteSpace(txtFreeClusters.Text) && !long.TryParse(txtFreeClusters.Text, out temp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Free clusters must be a number or empty for unknown"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!string.IsNullOrWhiteSpace(txtFreeClusters.Text) && temp < 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Free clusters must be positive"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - Metadata = new FileSystemType {Type = txtType.Text}; - if(chkCreationDate.Active) - { - Metadata.CreationDateSpecified = true; - Metadata.CreationDate = cldCreationDate.Date; - } - - if(chkModificationDate.Active) - { - Metadata.ModificationDateSpecified = true; - Metadata.ModificationDate = cldModificationDate.Date; - } - - if(chkBackupDate.Active) - { - Metadata.BackupDateSpecified = true; - Metadata.BackupDate = cldBackupDate.Date; - } - - Metadata.ClusterSize = (int)spClusterSize.Value; - Metadata.Clusters = long.Parse(txtClusters.Text); - if(!string.IsNullOrWhiteSpace(txtFiles.Text)) - { - Metadata.FilesSpecified = true; - Metadata.Files = long.Parse(txtFiles.Text); - } - - Metadata.Bootable = chkBootable.Active; - if(!string.IsNullOrWhiteSpace(txtSerial.Text)) Metadata.VolumeSerial = txtSerial.Text; - if(!string.IsNullOrWhiteSpace(txtLabel.Text)) Metadata.VolumeName = txtLabel.Text; - if(!string.IsNullOrWhiteSpace(txtFreeClusters.Text)) - { - Metadata.FreeClustersSpecified = true; - Metadata.FreeClusters = long.Parse(txtFreeClusters.Text); - } - - Metadata.Dirty = chkDirty.Active; - if(chkExpirationDate.Active) - { - Metadata.ExpirationDateSpecified = true; - Metadata.ExpirationDate = cldExpirationDate.Date; - } - - if(chkEffectiveDate.Active) - { - Metadata.EffectiveDateSpecified = true; - Metadata.EffectiveDate = cldEffectiveDate.Date; - } - - if(!string.IsNullOrWhiteSpace(txtSysId.Text)) Metadata.SystemIdentifier = txtSysId.Text; - if(!string.IsNullOrWhiteSpace(txtVolId.Text)) Metadata.VolumeSetIdentifier = txtVolId.Text; - if(!string.IsNullOrWhiteSpace(txtPubId.Text)) Metadata.PublisherIdentifier = txtPubId.Text; - if(!string.IsNullOrWhiteSpace(txtDataId.Text)) Metadata.DataPreparerIdentifier = txtDataId.Text; - if(!string.IsNullOrWhiteSpace(txtAppId.Text)) Metadata.ApplicationIdentifier = txtAppId.Text; - - buttonOk.Click(); - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/dlgHelp.cs b/osrepodbmgr/dlgHelp.cs deleted file mode 100644 index 9ccf011..0000000 --- a/osrepodbmgr/dlgHelp.cs +++ /dev/null @@ -1,46 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using Gtk; - -namespace osrepodbmgr -{ - public partial class dlgHelp : Dialog - { - public dlgHelp() - { - Build(); - } - - protected void OnBtnOKClicked(object sender, EventArgs e) - { - btnDialog.Click(); - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/dlgMetadata.cs b/osrepodbmgr/dlgMetadata.cs deleted file mode 100644 index c7d3181..0000000 --- a/osrepodbmgr/dlgMetadata.cs +++ /dev/null @@ -1,1158 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using Gtk; -using osrepodbmgr.Core; -using Schemas; - -namespace osrepodbmgr -{ - public partial class dlgMetadata : Dialog - { - AdvertisementType[] adverts; - AudioMediaType[] audiomedias; - BookType[] books; - LinearMediaType[] linearmedias; - ListStore lstArchitectures; - ListStore lstArchitecturesTypes; - ListStore lstBarcodes; - ListStore lstBarcodeTypes; - ListStore lstCategories; - ListStore lstDiscs; - ListStore lstDisks; - ListStore lstFilesForDisc; - ListStore lstFilesForDisk; - - ListStore lstKeywords; - ListStore lstLanguages; - ListStore lstLanguageTypes; - - ListStore lstReleaseTypes; - ListStore lstSubcategories; - ListStore lstSystems; - - // TODO: Add the options to edit these fields - MagazineType[] magazines; - public CICMMetadataType Metadata; - PCIType[] pcis; - RequiredOperatingSystemType[] requiredOses; - bool stopped; - - Thread thdDisc; - Thread thdDisk; - UserManualType[] usermanuals; - - public dlgMetadata() - { - Build(); - - lstKeywords = new ListStore(typeof(string)); - lstBarcodes = new ListStore(typeof(string), typeof(string)); - lstCategories = new ListStore(typeof(string)); - lstSubcategories = new ListStore(typeof(string)); - lstLanguages = new ListStore(typeof(string)); - lstSystems = new ListStore(typeof(string)); - lstArchitectures = new ListStore(typeof(string)); - lstDiscs = new ListStore(typeof(string), typeof(OpticalDiscType)); - lstDisks = new ListStore(typeof(string), typeof(BlockMediaType)); - - CellRendererText keywordsCell = new CellRendererText(); - CellRendererText barcodesCell = new CellRendererText(); - CellRendererText barcodesTypeCell = new CellRendererText(); - CellRendererText categoriesCell = new CellRendererText(); - CellRendererText subcategoriesCell = new CellRendererText(); - CellRendererText languagesCell = new CellRendererText(); - CellRendererText systemsCell = new CellRendererText(); - CellRendererText architecturesCell = new CellRendererText(); - CellRendererText discsCell = new CellRendererText(); - CellRendererText disksCell = new CellRendererText(); - - TreeViewColumn keywordsColumn = new TreeViewColumn("Keyword", keywordsCell, "text", 0); - TreeViewColumn barcodesColumn = new TreeViewColumn("Barcode", barcodesCell, "text", 0); - TreeViewColumn barcodesTypeColumn = new TreeViewColumn("Type", barcodesTypeCell, "text", 1); - TreeViewColumn categoriesColumn = new TreeViewColumn("Category", categoriesCell, "text", 0); - TreeViewColumn subcategoriesColumn = new TreeViewColumn("Subcategory", subcategoriesCell, "text", 0); - TreeViewColumn languagesColumn = new TreeViewColumn("Language", languagesCell, "text", 0); - TreeViewColumn systemsColumn = new TreeViewColumn("System", systemsCell, "text", 0); - TreeViewColumn architecturesColumn = new TreeViewColumn("Architecture", architecturesCell, "text", 0); - TreeViewColumn discsColumn = new TreeViewColumn("File", discsCell, "text", 0); - TreeViewColumn disksColumn = new TreeViewColumn("File", disksCell, "text", 0); - - treeKeywords.Model = lstKeywords; - treeBarcodes.Model = lstBarcodes; - treeCategories.Model = lstCategories; - treeSubcategories.Model = lstSubcategories; - treeLanguages.Model = lstLanguages; - treeSystems.Model = lstSystems; - treeArchitectures.Model = lstArchitectures; - treeDiscs.Model = lstDiscs; - treeDisks.Model = lstDisks; - - treeKeywords.AppendColumn(keywordsColumn); - treeBarcodes.AppendColumn(barcodesColumn); - treeBarcodes.AppendColumn(barcodesTypeColumn); - treeCategories.AppendColumn(categoriesColumn); - treeSubcategories.AppendColumn(subcategoriesColumn); - treeLanguages.AppendColumn(languagesColumn); - treeSystems.AppendColumn(systemsColumn); - treeArchitectures.AppendColumn(architecturesColumn); - treeDiscs.AppendColumn(discsColumn); - treeDisks.AppendColumn(disksColumn); - - treeKeywords.Selection.Mode = SelectionMode.Single; - treeBarcodes.Selection.Mode = SelectionMode.Single; - treeCategories.Selection.Mode = SelectionMode.Single; - treeSubcategories.Selection.Mode = SelectionMode.Single; - treeLanguages.Selection.Mode = SelectionMode.Single; - treeSystems.Selection.Mode = SelectionMode.Single; - treeArchitectures.Selection.Mode = SelectionMode.Single; - treeDiscs.Selection.Mode = SelectionMode.Single; - treeDisks.Selection.Mode = SelectionMode.Single; - - CellRendererText textCell = new CellRendererText(); - - cmbReleaseType.Clear(); - lstReleaseTypes = new ListStore(typeof(string)); - cmbReleaseType.PackStart(textCell, true); - cmbReleaseType.AddAttribute(textCell, "text", 0); - cmbReleaseType.Model = lstReleaseTypes; - - cmbBarcodes.Clear(); - lstBarcodeTypes = new ListStore(typeof(string)); - cmbBarcodes.PackStart(textCell, true); - cmbBarcodes.AddAttribute(textCell, "text", 0); - cmbBarcodes.Model = lstBarcodeTypes; - - cmbLanguages.Clear(); - lstLanguageTypes = new ListStore(typeof(string)); - cmbLanguages.PackStart(textCell, true); - cmbLanguages.AddAttribute(textCell, "text", 0); - cmbLanguages.Model = lstLanguageTypes; - - cmbArchitectures.Clear(); - lstArchitecturesTypes = new ListStore(typeof(string)); - cmbArchitectures.PackStart(textCell, true); - cmbArchitectures.AddAttribute(textCell, "text", 0); - cmbArchitectures.Model = lstArchitecturesTypes; - - cmbFilesForNewDisc.Clear(); - lstFilesForDisc = new ListStore(typeof(string)); - cmbFilesForNewDisc.PackStart(textCell, true); - cmbFilesForNewDisc.AddAttribute(textCell, "text", 0); - cmbFilesForNewDisc.Model = lstFilesForDisc; - - cmbFilesForNewDisk.Clear(); - lstFilesForDisk = new ListStore(typeof(string)); - cmbFilesForNewDisk.PackStart(textCell, true); - cmbFilesForNewDisk.AddAttribute(textCell, "text", 0); - cmbFilesForNewDisk.Model = lstFilesForDisk; - - lstKeywords.SetSortColumnId(0, SortType.Ascending); - lstBarcodes.SetSortColumnId(0, SortType.Ascending); - lstCategories.SetSortColumnId(0, SortType.Ascending); - lstSubcategories.SetSortColumnId(0, SortType.Ascending); - lstLanguages.SetSortColumnId(0, SortType.Ascending); - lstSystems.SetSortColumnId(0, SortType.Ascending); - lstArchitectures.SetSortColumnId(0, SortType.Ascending); - lstDiscs.SetSortColumnId(0, SortType.Ascending); - lstDisks.SetSortColumnId(0, SortType.Ascending); - lstReleaseTypes.SetSortColumnId(0, SortType.Ascending); - lstBarcodeTypes.SetSortColumnId(0, SortType.Ascending); - lstLanguageTypes.SetSortColumnId(0, SortType.Ascending); - lstArchitecturesTypes.SetSortColumnId(0, SortType.Ascending); - lstFilesForDisc.SetSortColumnId(0, SortType.Ascending); - lstFilesForDisk.SetSortColumnId(0, SortType.Ascending); - - FillReleaseTypeCombo(); - FillBarcodeCombo(); - FillLanguagesCombo(); - FillArchitecturesCombo(); - FillFilesCombos(); - } - - void FillReleaseTypeCombo() - { - lstReleaseTypes.Clear(); - foreach(CICMMetadataTypeReleaseType type in Enum.GetValues(typeof(CICMMetadataTypeReleaseType))) - lstReleaseTypes.AppendValues(type.ToString()); - } - - void FillBarcodeCombo() - { - lstBarcodeTypes.Clear(); - foreach(BarcodeTypeType type in Enum.GetValues(typeof(BarcodeTypeType))) - lstBarcodeTypes.AppendValues(type.ToString()); - } - - void FillLanguagesCombo() - { - lstLanguageTypes.Clear(); - foreach(LanguagesTypeLanguage type in Enum.GetValues(typeof(LanguagesTypeLanguage))) - lstLanguageTypes.AppendValues(type.ToString()); - } - - void FillArchitecturesCombo() - { - lstArchitecturesTypes.Clear(); - foreach(ArchitecturesTypeArchitecture type in Enum.GetValues(typeof(ArchitecturesTypeArchitecture))) - lstArchitecturesTypes.AppendValues(type.ToString()); - } - - void FillFilesCombos() - { - foreach(KeyValuePair files in Context.Hashes) - { - lstFilesForDisc.AppendValues(files.Key); - lstFilesForDisk.AppendValues(files.Key); - } - } - - void FillDiscCombos() - { - // TODO: Check that files are not already added as disks - lstFilesForDisc.Clear(); - foreach(KeyValuePair files in Context.Hashes) lstFilesForDisc.AppendValues(files.Key); - } - - void FillDiskCombos() - { - // TODO: Check that files are not already added as discs - lstFilesForDisk.Clear(); - foreach(KeyValuePair files in Context.Hashes) lstFilesForDisk.AppendValues(files.Key); - } - - public void FillFields() - { - if(Metadata == null) return; - - if(Metadata.Developer != null) - foreach(string developer in Metadata.Developer) - { - if(!string.IsNullOrWhiteSpace(txtDeveloper.Text)) txtDeveloper.Text += ","; - txtDeveloper.Text += developer; - } - - if(Metadata.Publisher != null) - foreach(string publisher in Metadata.Publisher) - { - if(!string.IsNullOrWhiteSpace(txtPublisher.Text)) txtPublisher.Text += ","; - txtPublisher.Text += publisher; - } - - if(Metadata.Author != null) - foreach(string author in Metadata.Author) - { - if(!string.IsNullOrWhiteSpace(txtPublisher.Text)) txtPublisher.Text += ","; - txtPublisher.Text += author; - } - - if(Metadata.Performer != null) - foreach(string performer in Metadata.Performer) - { - if(!string.IsNullOrWhiteSpace(txtPublisher.Text)) txtPublisher.Text += ","; - txtPublisher.Text += performer; - } - - txtName.Text = Metadata.Name; - txtVersion.Text = Metadata.Version; - txtPartNumber.Text = Metadata.PartNumber; - txtSerialNumber.Text = Metadata.SerialNumber; - - if(Metadata.ReleaseTypeSpecified) - { - chkBoxUnknownReleaseType.Active = false; - cmbReleaseType.Sensitive = true; - cmbReleaseType.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbReleaseType.Model.GetValue(iter, 0) != Metadata.ReleaseType.ToString()) continue; - - cmbReleaseType.SetActiveIter(iter); - break; - } - while(cmbReleaseType.Model.IterNext(ref iter)); - } - - if(Metadata.ReleaseDateSpecified) - { - chkReleaseDate.Active = false; - cldReleaseDate.Sensitive = true; - cldReleaseDate.Date = Metadata.ReleaseDate; - } - - if(Metadata.Keywords != null) - foreach(string keyword in Metadata.Keywords) - lstKeywords.AppendValues(keyword); - if(Metadata.Categories != null) - foreach(string category in Metadata.Categories) - lstCategories.AppendValues(category); - if(Metadata.Subcategories != null) - foreach(string subcategory in Metadata.Subcategories) - lstSubcategories.AppendValues(subcategory); - - if(Metadata.Languages != null) - foreach(LanguagesTypeLanguage language in Metadata.Languages) - { - lstLanguages.AppendValues(language.ToString()); - cmbLanguages.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbLanguages.Model.GetValue(iter, 0) != language.ToString()) continue; - - lstLanguageTypes.Remove(ref iter); - break; - } - while(cmbLanguages.Model.IterNext(ref iter)); - } - - if(Metadata.Systems != null) - foreach(string system in Metadata.Systems) - lstSystems.AppendValues(system); - - if(Metadata.Architectures != null) - foreach(ArchitecturesTypeArchitecture architecture in Metadata.Architectures) - { - lstArchitectures.AppendValues(architecture.ToString()); - cmbArchitectures.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbArchitectures.Model.GetValue(iter, 0) != architecture.ToString()) continue; - - lstArchitecturesTypes.Remove(ref iter); - break; - } - while(cmbArchitectures.Model.IterNext(ref iter)); - } - - if(Metadata.OpticalDisc != null) - foreach(OpticalDiscType disc in Metadata.OpticalDisc) - { - lstDiscs.AppendValues(disc.Image.Value, disc); - List files = new List {disc.Image.Value}; - if(disc.ADIP != null) files.Add(disc.ADIP.Image); - if(disc.ATIP != null) files.Add(disc.ATIP.Image); - if(disc.BCA != null) files.Add(disc.BCA.Image); - if(disc.CMI != null) files.Add(disc.CMI.Image); - if(disc.DCB != null) files.Add(disc.DCB.Image); - if(disc.DDS != null) files.Add(disc.DDS.Image); - if(disc.DMI != null) files.Add(disc.DMI.Image); - if(disc.LastRMD != null) files.Add(disc.LastRMD.Image); - if(disc.LeadIn != null) files.AddRange(disc.LeadIn.Select(border => border.Image)); - if(disc.LeadInCdText != null) files.Add(disc.LeadInCdText.Image); - if(disc.LeadOut != null) files.AddRange(disc.LeadOut.Select(border => border.Image)); - if(disc.MediaID != null) files.Add(disc.MediaID.Image); - if(disc.PAC != null) files.Add(disc.PAC.Image); - if(disc.PFI != null) files.Add(disc.PFI.Image); - if(disc.PFIR != null) files.Add(disc.PFIR.Image); - if(disc.PMA != null) files.Add(disc.PMA.Image); - if(disc.PRI != null) files.Add(disc.PRI.Image); - if(disc.SAI != null) files.Add(disc.SAI.Image); - if(disc.TOC != null) files.Add(disc.TOC.Image); - if(disc.Track != null) files.AddRange(disc.Track.Select(track => track.Image.Value)); - - foreach(string file in files) - { - cmbFilesForNewDisc.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbFilesForNewDisc.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisc.SetActiveIter(iter); - cmbFilesForNewDisc.RemoveText(cmbFilesForNewDisc.Active); - break; - } - while(cmbFilesForNewDisc.Model.IterNext(ref iter)); - - cmbFilesForNewDisk.Model.GetIterFirst(out iter); - do - { - if((string)cmbFilesForNewDisk.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisk.SetActiveIter(iter); - cmbFilesForNewDisk.RemoveText(cmbFilesForNewDisk.Active); - break; - } - while(cmbFilesForNewDisk.Model.IterNext(ref iter)); - } - } - - if(Metadata.BlockMedia != null) - foreach(BlockMediaType disk in Metadata.BlockMedia) - { - lstDisks.AppendValues(disk.Image.Value, disk); - List files = new List {disk.Image.Value}; - if(disk.ATA?.Identify != null) files.Add(disk.ATA.Identify.Image); - if(disk.MAM != null) files.Add(disk.MAM.Image); - if(disk.PCI?.ExpansionROM != null) files.Add(disk.PCI.ExpansionROM.Image.Value); - if(disk.PCMCIA?.CIS != null) files.Add(disk.PCMCIA.CIS.Image); - if(disk.SCSI != null) - { - if(disk.SCSI.Inquiry != null) files.Add(disk.SCSI.Inquiry.Image); - if(disk.SCSI.LogSense != null) files.Add(disk.SCSI.LogSense.Image); - if(disk.SCSI.ModeSense != null) files.Add(disk.SCSI.ModeSense.Image); - if(disk.SCSI.ModeSense10 != null) files.Add(disk.SCSI.ModeSense10.Image); - if(disk.SCSI.EVPD != null) files.AddRange(disk.SCSI.EVPD.Select(evpd => evpd.Image)); - } - - if(disk.SecureDigital != null) - { - if(disk.SecureDigital.CID != null) files.Add(disk.SecureDigital.CID.Image); - if(disk.SecureDigital.CSD != null) files.Add(disk.SecureDigital.CSD.Image); - if(disk.MultiMediaCard.ExtendedCSD != null) files.Add(disk.MultiMediaCard.ExtendedCSD.Image); - } - - if(disk.TapeInformation != null) - files.AddRange(disk.TapeInformation.Select(tapePart => tapePart.Image.Value)); - if(disk.Track != null) files.AddRange(disk.Track.Select(track => track.Image.Value)); - if(disk.USB?.Descriptors != null) files.Add(disk.USB.Descriptors.Image); - - foreach(string file in files) - { - cmbFilesForNewDisc.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbFilesForNewDisc.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisc.SetActiveIter(iter); - cmbFilesForNewDisc.RemoveText(cmbFilesForNewDisc.Active); - break; - } - while(cmbFilesForNewDisc.Model.IterNext(ref iter)); - - cmbFilesForNewDisk.Model.GetIterFirst(out iter); - do - { - if((string)cmbFilesForNewDisk.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisk.SetActiveIter(iter); - cmbFilesForNewDisk.RemoveText(cmbFilesForNewDisk.Active); - break; - } - while(cmbFilesForNewDisk.Model.IterNext(ref iter)); - } - } - - magazines = Metadata.Magazine; - books = Metadata.Book; - requiredOses = Metadata.RequiredOperatingSystems; - usermanuals = Metadata.UserManual; - adverts = Metadata.Advertisement; - linearmedias = Metadata.LinearMedia; - pcis = Metadata.PCICard; - audiomedias = Metadata.AudioMedia; - } - - protected void OnChkBoxUnknownReleaseTypeToggled(object sender, EventArgs e) - { - cmbReleaseType.Sensitive = !chkBoxUnknownReleaseType.Active; - } - - protected void OnChkReleaseDateToggled(object sender, EventArgs e) - { - cldReleaseDate.Sensitive = !chkReleaseDate.Active; - } - - protected void OnTxtAddKeywordClicked(object sender, EventArgs e) - { - lstKeywords.AppendValues(txtNewKeyword.Text); - txtNewKeyword.Text = ""; - } - - protected void OnBtnRemoveKeywordClicked(object sender, EventArgs e) - { - if(treeKeywords.Selection.GetSelected(out TreeIter selectedIter)) lstKeywords.Remove(ref selectedIter); - } - - protected void OnBtnClearKeywordsClicked(object sender, EventArgs e) - { - lstKeywords.Clear(); - } - - protected void OnBtnAddBarcodeClicked(object sender, EventArgs e) - { - if(!cmbBarcodes.GetActiveIter(out TreeIter selectedIter)) return; - - lstBarcodes.AppendValues(txtNewBarcode.Text, (string)cmbBarcodes.Model.GetValue(selectedIter, 0)); - txtNewBarcode.Text = ""; - } - - protected void OnBtnClearBarcodesClicked(object sender, EventArgs e) - { - lstBarcodes.Clear(); - } - - protected void OnBtnRemoveBarcodeClicked(object sender, EventArgs e) - { - if(treeBarcodes.Selection.GetSelected(out TreeIter selectedIter)) lstBarcodes.Remove(ref selectedIter); - } - - protected void OnBtnAddCategoryClicked(object sender, EventArgs e) - { - lstCategories.AppendValues(txtNewCategory.Text); - txtNewCategory.Text = ""; - } - - protected void OnBtnAddSubcategoryClicked(object sender, EventArgs e) - { - lstSubcategories.AppendValues(txtNewSubcategory.Text); - txtNewSubcategory.Text = ""; - } - - protected void OnBtnRemoveSubcategoryClicked(object sender, EventArgs e) - { - if(treeSubcategories.Selection.GetSelected(out TreeIter selectedIter)) - lstSubcategories.Remove(ref selectedIter); - } - - protected void OnBtnClearSubcategoriesClicked(object sender, EventArgs e) - { - lstSubcategories.Clear(); - } - - protected void OnBtnRemoveCategoryClicked(object sender, EventArgs e) - { - if(treeCategories.Selection.GetSelected(out TreeIter selectedIter)) lstCategories.Remove(ref selectedIter); - } - - protected void OnBtnClearCategoriesClicked(object sender, EventArgs e) - { - lstCategories.Clear(); - } - - protected void OnBtnAddLanguagesClicked(object sender, EventArgs e) - { - if(!cmbLanguages.GetActiveIter(out TreeIter selectedIter)) return; - - lstLanguages.AppendValues((string)cmbLanguages.Model.GetValue(selectedIter, 0)); - cmbLanguages.SetActiveIter(selectedIter); - lstLanguageTypes.Remove(ref selectedIter); - } - - protected void OnBtnRemoveLanguageClicked(object sender, EventArgs e) - { - if(!treeLanguages.Selection.GetSelected(out TreeIter selectedIter)) return; - - lstLanguageTypes.AppendValues((string)lstLanguages.GetValue(selectedIter, 0)); - lstLanguages.Remove(ref selectedIter); - } - - protected void OnBtnClearLanguagesClicked(object sender, EventArgs e) - { - lstLanguages.Clear(); - FillLanguagesCombo(); - } - - protected void OnBtnAddSystemClicked(object sender, EventArgs e) - { - lstSystems.AppendValues(txtNewSystem.Text); - txtNewSystem.Text = ""; - } - - protected void OnBtnClearSystemsClicked(object sender, EventArgs e) - { - lstSystems.Clear(); - } - - protected void OnBtnRemoveSystemsClicked(object sender, EventArgs e) - { - if(treeSystems.Selection.GetSelected(out TreeIter selectedIter)) lstSystems.Remove(ref selectedIter); - } - - protected void OnBtnAddArchitectureClicked(object sender, EventArgs e) - { - if(!cmbArchitectures.GetActiveIter(out TreeIter selectedIter)) return; - - lstArchitectures.AppendValues((string)cmbArchitectures.Model.GetValue(selectedIter, 0)); - cmbArchitectures.SetActiveIter(selectedIter); - lstArchitecturesTypes.Remove(ref selectedIter); - } - - protected void OnBtnClearArchitecturesClicked(object sender, EventArgs e) - { - lstArchitectures.Clear(); - FillArchitecturesCombo(); - } - - protected void OnBtnRemoveArchitectureClicked(object sender, EventArgs e) - { - if(!treeArchitectures.Selection.GetSelected(out TreeIter selectedIter)) return; - - lstArchitecturesTypes.AppendValues((string)lstArchitectures.GetValue(selectedIter, 0)); - lstArchitectures.Remove(ref selectedIter); - } - - protected void OnBtnAddDiscClicked(object sender, EventArgs e) - { - Context.SelectedFile = cmbFilesForNewDisc.ActiveText; - notebook3.GetNthPage(0).Visible = false; - notebook3.GetNthPage(1).Visible = false; - notebook3.GetNthPage(2).Visible = false; - notebook3.GetNthPage(3).Visible = false; - notebook3.GetNthPage(4).Visible = false; - notebook3.GetNthPage(5).Visible = false; - notebook3.GetNthPage(6).Visible = false; - notebook3.GetNthPage(8).Visible = false; - prgAddDisc1.Visible = true; - prgAddDisc2.Visible = true; - buttonCancel.Visible = false; - buttonOk.Visible = false; - btnEditDisc.Visible = false; - btnClearDiscs.Visible = false; - Workers.Failed += OnDiscAddFailed; - Workers.Finished += OnDiscAddFinished; - Workers.UpdateProgress += UpdateDiscProgress1; - Workers.UpdateProgress2 += UpdateDiscProgress2; - Context.WorkingDisc = null; - btnStopAddDisc.Visible = true; - btnAddDisc.Visible = false; - btnRemoveDiscs.Visible = false; - thdDisc = new Thread(Workers.AddMedia); - thdDisc.Start(); - } - - protected void OnBtnStopAddDiscClicked(object sender, EventArgs e) - { - thdDisc?.Abort(); - stopped = true; - OnDiscAddFailed(null); - } - - public void UpdateDiscProgress1(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - prgAddDisc1.Text = text + inner; - if(maximum > 0) prgAddDisc1.Fraction = current / (double)maximum; - else prgAddDisc1.Pulse(); - }); - } - - public void UpdateDiscProgress2(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - prgAddDisc2.Text = text + inner; - if(maximum > 0) prgAddDisc2.Fraction = current / (double)maximum; - else prgAddDisc2.Pulse(); - }); - } - - void OnDiscAddFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - Context.SelectedFile = ""; - notebook3.GetNthPage(0).Visible = true; - notebook3.GetNthPage(1).Visible = true; - notebook3.GetNthPage(2).Visible = true; - notebook3.GetNthPage(3).Visible = true; - notebook3.GetNthPage(4).Visible = true; - notebook3.GetNthPage(5).Visible = true; - notebook3.GetNthPage(6).Visible = true; - notebook3.GetNthPage(8).Visible = true; - prgAddDisc1.Visible = false; - prgAddDisc2.Visible = false; - buttonCancel.Visible = true; - buttonOk.Visible = true; - btnEditDisc.Visible = true; - btnClearDiscs.Visible = true; - Workers.Failed -= OnDiscAddFailed; - Workers.Finished -= OnDiscAddFinished; - Workers.UpdateProgress -= UpdateDiscProgress1; - Workers.UpdateProgress2 -= UpdateDiscProgress2; - Context.WorkingDisc = null; - btnStopAddDisc.Visible = false; - btnAddDisc.Visible = true; - btnRemoveDiscs.Visible = true; - thdDisc = null; - }); - } - - void OnDiscAddFinished() - { - Application.Invoke(delegate - { - if(Context.WorkingDisc == null) return; - - OpticalDiscType disc = Context.WorkingDisc; - - lstDiscs.AppendValues(Context.SelectedFile, disc); - List files = new List(); - files.Add(disc.Image.Value); - if(disc.ADIP != null) files.Add(disc.ADIP.Image); - if(disc.ATIP != null) files.Add(disc.ATIP.Image); - if(disc.BCA != null) files.Add(disc.BCA.Image); - if(disc.CMI != null) files.Add(disc.CMI.Image); - if(disc.DCB != null) files.Add(disc.DCB.Image); - if(disc.DDS != null) files.Add(disc.DDS.Image); - if(disc.DMI != null) files.Add(disc.DMI.Image); - if(disc.LastRMD != null) files.Add(disc.LastRMD.Image); - if(disc.LeadIn != null) files.AddRange(disc.LeadIn.Select(border => border.Image)); - if(disc.LeadInCdText != null) files.Add(disc.LeadInCdText.Image); - if(disc.LeadOut != null) files.AddRange(disc.LeadOut.Select(border => border.Image)); - if(disc.MediaID != null) files.Add(disc.MediaID.Image); - if(disc.PAC != null) files.Add(disc.PAC.Image); - if(disc.PFI != null) files.Add(disc.PFI.Image); - if(disc.PFIR != null) files.Add(disc.PFIR.Image); - if(disc.PMA != null) files.Add(disc.PMA.Image); - if(disc.PRI != null) files.Add(disc.PRI.Image); - if(disc.SAI != null) files.Add(disc.SAI.Image); - if(disc.TOC != null) files.Add(disc.TOC.Image); - if(disc.Track != null) files.AddRange(disc.Track.Select(track => track.Image.Value)); - - foreach(string file in files) - { - cmbFilesForNewDisc.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbFilesForNewDisc.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisc.SetActiveIter(iter); - cmbFilesForNewDisc.RemoveText(cmbFilesForNewDisc.Active); - break; - } - while(cmbFilesForNewDisc.Model.IterNext(ref iter)); - - cmbFilesForNewDisk.Model.GetIterFirst(out iter); - do - { - if((string)cmbFilesForNewDisk.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisk.SetActiveIter(iter); - cmbFilesForNewDisk.RemoveText(cmbFilesForNewDisk.Active); - break; - } - while(cmbFilesForNewDisk.Model.IterNext(ref iter)); - } - - Context.SelectedFile = ""; - notebook3.GetNthPage(0).Visible = true; - notebook3.GetNthPage(1).Visible = true; - notebook3.GetNthPage(2).Visible = true; - notebook3.GetNthPage(3).Visible = true; - notebook3.GetNthPage(4).Visible = true; - notebook3.GetNthPage(5).Visible = true; - notebook3.GetNthPage(6).Visible = true; - notebook3.GetNthPage(8).Visible = true; - prgAddDisc1.Visible = false; - prgAddDisc2.Visible = false; - buttonCancel.Visible = true; - buttonOk.Visible = true; - btnEditDisc.Visible = true; - btnClearDiscs.Visible = true; - Workers.Failed -= OnDiscAddFailed; - Workers.Finished -= OnDiscAddFinished; - Workers.UpdateProgress -= UpdateDiscProgress1; - Workers.UpdateProgress2 -= UpdateDiscProgress2; - Context.WorkingDisc = null; - btnStopAddDisc.Visible = false; - btnAddDisc.Visible = true; - btnRemoveDiscs.Visible = true; - thdDisc = null; - }); - } - - protected void OnBtnClearDiscsClicked(object sender, EventArgs e) - { - lstDiscs.Clear(); - FillDiscCombos(); - } - - protected void OnBtnRemoveDiscsClicked(object sender, EventArgs e) - { - if(!treeDiscs.Selection.GetSelected(out TreeIter selectedIter)) return; - - cmbFilesForNewDisc.AppendText((string)lstDiscs.GetValue(selectedIter, 0)); - cmbFilesForNewDisk.AppendText((string)lstDiscs.GetValue(selectedIter, 0)); - lstDiscs.Remove(ref selectedIter); - } - - protected void OnBtnAddDiskClicked(object sender, EventArgs e) - { - Context.SelectedFile = cmbFilesForNewDisk.ActiveText; - notebook3.GetNthPage(0).Visible = false; - notebook3.GetNthPage(1).Visible = false; - notebook3.GetNthPage(2).Visible = false; - notebook3.GetNthPage(3).Visible = false; - notebook3.GetNthPage(4).Visible = false; - notebook3.GetNthPage(5).Visible = false; - notebook3.GetNthPage(6).Visible = false; - notebook3.GetNthPage(7).Visible = false; - prgAddDisk1.Visible = true; - prgAddDisk2.Visible = true; - buttonCancel.Visible = false; - buttonOk.Visible = false; - btnEditDisk.Visible = false; - btnClearDisks.Visible = false; - Workers.Failed += OnDiskAddFailed; - Workers.Finished += OnDiskAddFinished; - Workers.UpdateProgress += UpdateDiskProgress1; - Workers.UpdateProgress2 += UpdateDiskProgress2; - Context.WorkingDisk = null; - btnStopAddDisk.Visible = true; - btnAddDisk.Visible = false; - btnRemoveDisk.Visible = false; - thdDisk = new Thread(Workers.AddMedia); - thdDisk.Start(); - } - - protected void OnBtnStopAddDiskClicked(object sender, EventArgs e) - { - thdDisk?.Abort(); - stopped = true; - OnDiskAddFailed(null); - } - - public void UpdateDiskProgress1(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - prgAddDisk1.Text = text + inner; - if(maximum > 0) prgAddDisk1.Fraction = current / (double)maximum; - else prgAddDisk1.Pulse(); - }); - } - - public void UpdateDiskProgress2(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - prgAddDisk2.Text = text + inner; - if(maximum > 0) prgAddDisk2.Fraction = current / (double)maximum; - else prgAddDisk2.Pulse(); - }); - } - - void OnDiskAddFailed(string text) - { - Application.Invoke(delegate - { - if(!stopped) - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - Context.SelectedFile = ""; - notebook3.GetNthPage(0).Visible = true; - notebook3.GetNthPage(1).Visible = true; - notebook3.GetNthPage(2).Visible = true; - notebook3.GetNthPage(3).Visible = true; - notebook3.GetNthPage(4).Visible = true; - notebook3.GetNthPage(5).Visible = true; - notebook3.GetNthPage(6).Visible = true; - notebook3.GetNthPage(7).Visible = true; - prgAddDisk1.Visible = false; - prgAddDisk2.Visible = false; - buttonCancel.Visible = true; - buttonOk.Visible = true; - btnEditDisk.Visible = true; - btnClearDisks.Visible = true; - Workers.Failed -= OnDiskAddFailed; - Workers.Finished -= OnDiskAddFinished; - Workers.UpdateProgress -= UpdateDiskProgress1; - Workers.UpdateProgress2 -= UpdateDiskProgress2; - Context.WorkingDisk = null; - btnStopAddDisk.Visible = false; - btnAddDisk.Visible = true; - btnRemoveDisk.Visible = true; - thdDisk = null; - }); - } - - void OnDiskAddFinished() - { - Application.Invoke(delegate - { - if(Context.WorkingDisk == null) return; - - BlockMediaType disk = Context.WorkingDisk; - - lstDisks.AppendValues(disk.Image.Value, disk); - List files = new List(); - files.Add(disk.Image.Value); - if(disk.ATA != null && disk.ATA.Identify != null) files.Add(disk.ATA.Identify.Image); - if(disk.MAM != null) files.Add(disk.MAM.Image); - if(disk.PCI != null && disk.PCI.ExpansionROM != null) files.Add(disk.PCI.ExpansionROM.Image.Value); - if(disk.PCMCIA != null && disk.PCMCIA.CIS != null) files.Add(disk.PCMCIA.CIS.Image); - if(disk.SCSI != null) - { - if(disk.SCSI.Inquiry != null) files.Add(disk.SCSI.Inquiry.Image); - if(disk.SCSI.LogSense != null) files.Add(disk.SCSI.LogSense.Image); - if(disk.SCSI.ModeSense != null) files.Add(disk.SCSI.ModeSense.Image); - if(disk.SCSI.ModeSense10 != null) files.Add(disk.SCSI.ModeSense10.Image); - if(disk.SCSI.EVPD != null) - foreach(EVPDType evpd in disk.SCSI.EVPD) - files.Add(evpd.Image); - } - - if(disk.SecureDigital != null) - { - if(disk.SecureDigital.CID != null) files.Add(disk.SecureDigital.CID.Image); - if(disk.SecureDigital.CSD != null) files.Add(disk.SecureDigital.CSD.Image); - if(disk.MultiMediaCard.ExtendedCSD != null) files.Add(disk.MultiMediaCard.ExtendedCSD.Image); - } - - if(disk.TapeInformation != null) - files.AddRange(disk.TapeInformation.Select(tapePart => tapePart.Image.Value)); - if(disk.Track != null) files.AddRange(disk.Track.Select(track => track.Image.Value)); - if(disk.USB?.Descriptors != null) files.Add(disk.USB.Descriptors.Image); - - foreach(string file in files) - { - cmbFilesForNewDisc.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbFilesForNewDisc.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisc.SetActiveIter(iter); - cmbFilesForNewDisc.RemoveText(cmbFilesForNewDisc.Active); - break; - } - while(cmbFilesForNewDisc.Model.IterNext(ref iter)); - - cmbFilesForNewDisk.Model.GetIterFirst(out iter); - do - { - if((string)cmbFilesForNewDisk.Model.GetValue(iter, 0) != file) continue; - - cmbFilesForNewDisk.SetActiveIter(iter); - cmbFilesForNewDisk.RemoveText(cmbFilesForNewDisk.Active); - break; - } - while(cmbFilesForNewDisk.Model.IterNext(ref iter)); - } - - Context.SelectedFile = ""; - notebook3.GetNthPage(0).Visible = true; - notebook3.GetNthPage(1).Visible = true; - notebook3.GetNthPage(2).Visible = true; - notebook3.GetNthPage(3).Visible = true; - notebook3.GetNthPage(4).Visible = true; - notebook3.GetNthPage(5).Visible = true; - notebook3.GetNthPage(6).Visible = true; - notebook3.GetNthPage(7).Visible = true; - prgAddDisk1.Visible = false; - prgAddDisk2.Visible = false; - buttonCancel.Visible = true; - buttonOk.Visible = true; - btnEditDisk.Visible = true; - btnClearDisks.Visible = true; - Workers.Failed -= OnDiskAddFailed; - Workers.Finished -= OnDiskAddFinished; - Workers.UpdateProgress -= UpdateDiskProgress1; - Workers.UpdateProgress2 -= UpdateDiskProgress2; - Context.WorkingDisk = null; - btnStopAddDisk.Visible = false; - btnAddDisk.Visible = true; - btnRemoveDisk.Visible = true; - thdDisk = null; - }); - } - - protected void OnBtnClearDisksClicked(object sender, EventArgs e) - { - lstDisks.Clear(); - FillDiskCombos(); - } - - protected void OnBtnRemoveDiskClicked(object sender, EventArgs e) - { - if(!treeDisks.Selection.GetSelected(out TreeIter selectedIter)) return; - - cmbFilesForNewDisk.AppendText((string)lstDisks.GetValue(selectedIter, 0)); - cmbFilesForNewDisc.AppendText((string)lstDisks.GetValue(selectedIter, 0)); - lstDisks.Remove(ref selectedIter); - } - - protected void OnButtonOkClicked(object sender, EventArgs e) - { - Metadata = new CICMMetadataType(); - List architectures = new List(); - List barcodes = new List(); - List disks = new List(); - List categories = new List(); - List keywords = new List(); - List languages = new List(); - List discs = new List(); - List subcategories = new List(); - List systems = new List(); - - if(!string.IsNullOrEmpty(txtAuthor.Text)) Metadata.Author = txtAuthor.Text.Split(','); - if(!string.IsNullOrEmpty(txtDeveloper.Text)) Metadata.Developer = txtDeveloper.Text.Split(','); - if(!string.IsNullOrEmpty(txtName.Text)) Metadata.Name = txtName.Text; - if(!string.IsNullOrEmpty(txtPartNumber.Text)) Metadata.PartNumber = txtPartNumber.Text; - if(!string.IsNullOrEmpty(txtPerformer.Text)) Metadata.Performer = txtPerformer.Text.Split(','); - if(!string.IsNullOrEmpty(txtPublisher.Text)) Metadata.Publisher = txtPublisher.Text.Split(','); - if(!string.IsNullOrEmpty(txtSerialNumber.Text)) Metadata.SerialNumber = txtSerialNumber.Text; - if(!string.IsNullOrEmpty(txtVersion.Text)) Metadata.Version = txtVersion.Text; - if(!chkReleaseDate.Active) - { - Metadata.ReleaseDate = cldReleaseDate.Date; - Metadata.ReleaseDateSpecified = true; - } - - if(!chkBoxUnknownReleaseType.Active) - { - Metadata.ReleaseType = - (CICMMetadataTypeReleaseType)Enum.Parse(typeof(CICMMetadataTypeReleaseType), - cmbReleaseType.ActiveText); - Metadata.ReleaseTypeSpecified = true; - } - - if(lstArchitectures.GetIterFirst(out TreeIter iter)) - do - architectures.Add((ArchitecturesTypeArchitecture)Enum.Parse(typeof(ArchitecturesTypeArchitecture), - (string)lstArchitectures - .GetValue(iter, 0))); - while(lstArchitectures.IterNext(ref iter)); - - if(lstBarcodes.GetIterFirst(out iter)) - do - { - BarcodeType barcode = new BarcodeType - { - type = (BarcodeTypeType)Enum.Parse(typeof(BarcodeTypeType), - (string)lstBarcodes.GetValue(iter, 1)), - Value = (string)lstBarcodes.GetValue(iter, 0) - }; - barcodes.Add(barcode); - } - while(lstBarcodes.IterNext(ref iter)); - - if(lstDisks.GetIterFirst(out iter)) - do - disks.Add((BlockMediaType)lstDisks.GetValue(iter, 1)); - while(lstDisks.IterNext(ref iter)); - - if(lstCategories.GetIterFirst(out iter)) - do - categories.Add((string)lstCategories.GetValue(iter, 0)); - while(lstCategories.IterNext(ref iter)); - - if(lstKeywords.GetIterFirst(out iter)) - do - keywords.Add((string)lstKeywords.GetValue(iter, 0)); - while(lstKeywords.IterNext(ref iter)); - - if(lstLanguages.GetIterFirst(out iter)) - do - languages.Add((LanguagesTypeLanguage)Enum.Parse(typeof(LanguagesTypeLanguage), - (string)lstLanguages.GetValue(iter, 0))); - while(lstLanguages.IterNext(ref iter)); - - if(lstDiscs.GetIterFirst(out iter)) - do - discs.Add((OpticalDiscType)lstDiscs.GetValue(iter, 1)); - while(lstDiscs.IterNext(ref iter)); - - if(lstSubcategories.GetIterFirst(out iter)) - do - subcategories.Add((string)lstSubcategories.GetValue(iter, 0)); - while(lstSubcategories.IterNext(ref iter)); - - if(lstSystems.GetIterFirst(out iter)) - do - systems.Add((string)lstSystems.GetValue(iter, 0)); - while(lstSystems.IterNext(ref iter)); - - if(architectures.Count > 0) Metadata.Architectures = architectures.ToArray(); - if(barcodes.Count > 0) Metadata.Barcodes = barcodes.ToArray(); - if(disks.Count > 0) Metadata.BlockMedia = disks.ToArray(); - if(categories.Count > 0) Metadata.Categories = categories.ToArray(); - if(keywords.Count > 0) Metadata.Keywords = keywords.ToArray(); - if(languages.Count > 0) Metadata.Languages = languages.ToArray(); - if(discs.Count > 0) Metadata.OpticalDisc = discs.ToArray(); - if(subcategories.Count > 0) Metadata.Subcategories = subcategories.ToArray(); - if(systems.Count > 0) Metadata.Systems = systems.ToArray(); - - Metadata.Magazine = magazines; - Metadata.Book = books; - Metadata.RequiredOperatingSystems = requiredOses; - Metadata.UserManual = usermanuals; - Metadata.Advertisement = adverts; - Metadata.LinearMedia = linearmedias; - Metadata.PCICard = pcis; - Metadata.AudioMedia = audiomedias; - } - - protected void OnBtnEditDiscClicked(object sender, EventArgs e) - { - if(!treeDiscs.Selection.GetSelected(out TreeIter discIter)) return; - - dlgOpticalDisc _dlgOpticalDisc = new dlgOpticalDisc - { - Title = $"Editing disc metadata for {(string)lstDiscs.GetValue(discIter, 0)}", - Metadata = (OpticalDiscType)lstDiscs.GetValue(discIter, 1) - }; - _dlgOpticalDisc.FillFields(); - - if(_dlgOpticalDisc.Run() == (int)ResponseType.Ok) - { - lstDiscs.Remove(ref discIter); - lstDiscs.AppendValues(_dlgOpticalDisc.Metadata.Image.Value, _dlgOpticalDisc.Metadata); - } - - _dlgOpticalDisc.Destroy(); - } - - protected void OnBtnEditDiskClicked(object sender, EventArgs e) - { - if(!treeDisks.Selection.GetSelected(out TreeIter diskIter)) return; - - dlgBlockMedia _dlgBlockMedia = new dlgBlockMedia - { - Title = $"Editing disk metadata for {(string)lstDisks.GetValue(diskIter, 0)}", - Metadata = (BlockMediaType)lstDisks.GetValue(diskIter, 1) - }; - _dlgBlockMedia.FillFields(); - - if(_dlgBlockMedia.Run() == (int)ResponseType.Ok) - { - lstDisks.Remove(ref diskIter); - lstDisks.AppendValues(_dlgBlockMedia.Metadata.Image.Value, _dlgBlockMedia.Metadata); - } - - _dlgBlockMedia.Destroy(); - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/dlgOpticalDisc.cs b/osrepodbmgr/dlgOpticalDisc.cs deleted file mode 100644 index c994959..0000000 --- a/osrepodbmgr/dlgOpticalDisc.cs +++ /dev/null @@ -1,2028 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using System.Collections.Generic; -using Gtk; -using Schemas; -using ImageType = Schemas.ImageType; - -namespace osrepodbmgr -{ - public partial class dlgOpticalDisc : Dialog - { - // Non-editable fields - ChecksumType[] checksums; - TreeIter dumpHwIter; - bool editingDumpHw; - - bool editingPartition; - TreeIter filesystemIter; - ListStore lstADIP; - ListStore lstATIP; - ListStore lstBCA; - ListStore lstCDText; - ListStore lstCMI; - ListStore lstDCB; - ListStore lstDDS; - ListStore lstDI; - ListStore lstDMI; - - ListStore lstDumpHw; - ListStore lstLastRMD; - ListStore lstLayers; - ListStore lstLayerTypes; - ListStore lstLeadIns; - ListStore lstLeadOuts; - ListStore lstMasteringSIDs; - ListStore lstMediaID; - ListStore lstMouldSIDs; - ListStore lstMouldTexts; - ListStore lstPAC; - ListStore lstPFI; - ListStore lstPFIR; - ListStore lstPMA; - ListStore lstPRI; - ListStore lstRingCodes; - ListStore lstSAI; - ListStore lstTOC; - ListStore lstToolstamps; - ListStore lstTracks; - ListStore lstTrackTypes; - ListStore lstXboxSS; - CaseType mediaCase; - public OpticalDiscType Metadata; - TreeIter partitionIter; - ScansType scans; - - TreeIter trackIter; - XboxType xbox; - - public dlgOpticalDisc() - { - Build(); - - #region Set partitions table - CellRendererText partSequenceCell = new CellRendererText(); - CellRendererText partStartCell = new CellRendererText(); - CellRendererText partEndCell = new CellRendererText(); - CellRendererText partTypeCell = new CellRendererText(); - CellRendererText partNameCell = new CellRendererText(); - CellRendererText partDescriptionCell = new CellRendererText(); - - TreeViewColumn partSequenceColumn = new TreeViewColumn("Sequence", partSequenceCell, "text", 0); - TreeViewColumn partStartColumn = new TreeViewColumn("Start", partStartCell, "text", 1); - TreeViewColumn partEndColumn = new TreeViewColumn("End", partEndCell, "text", 2); - TreeViewColumn partTypeColumn = new TreeViewColumn("Type", partTypeCell, "text", 3); - TreeViewColumn partNameColumn = new TreeViewColumn("Name", partNameCell, "text", 4); - TreeViewColumn partDescriptionColumn = new TreeViewColumn("Description", partDescriptionCell, "text", 5); - - treePartitions.AppendColumn(partSequenceColumn); - treePartitions.AppendColumn(partStartColumn); - treePartitions.AppendColumn(partEndColumn); - treePartitions.AppendColumn(partTypeColumn); - treePartitions.AppendColumn(partNameColumn); - treePartitions.AppendColumn(partDescriptionColumn); - - treePartitions.Selection.Mode = SelectionMode.Single; - #endregion Set partitions table - - #region Set filesystems table - CellRendererText fsTypeCell = new CellRendererText(); - CellRendererText fsNameCell = new CellRendererText(); - TreeViewColumn fsTypeColumn = new TreeViewColumn("Type", fsTypeCell, "text", 0); - TreeViewColumn fsNameColumn = new TreeViewColumn("Name", fsNameCell, "text", 1); - treeFilesystems.AppendColumn(fsTypeColumn); - treeFilesystems.AppendColumn(fsNameColumn); - treeFilesystems.Selection.Mode = SelectionMode.Single; - #endregion Set filesystems table - - #region Set dump hardware table - lstDumpHw = new ListStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), - typeof(string), typeof(string), typeof(string), typeof(ListStore)); - - CellRendererText hwManufacturerCell = new CellRendererText(); - CellRendererText hwModelCell = new CellRendererText(); - CellRendererText hwRevisionCell = new CellRendererText(); - CellRendererText hwFirmwareCell = new CellRendererText(); - CellRendererText hwSerialCell = new CellRendererText(); - CellRendererText swNameCell = new CellRendererText(); - CellRendererText swVersionCell = new CellRendererText(); - CellRendererText swOSCell = new CellRendererText(); - - TreeViewColumn hwManufacturerColumn = new TreeViewColumn("Manufacturer", hwManufacturerCell, "text", 0); - TreeViewColumn hwModelColumn = new TreeViewColumn("Model", hwModelCell, "text", 1); - TreeViewColumn hwRevisionColumn = new TreeViewColumn("Revision", hwRevisionCell, "text", 2); - TreeViewColumn hwFirmwareColumn = new TreeViewColumn("Firmware", hwFirmwareCell, "text", 3); - TreeViewColumn hwSerialColumn = new TreeViewColumn("Serial", hwSerialCell, "text", 4); - TreeViewColumn swNameColumn = new TreeViewColumn("Software", swNameCell, "text", 5); - TreeViewColumn swVersionColumn = new TreeViewColumn("Version", swVersionCell, "text", 6); - TreeViewColumn swOSColumn = new TreeViewColumn("Operating system", swOSCell, "text", 7); - - treeDumpHardware.Model = lstDumpHw; - - treeDumpHardware.AppendColumn(hwManufacturerColumn); - treeDumpHardware.AppendColumn(hwModelColumn); - treeDumpHardware.AppendColumn(hwRevisionColumn); - treeDumpHardware.AppendColumn(hwFirmwareColumn); - treeDumpHardware.AppendColumn(hwSerialColumn); - treeDumpHardware.AppendColumn(swNameColumn); - treeDumpHardware.AppendColumn(swVersionColumn); - treeDumpHardware.AppendColumn(swOSColumn); - - treeDumpHardware.Selection.Mode = SelectionMode.Single; - - CellRendererText extentStartCell = new CellRendererText(); - CellRendererText extentEndCell = new CellRendererText(); - TreeViewColumn extentStartColumn = new TreeViewColumn("Start", extentStartCell, "text", 0); - TreeViewColumn extentEndColumn = new TreeViewColumn("End", extentEndCell, "text", 1); - treeExtents.AppendColumn(extentStartColumn); - treeExtents.AppendColumn(extentEndColumn); - treeExtents.Selection.Mode = SelectionMode.Single; - #endregion Set dump hardware table - - CellRendererText fileCell = new CellRendererText(); - CellRendererText sizeCell = new CellRendererText(); - TreeViewColumn fileColumn = new TreeViewColumn("File", fileCell, "text", 0); - TreeViewColumn sizeColumn = new TreeViewColumn("Size", sizeCell, "text", 1); - - #region Set TOC table - lstTOC = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeTOC.Model = lstTOC; - treeTOC.AppendColumn(fileColumn); - treeTOC.AppendColumn(sizeColumn); - #endregion Set TOC table - - #region Set CD-Text table - lstCDText = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeCDText.Model = lstCDText; - treeCDText.AppendColumn(fileColumn); - treeCDText.AppendColumn(sizeColumn); - #endregion Set CD-Text table - - #region Set ATIP table - lstATIP = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeATIP.Model = lstATIP; - treeATIP.AppendColumn(fileColumn); - treeATIP.AppendColumn(sizeColumn); - #endregion Set ATIP table - - #region Set PMA table - lstPMA = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treePMA.Model = lstPMA; - treePMA.AppendColumn(fileColumn); - treePMA.AppendColumn(sizeColumn); - #endregion Set PMA table - - #region Set PFI table - lstPFI = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treePFI.Model = lstPFI; - treePFI.AppendColumn(fileColumn); - treePFI.AppendColumn(sizeColumn); - #endregion Set PFI table - - #region Set DMI table - lstDMI = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeDMI.Model = lstDMI; - treeDMI.AppendColumn(fileColumn); - treeDMI.AppendColumn(sizeColumn); - #endregion Set DMI table - - #region Set CMI table - lstCMI = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeCMI.Model = lstCMI; - treeCMI.AppendColumn(fileColumn); - treeCMI.AppendColumn(sizeColumn); - #endregion Set CMI table - - #region Set BCA table - lstBCA = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeBCA.Model = lstBCA; - treeBCA.AppendColumn(fileColumn); - treeBCA.AppendColumn(sizeColumn); - #endregion Set BCA table - - #region Set DCB table - lstDCB = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeDCB.Model = lstDCB; - treeDCB.AppendColumn(fileColumn); - treeDCB.AppendColumn(sizeColumn); - #endregion Set DCB table - - #region Set PRI table - lstPRI = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treePRI.Model = lstPRI; - treePRI.AppendColumn(fileColumn); - treePRI.AppendColumn(sizeColumn); - #endregion Set PRI table - - #region Set MediaID table - lstMediaID = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeMediaID.Model = lstMediaID; - treeMediaID.AppendColumn(fileColumn); - treeMediaID.AppendColumn(sizeColumn); - #endregion Set MediaID table - - #region Set PFIR table - lstPFIR = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treePFIR.Model = lstPFIR; - treePFIR.AppendColumn(fileColumn); - treePFIR.AppendColumn(sizeColumn); - #endregion Set PFIR table - - #region Set LastRMD table - lstLastRMD = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeLastRMD.Model = lstLastRMD; - treeLastRMD.AppendColumn(fileColumn); - treeLastRMD.AppendColumn(sizeColumn); - #endregion Set LastRMD table - - #region Set ADIP table - lstADIP = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeADIP.Model = lstADIP; - treeADIP.AppendColumn(fileColumn); - treeADIP.AppendColumn(sizeColumn); - #endregion Set ADIP table - - #region Set DDS table - lstDDS = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeDDS.Model = lstDDS; - treeDDS.AppendColumn(fileColumn); - treeDDS.AppendColumn(sizeColumn); - #endregion Set DDS table - - #region Set SAI table - lstSAI = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeSAI.Model = lstSAI; - treeSAI.AppendColumn(fileColumn); - treeSAI.AppendColumn(sizeColumn); - #endregion Set SAI table - - #region Set DI table - lstDI = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treeDI.Model = lstDI; - treeDI.AppendColumn(fileColumn); - treeDI.AppendColumn(sizeColumn); - #endregion Set DI table - - #region Set PAC table - lstPAC = new ListStore(typeof(string), typeof(int), typeof(ChecksumType[])); - treePAC.Model = lstPAC; - treePAC.AppendColumn(fileColumn); - treePAC.AppendColumn(sizeColumn); - #endregion Set PAC table - - CellRendererText layerCell = new CellRendererText(); - CellRendererText codeCell = new CellRendererText(); - TreeViewColumn layerColumn = new TreeViewColumn("Layer", layerCell, "text", 0); - TreeViewColumn codeColumn = new TreeViewColumn("Code", codeCell, "text", 1); - - #region Set ring code table - lstRingCodes = new ListStore(typeof(int), typeof(string)); - treeRingCodes.Model = lstRingCodes; - treeRingCodes.AppendColumn(layerColumn); - treeRingCodes.AppendColumn(codeColumn); - #endregion Set ring code table - - #region Set mastering sid table - lstMasteringSIDs = new ListStore(typeof(int), typeof(string)); - treeMasteringSIDs.Model = lstMasteringSIDs; - treeMasteringSIDs.AppendColumn(layerColumn); - treeMasteringSIDs.AppendColumn(codeColumn); - #endregion Set mastering sid table - - #region Set toolstamp table - lstToolstamps = new ListStore(typeof(int), typeof(string)); - treeToolstamps.Model = lstToolstamps; - treeToolstamps.AppendColumn(layerColumn); - treeToolstamps.AppendColumn(codeColumn); - #endregion Set toolstamp table - - #region Set mould sid table - lstMouldSIDs = new ListStore(typeof(int), typeof(string)); - treeMouldSIDs.Model = lstMouldSIDs; - treeMouldSIDs.AppendColumn(layerColumn); - treeMouldSIDs.AppendColumn(codeColumn); - #endregion Set mould sid table - - #region Set mould text table - lstMouldTexts = new ListStore(typeof(int), typeof(string)); - treeMouldTexts.Model = lstMouldTexts; - treeMouldTexts.AppendColumn(layerColumn); - treeMouldTexts.AppendColumn(codeColumn); - #endregion Set mould text table - - #region Set layer type combo box - CellRendererText cmbCell = new CellRendererText(); - cmbLayerType.Clear(); - lstLayerTypes = new ListStore(typeof(string)); - cmbLayerType.PackStart(cmbCell, true); - cmbLayerType.AddAttribute(cmbCell, "text", 0); - cmbLayerType.Model = lstLayerTypes; - foreach(LayersTypeType type in Enum.GetValues(typeof(LayersTypeType))) - lstLayerTypes.AppendValues(type.ToString()); - #endregion Set layer type combo box - - #region Set layers table - CellRendererText layerSizeCell = new CellRendererText(); - TreeViewColumn layerSizeColumn = new TreeViewColumn("Sectors", layerSizeCell, "text", 1); - lstLayers = new ListStore(typeof(int), typeof(long)); - treeLayers.Model = lstLayers; - treeLayers.AppendColumn(layerColumn); - treeLayers.AppendColumn(layerSizeColumn); - #endregion Set layers table - - CellRendererText sessionCell = new CellRendererText(); - TreeViewColumn sessionColumn = new TreeViewColumn("Session", sessionCell, "text", 2); - - #region Set Lead-In table - lstLeadIns = new ListStore(typeof(string), typeof(int), typeof(int), typeof(ChecksumType[])); - treeLeadIn.Model = lstLeadIns; - treeLeadIn.AppendColumn(fileColumn); - treeLeadIn.AppendColumn(sizeColumn); - treeLeadIn.AppendColumn(sessionColumn); - #endregion Set Lead-In table - - #region Set Lead-Out table - lstLeadOuts = new ListStore(typeof(string), typeof(int), typeof(int), typeof(ChecksumType[])); - treeLeadOut.Model = lstLeadOuts; - treeLeadOut.AppendColumn(fileColumn); - treeLeadOut.AppendColumn(sizeColumn); - treeLeadOut.AppendColumn(sessionColumn); - #endregion Set Lead-Out table - - #region Set tracks table - lstTracks = new ListStore(typeof(int), typeof(int), typeof(string), typeof(long), typeof(string), - typeof(long), typeof(string), typeof(string), typeof(long), typeof(long), - typeof(string), typeof(int), typeof(string), typeof(ChecksumType[]), - typeof(SubChannelType), typeof(ListStore)); - CellRendererText trackSequenceCell = new CellRendererText(); - CellRendererText sessionSequenceCell = new CellRendererText(); - CellRendererText trackFileCell = new CellRendererText(); - CellRendererText trackFileSizeCell = new CellRendererText(); - CellRendererText trackFileFormatCell = new CellRendererText(); - CellRendererText trackFileOffsetCell = new CellRendererText(); - CellRendererText trackMSFStartCell = new CellRendererText(); - CellRendererText trackMSFEndCell = new CellRendererText(); - CellRendererText trackStartCell = new CellRendererText(); - CellRendererText trackEndCell = new CellRendererText(); - CellRendererText trackTypeCell = new CellRendererText(); - CellRendererText trackBpsCell = new CellRendererText(); - CellRendererText trackAccoustCell = new CellRendererText(); - TreeViewColumn trackSequenceColumn = - new TreeViewColumn("Track", trackSequenceCell, "text", 0); - TreeViewColumn sessionSequenceColumn = - new TreeViewColumn("Session", sessionSequenceCell, "text", 1); - TreeViewColumn trackFileColumn = - new TreeViewColumn("File", trackFileCell, "text", 2); - TreeViewColumn trackFileSizeColumn = - new TreeViewColumn("Size", trackFileSizeCell, "text", 3); - TreeViewColumn trackFileFormatColumn = - new TreeViewColumn("Format", trackFileFormatCell, "text", 4); - TreeViewColumn trackFileOffsetColumn = - new TreeViewColumn("Offset", trackFileOffsetCell, "text", 5); - TreeViewColumn trackMSFStartColumn = - new TreeViewColumn("MSF Start", trackMSFStartCell, "text", 6); - TreeViewColumn trackMSFEndColumn = - new TreeViewColumn("MSF End", trackMSFEndCell, "text", 7); - TreeViewColumn trackStartColumn = - new TreeViewColumn("LBA Start", trackStartCell, "text", 8); - TreeViewColumn trackEndColumn = - new TreeViewColumn("LBA End", trackEndCell, "text", 9); - TreeViewColumn trackTypeColumn = - new TreeViewColumn("Type", trackTypeCell, "text", 10); - TreeViewColumn trackBpsColumn = - new TreeViewColumn("Bytes per sector", trackBpsCell, "text", 11); - TreeViewColumn trackAccoustColumn = - new TreeViewColumn("Accoust ID", trackAccoustCell, "text", 12); - treeTracks.Model = lstTracks; - treeTracks.AppendColumn(trackSequenceColumn); - treeTracks.AppendColumn(sessionSequenceColumn); - treeTracks.AppendColumn(trackFileColumn); - treeTracks.AppendColumn(trackFileSizeColumn); - treeTracks.AppendColumn(trackFileFormatColumn); - treeTracks.AppendColumn(trackFileOffsetColumn); - treeTracks.AppendColumn(trackMSFStartColumn); - treeTracks.AppendColumn(trackMSFEndColumn); - treeTracks.AppendColumn(trackStartColumn); - treeTracks.AppendColumn(trackEndColumn); - treeTracks.AppendColumn(trackTypeColumn); - treeTracks.AppendColumn(trackBpsColumn); - treeTracks.AppendColumn(trackAccoustColumn); - #endregion Set tracks table - - #region Set track type combo box - cmbTrackType.Clear(); - lstTrackTypes = new ListStore(typeof(string)); - cmbTrackType.PackStart(cmbCell, true); - cmbTrackType.AddAttribute(cmbCell, "text", 0); - cmbTrackType.Model = lstTrackTypes; - foreach(TrackTypeTrackType type in Enum.GetValues(typeof(TrackTypeTrackType))) - lstTrackTypes.AppendValues(type.ToString()); - #endregion Set track type combo box - - spExtentStart.Adjustment.Upper = double.MaxValue; - spExtentEnd.Adjustment.Upper = double.MaxValue; - } - - public void FillFields() - { - if(Metadata == null) return; - - txtImage.Text = Metadata.Image.Value; - txtFormat.Text = Metadata.Image.format; - if(Metadata.Image.offsetSpecified) txtOffset.Text = Metadata.Image.offset.ToString(); - txtSize.Text = Metadata.Size.ToString(); - if(Metadata.Sequence != null) - { - lblDiscTitle.Visible = true; - lblDiscTitle.Visible = true; - lblSequence.Visible = true; - spSequence.Visible = true; - lblTotalMedia.Visible = true; - spTotalMedia.Visible = true; - lblSide.Visible = true; - spSide.Visible = true; - lblLayer.Visible = true; - spLayer1.Visible = true; - chkSequence.Active = true; - txtDiscTitle.Text = Metadata.Sequence.MediaTitle; - spSequence.Value = Metadata.Sequence.MediaSequence; - spTotalMedia.Value = Metadata.Sequence.TotalMedia; - if(Metadata.Sequence.SideSpecified) spSide.Value = Metadata.Sequence.Side; - if(Metadata.Sequence.LayerSpecified) spLayer1.Value = Metadata.Sequence.Layer; - } - - if(Metadata.Layers != null) - { - chkLayers.Active = true; - frmLayers.Visible = true; - - cmbLayerType.Model.GetIterFirst(out TreeIter layerIter); - do - { - if((string)cmbLayerType.Model.GetValue(layerIter, 0) != Metadata.Layers.type.ToString()) continue; - - cmbLayerType.SetActiveIter(layerIter); - break; - } - while(cmbLayerType.Model.IterNext(ref layerIter)); - - foreach(SectorsType layer in Metadata.Layers.Sectors) lstLayers.AppendValues(layer.layer, layer.Value); - } - - checksums = Metadata.Checksums; - xbox = Metadata.Xbox; - - if(Metadata.RingCode != null) - foreach(LayeredTextType ringcode in Metadata.RingCode) - lstRingCodes.AppendValues(ringcode.layer, ringcode.Value); - - if(Metadata.MasteringSID != null) - foreach(LayeredTextType masteringsid in Metadata.MasteringSID) - lstMasteringSIDs.AppendValues(masteringsid.layer, masteringsid.Value); - - if(Metadata.Toolstamp != null) - foreach(LayeredTextType toolstamp in Metadata.Toolstamp) - lstToolstamps.AppendValues(toolstamp.layer, toolstamp.Value); - - if(Metadata.MouldSID != null) - foreach(LayeredTextType mouldsid in Metadata.MouldSID) - lstMouldSIDs.AppendValues(mouldsid.layer, mouldsid.Value); - - if(Metadata.MouldText != null) - foreach(LayeredTextType mouldtext in Metadata.MouldText) - lstMouldTexts.AppendValues(mouldtext.layer, mouldtext.Value); - - if(Metadata.DiscType != null) txtDiscType.Text = Metadata.DiscType; - if(Metadata.DiscSubType != null) txtDiscSubType.Text = Metadata.DiscSubType; - if(Metadata.OffsetSpecified) txtWriteOffset.Text = Metadata.Offset.ToString(); - txtMediaTracks.Text = Metadata.Tracks[0].ToString(); - txtMediaSessions.Text = Metadata.Sessions.ToString(); - if(Metadata.CopyProtection != null) txtCopyProtection.Text = Metadata.CopyProtection; - - if(Metadata.Dimensions != null) - { - chkDimensions.Active = true; - if(Metadata.Dimensions.DiameterSpecified) - { - chkRound.Active = true; - lblDiameter.Visible = true; - spDiameter.Visible = true; - lblDiameterUnits.Visible = true; - spDiameter.Value = Metadata.Dimensions.Diameter; - } - else - { - lblHeight.Visible = true; - spHeight.Visible = true; - lblHeightUnits.Visible = true; - spHeight.Value = Metadata.Dimensions.Height; - lblWidth.Visible = true; - spWidth.Visible = true; - lblWidthUnits.Visible = true; - spWidth.Value = Metadata.Dimensions.Width; - } - - lblThickness.Visible = true; - spThickness.Visible = true; - lblThicknessUnits.Visible = true; - spThickness.Value = Metadata.Dimensions.Thickness; - } - - mediaCase = Metadata.Case; - scans = Metadata.Scans; - - if(Metadata.PFI != null) - { - frmPFI.Visible = true; - lstPFI.AppendValues(Metadata.PFI.Image, Metadata.PFI.Size, Metadata.PFI.Checksums); - } - - if(Metadata.DMI != null) - { - frmDMI.Visible = true; - lstDMI.AppendValues(Metadata.DMI.Image, Metadata.DMI.Size, Metadata.DMI.Checksums); - } - - if(Metadata.CMI != null) - { - frmCMI.Visible = true; - lstCMI.AppendValues(Metadata.CMI.Image, Metadata.CMI.Size, Metadata.CMI.Checksums); - } - - if(Metadata.BCA != null) - { - frmBCA.Visible = true; - lstBCA.AppendValues(Metadata.BCA.Image, Metadata.BCA.Size, Metadata.BCA.Checksums); - } - - if(Metadata.ATIP != null) - { - frmATIP.Visible = true; - lstATIP.AppendValues(Metadata.ATIP.Image, Metadata.ATIP.Size, Metadata.ATIP.Checksums); - } - - if(Metadata.ADIP != null) - { - frmADIP.Visible = true; - lstADIP.AppendValues(Metadata.ADIP.Image, Metadata.ADIP.Size, Metadata.ADIP.Checksums); - } - - if(Metadata.PMA != null) - { - frmPMA.Visible = true; - lstPMA.AppendValues(Metadata.PMA.Image, Metadata.PMA.Size, Metadata.PMA.Checksums); - } - - if(Metadata.DDS != null) - { - frmDDS.Visible = true; - lstDDS.AppendValues(Metadata.DDS.Image, Metadata.DDS.Size, Metadata.DDS.Checksums); - } - - if(Metadata.SAI != null) - { - frmSAI.Visible = true; - lstSAI.AppendValues(Metadata.SAI.Image, Metadata.SAI.Size, Metadata.SAI.Checksums); - } - - if(Metadata.LastRMD != null) - { - frmLastRMD.Visible = true; - lstLastRMD.AppendValues(Metadata.LastRMD.Image, Metadata.LastRMD.Size, Metadata.LastRMD.Checksums); - } - - if(Metadata.PRI != null) - { - frmPRI.Visible = true; - lstPRI.AppendValues(Metadata.PRI.Image, Metadata.PRI.Size, Metadata.PRI.Checksums); - } - - if(Metadata.MediaID != null) - { - frmMediaID.Visible = true; - lstMediaID.AppendValues(Metadata.MediaID.Image, Metadata.MediaID.Size, Metadata.MediaID.Checksums); - } - - if(Metadata.PFIR != null) - { - frmPFIR.Visible = true; - lstPFIR.AppendValues(Metadata.PFIR.Image, Metadata.PFIR.Size, Metadata.PFIR.Checksums); - } - - if(Metadata.DCB != null) - { - frmDCB.Visible = true; - lstDCB.AppendValues(Metadata.DCB.Image, Metadata.DCB.Size, Metadata.DCB.Checksums); - } - - if(Metadata.DI != null) - { - frmDI.Visible = true; - lstDI.AppendValues(Metadata.DI.Image, Metadata.DI.Size, Metadata.DI.Checksums); - } - - if(Metadata.PAC != null) - { - frmPAC.Visible = true; - lstPAC.AppendValues(Metadata.PAC.Image, Metadata.PAC.Size, Metadata.PAC.Checksums); - } - - if(Metadata.TOC != null) - { - frmTOC.Visible = true; - lstTOC.AppendValues(Metadata.TOC.Image, Metadata.TOC.Size, Metadata.TOC.Checksums); - } - - if(Metadata.LeadInCdText != null) - { - frmCDText.Visible = true; - lstCDText.AppendValues(Metadata.LeadInCdText.Image, Metadata.LeadInCdText.Size, - Metadata.LeadInCdText.Checksums); - } - - if(Metadata.LeadIn != null) - { - frmLeadIns.Visible = true; - foreach(BorderType leadin in Metadata.LeadIn) - lstLeadIns.AppendValues(leadin.Image, leadin.Size, leadin.session, leadin.Checksums); - } - - if(Metadata.LeadOut != null) - { - frmLeadOuts.Visible = true; - foreach(BorderType leadout in Metadata.LeadOut) - lstLeadOuts.AppendValues(leadout.Image, leadout.Size, leadout.session, leadout.Checksums); - } - - if(Metadata.PS3Encryption != null) - { - txtPS3Key.Text = Metadata.PS3Encryption.Key; - txtPS3Serial.Text = Metadata.PS3Encryption.Serial; - } - - foreach(TrackType track in Metadata.Track) - { - ListStore lstPartitions = new ListStore(typeof(int), typeof(int), typeof(int), typeof(string), - typeof(string), typeof(string), typeof(ListStore)); - - if(track.FileSystemInformation != null) - foreach(PartitionType partition in track.FileSystemInformation) - { - ListStore lstFilesystems = - new ListStore(typeof(string), typeof(string), typeof(FileSystemType)); - if(partition.FileSystems != null) - foreach(FileSystemType fs in partition.FileSystems) - lstFilesystems.AppendValues(fs.Type, fs.VolumeName, fs); - lstPartitions.AppendValues(partition.Sequence, partition.StartSector, partition.EndSector, - partition.Type, partition.Name, partition.Description, - lstFilesystems); - } - - lstTracks.AppendValues(track.Sequence.TrackNumber, track.Sequence.Session, track.Image.Value, - track.Size, track.Image.format, track.Image.offset, track.StartMSF, track.EndMSF, - track.StartSector, track.EndSector, track.TrackType1.ToString(), - track.BytesPerSector, track.AccoustID, track.Checksums, track.SubChannel, - lstPartitions); - } - - if(Metadata.DumpHardwareArray != null) - { - chkDumpHardware.Active = true; - treeDumpHardware.Visible = true; - btnAddHardware.Visible = true; - btnRemoveHardware.Visible = true; - btnEditHardware.Visible = true; - - foreach(DumpHardwareType hw in Metadata.DumpHardwareArray) - if(hw.Extents != null) - { - ListStore lstExtents = new ListStore(typeof(ulong), typeof(ulong)); - foreach(ExtentType extent in hw.Extents) lstExtents.AppendValues(extent.Start, extent.End); - if(hw.Software != null) - lstDumpHw.AppendValues(hw.Manufacturer, hw.Model, hw.Revision, hw.Firmware, hw.Serial, - hw.Software.Name, hw.Software.Version, hw.Software.OperatingSystem, - lstExtents); - else - lstDumpHw.AppendValues(hw.Manufacturer, hw.Model, hw.Revision, hw.Firmware, hw.Serial, null, - null, null, lstExtents); - } - } - } - - protected void OnChkSequencedToggled(object sender, EventArgs e) - { - lblDiscTitle.Visible = chkSequence.Active; - txtDiscTitle.Visible = chkSequence.Active; - lblSequence.Visible = chkSequence.Active; - spSequence.Visible = chkSequence.Active; - lblTotalMedia.Visible = chkSequence.Active; - spTotalMedia.Visible = chkSequence.Active; - lblSide.Visible = chkSequence.Active; - spSide.Visible = chkSequence.Active; - lblLayer.Visible = chkSequence.Active; - spLayer1.Visible = chkSequence.Active; - } - - protected void OnChkDimensionsToggled(object sender, EventArgs e) - { - chkRound.Visible = chkDimensions.Active; - lblThickness.Visible = chkDimensions.Active; - spThickness.Visible = chkDimensions.Active; - lblThicknessUnits.Visible = chkDimensions.Active; - if(chkDimensions.Active) OnChkRoundToggled(sender, e); - else - { - lblDiameter.Visible = false; - spDiameter.Visible = false; - lblDiameterUnits.Visible = false; - lblHeight.Visible = false; - spHeight.Visible = false; - lblHeightUnits.Visible = false; - lblWidth.Visible = false; - spWidth.Visible = false; - lblWidthUnits.Visible = false; - } - } - - protected void OnChkRoundToggled(object sender, EventArgs e) - { - lblDiameter.Visible = chkRound.Active; - spDiameter.Visible = chkRound.Active; - lblDiameterUnits.Visible = chkRound.Active; - lblHeight.Visible = !chkRound.Active; - spHeight.Visible = !chkRound.Active; - lblHeightUnits.Visible = !chkRound.Active; - lblWidth.Visible = !chkRound.Active; - spWidth.Visible = !chkRound.Active; - lblWidthUnits.Visible = !chkRound.Active; - } - - protected void OnChkLayersToggled(object sender, EventArgs e) - { - frmLayers.Visible = chkLayers.Active; - } - - protected void OnBtnAddLayerClicked(object sender, EventArgs e) - { - MessageDialog dlgMsg; - - if(string.IsNullOrWhiteSpace(txtLayerSize.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Layer size must not be empty"); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - if(!long.TryParse(txtLayerSize.Text, out long ltmp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Layer size must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - if(ltmp < 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Layer size must be a positive"); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - if(ltmp == 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Layer size must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - - lstLayers.AppendValues(spLayer1.ValueAsInt, long.Parse(txtLayerSize.Text)); - } - - protected void OnBtnRemoveLayerClicked(object sender, EventArgs e) - { - if(treeLayers.Selection.GetSelected(out TreeIter outIter)) lstLayers.Remove(ref outIter); - } - - protected void OnBtnRemovePartitionClicked(object sender, EventArgs e) - { - if(treePartitions.Selection.GetSelected(out partitionIter)) - ((ListStore)treePartitions.Model).Remove(ref partitionIter); - } - - protected void OnBtnEditPartitionClicked(object sender, EventArgs e) - { - if(!treePartitions.Selection.GetSelected(out partitionIter)) return; - - spPartitionSequence.Value = (int)((ListStore)treePartitions.Model).GetValue(partitionIter, 0); - txtPartitionStart.Text = - ((int)((ListStore)treePartitions.Model).GetValue(partitionIter, 1)).ToString(); - txtPartitionEnd.Text = - ((int)((ListStore)treePartitions.Model).GetValue(partitionIter, 2)).ToString(); - txtPartitionType.Text = (string)((ListStore)treePartitions.Model).GetValue(partitionIter, 3); - txtPartitionName.Text = (string)((ListStore)treePartitions.Model).GetValue(partitionIter, 4); - txtPartitionDescription.Text = (string)((ListStore)treePartitions.Model).GetValue(partitionIter, 5); - treeFilesystems.Model = (ListStore)((ListStore)treePartitions.Model).GetValue(partitionIter, 6); - - btnCancelPartition.Visible = true; - btnApplyPartition.Visible = true; - btnRemovePartition.Visible = false; - btnEditPartition.Visible = false; - btnAddPartition.Visible = false; - lblPartitionSequence.Visible = true; - spPartitionSequence.Visible = true; - lblPartitionStart.Visible = true; - txtPartitionStart.Visible = true; - lblPartitionEnd.Visible = true; - txtPartitionEnd.Visible = true; - lblPartitionType.Visible = true; - txtPartitionType.Visible = true; - lblPartitionName.Visible = true; - txtPartitionName.Visible = true; - lblPartitionDescription.Visible = true; - txtPartitionDescription.Visible = true; - frmFilesystems.Visible = true; - - editingPartition = true; - } - - protected void OnBtnApplyPartitionClicked(object sender, EventArgs e) - { - MessageDialog dlgMsg; - - if(spPartitionSequence.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition sequence must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!int.TryParse(txtPartitionStart.Text, out int temp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition start must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(!int.TryParse(txtPartitionEnd.Text, out int temp2)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition end must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(temp2 <= temp) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Partition must end after start, and be bigger than 1 sector"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(editingPartition) ((ListStore)treePartitions.Model).Remove(ref partitionIter); - - ((ListStore)treePartitions.Model).AppendValues(spPartitionSequence.ValueAsInt, - int.Parse(txtPartitionStart.Text), - int.Parse(txtPartitionEnd.Text), txtPartitionType.Text, - txtPartitionName.Text, txtPartitionDescription.Text, - (ListStore)treeFilesystems.Model); - - btnCancelPartition.Visible = false; - btnApplyPartition.Visible = false; - btnRemovePartition.Visible = true; - btnEditPartition.Visible = true; - btnAddPartition.Visible = true; - lblPartitionSequence.Visible = false; - spPartitionSequence.Visible = false; - lblPartitionStart.Visible = false; - txtPartitionStart.Visible = false; - lblPartitionEnd.Visible = false; - txtPartitionEnd.Visible = false; - lblPartitionType.Visible = false; - txtPartitionType.Visible = false; - lblPartitionName.Visible = false; - txtPartitionName.Visible = false; - lblPartitionDescription.Visible = false; - txtPartitionDescription.Visible = false; - frmFilesystems.Visible = false; - } - - protected void OnBtnAddPartitionClicked(object sender, EventArgs e) - { - spPartitionSequence.Value = 0; - txtPartitionStart.Text = ""; - txtPartitionEnd.Text = ""; - txtPartitionType.Text = ""; - txtPartitionName.Text = ""; - txtPartitionDescription.Text = ""; - treeFilesystems.Model = new ListStore(typeof(string), typeof(string), typeof(FileSystemType)); - - btnCancelPartition.Visible = true; - btnApplyPartition.Visible = true; - btnRemovePartition.Visible = false; - btnEditPartition.Visible = false; - btnAddPartition.Visible = false; - lblPartitionSequence.Visible = true; - spPartitionSequence.Visible = true; - lblPartitionStart.Visible = true; - txtPartitionStart.Visible = true; - lblPartitionEnd.Visible = true; - txtPartitionEnd.Visible = true; - lblPartitionType.Visible = true; - txtPartitionType.Visible = true; - lblPartitionName.Visible = true; - txtPartitionName.Visible = true; - lblPartitionDescription.Visible = true; - txtPartitionDescription.Visible = true; - frmFilesystems.Visible = true; - - editingPartition = false; - } - - protected void OnBtnRemoveFilesystemClicked(object sender, EventArgs e) - { - if(treeFilesystems.Selection.GetSelected(out filesystemIter)) - ((ListStore)treeFilesystems.Model).Remove(ref filesystemIter); - } - - protected void OnBtnEditFilesystemClicked(object sender, EventArgs e) - { - if(!treeFilesystems.Selection.GetSelected(out filesystemIter)) return; - - dlgFilesystem _dlgFilesystem = new dlgFilesystem - { - Metadata = (FileSystemType)((ListStore)treeFilesystems.Model).GetValue(filesystemIter, 2) - }; - _dlgFilesystem.FillFields(); - - if(_dlgFilesystem.Run() == (int)ResponseType.Ok) - { - ((ListStore)treeFilesystems.Model).Remove(ref filesystemIter); - ((ListStore)treeFilesystems.Model).AppendValues(_dlgFilesystem.Metadata.Type, - _dlgFilesystem.Metadata.VolumeName, - _dlgFilesystem.Metadata); - } - - _dlgFilesystem.Destroy(); - } - - protected void OnBtnAddFilesystemClicked(object sender, EventArgs e) - { - dlgFilesystem _dlgFilesystem = new dlgFilesystem(); - - if(_dlgFilesystem.Run() == (int)ResponseType.Ok) - ((ListStore)treeFilesystems.Model).AppendValues(_dlgFilesystem.Metadata.Type, - _dlgFilesystem.Metadata.VolumeName, - _dlgFilesystem.Metadata); - - _dlgFilesystem.Destroy(); - } - - protected void OnBtnCancelTrackClicked(object sender, EventArgs e) - { - btnEditTrack.Visible = true; - btnApplyTrack.Visible = false; - btnCancelTrack.Visible = false; - frmPartitions.Visible = false; - lblTrackStart.Visible = false; - txtTrackStart.Visible = false; - lblTrackEnd.Visible = false; - txtTrackEnd.Visible = false; - lblMSFStart.Visible = false; - txtMSFStart.Visible = false; - lblMSFEnd.Visible = false; - txtMSFEnd.Visible = false; - lblTrackSequence.Visible = false; - txtTrackSequence.Visible = false; - lblSessionSequence.Visible = false; - txtSessionSequence.Visible = false; - lblTrackType.Visible = false; - cmbTrackType.Visible = false; - txtBytesPerSector.Visible = false; - lblBytesPerSector.Visible = false; - lblAcoustID.Visible = false; - txtAcoustID.Visible = false; - } - - protected void OnBtnApplyTrackClicked(object sender, EventArgs e) - { - string file = (string)lstTracks.GetValue(trackIter, 2); - long filesize = (long)lstTracks.GetValue(trackIter, 3); - string fileformat = (string)lstTracks.GetValue(trackIter, 4); - long fileoffset = (long)lstTracks.GetValue(trackIter, 5); - ChecksumType[] checksums = (ChecksumType[])lstTracks.GetValue(trackIter, 13); - SubChannelType subchannel = (SubChannelType)lstTracks.GetValue(trackIter, 14); - - string trackType; - if(cmbTrackType.GetActiveIter(out TreeIter typeIter)) - trackType = (string)cmbTrackType.Model.GetValue(typeIter, 0); - else trackType = TrackTypeTrackType.mode1.ToString(); - - lstTracks.Remove(ref trackIter); - lstTracks.AppendValues(int.Parse(txtTrackSequence.Text), int.Parse(txtSessionSequence.Text), file, filesize, - fileformat, fileoffset, txtMSFStart.Text, txtMSFEnd.Text, - long.Parse(txtTrackStart.Text), long.Parse(txtTrackEnd.Text), trackType, - int.Parse(txtBytesPerSector.Text), txtAcoustID.Text, checksums, subchannel, - (ListStore)treePartitions.Model); - - btnEditTrack.Visible = true; - btnApplyTrack.Visible = false; - btnCancelTrack.Visible = false; - frmPartitions.Visible = false; - lblTrackStart.Visible = false; - txtTrackStart.Visible = false; - lblTrackEnd.Visible = false; - txtTrackEnd.Visible = false; - lblMSFStart.Visible = false; - txtMSFStart.Visible = false; - lblMSFEnd.Visible = false; - txtMSFEnd.Visible = false; - lblTrackSequence.Visible = false; - txtTrackSequence.Visible = false; - lblSessionSequence.Visible = false; - txtSessionSequence.Visible = false; - lblTrackType.Visible = false; - cmbTrackType.Visible = false; - txtBytesPerSector.Visible = false; - lblBytesPerSector.Visible = false; - lblAcoustID.Visible = false; - txtAcoustID.Visible = false; - } - - protected void OnBtnEditTrackClicked(object sender, EventArgs e) - { - if(!treeTracks.Selection.GetSelected(out trackIter)) return; - - txtTrackSequence.Text = ((int)lstTracks.GetValue(trackIter, 0)).ToString(); - txtSessionSequence.Text = ((int)lstTracks.GetValue(trackIter, 1)).ToString(); - txtMSFStart.Text = (string)lstTracks.GetValue(trackIter, 6); - txtMSFEnd.Text = (string)lstTracks.GetValue(trackIter, 7); - txtTrackStart.Text = ((long)lstTracks.GetValue(trackIter, 8)).ToString(); - txtTrackEnd.Text = ((long)lstTracks.GetValue(trackIter, 9)).ToString(); - string tracktype = (string)lstTracks.GetValue(trackIter, 10); - txtBytesPerSector.Text = ((int)lstTracks.GetValue(trackIter, 11)).ToString(); - txtAcoustID.Text = (string)lstTracks.GetValue(trackIter, 12); - treePartitions.Model = (ListStore)lstTracks.GetValue(trackIter, 15); - - cmbTrackType.Model.GetIterFirst(out TreeIter typeIter); - do - { - if((string)cmbTrackType.Model.GetValue(typeIter, 0) != tracktype) continue; - - cmbTrackType.SetActiveIter(typeIter); - break; - } - while(cmbTrackType.Model.IterNext(ref typeIter)); - - btnEditTrack.Visible = false; - btnApplyTrack.Visible = true; - btnCancelTrack.Visible = true; - frmPartitions.Visible = true; - lblTrackStart.Visible = true; - txtTrackStart.Visible = true; - lblTrackEnd.Visible = true; - txtTrackEnd.Visible = true; - lblMSFStart.Visible = true; - txtMSFStart.Visible = true; - lblMSFEnd.Visible = true; - txtMSFEnd.Visible = true; - lblTrackSequence.Visible = true; - txtTrackSequence.Visible = true; - lblSessionSequence.Visible = true; - txtSessionSequence.Visible = true; - lblTrackType.Visible = true; - cmbTrackType.Visible = true; - txtBytesPerSector.Visible = true; - lblBytesPerSector.Visible = true; - lblAcoustID.Visible = true; - txtAcoustID.Visible = true; - } - - protected void OnChkKnownDumpHWToggled(object sender, EventArgs e) - { - treeDumpHardware.Visible = chkDumpHardware.Active; - btnAddHardware.Visible = chkDumpHardware.Active; - btnRemoveHardware.Visible = chkDumpHardware.Active; - btnEditHardware.Visible = chkDumpHardware.Active; - - btnCancelHardware.Visible = false; - btnApplyHardware.Visible = false; - lblHWManufacturer.Visible = false; - txtHWManufacturer.Visible = false; - lblHWModel.Visible = false; - txtHWModel.Visible = false; - lblHWRevision.Visible = false; - txtHWRevision.Visible = false; - lblHWFirmware.Visible = false; - txtHWFirmware.Visible = false; - lblHWSerial.Visible = false; - txtHWSerial.Visible = false; - frmExtents.Visible = false; - frmDumpSoftware.Visible = false; - } - - protected void OnBtnCancelDumpHWClicked(object sender, EventArgs e) - { - btnAddHardware.Visible = true; - btnRemoveHardware.Visible = true; - btnCancelHardware.Visible = false; - btnEditHardware.Visible = true; - btnApplyHardware.Visible = false; - lblHWManufacturer.Visible = false; - txtHWManufacturer.Visible = false; - lblHWModel.Visible = false; - txtHWModel.Visible = false; - lblHWRevision.Visible = false; - txtHWRevision.Visible = false; - lblHWFirmware.Visible = false; - txtHWFirmware.Visible = false; - lblHWSerial.Visible = false; - txtHWSerial.Visible = false; - frmExtents.Visible = false; - frmDumpSoftware.Visible = false; - } - - protected void OnBtnRemoveDumpHWClicked(object sender, EventArgs e) - { - if(treeDumpHardware.Selection.GetSelected(out TreeIter dumphwIter)) lstDumpHw.Remove(ref dumphwIter); - } - - protected void OnBtnApplyDumpHWClicked(object sender, EventArgs e) - { - if(editingDumpHw) lstDumpHw.Remove(ref dumpHwIter); - - lstDumpHw.AppendValues(txtHWManufacturer.Text, txtHWModel.Text, txtHWRevision.Text, txtHWFirmware.Text, - txtHWSerial.Text, txtSoftwareName.Text, txtSoftwareVersion.Text, txtSoftwareOS.Text, - (ListStore)treeExtents.Model); - - btnAddHardware.Visible = true; - btnRemoveHardware.Visible = true; - btnCancelHardware.Visible = false; - btnEditHardware.Visible = true; - btnApplyHardware.Visible = false; - lblHWManufacturer.Visible = false; - txtHWManufacturer.Visible = false; - lblHWModel.Visible = false; - txtHWModel.Visible = false; - lblHWRevision.Visible = false; - txtHWRevision.Visible = false; - lblHWFirmware.Visible = false; - txtHWFirmware.Visible = false; - lblHWSerial.Visible = false; - txtHWSerial.Visible = false; - frmExtents.Visible = false; - frmDumpSoftware.Visible = false; - } - - protected void OnBtnAddDumpHWClicked(object sender, EventArgs e) - { - txtHWManufacturer.Text = ""; - txtHWModel.Text = ""; - txtHWRevision.Text = ""; - txtHWFirmware.Text = ""; - txtHWSerial.Text = ""; - txtSoftwareName.Text = ""; - txtSoftwareVersion.Text = ""; - txtSoftwareOS.Text = ""; - treeExtents.Model = new ListStore(typeof(int), typeof(int)); - - btnAddHardware.Visible = false; - btnRemoveHardware.Visible = false; - btnCancelHardware.Visible = true; - btnEditHardware.Visible = false; - btnApplyHardware.Visible = true; - lblHWManufacturer.Visible = true; - txtHWManufacturer.Visible = true; - lblHWModel.Visible = true; - txtHWModel.Visible = true; - lblHWRevision.Visible = true; - txtHWRevision.Visible = true; - lblHWFirmware.Visible = true; - txtHWFirmware.Visible = true; - lblHWSerial.Visible = true; - txtHWSerial.Visible = true; - frmExtents.Visible = true; - frmDumpSoftware.Visible = true; - - editingDumpHw = false; - } - - protected void OnBtnRemoveExtentClicked(object sender, EventArgs e) - { - if(treeExtents.Selection.GetSelected(out TreeIter extentIter)) - ((ListStore)treeExtents.Model).Remove(ref extentIter); - } - - protected void OnBtnEditDumpHWClicked(object sender, EventArgs e) - { - if(!treeDumpHardware.Selection.GetSelected(out dumpHwIter)) return; - - txtHWManufacturer.Text = (string)lstDumpHw.GetValue(dumpHwIter, 0); - txtHWModel.Text = (string)lstDumpHw.GetValue(dumpHwIter, 1); - txtHWRevision.Text = (string)lstDumpHw.GetValue(dumpHwIter, 2); - txtHWFirmware.Text = (string)lstDumpHw.GetValue(dumpHwIter, 3); - txtHWSerial.Text = (string)lstDumpHw.GetValue(dumpHwIter, 4); - txtSoftwareName.Text = (string)lstDumpHw.GetValue(dumpHwIter, 5); - txtSoftwareVersion.Text = (string)lstDumpHw.GetValue(dumpHwIter, 6); - txtSoftwareOS.Text = (string)lstDumpHw.GetValue(dumpHwIter, 7); - treeExtents.Model = (ListStore)lstDumpHw.GetValue(dumpHwIter, 8); - - btnAddHardware.Visible = false; - btnRemoveHardware.Visible = false; - btnCancelHardware.Visible = true; - btnEditHardware.Visible = false; - btnApplyHardware.Visible = true; - lblHWManufacturer.Visible = true; - txtHWManufacturer.Visible = true; - lblHWModel.Visible = true; - txtHWModel.Visible = true; - lblHWRevision.Visible = true; - txtHWRevision.Visible = true; - lblHWFirmware.Visible = true; - txtHWFirmware.Visible = true; - lblHWSerial.Visible = true; - txtHWSerial.Visible = true; - frmExtents.Visible = true; - frmDumpSoftware.Visible = true; - - editingDumpHw = true; - } - - protected void OnBtnAddExtentClicked(object sender, EventArgs e) - { - ((ListStore)treeExtents.Model).AppendValues(spExtentStart.ValueAsInt, spExtentEnd.ValueAsInt); - } - - protected void OnBtnAddRingCodeClicked(object sender, EventArgs e) - { - lstRingCodes.AppendValues(spRingCodeLayer.ValueAsInt, txtRingCode.Text); - } - - protected void OnBtnRemoveRingCodeClicked(object sender, EventArgs e) - { - if(treeRingCodes.Selection.GetSelected(out TreeIter outIter)) lstRingCodes.Remove(ref outIter); - } - - protected void OnBtnAddMasteringSIDClicked(object sender, EventArgs e) - { - lstMasteringSIDs.AppendValues(spMasteringSIDLayer.ValueAsInt, txtMasteringSID.Text); - } - - protected void OnBtnRemoveMasteringSIDClicked(object sender, EventArgs e) - { - if(treeMasteringSIDs.Selection.GetSelected(out TreeIter outIter)) lstMasteringSIDs.Remove(ref outIter); - } - - protected void OnBtnAddToolstampClicked(object sender, EventArgs e) - { - lstToolstamps.AppendValues(spToolstampLayer.ValueAsInt, txtToolstamp.Text); - } - - protected void OnBtnRemoveToolstampClicked(object sender, EventArgs e) - { - if(treeToolstamps.Selection.GetSelected(out TreeIter outIter)) lstToolstamps.Remove(ref outIter); - } - - protected void OnBtnAddMouldSIDClicked(object sender, EventArgs e) - { - lstMouldSIDs.AppendValues(spMouldSIDLayer.ValueAsInt, txtMouldSID.Text); - } - - protected void OnBtnRemoveMouldSIDClicked(object sender, EventArgs e) - { - if(treeMouldSIDs.Selection.GetSelected(out TreeIter outIter)) lstMouldSIDs.Remove(ref outIter); - } - - protected void OnBtnAddMouldTextClicked(object sender, EventArgs e) - { - lstMouldTexts.AppendValues(spMouldTextLayer.ValueAsInt, txtMouldText.Text); - } - - protected void OnBtnRemoveMouldTextClicked(object sender, EventArgs e) - { - if(treeMouldTexts.Selection.GetSelected(out TreeIter outIter)) lstMouldTexts.Remove(ref outIter); - } - - protected void OnButtonOkClicked(object sender, EventArgs e) { } - - protected void OnBtnSaveClicked(object sender, EventArgs e) - { - MessageDialog dlgMsg; - - #region Sanity checks - if(string.IsNullOrEmpty(txtFormat.Text)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Image format cannot be null"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(chkSequence.Active) - { - if(spSequence.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Media sequence must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spTotalMedia.Value < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Total medias must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spSequence.Value > spTotalMedia.Value) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Media sequence cannot be bigger than total medias"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(!string.IsNullOrEmpty(txtWriteOffset.Text) && !long.TryParse(txtWriteOffset.Text, out long ltmp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Write offset must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(string.IsNullOrEmpty(txtMediaTracks.Text) || !long.TryParse(txtMediaTracks.Text, out ltmp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Tracks must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(ltmp < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Tracks must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(string.IsNullOrEmpty(txtMediaSessions.Text) || !long.TryParse(txtMediaSessions.Text, out ltmp)) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Sessions must be a number"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(ltmp < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Sessions must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(chkDimensions.Active) - { - if(chkRound.Active) - { - if(spDiameter.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Diameter must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - else - { - if(spHeight.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Height must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - if(spWidth.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Width must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(spThickness.ValueAsInt <= 0) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Thickness must be bigger than 0"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - } - - if(chkDumpHardware.Active) - if(lstDumpHw.IterNChildren() < 1) - { - dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "If dump hardware is known at least an entry must be created"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - #endregion Sanity checks - - TreeIter outIter; - Metadata = new OpticalDiscType(); - - Metadata.Image = new ImageType(); - Metadata.Image.Value = txtImage.Text; - Metadata.Image.format = txtFormat.Text; - if(!string.IsNullOrWhiteSpace(txtOffset.Text) && long.TryParse(txtOffset.Text, out ltmp)) - { - Metadata.Image.offsetSpecified = true; - Metadata.Image.offset = long.Parse(txtOffset.Text); - } - - Metadata.Size = long.Parse(txtSize.Text); - - if(chkSequence.Active) - { - Metadata.Sequence = new SequenceType - { - MediaTitle = txtDiscTitle.Text, - MediaSequence = spSequence.ValueAsInt, - TotalMedia = spTotalMedia.ValueAsInt - }; - if(spSide.ValueAsInt > 0) - { - Metadata.Sequence.SideSpecified = true; - Metadata.Sequence.Side = spSide.ValueAsInt; - } - - if(spLayer1.ValueAsInt > 0) - { - Metadata.Sequence.LayerSpecified = true; - Metadata.Sequence.Layer = spLayer1.ValueAsInt; - } - } - - if(lstLayers.IterNChildren() > 0) - { - Metadata.Layers = new LayersType(); - if(cmbLayerType.GetActiveIter(out outIter)) - { - Metadata.Layers.type = - (LayersTypeType)Enum.Parse(typeof(LayersTypeType), (string)lstLayerTypes.GetValue(outIter, 0)); - Metadata.Layers.typeSpecified = true; - } - - if(lstLayers.GetIterFirst(out outIter)) - { - List sectors = new List(); - do - { - SectorsType sector = new SectorsType - { - layer = (int)lstLayers.GetValue(outIter, 0), - Value = (long)lstLayers.GetValue(outIter, 1) - }; - - if(sector.layer > 0 || lstLayers.IterNChildren() > 1) sector.layerSpecified = true; - - sectors.Add(sector); - } - while(lstLayers.IterNext(ref outIter)); - - Metadata.Layers.Sectors = sectors.ToArray(); - } - } - - Metadata.Checksums = checksums; - Metadata.Xbox = xbox; - - if(lstRingCodes.GetIterFirst(out outIter)) - { - List codes = new List(); - do - { - LayeredTextType code = new LayeredTextType - { - layer = (int)lstRingCodes.GetValue(outIter, 0), - Value = (string)lstRingCodes.GetValue(outIter, 1) - }; - - if(code.layer > 0 || lstLayers.IterNChildren() > 1) code.layerSpecified = true; - - codes.Add(code); - } - while(lstRingCodes.IterNext(ref outIter)); - - Metadata.RingCode = codes.ToArray(); - } - - if(lstMasteringSIDs.GetIterFirst(out outIter)) - { - List codes = new List(); - do - { - LayeredTextType code = new LayeredTextType - { - layer = (int)lstMasteringSIDs.GetValue(outIter, 0), - Value = (string)lstMasteringSIDs.GetValue(outIter, 1) - }; - - if(code.layer > 0 || lstLayers.IterNChildren() > 1) code.layerSpecified = true; - - codes.Add(code); - } - while(lstMasteringSIDs.IterNext(ref outIter)); - - Metadata.MasteringSID = codes.ToArray(); - } - - if(lstToolstamps.GetIterFirst(out outIter)) - { - List codes = new List(); - do - { - LayeredTextType code = new LayeredTextType - { - layer = (int)lstToolstamps.GetValue(outIter, 0), - Value = (string)lstToolstamps.GetValue(outIter, 1) - }; - - if(code.layer > 0 || lstLayers.IterNChildren() > 1) code.layerSpecified = true; - - codes.Add(code); - } - while(lstToolstamps.IterNext(ref outIter)); - - Metadata.Toolstamp = codes.ToArray(); - } - - if(lstMouldSIDs.GetIterFirst(out outIter)) - { - List codes = new List(); - do - { - LayeredTextType code = new LayeredTextType - { - layer = (int)lstMouldSIDs.GetValue(outIter, 0), - Value = (string)lstMouldSIDs.GetValue(outIter, 1) - }; - - if(code.layer > 0 || lstLayers.IterNChildren() > 1) code.layerSpecified = true; - - codes.Add(code); - } - while(lstMouldSIDs.IterNext(ref outIter)); - - Metadata.MouldSID = codes.ToArray(); - } - - if(lstMouldTexts.GetIterFirst(out outIter)) - { - List codes = new List(); - do - { - LayeredTextType code = new LayeredTextType - { - layer = (int)lstMouldTexts.GetValue(outIter, 0), - Value = (string)lstMouldTexts.GetValue(outIter, 1) - }; - - if(code.layer > 0 || lstLayers.IterNChildren() > 1) code.layerSpecified = true; - - codes.Add(code); - } - while(lstMouldTexts.IterNext(ref outIter)); - - Metadata.MouldText = codes.ToArray(); - } - - if(!string.IsNullOrWhiteSpace(txtDiscType.Text)) Metadata.DiscType = txtDiscType.Text; - if(!string.IsNullOrWhiteSpace(txtDiscSubType.Text)) Metadata.DiscSubType = txtDiscSubType.Text; - if(!string.IsNullOrWhiteSpace(txtWriteOffset.Text)) - { - Metadata.Offset = int.Parse(txtWriteOffset.Text); - Metadata.OffsetSpecified = true; - } - - Metadata.Tracks = !string.IsNullOrWhiteSpace(txtMediaTracks.Text) - ? new[] {int.Parse(txtMediaTracks.Text)} - : new[] {1}; - - Metadata.Sessions = - !string.IsNullOrWhiteSpace(txtMediaSessions.Text) ? int.Parse(txtMediaSessions.Text) : 1; - - if(!string.IsNullOrWhiteSpace(txtCopyProtection.Text)) Metadata.CopyProtection = txtCopyProtection.Text; - - if(chkDimensions.Active) - { - Metadata.Dimensions = new DimensionsType(); - if(chkRound.Active) - { - Metadata.Dimensions.DiameterSpecified = true; - Metadata.Dimensions.Diameter = spDiameter.Value; - } - else - { - Metadata.Dimensions.HeightSpecified = true; - Metadata.Dimensions.WidthSpecified = true; - Metadata.Dimensions.Height = spHeight.Value; - Metadata.Dimensions.Width = spWidth.Value; - } - - Metadata.Dimensions.Thickness = spThickness.Value; - } - - Metadata.Case = mediaCase; - Metadata.Scans = scans; - - if(lstPFI.GetIterFirst(out outIter)) - Metadata.PFI = new DumpType - { - Image = (string)lstPFI.GetValue(outIter, 0), - Size = (int)lstPFI.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstPFI.GetValue(outIter, 2) - }; - if(lstDMI.GetIterFirst(out outIter)) - Metadata.DMI = new DumpType - { - Image = (string)lstDMI.GetValue(outIter, 0), - Size = (int)lstDMI.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstDMI.GetValue(outIter, 2) - }; - if(lstCMI.GetIterFirst(out outIter)) - Metadata.CMI = new DumpType - { - Image = (string)lstCMI.GetValue(outIter, 0), - Size = (int)lstCMI.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstCMI.GetValue(outIter, 2) - }; - if(lstBCA.GetIterFirst(out outIter)) - Metadata.BCA = new DumpType - { - Image = (string)lstBCA.GetValue(outIter, 0), - Size = (int)lstBCA.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstBCA.GetValue(outIter, 2) - }; - if(lstATIP.GetIterFirst(out outIter)) - Metadata.ATIP = new DumpType - { - Image = (string)lstATIP.GetValue(outIter, 0), - Size = (int)lstATIP.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstATIP.GetValue(outIter, 2) - }; - if(lstADIP.GetIterFirst(out outIter)) - Metadata.ADIP = new DumpType - { - Image = (string)lstADIP.GetValue(outIter, 0), - Size = (int)lstADIP.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstADIP.GetValue(outIter, 2) - }; - if(lstPMA.GetIterFirst(out outIter)) - Metadata.PMA = new DumpType - { - Image = (string)lstPMA.GetValue(outIter, 0), - Size = (int)lstPMA.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstPMA.GetValue(outIter, 2) - }; - if(lstDDS.GetIterFirst(out outIter)) - Metadata.DDS = new DumpType - { - Image = (string)lstDDS.GetValue(outIter, 0), - Size = (int)lstDDS.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstDDS.GetValue(outIter, 2) - }; - if(lstSAI.GetIterFirst(out outIter)) - Metadata.SAI = new DumpType - { - Image = (string)lstSAI.GetValue(outIter, 0), - Size = (int)lstSAI.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstSAI.GetValue(outIter, 2) - }; - if(lstLastRMD.GetIterFirst(out outIter)) - Metadata.LastRMD = new DumpType - { - Image = (string)lstLastRMD.GetValue(outIter, 0), - Size = (int)lstLastRMD.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstLastRMD.GetValue(outIter, 2) - }; - if(lstPRI.GetIterFirst(out outIter)) - Metadata.PRI = new DumpType - { - Image = (string)lstPRI.GetValue(outIter, 0), - Size = (int)lstPRI.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstPRI.GetValue(outIter, 2) - }; - if(lstMediaID.GetIterFirst(out outIter)) - Metadata.MediaID = new DumpType - { - Image = (string)lstMediaID.GetValue(outIter, 0), - Size = (int)lstMediaID.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstMediaID.GetValue(outIter, 2) - }; - if(lstPFIR.GetIterFirst(out outIter)) - Metadata.PFIR = new DumpType - { - Image = (string)lstPFIR.GetValue(outIter, 0), - Size = (int)lstPFIR.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstPFIR.GetValue(outIter, 2) - }; - if(lstDCB.GetIterFirst(out outIter)) - Metadata.DCB = new DumpType - { - Image = (string)lstDCB.GetValue(outIter, 0), - Size = (int)lstDCB.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstDCB.GetValue(outIter, 2) - }; - if(lstDI.GetIterFirst(out outIter)) - Metadata.DI = new DumpType - { - Image = (string)lstDI.GetValue(outIter, 0), - Size = (int)lstDI.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstDI.GetValue(outIter, 2) - }; - if(lstPAC.GetIterFirst(out outIter)) - Metadata.PAC = new DumpType - { - Image = (string)lstPAC.GetValue(outIter, 0), - Size = (int)lstPAC.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstPAC.GetValue(outIter, 2) - }; - if(lstTOC.GetIterFirst(out outIter)) - Metadata.TOC = new DumpType - { - Image = (string)lstTOC.GetValue(outIter, 0), - Size = (int)lstTOC.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstTOC.GetValue(outIter, 2) - }; - if(lstCDText.GetIterFirst(out outIter)) - Metadata.LeadInCdText = new DumpType - { - Image = (string)lstCDText.GetValue(outIter, 0), - Size = (int)lstCDText.GetValue(outIter, 1), - Checksums = (ChecksumType[])lstCDText.GetValue(outIter, 2) - }; - - if(lstLeadIns.GetIterFirst(out outIter)) - { - List leadins = new List(); - do - { - BorderType leadin = new BorderType - { - Image = (string)lstLeadIns.GetValue(outIter, 0), - Size = (long)lstLeadIns.GetValue(outIter, 1), - session = (int)lstLeadIns.GetValue(outIter, 2), - Checksums = (ChecksumType[])lstLeadIns.GetValue(outIter, 3) - }; - - if(leadin.session > Metadata.Sessions) Metadata.Sessions = leadin.session; - if(leadin.session > 0 || Metadata.Sessions > 0) leadin.sessionSpecified = true; - - leadins.Add(leadin); - } - while(lstLeadIns.IterNext(ref outIter)); - - Metadata.LeadIn = leadins.ToArray(); - } - - if(lstLeadOuts.GetIterFirst(out outIter)) - { - List leadouts = new List(); - do - { - BorderType leadout = new BorderType - { - Image = (string)lstLeadOuts.GetValue(outIter, 0), - Size = (long)lstLeadOuts.GetValue(outIter, 1), - session = (int)lstLeadOuts.GetValue(outIter, 2), - Checksums = (ChecksumType[])lstLeadOuts.GetValue(outIter, 3) - }; - - if(leadout.session > Metadata.Sessions) Metadata.Sessions = leadout.session; - if(leadout.session > 0 || Metadata.Sessions > 0) leadout.sessionSpecified = true; - - leadouts.Add(leadout); - } - while(lstLeadOuts.IterNext(ref outIter)); - - Metadata.LeadOut = leadouts.ToArray(); - } - - if(!string.IsNullOrWhiteSpace(txtPS3Key.Text) && !string.IsNullOrWhiteSpace(txtPS3Serial.Text)) - Metadata.PS3Encryption = new PS3EncryptionType {Key = txtPS3Key.Text, Serial = txtPS3Serial.Text}; - - if(lstTracks.GetIterFirst(out outIter)) - { - List tracks = new List(); - - do - { - TrackType track = new TrackType - { - Sequence = - new TrackSequenceType - { - TrackNumber = (int)lstTracks.GetValue(outIter, 0), - Session = (int)lstTracks.GetValue(outIter, 1) - }, - Image = - new ImageType - { - Value = (string)lstTracks.GetValue(outIter, 2), - format = (string)lstTracks.GetValue(outIter, 4), - offset = (long)lstTracks.GetValue(outIter, 5) - }, - Size = (long)lstTracks.GetValue(outIter, 3), - StartMSF = (string)lstTracks.GetValue(outIter, 6), - EndMSF = (string)lstTracks.GetValue(outIter, 7), - StartSector = (long)lstTracks.GetValue(outIter, 8), - EndSector = (long)lstTracks.GetValue(outIter, 9), - TrackType1 = - (TrackTypeTrackType)Enum.Parse(typeof(TrackTypeTrackType), - (string)lstTracks.GetValue(outIter, 10)), - BytesPerSector = (int)lstTracks.GetValue(outIter, 11), - AccoustID = (string)lstTracks.GetValue(outIter, 12), - Checksums = (ChecksumType[])lstTracks.GetValue(outIter, 13), - SubChannel = (SubChannelType)lstTracks.GetValue(outIter, 14) - }; - ListStore lstPartitions = (ListStore)lstTracks.GetValue(outIter, 15); - if(track.Image.offset > 0) track.Image.offsetSpecified = true; - - if(lstPartitions.GetIterFirst(out TreeIter partIter)) - { - List partitions = new List(); - do - { - PartitionType partition = new PartitionType - { - Sequence = (int)lstPartitions.GetValue(partIter, 0), - StartSector = (int)lstPartitions.GetValue(partIter, 1), - EndSector = (int)lstPartitions.GetValue(partIter, 2), - Type = (string)lstPartitions.GetValue(partIter, 3), - Name = (string)lstPartitions.GetValue(partIter, 4), - Description = (string)lstPartitions.GetValue(partIter, 5) - }; - ListStore lstFilesystems = (ListStore)lstPartitions.GetValue(partIter, 6); - - if(lstFilesystems.GetIterFirst(out TreeIter fsIter)) - { - List fss = new List(); - do - { - FileSystemType fs = (FileSystemType)lstFilesystems.GetValue(fsIter, 2); - fss.Add(fs); - } - while(lstFilesystems.IterNext(ref fsIter)); - - partition.FileSystems = fss.ToArray(); - } - - partitions.Add(partition); - } - while(lstPartitions.IterNext(ref partIter)); - - track.FileSystemInformation = partitions.ToArray(); - } - - tracks.Add(track); - } - while(lstTracks.IterNext(ref outIter)); - - Metadata.Track = tracks.ToArray(); - } - - if(chkDumpHardware.Active && lstDumpHw.GetIterFirst(out outIter)) - { - List dumps = new List(); - do - { - DumpHardwareType dump = new DumpHardwareType - { - Manufacturer = (string)lstDumpHw.GetValue(outIter, 0), - Model = (string)lstDumpHw.GetValue(outIter, 1), - Revision = (string)lstDumpHw.GetValue(outIter, 2), - Firmware = (string)lstDumpHw.GetValue(outIter, 3), - Serial = (string)lstDumpHw.GetValue(outIter, 4), - Software = new SoftwareType - { - Name = (string)lstDumpHw.GetValue(outIter, 5), - Version = (string)lstDumpHw.GetValue(outIter, 6), - OperatingSystem = (string)lstDumpHw.GetValue(outIter, 7) - } - }; - - ListStore lstExtents = (ListStore)lstDumpHw.GetValue(outIter, 8); - - if(lstExtents.GetIterFirst(out TreeIter extIter)) - { - List extents = new List(); - do - { - ExtentType extent = new ExtentType - { - Start = (ulong)lstExtents.GetValue(extIter, 0), - End = (ulong)lstExtents.GetValue(extIter, 1) - }; - extents.Add(extent); - } - while(lstExtents.IterNext(ref extIter)); - - dump.Extents = extents.ToArray(); - } - - dumps.Add(dump); - } - while(lstDumpHw.IterNext(ref outIter)); - - Metadata.DumpHardwareArray = dumps.ToArray(); - } - - buttonOk.Click(); - } - - protected void OnBtnCancelClicked(object sender, EventArgs e) - { - buttonCancel.Click(); - } - - protected void OnBtnCancelPartitionClicked(object sender, EventArgs e) - { - btnCancelPartition.Visible = false; - btnApplyPartition.Visible = false; - btnRemovePartition.Visible = true; - btnEditPartition.Visible = true; - btnAddPartition.Visible = true; - lblPartitionSequence.Visible = false; - spPartitionSequence.Visible = false; - lblPartitionStart.Visible = false; - txtPartitionStart.Visible = false; - lblPartitionEnd.Visible = false; - txtPartitionEnd.Visible = false; - lblPartitionType.Visible = false; - txtPartitionType.Visible = false; - lblPartitionName.Visible = false; - txtPartitionName.Visible = false; - lblPartitionDescription.Visible = false; - txtPartitionDescription.Visible = false; - frmFilesystems.Visible = false; - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/dlgSettings.cs b/osrepodbmgr/dlgSettings.cs deleted file mode 100644 index 447b548..0000000 --- a/osrepodbmgr/dlgSettings.cs +++ /dev/null @@ -1,373 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using System.IO; -using System.Threading; -using Gtk; -using osrepodbmgr.Core; - -namespace osrepodbmgr -{ - public partial class dlgSettings : Dialog - { - string oldUnarPath; - - public dlgSettings() - { - Build(); - txtTmp.Text = Core.Settings.Current.TemporaryFolder; - txtUnar.Text = Core.Settings.Current.UnArchiverPath; - txtDatabase.Text = Core.Settings.Current.DatabasePath; - txtRepository.Text = Core.Settings.Current.RepositoryPath; - - if(!string.IsNullOrWhiteSpace(txtUnar.Text)) CheckUnar(); - - CellRendererText textCell = new CellRendererText(); - cmbCompAlg.Clear(); - ListStore lstCompAlgs = new ListStore(typeof(string)); - cmbCompAlg.PackStart(textCell, true); - cmbCompAlg.AddAttribute(textCell, "text", 0); - cmbCompAlg.Model = lstCompAlgs; - - lstCompAlgs.Clear(); - foreach(AlgoEnum type in Enum.GetValues(typeof(AlgoEnum))) lstCompAlgs.AppendValues(type.ToString()); - - cmbCompAlg.Active = 0; - cmbCompAlg.Model.GetIterFirst(out TreeIter iter); - do - { - if((string)cmbCompAlg.Model.GetValue(iter, 0) != - Core.Settings.Current.CompressionAlgorithm.ToString()) continue; - - cmbCompAlg.SetActiveIter(iter); - break; - } - while(cmbCompAlg.Model.IterNext(ref iter)); - - spClamdPort.Value = 3310; - chkAntivirus.Active = Core.Settings.Current.UseAntivirus; - frmClamd.Visible = chkAntivirus.Active; - if(Core.Settings.Current.UseAntivirus && Core.Settings.Current.UseClamd) - { - chkClamd.Active = Core.Settings.Current.UseClamd; - txtClamdHost.Text = Core.Settings.Current.ClamdHost; - spClamdPort.Value = Core.Settings.Current.ClamdPort; - chkClamdIsLocal.Active = Core.Settings.Current.ClamdIsLocal; - chkClamd.Sensitive = true; - chkClamdIsLocal.Sensitive = true; - txtClamdHost.Sensitive = true; - spClamdPort.Sensitive = true; - btnClamdTest.Sensitive = true; - } - - if(!Core.Settings.Current.UseAntivirus || !Core.Settings.Current.UseVirusTotal) return; - - chkVirusTotal.Active = true; - chkVirusTotal.Sensitive = true; - txtVirusTotal.Sensitive = true; - txtVirusTotal.Text = Core.Settings.Current.VirusTotalKey; - btnVirusTotal.Sensitive = true; - } - - protected void OnBtnCancelClicked(object sender, EventArgs e) - { - btnDialog.Click(); - } - - protected void OnBtnApplyClicked(object sender, EventArgs e) - { - if(chkAntivirus.Active && chkClamd.Active) - if(string.IsNullOrEmpty(txtClamdHost.Text)) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "clamd host cannot be empty"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - // TODO: Check sanity - Core.Settings.Current.TemporaryFolder = txtTmp.Text; - Core.Settings.Current.UnArchiverPath = txtUnar.Text; - Core.Settings.Current.DatabasePath = txtDatabase.Text; - Core.Settings.Current.RepositoryPath = txtRepository.Text; - Core.Settings.Current.UseAntivirus = chkAntivirus.Active; - Core.Settings.Current.UseClamd = chkClamd.Active; - Core.Settings.Current.ClamdHost = txtClamdHost.Text; - Core.Settings.Current.ClamdPort = (ushort)spClamdPort.Value; - Core.Settings.Current.ClamdIsLocal = chkClamdIsLocal.Active; - Core.Settings.Current.CompressionAlgorithm = (AlgoEnum)Enum.Parse(typeof(AlgoEnum), cmbCompAlg.ActiveText); - if(!chkClamd.Active || !chkAntivirus.Active) - { - Core.Settings.Current.UseClamd = false; - Core.Settings.Current.ClamdHost = null; - Core.Settings.Current.ClamdPort = 3310; - Core.Settings.Current.ClamdIsLocal = false; - } - - if(chkVirusTotal.Active && chkAntivirus.Active) - { - Core.Settings.Current.UseVirusTotal = true; - Core.Settings.Current.VirusTotalKey = txtVirusTotal.Text; - Workers.InitVirusTotal(Core.Settings.Current.VirusTotalKey); - } - else - { - Core.Settings.Current.UseVirusTotal = false; - Core.Settings.Current.VirusTotalKey = null; - } - - Core.Settings.SaveSettings(); - Workers.CloseDB(); - Workers.InitDB(); - Context.ClamdVersion = null; - Workers.InitClamd(); - Context.CheckUnar(); - btnDialog.Click(); - } - - protected void OnBtnUnarClicked(object sender, EventArgs e) - { - FileChooserDialog dlgFile = - new FileChooserDialog("Choose UnArchiver executable", this, FileChooserAction.Open, "Cancel", - ResponseType.Cancel, "Choose", ResponseType.Accept) {SelectMultiple = false}; - dlgFile.SetCurrentFolder(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)); - - if(dlgFile.Run() == (int)ResponseType.Accept) - { - txtUnar.Text = dlgFile.Filename; - lblUnarVersion.Visible = false; - CheckUnar(); - } - - dlgFile.Destroy(); - } - - protected void OnBtnTmpClicked(object sender, EventArgs e) - { - FileChooserDialog dlgFolder = - new FileChooserDialog("Choose temporary folder", this, FileChooserAction.SelectFolder, "Cancel", - ResponseType.Cancel, "Choose", ResponseType.Accept) {SelectMultiple = false}; - dlgFolder.SetCurrentFolder(System.IO.Path.GetTempPath()); - - if(dlgFolder.Run() == (int)ResponseType.Accept) txtTmp.Text = dlgFolder.Filename; - - dlgFolder.Destroy(); - } - - protected void OnBtnRepositoryClicked(object sender, EventArgs e) - { - FileChooserDialog dlgFolder = - new FileChooserDialog("Choose repository folder", this, FileChooserAction.SelectFolder, "Cancel", - ResponseType.Cancel, "Choose", ResponseType.Accept) {SelectMultiple = false}; - dlgFolder.SetCurrentFolder(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)); - - if(dlgFolder.Run() == (int)ResponseType.Accept) txtRepository.Text = dlgFolder.Filename; - - dlgFolder.Destroy(); - } - - protected void OnBtnDatabaseClicked(object sender, EventArgs e) - { - FileChooserDialog dlgFile = - new FileChooserDialog("Choose database to open/create", this, FileChooserAction.Save, "Cancel", - ResponseType.Cancel, "Choose", ResponseType.Accept) {SelectMultiple = false}; - dlgFile.SetCurrentFolder(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)); - dlgFile.SetFilename("Core.db"); - - if(dlgFile.Run() == (int)ResponseType.Accept) - { - if(File.Exists(dlgFile.Filename)) - { - DbCore dbCore = new SQLite(); - bool notDb = false; - - try { notDb |= !dbCore.OpenDb(dlgFile.Filename, null, null, null); } - catch { notDb = true; } - - if(notDb) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, - ButtonsType.Ok, - "Cannot open specified file as a database, please choose another."); - dlgMsg.Run(); - dlgMsg.Destroy(); - dlgFile.Destroy(); - return; - } - - dbCore.CloseDb(); - } - else - { - DbCore dbCore = new SQLite(); - bool notDb = false; - - try { notDb |= !dbCore.CreateDb(dlgFile.Filename, null, null, null); } - catch { notDb = true; } - - if(notDb) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, - ButtonsType.Ok, - "Cannot create a database in the specified file as a database."); - dlgMsg.Run(); - dlgMsg.Destroy(); - dlgFile.Destroy(); - return; - } - - dbCore.CloseDb(); - } - - txtDatabase.Text = dlgFile.Filename; - } - - dlgFile.Destroy(); - } - - void CheckUnar() - { - Workers.FinishedWithText += CheckUnarFinished; - Workers.Failed += CheckUnarFailed; - - oldUnarPath = Core.Settings.Current.UnArchiverPath; - Core.Settings.Current.UnArchiverPath = txtUnar.Text; - Thread thdCheckUnar = new Thread(Workers.CheckUnar); - thdCheckUnar.Start(); - } - - void CheckUnarFinished(string text) - { - Application.Invoke(delegate - { - Workers.FinishedWithText -= CheckUnarFinished; - Workers.Failed -= CheckUnarFailed; - - lblUnarVersion.Text = text; - lblUnarVersion.Visible = true; - Core.Settings.Current.UnArchiverPath = oldUnarPath; - }); - } - - void CheckUnarFailed(string text) - { - Application.Invoke(delegate - { - Workers.FinishedWithText -= CheckUnarFinished; - Workers.Failed -= CheckUnarFailed; - - txtUnar.Text = string.IsNullOrWhiteSpace(oldUnarPath) ? "" : oldUnarPath; - Core.Settings.Current.UnArchiverPath = oldUnarPath; - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - }); - } - - protected void OnChkAntivirusToggled(object sender, EventArgs e) - { - frmClamd.Visible = chkAntivirus.Active; - frmVirusTotal.Visible = chkAntivirus.Active; - } - - protected void OnChkClamdToggled(object sender, EventArgs e) - { - txtClamdHost.Sensitive = chkClamd.Active; - spClamdPort.Sensitive = chkClamd.Active; - btnClamdTest.Sensitive = chkClamd.Active; - lblClamdVersion.Visible = false; - chkClamdIsLocal.Sensitive = chkClamd.Active; - } - - protected void OnBtnClamdTestClicked(object sender, EventArgs e) - { - lblClamdVersion.Visible = false; - - if(string.IsNullOrEmpty(txtClamdHost.Text)) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "clamd host cannot be empty"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - string oldVersion = Context.ClamdVersion; - Context.ClamdVersion = null; - - string oldHost = Core.Settings.Current.ClamdHost; - ushort oldPort = Core.Settings.Current.ClamdPort; - Core.Settings.Current.ClamdHost = txtClamdHost.Text; - Core.Settings.Current.ClamdPort = (ushort)spClamdPort.Value; - - Workers.TestClamd(); - - Core.Settings.Current.ClamdHost = oldHost; - Core.Settings.Current.ClamdPort = oldPort; - - if(string.IsNullOrEmpty(Context.ClamdVersion)) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Cannot connect to clamd"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - lblClamdVersion.Text = Context.ClamdVersion; - Context.ClamdVersion = oldVersion; - lblClamdVersion.Visible = true; - } - - protected void OnChkVirusTotalToggled(object sender, EventArgs e) - { - txtVirusTotal.Sensitive = chkVirusTotal.Active; - btnVirusTotal.Sensitive = chkVirusTotal.Active; - lblVirusTotal.Visible = false; - } - - protected void OnBtnVirusTotalClicked(object sender, EventArgs e) - { - Workers.Failed += VirusTotalTestFailed; - if(!Workers.TestVirusTotal(txtVirusTotal.Text)) return; - - lblVirusTotal.Visible = true; - lblVirusTotal.Text = "Working!"; - } - - void VirusTotalTestFailed(string text) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/frmMain.cs b/osrepodbmgr/frmMain.cs deleted file mode 100644 index a61200b..0000000 --- a/osrepodbmgr/frmMain.cs +++ /dev/null @@ -1,1192 +0,0 @@ -// -// Author: -// Natalia Portillo claunia@claunia.com -// -// Copyright (c) 2017, © Claunia.com -// -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in -// the documentation and/or other materials provided with the distribution. -// * Neither the name of the [ORGANIZATION] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// - -using System; -using System.Collections.Generic; -using System.Threading; -using Gtk; -using osrepodbmgr.Core; - -namespace osrepodbmgr -{ - public partial class frmMain : Window - { - ListStore fileView; - int infectedFiles; - ListStore osView; - TreeIter outIter; - bool populatingFiles; - bool scanningFiles; - Thread thdCleanFiles; - Thread thdCompressTo; - Thread thdPopulateFiles; - Thread thdPopulateOSes; - Thread thdPulseProgress; - Thread thdSaveAs; - Thread thdScanFile; - - public frmMain() : base(WindowType.Toplevel) - { - Build(); - - Workers.InitDB(); - - CellRendererText developerCell = new CellRendererText(); - CellRendererText productCell = new CellRendererText(); - CellRendererText versionCell = new CellRendererText(); - CellRendererText languagesCell = new CellRendererText(); - CellRendererText architectureCell = new CellRendererText(); - CellRendererText machineCell = new CellRendererText(); - CellRendererText formatCell = new CellRendererText(); - CellRendererText descriptionCell = new CellRendererText(); - CellRendererToggle oemCell = new CellRendererToggle(); - CellRendererToggle upgradeCell = new CellRendererToggle(); - CellRendererToggle updateCell = new CellRendererToggle(); - CellRendererToggle sourceCell = new CellRendererToggle(); - CellRendererToggle filesCell = new CellRendererToggle(); - CellRendererToggle netinstallCell = new CellRendererToggle(); - - TreeViewColumn developerColumn = new TreeViewColumn("Developer", developerCell, "text", 0); - TreeViewColumn productColumn = new TreeViewColumn("Product", productCell, "text", 1); - TreeViewColumn versionColumn = new TreeViewColumn("Version", versionCell, "text", 2); - TreeViewColumn languagesColumn = new TreeViewColumn("Languages", languagesCell, "text", 3); - TreeViewColumn architectureColumn = new TreeViewColumn("Architecture", architectureCell, "text", 4); - TreeViewColumn machineColumn = new TreeViewColumn("Machine", machineCell, "text", 5); - TreeViewColumn formatColumn = new TreeViewColumn("Format", formatCell, "text", 6); - TreeViewColumn descriptionColumn = new TreeViewColumn("Description", descriptionCell, "text"); - TreeViewColumn oemColumn = new TreeViewColumn("OEM?", oemCell, "active", 8); - TreeViewColumn upgradeColumn = new TreeViewColumn("Upgrade?", upgradeCell, "active", 9); - TreeViewColumn updateColumn = new TreeViewColumn("Update?", updateCell, "active", 10); - TreeViewColumn sourceColumn = new TreeViewColumn("Source?", sourceCell, "active", 11); - TreeViewColumn filesColumn = new TreeViewColumn("Files?", filesCell, "active", 12); - TreeViewColumn netinstallColumn = new TreeViewColumn("NetInstall?", netinstallCell, "active", 13); - - osView = new ListStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(string), - typeof(string), typeof(string), typeof(string), typeof(bool), typeof(bool), - typeof(bool), typeof(bool), typeof(bool), typeof(bool), typeof(long), - typeof(string)); - - treeOSes.Model = osView; - treeOSes.AppendColumn(developerColumn); - treeOSes.AppendColumn(productColumn); - treeOSes.AppendColumn(versionColumn); - treeOSes.AppendColumn(languagesColumn); - treeOSes.AppendColumn(architectureColumn); - treeOSes.AppendColumn(machineColumn); - treeOSes.AppendColumn(formatColumn); - treeOSes.AppendColumn(descriptionColumn); - treeOSes.AppendColumn(oemColumn); - treeOSes.AppendColumn(upgradeColumn); - treeOSes.AppendColumn(updateColumn); - treeOSes.AppendColumn(sourceColumn); - treeOSes.AppendColumn(filesColumn); - treeOSes.AppendColumn(netinstallColumn); - - treeOSes.Selection.Mode = SelectionMode.Single; - - CellRendererText hashCell = new CellRendererText(); - CellRendererText lengthCell = new CellRendererText(); - CellRendererToggle crackCell = new CellRendererToggle(); - CellRendererToggle hasvirusCell = new CellRendererToggle(); - CellRendererText clamtimeCell = new CellRendererText(); - CellRendererText vtottimeCell = new CellRendererText(); - CellRendererText virusCell = new CellRendererText(); - - TreeViewColumn hashColumn = - new TreeViewColumn("SHA256", hashCell, "text", 0, "background", 7, "foreground", 8); - TreeViewColumn lengthColumn = - new TreeViewColumn("Length", lengthCell, "text", 1, "background", 7, - "foreground", 8); - TreeViewColumn crackColumn = new TreeViewColumn("Crack?", crackCell, "active", 2); - TreeViewColumn hasvirusColumn = - new TreeViewColumn("Has virus?", hasvirusCell, "active", 3, "inconsistent", 9); - TreeViewColumn clamtimeColumn = - new TreeViewColumn("Last scanned with clamd", clamtimeCell, "text", 4, "background", 7, "foreground", - 8); - TreeViewColumn vtottimeColumn = new TreeViewColumn("Last checked on VirusTotal", vtottimeCell, "text", 5, - "background", 7, "foreground", 8); - TreeViewColumn virusColumn = - new TreeViewColumn("Virus", virusCell, "text", 6, "background", 7, "foreground", 8); - - fileView = new ListStore(typeof(string), typeof(long), typeof(bool), typeof(bool), typeof(string), - typeof(string), typeof(string), typeof(string), typeof(string), typeof(bool), - typeof(bool)); - - treeFiles.Model = fileView; - treeFiles.AppendColumn(hashColumn); - treeFiles.AppendColumn(lengthColumn); - treeFiles.AppendColumn(crackColumn); - treeFiles.AppendColumn(hasvirusColumn); - treeFiles.AppendColumn(clamtimeColumn); - treeFiles.AppendColumn(vtottimeColumn); - treeFiles.AppendColumn(virusColumn); - - treeFiles.Selection.Mode = SelectionMode.Single; - treeFiles.Selection.Changed += treeFilesSelectionChanged; - - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgress.Pulse(); }); - Thread.Sleep(66); - } - }); - Workers.Failed += LoadOSesFailed; - Workers.Finished += LoadOSesFinished; - Workers.UpdateProgress += UpdateProgress; - Workers.AddOS += AddOs; - Workers.AddFile += AddFile; - Workers.AddFiles += AddFiles; - thdPopulateOSes = new Thread(Workers.GetAllOSes); - thdPopulateOSes.Start(); - } - - void LoadOSesFailed(string text) - { - Application.Invoke(delegate - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - $"Error {text} when populating OSes tree, exiting..."); - dlgMsg.Run(); - dlgMsg.Destroy(); - Workers.Failed -= LoadOSesFailed; - Workers.Finished -= LoadOSesFinished; - Workers.UpdateProgress -= UpdateProgress; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdPopulateOSes != null) - { - thdPopulateOSes.Abort(); - thdPopulateOSes = null; - } - - Application.Quit(); - }); - } - - void LoadOSesFinished() - { - Application.Invoke(delegate - { - Workers.Failed -= LoadOSesFailed; - Workers.Finished -= LoadOSesFinished; - Workers.UpdateProgress -= UpdateProgress; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdPopulateOSes != null) - { - thdPopulateOSes.Abort(); - thdPopulateOSes = null; - } - - lblProgress.Visible = false; - prgProgress.Visible = false; - treeOSes.Sensitive = true; - btnAdd.Visible = true; - btnRemove.Visible = true; - btnCompress.Visible = true; - btnSave.Visible = true; - btnHelp.Visible = true; - btnSettings.Visible = true; - lblOSStatus.Visible = true; - lblOSStatus.Text = $"{osView.IterNChildren()} operating systems"; - }); - } - - void UpdateProgress(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - lblProgress.Text = text; - prgProgress.Text = inner; - if(maximum > 0) prgProgress.Fraction = current / (double)maximum; - else prgProgress.Pulse(); - }); - } - - void UpdateProgress2(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - lblProgress2.Text = text; - prgProgress2.Text = inner; - if(maximum > 0) prgProgress2.Fraction = current / (double)maximum; - else prgProgress2.Pulse(); - }); - } - - void AddOs(DbEntry os) - { - Application.Invoke(delegate - { - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - osView.AppendValues(os.Developer, os.Product, os.Version, os.Languages, os.Architecture, os.Machine, - os.Format, os.Description, os.Oem, os.Upgrade, os.Update, os.Source, os.Files, - os.Netinstall, os.Id, os.Mdid); - }); - } - - protected void OnBtnAddClicked(object sender, EventArgs e) - { - dlgAdd _dlgAdd = new dlgAdd(); - _dlgAdd.OnAddedOS += os => - { - osView.AppendValues(os.Developer, os.Product, os.Version, os.Languages, os.Architecture, os.Machine, - os.Format, os.Description, os.Oem, os.Upgrade, os.Update, os.Source, os.Files, - os.Netinstall, os.Id, os.Mdid); - }; - _dlgAdd.Run(); - _dlgAdd.Destroy(); - } - - protected void OnBtnRemoveClicked(object sender, EventArgs e) - { - if(!treeOSes.Selection.GetSelected(out TreeIter osIter)) return; - - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Question, ButtonsType.YesNo, - "Are you sure you want to remove the selected OS?"); - - if(dlgMsg.Run() == (int)ResponseType.Yes) - { - Workers.RemoveOS((long)osView.GetValue(osIter, 14), (string)osView.GetValue(osIter, 15)); - osView.Remove(ref osIter); - } - - dlgMsg.Destroy(); - } - - protected void OnBtnSaveClicked(object sender, EventArgs e) - { - if(!treeOSes.Selection.GetSelected(out TreeIter osIter)) return; - - Context.DbInfo.Id = (long)osView.GetValue(osIter, 14); - - FileChooserDialog dlgFolder = - new FileChooserDialog("Save to...", this, FileChooserAction.SelectFolder, "Cancel", ResponseType.Cancel, - "Choose", ResponseType.Accept) {SelectMultiple = false}; - - if(dlgFolder.Run() == (int)ResponseType.Accept) - { - Context.Path = dlgFolder.Filename; - - dlgFolder.Destroy(); - - lblProgress.Visible = true; - prgProgress.Visible = true; - lblProgress2.Visible = true; - prgProgress2.Visible = true; - treeOSes.Sensitive = false; - btnAdd.Visible = false; - btnRemove.Visible = false; - btnCompress.Visible = false; - btnSave.Visible = false; - btnHelp.Visible = false; - btnSettings.Visible = false; - btnStop.Visible = true; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - Workers.Failed += SaveAsFailed; - Workers.Finished += SaveAsFinished; - Workers.UpdateProgress += UpdateProgress; - Workers.UpdateProgress2 += UpdateProgress2; - thdSaveAs = new Thread(Workers.SaveAs); - thdSaveAs.Start(); - } - else dlgFolder.Destroy(); - } - - void SaveAsFailed(string text) - { - Application.Invoke(delegate - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - lblProgress.Visible = false; - prgProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress2.Visible = false; - treeOSes.Sensitive = true; - btnAdd.Visible = true; - btnRemove.Visible = true; - btnCompress.Visible = true; - btnSave.Visible = true; - btnHelp.Visible = true; - btnSettings.Visible = true; - btnStop.Visible = false; - - Workers.Failed -= SaveAsFailed; - Workers.Finished -= SaveAsFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdSaveAs != null) - { - thdSaveAs.Abort(); - thdSaveAs = null; - } - - Context.Path = null; - }); - } - - void SaveAsFinished() - { - Application.Invoke(delegate - { - lblProgress.Visible = false; - prgProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress2.Visible = false; - treeOSes.Sensitive = true; - btnAdd.Visible = true; - btnRemove.Visible = true; - btnCompress.Visible = true; - btnSave.Visible = true; - btnHelp.Visible = true; - btnSettings.Visible = true; - btnStop.Visible = false; - - Workers.Failed -= SaveAsFailed; - Workers.Finished -= SaveAsFinished; - Workers.UpdateProgress -= UpdateProgress; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdSaveAs != null) - { - thdSaveAs.Abort(); - thdSaveAs = null; - } - - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Info, ButtonsType.Ok, - $"Correctly saved to {Context.Path}"); - dlgMsg.Run(); - dlgMsg.Destroy(); - - Context.Path = null; - }); - } - - protected void OnBtnHelpClicked(object sender, EventArgs e) - { - dlgHelp _help = new dlgHelp(); - _help.Run(); - _help.Destroy(); - } - - protected void OnBtnSettingsClicked(object sender, EventArgs e) - { - dlgSettings _dlgSettings = new dlgSettings(); - _dlgSettings.Run(); - _dlgSettings.Destroy(); - } - - protected void OnBtnQuitClicked(object sender, EventArgs e) - { - OnBtnStopClicked(sender, e); - Application.Quit(); - } - - protected void OnBtnStopClicked(object sender, EventArgs e) - { - Workers.Failed -= CompressToFailed; - Workers.Failed -= LoadOSesFailed; - Workers.Failed -= SaveAsFailed; - Workers.Finished -= CompressToFinished; - Workers.Finished -= LoadOSesFinished; - Workers.Finished -= SaveAsFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdPopulateOSes != null) - { - thdPopulateOSes.Abort(); - thdPopulateOSes = null; - } - - if(thdCompressTo != null) - { - thdPopulateOSes.Abort(); - thdPopulateOSes = null; - } - - if(thdSaveAs == null) return; - - thdSaveAs.Abort(); - thdSaveAs = null; - } - - protected void OnDeleteEvent(object sender, DeleteEventArgs e) - { - OnBtnStopClicked(sender, e); - } - - protected void OnBtnCompressClicked(object sender, EventArgs e) - { - if(!treeOSes.Selection.GetSelected(out TreeIter osIter)) return; - - Context.DbInfo.Id = (long)osView.GetValue(osIter, 14); - - FileChooserDialog dlgFolder = - new FileChooserDialog("Compress to...", this, FileChooserAction.Save, "Cancel", ResponseType.Cancel, - "Choose", ResponseType.Accept) {SelectMultiple = false}; - - if(dlgFolder.Run() == (int)ResponseType.Accept) - { - Context.Path = dlgFolder.Filename; - - dlgFolder.Destroy(); - - lblProgress.Visible = true; - prgProgress.Visible = true; - lblProgress2.Visible = true; - prgProgress2.Visible = true; - treeOSes.Sensitive = false; - btnAdd.Visible = false; - btnRemove.Visible = false; - btnCompress.Visible = false; - btnSave.Visible = false; - btnHelp.Visible = false; - btnSettings.Visible = false; - btnStop.Visible = true; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - Workers.Failed += CompressToFailed; - Workers.Finished += CompressToFinished; - Workers.UpdateProgress += UpdateProgress; - Workers.UpdateProgress2 += UpdateProgress2; - thdCompressTo = new Thread(Workers.CompressTo); - thdCompressTo.Start(); - } - else dlgFolder.Destroy(); - } - - public void CompressToFailed(string text) - { - Application.Invoke(delegate - { - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - - lblProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress.Visible = false; - prgProgress2.Visible = false; - treeOSes.Sensitive = true; - btnAdd.Visible = true; - btnRemove.Visible = true; - btnCompress.Visible = true; - btnSave.Visible = true; - btnHelp.Visible = true; - btnSettings.Visible = true; - btnStop.Visible = false; - - Workers.Failed -= CompressToFailed; - Workers.Finished -= CompressToFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdCompressTo != null) - { - thdCompressTo.Abort(); - thdCompressTo = null; - } - - Context.Path = null; - }); - } - - public void CompressToFinished() - { - Application.Invoke(delegate - { - lblProgress.Visible = false; - lblProgress2.Visible = false; - prgProgress.Visible = false; - prgProgress2.Visible = false; - treeOSes.Sensitive = true; - btnAdd.Visible = true; - btnRemove.Visible = true; - btnCompress.Visible = true; - btnSave.Visible = true; - btnHelp.Visible = true; - btnSettings.Visible = true; - btnStop.Visible = false; - - Workers.Failed -= CompressToFailed; - Workers.Finished -= CompressToFinished; - Workers.UpdateProgress -= UpdateProgress; - Workers.UpdateProgress2 -= UpdateProgress2; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdCompressTo != null) - { - thdCompressTo.Abort(); - thdCompressTo = null; - } - - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Info, ButtonsType.Ok, - $"Correctly compressed as {Context.Path}"); - dlgMsg.Run(); - dlgMsg.Destroy(); - - Context.Path = null; - }); - } - - protected void OnBtnStopFilesClicked(object sender, EventArgs e) - { - if(populatingFiles) - { - Workers.Failed -= LoadFilesFailed; - Workers.Finished -= LoadFilesFinished; - Workers.UpdateProgress -= UpdateFileProgress2; - Workers.AddFile -= AddFile; - - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdPopulateFiles != null) - { - thdPopulateFiles.Abort(); - thdPopulateFiles = null; - } - - fileView.Clear(); - btnStopFiles.Visible = false; - btnPopulateFiles.Visible = true; - } - - if(scanningFiles) - if(thdScanFile != null) - { - thdScanFile.Abort(); - thdScanFile = null; - } - - AllClamdFinished(); - } - - protected void OnBtnToggleCrackClicked(object sender, EventArgs e) - { - if(!treeFiles.Selection.GetSelected(out TreeIter fileIter)) return; - - string hash = (string)fileView.GetValue(fileIter, 0); - long length = (long)fileView.GetValue(fileIter, 1); - bool crack = !(bool)fileView.GetValue(fileIter, 2); - bool hasvirus = (bool)fileView.GetValue(fileIter, 3); - string clamtime = (string)fileView.GetValue(fileIter, 4); - string vttime = (string)fileView.GetValue(fileIter, 5); - string virus = (string)fileView.GetValue(fileIter, 6); - string color = (string)fileView.GetValue(fileIter, 7); - bool viruschecked = (bool)fileView.GetValue(fileIter, 9); - - Workers.ToggleCrack(hash, crack); - - fileView.Remove(ref fileIter); - fileView.AppendValues(hash, length, crack, hasvirus, clamtime, vttime, virus, color, "black", viruschecked); - } - - protected void OnBtnScanWithClamdClicked(object sender, EventArgs e) - { - if(!treeFiles.Selection.GetSelected(out outIter)) return; - - DbFile file = Workers.GetDBFile((string)fileView.GetValue(outIter, 0)); - - if(file == null) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Cannot get file from database"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - treeFiles.Sensitive = false; - btnToggleCrack.Sensitive = false; - btnScanWithClamd.Sensitive = false; - btnCheckInVirusTotal.Sensitive = false; - prgProgressFiles1.Visible = true; - Workers.Failed += ClamdFailed; - Workers.ScanFinished += ClamdFinished; - Workers.UpdateProgress += UpdateVirusProgress; - - prgProgressFiles1.Text = "Scanning file with clamd."; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgressFiles1.Pulse(); }); - Thread.Sleep(66); - } - }); - thdPulseProgress.Start(); - thdScanFile = new Thread(() => Workers.ClamScanFileFromRepo(file)); - thdScanFile.Start(); - } - - void ClamdFailed(string text) - { - Application.Invoke(delegate - { - treeFiles.Sensitive = true; - btnToggleCrack.Sensitive = true; - btnScanWithClamd.Sensitive = true; - btnCheckInVirusTotal.Sensitive = true; - prgProgressFiles1.Visible = false; - Workers.Failed -= ClamdFailed; - Workers.ScanFinished -= ClamdFinished; - Workers.UpdateProgress -= UpdateVirusProgress; - prgProgressFiles1.Text = ""; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdScanFile == null) return; - - thdScanFile.Abort(); - thdScanFile = null; - }); - } - - void ClamdFinished(DbFile file) - { - Application.Invoke(delegate - { - treeFiles.Sensitive = true; - btnToggleCrack.Sensitive = true; - btnScanWithClamd.Sensitive = true; - btnCheckInVirusTotal.Sensitive = true; - Workers.Failed -= ClamdFailed; - Workers.ScanFinished -= ClamdFinished; - Workers.UpdateProgress -= UpdateVirusProgress; - prgProgressFiles1.Text = ""; - prgProgressFiles1.Visible = false; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdScanFile != null) thdScanFile = null; - - if(!(bool)fileView.GetValue(outIter, 3) && file.HasVirus.HasValue && file.HasVirus.Value) - infectedFiles++; - - fileView.Remove(ref outIter); - AddFile(file); - - lblFileStatus.Text = $"{fileView.IterNChildren()} files ({infectedFiles} infected)"; - }); - } - - protected void OnBtnCheckInVirusTotalClicked(object sender, EventArgs e) - { - if(!treeFiles.Selection.GetSelected(out outIter)) return; - - DbFile file = Workers.GetDBFile((string)fileView.GetValue(outIter, 0)); - - if(file == null) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - "Cannot get file from database"); - dlgMsg.Run(); - dlgMsg.Destroy(); - return; - } - - treeFiles.Sensitive = false; - btnToggleCrack.Sensitive = false; - btnScanWithClamd.Sensitive = false; - btnCheckInVirusTotal.Sensitive = false; - prgProgressFiles1.Visible = true; - Workers.Failed += VirusTotalFailed; - Workers.ScanFinished += VirusTotalFinished; - Workers.UpdateProgress += UpdateVirusProgress; - - prgProgressFiles1.Text = "Scanning file with VirusTotal."; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgressFiles1.Pulse(); }); - Thread.Sleep(66); - } - }); - thdPulseProgress.Start(); - thdScanFile = new Thread(() => Workers.VirusTotalFileFromRepo(file)); - thdScanFile.Start(); - } - - void VirusTotalFailed(string text) - { - Application.Invoke(delegate - { - treeFiles.Sensitive = true; - btnToggleCrack.Sensitive = true; - btnScanWithClamd.Sensitive = true; - btnCheckInVirusTotal.Sensitive = true; - prgProgressFiles1.Visible = false; - Workers.Failed -= VirusTotalFailed; - Workers.ScanFinished -= VirusTotalFinished; - Workers.UpdateProgress -= UpdateVirusProgress; - prgProgressFiles1.Text = ""; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdScanFile != null) - { - thdScanFile.Abort(); - thdScanFile = null; - } - - MessageDialog dlgMsg = - new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, text); - dlgMsg.Run(); - dlgMsg.Destroy(); - }); - } - - void VirusTotalFinished(DbFile file) - { - Application.Invoke(delegate - { - treeFiles.Sensitive = true; - btnToggleCrack.Sensitive = true; - btnScanWithClamd.Sensitive = true; - btnCheckInVirusTotal.Sensitive = true; - Workers.Failed -= VirusTotalFailed; - Workers.ScanFinished -= VirusTotalFinished; - Workers.UpdateProgress -= UpdateVirusProgress; - prgProgressFiles1.Text = ""; - prgProgressFiles1.Visible = false; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdScanFile != null) thdScanFile = null; - - if(!(bool)fileView.GetValue(outIter, 3) && file.HasVirus.HasValue && file.HasVirus.Value) - infectedFiles++; - - fileView.Remove(ref outIter); - AddFile(file); - - lblFileStatus.Text = $"{fileView.IterNChildren()} files ({infectedFiles} infected)"; - }); - } - - void UpdateVirusProgress(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate { prgProgressFiles1.Text = text; }); - } - - protected void OnBtnPopulateFilesClicked(object sender, EventArgs e) - { - fileView.Clear(); - notebook1.GetNthPage(0).Sensitive = false; - btnStopFiles.Visible = true; - btnPopulateFiles.Visible = false; - - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgressFiles1.Pulse(); }); - Thread.Sleep(66); - } - }); - lblProgressFiles1.Text = "Loading files from database"; - lblProgressFiles1.Visible = true; - lblProgressFiles2.Visible = true; - prgProgressFiles1.Visible = true; - prgProgressFiles2.Visible = true; - Workers.Failed += LoadFilesFailed; - Workers.Finished += LoadFilesFinished; - Workers.UpdateProgress += UpdateFileProgress2; - populatingFiles = true; - infectedFiles = 0; - thdPulseProgress.Start(); - thdPopulateFiles = new Thread(Workers.GetFilesFromDb); - thdPopulateFiles.Start(); - } - - void UpdateFileProgress(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - lblProgressFiles1.Text = text; - prgProgressFiles1.Text = inner; - if(maximum > 0) prgProgressFiles1.Fraction = current / (double)maximum; - else prgProgressFiles1.Pulse(); - }); - } - - void UpdateFileProgress2(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate - { - lblProgressFiles2.Text = text; - prgProgressFiles2.Text = inner; - if(maximum > 0) prgProgressFiles2.Fraction = current / (double)maximum; - else prgProgressFiles2.Pulse(); - }); - } - - void AddFile(DbFile file) - { - Application.Invoke(delegate - { - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - string color; - - if(file.HasVirus.HasValue) color = file.HasVirus.Value ? "red" : "green"; - else color = "yellow"; - - if(file.HasVirus.HasValue && file.HasVirus.Value) infectedFiles++; - - fileView.AppendValues(file.Sha256, file.Length, file.Crack, file.HasVirus ?? false, - file.ClamTime?.ToString() ?? "Never", - file.VirusTotalTime?.ToString() ?? "Never", - file.Virus, color, "black", !file.HasVirus.HasValue); - }); - } - - void AddFiles(List files) - { - Application.Invoke(delegate - { - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - foreach(DbFile file in files) - { - string color; - - if(file.HasVirus.HasValue) color = file.HasVirus.Value ? "red" : "green"; - else color = "yellow"; - - if(file.HasVirus.HasValue && file.HasVirus.Value) infectedFiles++; - - fileView.AppendValues(file.Sha256, file.Length, file.Crack, - file.HasVirus.HasValue ? file.HasVirus.Value : false, - file.ClamTime?.ToString() ?? "Never", - file.VirusTotalTime?.ToString() ?? "Never", file.Virus, color, "black", - !file.HasVirus.HasValue); - } - }); - } - - void LoadFilesFailed(string text) - { - Application.Invoke(delegate - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, - $"Error {text} when populating files, exiting..."); - dlgMsg.Run(); - dlgMsg.Destroy(); - Workers.Failed -= LoadFilesFailed; - Workers.Finished -= LoadFilesFinished; - Workers.UpdateProgress -= UpdateFileProgress2; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdPopulateFiles != null) - { - thdPopulateFiles.Abort(); - thdPopulateFiles = null; - } - - notebook1.GetNthPage(0).Sensitive = true; - fileView.Clear(); - btnStopFiles.Visible = false; - btnPopulateFiles.Visible = true; - populatingFiles = false; - }); - } - - void LoadFilesFinished() - { - Application.Invoke(delegate - { - Workers.Failed -= LoadFilesFailed; - Workers.Finished -= LoadFilesFinished; - Workers.UpdateProgress -= UpdateFileProgress2; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdPopulateFiles != null) - { - thdPopulateFiles.Abort(); - thdPopulateFiles = null; - } - - lblProgressFiles1.Visible = false; - lblProgressFiles2.Visible = false; - prgProgressFiles1.Visible = false; - prgProgressFiles2.Visible = false; - btnToggleCrack.Visible = true; - btnScanWithClamd.Visible = true; - btnCheckInVirusTotal.Visible = true; - btnStopFiles.Visible = false; - btnPopulateFiles.Visible = false; - btnScanAllPending.Visible = true; - populatingFiles = false; - treeFiles.Sensitive = true; - notebook1.GetNthPage(0).Sensitive = true; - btnCleanFiles.Visible = true; - lblFileStatus.Visible = true; - lblFileStatus.Text = $"{fileView.IterNChildren()} files ({infectedFiles} infected)"; - }); - } - - void treeFilesSelectionChanged(object sender, EventArgs e) - { - if(!treeFiles.Selection.GetSelected(out TreeIter fileIter)) return; - - if((bool)fileView.GetValue(fileIter, 2)) btnToggleCrack.Label = "Mark as not crack"; - else btnToggleCrack.Label = "Mark as crack"; - } - - protected void OnBtnScanAllPendingClicked(object sender, EventArgs e) - { - treeFiles.Sensitive = false; - btnToggleCrack.Sensitive = false; - btnScanWithClamd.Sensitive = false; - btnCheckInVirusTotal.Sensitive = false; - lblProgressFiles1.Visible = true; - prgProgressFiles1.Visible = true; - prgProgressFiles2.Visible = true; - btnScanAllPending.Sensitive = false; - Workers.Finished += AllClamdFinished; - Workers.UpdateProgress += UpdateVirusProgress2; - Workers.UpdateProgress2 += UpdateFileProgress; - btnStopFiles.Visible = true; - scanningFiles = true; - - prgProgressFiles2.Text = "Scanning file with clamd."; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgressFiles2.Pulse(); }); - Thread.Sleep(66); - } - }); - thdPulseProgress.Start(); - thdScanFile = new Thread(Workers.ClamScanAllFiles); - thdScanFile.Start(); - } - - void AllClamdFinished() - { - Application.Invoke(delegate - { - treeFiles.Sensitive = true; - btnToggleCrack.Sensitive = true; - btnScanWithClamd.Sensitive = true; - btnCheckInVirusTotal.Sensitive = true; - btnScanAllPending.Sensitive = true; - Workers.Finished -= AllClamdFinished; - Workers.UpdateProgress -= UpdateVirusProgress2; - Workers.UpdateProgress2 -= UpdateFileProgress; - prgProgressFiles1.Text = ""; - prgProgressFiles1.Visible = false; - prgProgressFiles2.Text = ""; - prgProgressFiles2.Visible = false; - btnStopFiles.Visible = false; - scanningFiles = false; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdScanFile != null) thdScanFile = null; - - OnBtnPopulateFilesClicked(null, new EventArgs()); - }); - } - - void UpdateVirusProgress2(string text, string inner, long current, long maximum) - { - Application.Invoke(delegate { prgProgressFiles2.Text = text; }); - } - - protected void OnBtnCleanFilesClicked(object sender, EventArgs e) - { - MessageDialog dlgMsg = new MessageDialog(this, DialogFlags.Modal, MessageType.Warning, ButtonsType.YesNo, - "This option will search the database for any known file that doesn't\n" + - "belong to any OS and remove it from the database.\n\n" + - "It will then search the repository for any file not on the database and remove it.\n\n" + - "THIS OPERATION MAY VERY LONG, CANNOT BE CANCELED AND REMOVES DATA ON DISK.\n\n" + - "Are you sure to continue?"); - - if(dlgMsg.Run() == (int)ResponseType.Yes) - { - dlgMsg.Destroy(); - btnCleanFiles.Visible = false; - btnToggleCrack.Visible = false; - btnScanWithClamd.Visible = false; - btnScanAllPending.Visible = false; - btnCheckInVirusTotal.Visible = false; - notebook1.GetNthPage(0).Sensitive = false; - treeFiles.Sensitive = false; - Workers.Finished += CleanFilesFinished; - Workers.UpdateProgress += UpdateFileProgress; - Workers.UpdateProgress2 += UpdateFileProgress2; - prgProgressFiles1.Text = ""; - prgProgressFiles1.Visible = true; - prgProgressFiles2.Text = ""; - prgProgressFiles2.Visible = true; - btnStopFiles.Visible = false; - thdPulseProgress = new Thread(() => - { - while(true) - { - Application.Invoke(delegate { prgProgressFiles2.Pulse(); }); - Thread.Sleep(66); - } - }); - thdPulseProgress.Start(); - thdCleanFiles = new Thread(Workers.CleanFiles); - thdCleanFiles.Start(); - } - else dlgMsg.Destroy(); - } - - void CleanFilesFinished() - { - Application.Invoke(delegate - { - btnCleanFiles.Visible = true; - btnToggleCrack.Visible = true; - btnScanWithClamd.Visible = true; - btnScanAllPending.Visible = true; - btnCheckInVirusTotal.Visible = true; - notebook1.GetNthPage(0).Sensitive = true; - treeFiles.Sensitive = true; - Workers.Finished -= CleanFilesFinished; - Workers.UpdateProgress -= UpdateFileProgress; - Workers.UpdateProgress2 -= UpdateFileProgress2; - prgProgressFiles1.Text = ""; - prgProgressFiles1.Visible = false; - prgProgressFiles2.Text = ""; - prgProgressFiles2.Visible = false; - if(thdPulseProgress != null) - { - thdPulseProgress.Abort(); - thdPulseProgress = null; - } - - if(thdCleanFiles != null) thdCleanFiles = null; - - OnBtnPopulateFilesClicked(null, new EventArgs()); - }); - } - } -} \ No newline at end of file diff --git a/osrepodbmgr/gtk-gui/dlgAdd.cs b/osrepodbmgr/gtk-gui/dlgAdd.cs deleted file mode 100644 index ed82121..0000000 --- a/osrepodbmgr/gtk-gui/dlgAdd.cs +++ /dev/null @@ -1,729 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. - -public partial class dlgAdd -{ - private global::Gtk.HBox hbox15; - - private global::Gtk.Label lblDeveloper; - - private global::Gtk.Entry txtDeveloper; - - private global::Gtk.HBox hbox14; - - private global::Gtk.Label lblProduct; - - private global::Gtk.Entry txtProduct; - - private global::Gtk.HBox hbox13; - - private global::Gtk.Label lblVersion; - - private global::Gtk.Entry txtVersion; - - private global::Gtk.HBox hbox12; - - private global::Gtk.Label lblLanguages; - - private global::Gtk.Entry txtLanguages; - - private global::Gtk.HBox hbox11; - - private global::Gtk.Label lblArchitecture; - - private global::Gtk.Entry txtArchitecture; - - private global::Gtk.HBox hbox10; - - private global::Gtk.Label lblMachine; - - private global::Gtk.Entry txtMachine; - - private global::Gtk.HBox hbox21; - - private global::Gtk.Label lblFormat; - - private global::Gtk.Entry txtFormat; - - private global::Gtk.HBox hbox20; - - private global::Gtk.Label lblDescription; - - private global::Gtk.Entry txtDescription; - - private global::Gtk.HBox hbox17; - - private global::Gtk.VBox vbox3; - - private global::Gtk.CheckButton chkOem; - - private global::Gtk.CheckButton chkUpgrade; - - private global::Gtk.CheckButton chkSource; - - private global::Gtk.VBox vbox2; - - private global::Gtk.CheckButton chkUpdate; - - private global::Gtk.CheckButton chkFiles; - - private global::Gtk.CheckButton chkNetinstall; - - private global::Gtk.Notebook tabTabs; - - private global::Gtk.ScrolledWindow GtkScrolledWindow; - - private global::Gtk.TreeView treeFiles; - - private global::Gtk.Label lblTabFiles; - - private global::Gtk.ScrolledWindow GtkScrolledWindow1; - - private global::Gtk.TreeView treeOSes; - - private global::Gtk.Label lblTabOSes; - - private global::Gtk.Label lblStatus; - - private global::Gtk.HBox hbox2; - - private global::Gtk.Label lblProgress; - - private global::Gtk.ProgressBar prgProgress; - - private global::Gtk.HBox hbox27; - - private global::Gtk.Label lblProgress2; - - private global::Gtk.ProgressBar prgProgress2; - - private global::Gtk.HBox hbox1; - - private global::Gtk.Button btnExit; - - private global::Gtk.Button btnClose; - - private global::Gtk.Button btnPack; - - private global::Gtk.Button btnArchive; - - private global::Gtk.Button btnFolder; - - private global::Gtk.Button btnStop; - - private global::Gtk.Button btnMetadata; - - private global::Gtk.Button btnToggleCrack; - - private global::Gtk.Button btnRemoveFile; - - private global::Gtk.Button btnDialog; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget dlgAdd - this.Name = "dlgAdd"; - this.Title = global::Mono.Unix.Catalog.GetString("Add operating system"); - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Internal child dlgAdd.VBox - global::Gtk.VBox w1 = this.VBox; - w1.Name = "vbox1"; - w1.Spacing = 6; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox15 = new global::Gtk.HBox(); - this.hbox15.Name = "hbox15"; - this.hbox15.Spacing = 6; - // Container child hbox15.Gtk.Box+BoxChild - this.lblDeveloper = new global::Gtk.Label(); - this.lblDeveloper.Name = "lblDeveloper"; - this.lblDeveloper.LabelProp = global::Mono.Unix.Catalog.GetString("Developer"); - this.hbox15.Add(this.lblDeveloper); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.lblDeveloper])); - w2.Position = 0; - w2.Expand = false; - w2.Fill = false; - // Container child hbox15.Gtk.Box+BoxChild - this.txtDeveloper = new global::Gtk.Entry(); - this.txtDeveloper.CanFocus = true; - this.txtDeveloper.Name = "txtDeveloper"; - this.txtDeveloper.IsEditable = false; - this.txtDeveloper.InvisibleChar = '●'; - this.hbox15.Add(this.txtDeveloper); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.txtDeveloper])); - w3.Position = 1; - w1.Add(this.hbox15); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.hbox15])); - w4.Position = 0; - w4.Expand = false; - w4.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox14 = new global::Gtk.HBox(); - this.hbox14.Name = "hbox14"; - this.hbox14.Spacing = 6; - // Container child hbox14.Gtk.Box+BoxChild - this.lblProduct = new global::Gtk.Label(); - this.lblProduct.Name = "lblProduct"; - this.lblProduct.LabelProp = global::Mono.Unix.Catalog.GetString("Product"); - this.hbox14.Add(this.lblProduct); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.lblProduct])); - w5.Position = 0; - w5.Expand = false; - w5.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.txtProduct = new global::Gtk.Entry(); - this.txtProduct.CanFocus = true; - this.txtProduct.Name = "txtProduct"; - this.txtProduct.IsEditable = false; - this.txtProduct.InvisibleChar = '●'; - this.hbox14.Add(this.txtProduct); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.txtProduct])); - w6.Position = 1; - w1.Add(this.hbox14); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1[this.hbox14])); - w7.Position = 1; - w7.Expand = false; - w7.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox13 = new global::Gtk.HBox(); - this.hbox13.Name = "hbox13"; - this.hbox13.Spacing = 6; - // Container child hbox13.Gtk.Box+BoxChild - this.lblVersion = new global::Gtk.Label(); - this.lblVersion.Name = "lblVersion"; - this.lblVersion.LabelProp = global::Mono.Unix.Catalog.GetString("Version"); - this.hbox13.Add(this.lblVersion); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.lblVersion])); - w8.Position = 0; - w8.Expand = false; - w8.Fill = false; - // Container child hbox13.Gtk.Box+BoxChild - this.txtVersion = new global::Gtk.Entry(); - this.txtVersion.CanFocus = true; - this.txtVersion.Name = "txtVersion"; - this.txtVersion.IsEditable = false; - this.txtVersion.InvisibleChar = '●'; - this.hbox13.Add(this.txtVersion); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.txtVersion])); - w9.Position = 1; - w1.Add(this.hbox13); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1[this.hbox13])); - w10.Position = 2; - w10.Expand = false; - w10.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox12 = new global::Gtk.HBox(); - this.hbox12.Name = "hbox12"; - this.hbox12.Spacing = 6; - // Container child hbox12.Gtk.Box+BoxChild - this.lblLanguages = new global::Gtk.Label(); - this.lblLanguages.Name = "lblLanguages"; - this.lblLanguages.LabelProp = global::Mono.Unix.Catalog.GetString("Languages"); - this.hbox12.Add(this.lblLanguages); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.lblLanguages])); - w11.Position = 0; - w11.Expand = false; - w11.Fill = false; - // Container child hbox12.Gtk.Box+BoxChild - this.txtLanguages = new global::Gtk.Entry(); - this.txtLanguages.CanFocus = true; - this.txtLanguages.Name = "txtLanguages"; - this.txtLanguages.IsEditable = false; - this.txtLanguages.InvisibleChar = '●'; - this.hbox12.Add(this.txtLanguages); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.txtLanguages])); - w12.Position = 1; - w1.Add(this.hbox12); - global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1[this.hbox12])); - w13.Position = 3; - w13.Expand = false; - w13.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox11 = new global::Gtk.HBox(); - this.hbox11.Name = "hbox11"; - this.hbox11.Spacing = 6; - // Container child hbox11.Gtk.Box+BoxChild - this.lblArchitecture = new global::Gtk.Label(); - this.lblArchitecture.Name = "lblArchitecture"; - this.lblArchitecture.LabelProp = global::Mono.Unix.Catalog.GetString("Architecture"); - this.hbox11.Add(this.lblArchitecture); - global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.lblArchitecture])); - w14.Position = 0; - w14.Expand = false; - w14.Fill = false; - // Container child hbox11.Gtk.Box+BoxChild - this.txtArchitecture = new global::Gtk.Entry(); - this.txtArchitecture.CanFocus = true; - this.txtArchitecture.Name = "txtArchitecture"; - this.txtArchitecture.IsEditable = false; - this.txtArchitecture.InvisibleChar = '●'; - this.hbox11.Add(this.txtArchitecture); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.txtArchitecture])); - w15.Position = 1; - w1.Add(this.hbox11); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1[this.hbox11])); - w16.Position = 4; - w16.Expand = false; - w16.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox10 = new global::Gtk.HBox(); - this.hbox10.Name = "hbox10"; - this.hbox10.Spacing = 6; - // Container child hbox10.Gtk.Box+BoxChild - this.lblMachine = new global::Gtk.Label(); - this.lblMachine.Name = "lblMachine"; - this.lblMachine.LabelProp = global::Mono.Unix.Catalog.GetString("Machine"); - this.hbox10.Add(this.lblMachine); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.lblMachine])); - w17.Position = 0; - w17.Expand = false; - w17.Fill = false; - // Container child hbox10.Gtk.Box+BoxChild - this.txtMachine = new global::Gtk.Entry(); - this.txtMachine.CanFocus = true; - this.txtMachine.Name = "txtMachine"; - this.txtMachine.IsEditable = false; - this.txtMachine.InvisibleChar = '●'; - this.hbox10.Add(this.txtMachine); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.txtMachine])); - w18.Position = 1; - w1.Add(this.hbox10); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(w1[this.hbox10])); - w19.Position = 5; - w19.Expand = false; - w19.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox21 = new global::Gtk.HBox(); - this.hbox21.Name = "hbox21"; - this.hbox21.Spacing = 6; - // Container child hbox21.Gtk.Box+BoxChild - this.lblFormat = new global::Gtk.Label(); - this.lblFormat.Name = "lblFormat"; - this.lblFormat.LabelProp = global::Mono.Unix.Catalog.GetString("Format"); - this.hbox21.Add(this.lblFormat); - global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.lblFormat])); - w20.Position = 0; - w20.Expand = false; - w20.Fill = false; - // Container child hbox21.Gtk.Box+BoxChild - this.txtFormat = new global::Gtk.Entry(); - this.txtFormat.CanFocus = true; - this.txtFormat.Name = "txtFormat"; - this.txtFormat.IsEditable = false; - this.txtFormat.InvisibleChar = '●'; - this.hbox21.Add(this.txtFormat); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.txtFormat])); - w21.Position = 1; - w1.Add(this.hbox21); - global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(w1[this.hbox21])); - w22.Position = 6; - w22.Expand = false; - w22.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox20 = new global::Gtk.HBox(); - this.hbox20.Name = "hbox20"; - this.hbox20.Spacing = 6; - // Container child hbox20.Gtk.Box+BoxChild - this.lblDescription = new global::Gtk.Label(); - this.lblDescription.Name = "lblDescription"; - this.lblDescription.LabelProp = global::Mono.Unix.Catalog.GetString("Description"); - this.hbox20.Add(this.lblDescription); - global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.lblDescription])); - w23.Position = 0; - w23.Expand = false; - w23.Fill = false; - // Container child hbox20.Gtk.Box+BoxChild - this.txtDescription = new global::Gtk.Entry(); - this.txtDescription.CanFocus = true; - this.txtDescription.Name = "txtDescription"; - this.txtDescription.IsEditable = false; - this.txtDescription.InvisibleChar = '●'; - this.hbox20.Add(this.txtDescription); - global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.txtDescription])); - w24.Position = 1; - w1.Add(this.hbox20); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(w1[this.hbox20])); - w25.Position = 7; - w25.Expand = false; - w25.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox17 = new global::Gtk.HBox(); - this.hbox17.Name = "hbox17"; - this.hbox17.Spacing = 6; - // Container child hbox17.Gtk.Box+BoxChild - this.vbox3 = new global::Gtk.VBox(); - this.vbox3.Name = "vbox3"; - this.vbox3.Spacing = 6; - // Container child vbox3.Gtk.Box+BoxChild - this.chkOem = new global::Gtk.CheckButton(); - this.chkOem.Sensitive = false; - this.chkOem.CanFocus = true; - this.chkOem.Name = "chkOem"; - this.chkOem.Label = global::Mono.Unix.Catalog.GetString("oem"); - this.chkOem.DrawIndicator = true; - this.chkOem.UseUnderline = true; - this.vbox3.Add(this.chkOem); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.chkOem])); - w26.Position = 0; - w26.Expand = false; - w26.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.chkUpgrade = new global::Gtk.CheckButton(); - this.chkUpgrade.Sensitive = false; - this.chkUpgrade.CanFocus = true; - this.chkUpgrade.Name = "chkUpgrade"; - this.chkUpgrade.Label = global::Mono.Unix.Catalog.GetString("upgrade"); - this.chkUpgrade.DrawIndicator = true; - this.chkUpgrade.UseUnderline = true; - this.vbox3.Add(this.chkUpgrade); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.chkUpgrade])); - w27.Position = 1; - w27.Expand = false; - w27.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.chkSource = new global::Gtk.CheckButton(); - this.chkSource.Sensitive = false; - this.chkSource.CanFocus = true; - this.chkSource.Name = "chkSource"; - this.chkSource.Label = global::Mono.Unix.Catalog.GetString("source"); - this.chkSource.DrawIndicator = true; - this.chkSource.UseUnderline = true; - this.vbox3.Add(this.chkSource); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.chkSource])); - w28.Position = 2; - w28.Expand = false; - w28.Fill = false; - this.hbox17.Add(this.vbox3); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vbox3])); - w29.Position = 0; - // Container child hbox17.Gtk.Box+BoxChild - this.vbox2 = new global::Gtk.VBox(); - this.vbox2.Name = "vbox2"; - this.vbox2.Spacing = 6; - // Container child vbox2.Gtk.Box+BoxChild - this.chkUpdate = new global::Gtk.CheckButton(); - this.chkUpdate.Sensitive = false; - this.chkUpdate.CanFocus = true; - this.chkUpdate.Name = "chkUpdate"; - this.chkUpdate.Label = global::Mono.Unix.Catalog.GetString("update"); - this.chkUpdate.DrawIndicator = true; - this.chkUpdate.UseUnderline = true; - this.vbox2.Add(this.chkUpdate); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.chkUpdate])); - w30.Position = 0; - w30.Expand = false; - w30.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.chkFiles = new global::Gtk.CheckButton(); - this.chkFiles.Sensitive = false; - this.chkFiles.CanFocus = true; - this.chkFiles.Name = "chkFiles"; - this.chkFiles.Label = global::Mono.Unix.Catalog.GetString("files"); - this.chkFiles.DrawIndicator = true; - this.chkFiles.UseUnderline = true; - this.vbox2.Add(this.chkFiles); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.chkFiles])); - w31.Position = 1; - w31.Expand = false; - w31.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.chkNetinstall = new global::Gtk.CheckButton(); - this.chkNetinstall.Sensitive = false; - this.chkNetinstall.CanFocus = true; - this.chkNetinstall.Name = "chkNetinstall"; - this.chkNetinstall.Label = global::Mono.Unix.Catalog.GetString("netinstall"); - this.chkNetinstall.DrawIndicator = true; - this.chkNetinstall.UseUnderline = true; - this.vbox2.Add(this.chkNetinstall); - global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.chkNetinstall])); - w32.Position = 2; - w32.Expand = false; - w32.Fill = false; - this.hbox17.Add(this.vbox2); - global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vbox2])); - w33.Position = 1; - w1.Add(this.hbox17); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(w1[this.hbox17])); - w34.Position = 8; - w34.Expand = false; - w34.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.tabTabs = new global::Gtk.Notebook(); - this.tabTabs.CanFocus = true; - this.tabTabs.Name = "tabTabs"; - this.tabTabs.CurrentPage = 0; - // Container child tabTabs.Gtk.Notebook+NotebookChild - this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow.Name = "GtkScrolledWindow"; - this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.treeFiles = new global::Gtk.TreeView(); - this.treeFiles.CanFocus = true; - this.treeFiles.Name = "treeFiles"; - this.treeFiles.Reorderable = true; - this.GtkScrolledWindow.Add(this.treeFiles); - this.tabTabs.Add(this.GtkScrolledWindow); - // Notebook tab - this.lblTabFiles = new global::Gtk.Label(); - this.lblTabFiles.Name = "lblTabFiles"; - this.lblTabFiles.LabelProp = global::Mono.Unix.Catalog.GetString("Files"); - this.tabTabs.SetTabLabel(this.GtkScrolledWindow, this.lblTabFiles); - this.lblTabFiles.ShowAll(); - // Container child tabTabs.Gtk.Notebook+NotebookChild - this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; - this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild - this.treeOSes = new global::Gtk.TreeView(); - this.treeOSes.CanFocus = true; - this.treeOSes.Name = "treeOSes"; - this.treeOSes.Reorderable = true; - this.GtkScrolledWindow1.Add(this.treeOSes); - this.tabTabs.Add(this.GtkScrolledWindow1); - global::Gtk.Notebook.NotebookChild w38 = ((global::Gtk.Notebook.NotebookChild)(this.tabTabs[this.GtkScrolledWindow1])); - w38.Position = 1; - // Notebook tab - this.lblTabOSes = new global::Gtk.Label(); - this.lblTabOSes.Name = "lblTabOSes"; - this.lblTabOSes.LabelProp = global::Mono.Unix.Catalog.GetString("OSes"); - this.tabTabs.SetTabLabel(this.GtkScrolledWindow1, this.lblTabOSes); - this.lblTabOSes.ShowAll(); - w1.Add(this.tabTabs); - global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(w1[this.tabTabs])); - w39.Position = 9; - // Container child vbox1.Gtk.Box+BoxChild - this.lblStatus = new global::Gtk.Label(); - this.lblStatus.Name = "lblStatus"; - this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("label3"); - w1.Add(this.lblStatus); - global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(w1[this.lblStatus])); - w40.Position = 10; - w40.Expand = false; - w40.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox(); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.lblProgress = new global::Gtk.Label(); - this.lblProgress.Name = "lblProgress"; - this.lblProgress.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); - this.hbox2.Add(this.lblProgress); - global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblProgress])); - w41.Position = 0; - w41.Expand = false; - w41.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.prgProgress = new global::Gtk.ProgressBar(); - this.prgProgress.Name = "prgProgress"; - this.hbox2.Add(this.prgProgress); - global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.prgProgress])); - w42.Position = 1; - w1.Add(this.hbox2); - global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2])); - w43.Position = 11; - w43.Expand = false; - w43.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox27 = new global::Gtk.HBox(); - this.hbox27.Name = "hbox27"; - this.hbox27.Spacing = 6; - // Container child hbox27.Gtk.Box+BoxChild - this.lblProgress2 = new global::Gtk.Label(); - this.lblProgress2.Name = "lblProgress2"; - this.lblProgress2.LabelProp = global::Mono.Unix.Catalog.GetString("label22"); - this.hbox27.Add(this.lblProgress2); - global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.lblProgress2])); - w44.Position = 0; - w44.Expand = false; - w44.Fill = false; - // Container child hbox27.Gtk.Box+BoxChild - this.prgProgress2 = new global::Gtk.ProgressBar(); - this.prgProgress2.Name = "prgProgress2"; - this.hbox27.Add(this.prgProgress2); - global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.prgProgress2])); - w45.Position = 1; - w1.Add(this.hbox27); - global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(w1[this.hbox27])); - w46.Position = 12; - w46.Expand = false; - w46.Fill = false; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox(); - this.hbox1.Name = "hbox1"; - this.hbox1.Spacing = 6; - // Container child hbox1.Gtk.Box+BoxChild - this.btnExit = new global::Gtk.Button(); - this.btnExit.CanFocus = true; - this.btnExit.Name = "btnExit"; - this.btnExit.UseStock = true; - this.btnExit.UseUnderline = true; - this.btnExit.Label = "gtk-ok"; - this.hbox1.Add(this.btnExit); - global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnExit])); - w47.PackType = ((global::Gtk.PackType)(1)); - w47.Position = 0; - w47.Expand = false; - w47.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnClose = new global::Gtk.Button(); - this.btnClose.CanFocus = true; - this.btnClose.Name = "btnClose"; - this.btnClose.UseUnderline = true; - this.btnClose.Label = global::Mono.Unix.Catalog.GetString("_Close"); - global::Gtk.Image w48 = new global::Gtk.Image(); - w48.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu); - this.btnClose.Image = w48; - this.hbox1.Add(this.btnClose); - global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnClose])); - w49.PackType = ((global::Gtk.PackType)(1)); - w49.Position = 1; - w49.Expand = false; - w49.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnPack = new global::Gtk.Button(); - this.btnPack.CanFocus = true; - this.btnPack.Name = "btnPack"; - this.btnPack.UseUnderline = true; - this.btnPack.Label = global::Mono.Unix.Catalog.GetString("_Add to repository..."); - global::Gtk.Image w50 = new global::Gtk.Image(); - w50.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); - this.btnPack.Image = w50; - this.hbox1.Add(this.btnPack); - global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnPack])); - w51.PackType = ((global::Gtk.PackType)(1)); - w51.Position = 2; - w51.Expand = false; - w51.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnArchive = new global::Gtk.Button(); - this.btnArchive.CanFocus = true; - this.btnArchive.Name = "btnArchive"; - this.btnArchive.UseUnderline = true; - this.btnArchive.Label = global::Mono.Unix.Catalog.GetString("Open _archive"); - global::Gtk.Image w52 = new global::Gtk.Image(); - w52.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); - this.btnArchive.Image = w52; - this.hbox1.Add(this.btnArchive); - global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnArchive])); - w53.PackType = ((global::Gtk.PackType)(1)); - w53.Position = 3; - w53.Expand = false; - w53.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnFolder = new global::Gtk.Button(); - this.btnFolder.CanFocus = true; - this.btnFolder.Name = "btnFolder"; - this.btnFolder.UseUnderline = true; - this.btnFolder.Label = global::Mono.Unix.Catalog.GetString("Open _folder"); - global::Gtk.Image w54 = new global::Gtk.Image(); - w54.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); - this.btnFolder.Image = w54; - this.hbox1.Add(this.btnFolder); - global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnFolder])); - w55.PackType = ((global::Gtk.PackType)(1)); - w55.Position = 4; - w55.Expand = false; - w55.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnStop = new global::Gtk.Button(); - this.btnStop.CanFocus = true; - this.btnStop.Name = "btnStop"; - this.btnStop.UseStock = true; - this.btnStop.UseUnderline = true; - this.btnStop.Label = "gtk-stop"; - this.hbox1.Add(this.btnStop); - global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnStop])); - w56.PackType = ((global::Gtk.PackType)(1)); - w56.Position = 5; - w56.Expand = false; - w56.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnMetadata = new global::Gtk.Button(); - this.btnMetadata.CanFocus = true; - this.btnMetadata.Name = "btnMetadata"; - this.btnMetadata.UseUnderline = true; - this.btnMetadata.Label = global::Mono.Unix.Catalog.GetString("Metadata"); - global::Gtk.Image w57 = new global::Gtk.Image(); - w57.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-properties", global::Gtk.IconSize.Menu); - this.btnMetadata.Image = w57; - this.hbox1.Add(this.btnMetadata); - global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnMetadata])); - w58.PackType = ((global::Gtk.PackType)(1)); - w58.Position = 6; - w58.Expand = false; - w58.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnToggleCrack = new global::Gtk.Button(); - this.btnToggleCrack.CanFocus = true; - this.btnToggleCrack.Name = "btnToggleCrack"; - this.btnToggleCrack.UseUnderline = true; - this.btnToggleCrack.Label = global::Mono.Unix.Catalog.GetString("Mark as crack"); - this.hbox1.Add(this.btnToggleCrack); - global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnToggleCrack])); - w59.PackType = ((global::Gtk.PackType)(1)); - w59.Position = 7; - w59.Expand = false; - w59.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnRemoveFile = new global::Gtk.Button(); - this.btnRemoveFile.CanFocus = true; - this.btnRemoveFile.Name = "btnRemoveFile"; - this.btnRemoveFile.UseStock = true; - this.btnRemoveFile.UseUnderline = true; - this.btnRemoveFile.Label = "gtk-remove"; - this.hbox1.Add(this.btnRemoveFile); - global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnRemoveFile])); - w60.PackType = ((global::Gtk.PackType)(1)); - w60.Position = 8; - w60.Expand = false; - w60.Fill = false; - w1.Add(this.hbox1); - global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); - w61.Position = 13; - w61.Expand = false; - w61.Fill = false; - // Internal child dlgAdd.ActionArea - global::Gtk.HButtonBox w62 = this.ActionArea; - w62.Name = "__gtksharp_108_Stetic_TopLevelDialog_ActionArea"; - // Container child __gtksharp_108_Stetic_TopLevelDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.btnDialog = new global::Gtk.Button(); - this.btnDialog.CanFocus = true; - this.btnDialog.Name = "btnDialog"; - this.btnDialog.UseUnderline = true; - this.btnDialog.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); - this.AddActionWidget(this.btnDialog, 0); - global::Gtk.ButtonBox.ButtonBoxChild w63 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w62[this.btnDialog])); - w63.Expand = false; - w63.Fill = false; - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 857; - this.DefaultHeight = 564; - this.lblStatus.Hide(); - this.lblProgress.Hide(); - this.prgProgress.Hide(); - this.lblProgress2.Hide(); - this.prgProgress2.Hide(); - this.btnClose.Hide(); - this.btnPack.Hide(); - this.btnStop.Hide(); - this.btnMetadata.Hide(); - this.btnToggleCrack.Hide(); - this.btnRemoveFile.Hide(); - w62.Hide(); - this.Show(); - this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); - this.btnRemoveFile.Clicked += new global::System.EventHandler(this.OnBtnRemoveFileClicked); - this.btnToggleCrack.Clicked += new global::System.EventHandler(this.OnBtnToggleCrackClicked); - this.btnMetadata.Clicked += new global::System.EventHandler(this.OnBtnMetadataClicked); - this.btnStop.Clicked += new global::System.EventHandler(this.OnBtnStopClicked); - this.btnFolder.Clicked += new global::System.EventHandler(this.OnBtnFolderClicked); - this.btnArchive.Clicked += new global::System.EventHandler(this.OnBtnArchiveClicked); - this.btnPack.Clicked += new global::System.EventHandler(this.OnBtnPackClicked); - this.btnClose.Clicked += new global::System.EventHandler(this.OnBtnCloseClicked); - this.btnExit.Clicked += new global::System.EventHandler(this.OnBtnExitClicked); - } -} diff --git a/osrepodbmgr/gtk-gui/generated.cs b/osrepodbmgr/gtk-gui/generated.cs deleted file mode 100644 index f692d75..0000000 --- a/osrepodbmgr/gtk-gui/generated.cs +++ /dev/null @@ -1,77 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace Stetic -{ - internal class Gui - { - private static bool initialized; - - internal static void Initialize(Gtk.Widget iconRenderer) - { - if((Stetic.Gui.initialized == false)) - { - Stetic.Gui.initialized = true; - } - } - } - - internal class IconLoader - { - public static Gdk.Pixbuf LoadIcon(Gtk.Widget widget, string name, Gtk.IconSize size) - { - Gdk.Pixbuf res = widget.RenderIcon(name, size, null); - if((res != null)) - { - return res; - } - else - { - int sz; - int sy; - global::Gtk.Icon.SizeLookup(size, out sz, out sy); - try - { - return Gtk.IconTheme.Default.LoadIcon(name, sz, 0); - } - catch(System.Exception) - { - if((name != "gtk-missing-image")) - { - return Stetic.IconLoader.LoadIcon(widget, "gtk-missing-image", size); - } - else - { - Gdk.Pixmap pmap = new Gdk.Pixmap(Gdk.Screen.Default.RootWindow, sz, sz); - Gdk.GC gc = new Gdk.GC(pmap); - gc.RgbFgColor = new Gdk.Color(255, 255, 255); - pmap.DrawRectangle(gc, true, 0, 0, sz, sz); - gc.RgbFgColor = new Gdk.Color(0, 0, 0); - pmap.DrawRectangle(gc, false, 0, 0, (sz - 1), (sz - 1)); - gc.SetLineAttributes(3, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round); - gc.RgbFgColor = new Gdk.Color(255, 0, 0); - pmap.DrawLine(gc, (sz / 4), (sz / 4), ((sz - 1) - - (sz / 4)), ((sz - 1) - - (sz / 4))); - pmap.DrawLine(gc, ((sz - 1) - - (sz / 4)), (sz / 4), (sz / 4), ((sz - 1) - - (sz / 4))); - return Gdk.Pixbuf.FromDrawable(pmap, pmap.Colormap, 0, 0, 0, 0, sz, sz); - } - } - } - } - } - - internal class ActionGroups - { - public static Gtk.ActionGroup GetActionGroup(System.Type type) - { - return Stetic.ActionGroups.GetActionGroup(type.FullName); - } - - public static Gtk.ActionGroup GetActionGroup(string name) - { - return null; - } - } -} diff --git a/osrepodbmgr/gtk-gui/gui.stetic b/osrepodbmgr/gtk-gui/gui.stetic deleted file mode 100644 index 1b28892..0000000 --- a/osrepodbmgr/gtk-gui/gui.stetic +++ /dev/null @@ -1,13120 +0,0 @@ - - - - .. - - - - - - - - Add operating system - CenterOnParent - 1 - False - - - - - 6 - - - - 6 - - - - Developer - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Product - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - Version - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - Languages - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - Architecture - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 4 - True - False - False - - - - - - 6 - - - - Machine - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 5 - True - False - False - - - - - - 6 - - - - Format - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 6 - True - False - False - - - - - - 6 - - - - Description - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 7 - True - False - False - - - - - - 6 - - - - 6 - - - - False - True - oem - True - True - True - - - 0 - True - False - False - - - - - - False - True - upgrade - True - True - True - - - 1 - True - False - False - - - - - - False - True - source - True - True - True - - - 2 - True - False - False - - - - - 0 - True - - - - - - 6 - - - - False - True - update - True - True - True - - - 0 - True - False - False - - - - - - False - True - files - True - True - True - - - 1 - True - False - False - - - - - - False - True - netinstall - True - True - True - - - 2 - True - False - False - - - - - 1 - True - - - - - 8 - True - False - False - - - - - - True - 0 - - - - In - - - - True - True - True - - - - - - - - Files - - - tab - - - - - - In - - - - True - True - True - - - - - 1 - - - - - - OSes - - - tab - - - - - 9 - True - - - - - - False - label3 - - - 10 - True - False - False - - - - - - 6 - - - - False - label2 - - - 0 - True - False - False - - - - - - False - - - 1 - True - - - - - 11 - True - False - False - - - - - - 6 - - - - False - label22 - - - 0 - True - False - False - - - - - - False - - - 1 - True - - - - - 12 - True - False - False - - - - - - 6 - - - - True - True - StockItem - gtk-ok - - gtk-ok - - - End - 0 - True - False - False - - - - - - False - True - TextAndIcon - stock:gtk-close Menu - _Close - True - - - - End - 1 - True - False - False - - - - - - False - True - TextAndIcon - stock:gtk-save Menu - _Add to repository... - True - - - - End - 2 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-open Menu - Open _archive - True - - - - End - 3 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-open Menu - Open _folder - True - - - - End - 4 - True - False - False - - - - - - False - True - True - StockItem - gtk-stop - - gtk-stop - - - End - 5 - True - False - False - - - - - - False - True - TextAndIcon - stock:gtk-properties Menu - Metadata - True - - - - End - 6 - True - False - False - - - - - - False - True - TextOnly - Mark as crack - True - - - - End - 7 - True - False - False - - - - - - False - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 8 - True - False - False - - - - - 13 - True - False - False - - - - - - - - False - 1 - - - - True - TextOnly - GtkButton - True - 0 - - - False - False - - - - - - - - Help - Dialog - CenterOnParent - 1 - False - - - - 6 - - - - In - - - - True - True - False - This is the naming scheme and folder organization conventions for the Operating System Repository. - -The basic layout is as follows: - -<Developer>/<Product>/<Version>/<Language>/<Architecture>/oem/for <Machine>/<[format]_update/upgrade/files/source/netinstall/description>.zip -All fields should contain only 7-bit ASCII. - -<Developer> ------------ -This is the main developer of the operating system or associated software. e.g. Microsoft - -<Product> ---------- -This is the name of the operating system or associated software. e.g. Windows NT - -<Version> ---------- -This is the version of the operating system or associated software. e.g. 6.00.6000.16386 -Service pack and release markers should be appended. e.g. 6.10.7601.16385 (RTM) -Build can be specified by appending "build". e.g. 10.2.7 build 6S80 -And combined. e.g. 10.5 build 9A581 (Server) -Version with same version number but different build date should have it appended. Date format should be YYYYmm[dd]. e.g. 10 201009 - -<Language> ----------- -This specifies the language localization and translation: -xxx: Language variation, e.g. German = deu -xxx_yy: Country specific language variation. e.g. Swiss German = deu_ch -multi: The only known variation of the product that contains more than a language -xxx,xxx,xxx and xxx_yy,xxx_yy,xxx_yy: The variation contains more than a single language -Where xxx is the ISO-639-2/T language code and yy is the ISO-3166-1 alpha-2 country code. -https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes -https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 -If the product has ever been only released in one language variation, being it English (like CP/M) or multilanguage (like Mac OS X and Linux), this field should be omitted. - -<Architecture> --------------- -The processor architecture the product is compiled for. -Omitted if it has only ever been compiled for a single one, contains all supported ones in same files, or it is source code containing support for several of them. -Exact one depends on the product (that is, the one that the product uses to identify itself, should be used). Examples: -* x86, i86, i386, i486, i586, i686, ia32: Intel Architecture 32 aka 8086 aka iAPX86 -* x64, amd64, x86_64: AMD64 aka x86_64 aka EM64T -* ia64: Intel Architecture 64 aka Itanium -* sparc: SPARC -* sun4u, sun4m, sun1, sun2, sun3: Specific Sun architectures that specify not only the processor architecture but the whole system one. -* 68k, ppc, fat: For products that run under Mac OS indicate they require a Macintosh, a Power Macintosh, or can run on both, respectively. -* rpi, rpi2, beaglebone, bananapi: Specific whole systems that share a processor architecture but require a completely different variant. - -oem ---- -Present if the variant is OEM. Omitted otherwise. - -for <Machine> -------------- -Present if the variant requires a specific computer to run. -Useful for computer restoration variants. -e.g. for Power Mac 5200 -e.g. for Tandy 1000 - -<[format]/update/upgrade/files/source/netinstall/description>.zip ------------------------------------------------------------------ -This is the file containing the product itself. -It should be compressed using ZIP with certain parameters (see below). -Several of them can be combined separated with underscores. -Naming as following: -* [format]: If the variation is encoded in a disk image format that's neither a simple dump of sectors (.iso/.dsk/.xdf) or a BinCue/BinToc (.bin+.cue/.bin+.toc) format should be substituted to a descriptive name for the format. e.g.: [Nero], [CloneCD] -* update: Should be used when the product requires and updates a previous point release or build to the new one. Product version should be the updated, not the required, one. e.g.: 1.3 updates to 1.3.1 or 2.0 updates to 2.5 -* upgrade: Should be used when the product requires and updates a previous version to the new one. Product version should be the updated, not the required, one. e.g.: 2.0 updates to 3.0 or MS-DOS updates to Windows 95. -* files: Should be used when the contents of the product disks are dumped as is (copied from the media) or it contains already installed files. -* source: Should be used when it contains the source code for the product. -* netinstall: Similar to files except that the files are designed to be put in a network share for remote installation of the product. -* description: Free form description or product part number if it is known. - -Compression ------------ -The product should be compressed using ZIP with Deflate algorithm and UTF-8 headers. Zip64 extensions may be used. UNIX extensions MUST be used for products that require them (e.g. it contains softlinks). -In the doubt, use Info-ZIP with following parameters: -zip -9ry -dd archive.zip . -If the product requires Acorn, BeOS or OS/2 extended attributes it should be compressed using the corresponding Info-ZIP version under that operating system so the required extension is used. -DO NOT recompress archives in an operating system which zip product doesn't support all already present headers. -DO NOT use TorrentZip. It discards all headers as well as date stamps. -DO NOT use Mac OS headers. For conserving FinderInfo and Resource Fork see below. - -FinderInfo and Resource Fork ----------------------------- -FinderInfo and Resource Fork should be stored as Mac OS X AppleDouble format: file and ._file -This format is understand by all Mac OS X versions under any filesystem or a CIFS/SMB network share. -Also mkisofs recognizes it and is able to create an HFS partition with them correctly set. -Other formats should be converted to this one. - -Metadata --------- -Each archive should be accompanied with a JSON metadata file using the CICM Metadata format. Name for metadata sidecar should be same as the archive changing the extension to .json. -If the archive can be modified (doesn't contain ZIP headers you would lose) the metadata should be put inside the archive as a file named metadata.json. - -Recovery --------- -Disks fail, bit rot happens, so every archive as well as the metadata file should have a PAR2 recovery set created. -Example command line (with 5% redundancy): -par2 c -r5 archive.par2 archive.zip archive.json - -Result ------- -In the end you get something like this: -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.json -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol000+01.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol001+02.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol003+04.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol007+08.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol015+16.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol031+32.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol063+37.par2 -Apple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.zip -QNX/QNX/20090229/source.json -QNX/QNX/20090229/source.par2 -QNX/QNX/20090229/source.vol000+01.par2 -QNX/QNX/20090229/source.vol001+02.par2 -QNX/QNX/20090229/source.vol003+04.par2 -QNX/QNX/20090229/source.vol007+08.par2 -QNX/QNX/20090229/source.vol015+16.par2 -QNX/QNX/20090229/source.vol031+32.par2 -QNX/QNX/20090229/source.vol063+37.par2 -QNX/QNX/20090229/source.zip - - - - - 0 - True - - - - - - True - True - StockItem - gtk-ok - - gtk-ok - - - 1 - True - False - False - - - - - - - - False - 1 - - - - True - TextOnly - GtkButton - True - 0 - - - False - False - - - - - - - - Settings - CenterOnParent - 1 - False - - - - 6 - - - - 6 - - - - 6 - - - - 6 - - - - Database file - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - TextAndIcon - stock:gtk-open Menu - Choose - True - - - - 2 - True - False - False - - - - - 0 - True - False - False - - - - - - 6 - - - - Repository folder - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - TextAndIcon - stock:gtk-open Menu - Choose - True - - - - 2 - True - False - False - - - - - 1 - True - False - False - - - - - - 6 - - - - Temporary folder - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - TextAndIcon - stock:gtk-open Menu - Choose - True - - - - 2 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - Path to unar - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - TextAndIcon - stock:gtk-open Menu - Choose - True - - - - 2 - True - False - False - - - - - 3 - True - False - False - - - - - - False - label1 - - - 4 - True - False - False - - - - - - 6 - - - - Compression algorithm - - - 0 - True - False - False - - - - - - True - - - - 1 - True - False - False - - - - - 5 - True - False - False - - - - - 0 - True - False - False - - - - - - 6 - - - - True - Use antivirus? - True - True - True - - - - 0 - True - False - False - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - True - Use clamd? - True - True - True - - - - 0 - True - False - False - - - - - - 6 - - - - Host - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - - port - - - 2 - True - False - False - - - - - - False - True - 1 - 65535 - 10 - 1 - 1 - True - 3310 - - - 3 - True - False - False - - - - - - False - True - TextOnly - Test - True - - - - 4 - True - False - False - - - - - 1 - True - False - False - - - - - - label4 - - - 2 - True - False - False - - - - - - False - True - Clamd is local? - True - True - True - - - 3 - True - False - False - - - - - - - - - - <b>clamd</b> - True - - - label_item - - - - - 1 - True - False - False - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - True - Use VirusTotal? - True - True - True - - - - 0 - True - False - False - - - - - - 6 - - - - API Key - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - - False - True - TextOnly - Test - True - - - - 2 - True - False - False - - - - - 1 - True - False - False - - - - - - False - label5 - - - 2 - True - False - False - - - - - - - - - - <b>VirusTotal</b> - True - - - label_item - - - - - 2 - True - False - False - - - - - 1 - True - False - False - - - - - 0 - True - False - False - - - - - - 6 - - - - True - True - StockItem - gtk-cancel - - gtk-cancel - - - 0 - True - False - False - - - - - - True - True - StockItem - gtk-apply - - gtk-apply - - - End - 1 - True - False - False - - - - - 1 - True - False - False - - - - - - - - False - 1 - - - - True - TextOnly - GtkButton - True - 0 - - - False - False - - - - - - - - Editing metadata... - CenterOnParent - 2 - False - - - - 2 - - - - True - 0 - - - - 6 - - - - 6 - - - - Developer - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Publisher - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - Author - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - Performer - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - Name - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 4 - True - False - False - - - - - - 6 - - - - Version - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 5 - True - False - False - - - - - - 6 - - - - Release type - - - 0 - True - False - False - - - - - - False - True - - - - 1 - True - False - False - - - - - - True - Unknown or unspecified - True - True - True - True - - - - 2 - True - - - - - 6 - True - False - False - - - - - - 6 - - - - 6 - - - - ReleaseDate - - - 0 - True - False - False - - - - - - True - Unknown or unreleased - True - True - True - True - - - - 1 - True - False - False - - - - - 0 - True - False - False - - - - - - False - True - 35 - - - 1 - True - False - False - - - - - 7 - True - False - False - - - - - - 6 - - - - Part number - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 8 - True - False - False - - - - - - 6 - - - - Serial number - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 9 - True - False - False - - - - - - - - General - - - tab - - - - - - 6 - - - - 6 - - - - New keyword: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - 2 - True - False - False - - - - - 1 - - - - - - Keywords - - - tab - - - - - - 6 - - - - 6 - - - - New barcode: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - type - - - 2 - True - False - False - - - - - - True - - - - 3 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 4 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - 2 - True - False - False - - - - - 2 - - - - - - Barcodes - - - tab - - - - - - 6 - - - - 6 - - - - Categories - - - 0 - True - False - False - - - - - - 6 - - - - New category: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 1 - True - False - False - - - - - - In - - - - True - True - - - - - 2 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - 3 - True - False - False - - - - - 0 - True - False - False - - - - - - 6 - - - - Subcategories - - - 0 - True - False - False - - - - - - 6 - - - - New subcategory: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 1 - True - False - False - - - - - - In - - - - True - True - - - - - 2 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - 3 - True - False - False - - - - - 1 - True - False - False - - - - - 3 - True - - - - - - Categories - - - tab - - - - - - 6 - - - - 6 - - - - New language: - - - 0 - True - False - False - - - - - - True - - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - 2 - True - False - False - - - - - 4 - - - - - - Languages - - - tab - - - - - - 6 - - - - 6 - - - - New system: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - 2 - True - False - False - - - - - 5 - - - - - - Systems - - - tab - - - - - - 6 - - - - 6 - - - - New architectures: - - - 0 - True - False - False - - - - - - True - - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - 2 - True - False - False - - - - - 6 - - - - - - Architectures - - - tab - - - - - - 6 - - - - 6 - - - - Choose disc to add: - - - 0 - True - False - False - - - - - - True - - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-edit Menu - Edit - True - - - - End - 2 - True - False - False - - - - - - False - True - True - StockItem - gtk-stop - - gtk-stop - - - End - 3 - True - False - False - - - - - 2 - True - False - False - - - - - - False - - - 3 - True - False - False - - - - - - False - - - 4 - True - False - False - - - - - 7 - - - - - - Optical discs - - - tab - - - - - - 6 - - - - 6 - - - - Choose disk to add: - - - 0 - True - False - False - - - - - - True - - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 2 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-clear - - gtk-clear - - - End - 1 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-edit Menu - Edit - True - - - - End - 2 - True - False - False - - - - - - False - True - True - StockItem - gtk-stop - - gtk-stop - - - End - 3 - True - False - False - - - - - 2 - True - False - False - - - - - - False - - - 3 - True - False - False - - - - - - False - - - 4 - True - False - False - - - - - 8 - - - - - - Block disks - - - tab - - - - - 0 - True - - - - - - - - 10 - 5 - 2 - End - - - - True - True - True - StockItem - gtk-cancel - -6 - gtk-cancel - - - False - False - - - - - - True - True - True - StockItem - gtk-ok - -5 - - gtk-ok - - - 1 - False - False - - - - - - - - CenterOnParent - 2 - False - - - - 2 - - - - True - 0 - - - - 6 - - - - 6 - - - - Image: - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Format: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - Offset: - - - 2 - True - False - False - - - - - - True - False - - - - 3 - True - - - - - - Size: - - - 4 - True - False - False - - - - - - True - False - - - - 5 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - Manufacturer: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - Model: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - Serial: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 4 - True - False - False - - - - - - 6 - - - - Firmware: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 5 - True - False - False - - - - - - 6 - - - - Interface: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 6 - True - False - False - - - - - - 6 - - - - Copy protection: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 7 - True - False - False - - - - - - 6 - - - - Media type - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 8 - True - False - False - - - - - - 6 - - - - Media subtype - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 9 - True - False - False - - - - - - 6 - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - True - Sequenced - True - True - True - - - - 0 - True - False - False - - - - - - False - Media title - - - 1 - True - False - False - - - - - - False - True - True - - - - 2 - True - False - False - - - - - - 6 - - - - False - Sequence: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - False - of - - - 2 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - True - - - 3 - True - False - False - - - - - 3 - True - False - False - - - - - - 6 - - - - False - Side: - - - 0 - True - False - False - - - - - - False - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - 4 - True - False - False - - - - - - 6 - - - - False - Layer: - - - 0 - True - False - False - - - - - - False - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - 5 - True - False - False - - - - - - - - - - <b>Sequence</b> - True - - - label_item - - - - - 0 - True - False - False - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - 6 - - - - True - True - - - - 0 - True - - - - - - blocks - - - 1 - True - False - False - - - - - 0 - True - False - False - - - - - - Block size - - - 1 - True - False - False - - - - - - 6 - - - - Physical: - - - 0 - True - False - False - - - - - - True - 1048576 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - Logical: - - - 2 - True - False - False - - - - - - True - 1048576 - 10 - 1 - 1 - True - - - 3 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - True - 1048576 - 10 - 1 - 1 - True - - - 0 - True - False - False - - - - - - cylinders - - - 1 - True - False - False - - - - - 3 - True - False - False - - - - - - 6 - - - - True - 1048576 - 10 - 1 - 1 - True - - - 0 - True - False - False - - - - - - heads - - - 1 - True - False - False - - - - - 4 - True - False - False - - - - - - 6 - - - - True - 1048576 - 10 - 1 - 1 - True - - - 0 - True - False - False - - - - - - sectors - - - 1 - True - False - False - - - - - 5 - True - False - False - - - - - - - - - - <b>Blocks</b> - True - - - label_item - - - - - 1 - True - False - False - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - True - Known dimensions - True - True - True - - - - 0 - True - False - False - - - - - - False - True - Round? - True - True - True - - - - 1 - True - False - False - - - - - - 6 - - - - False - Diameter: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - False - Height: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 3 - True - False - False - - - - - - 6 - - - - False - Width: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 4 - True - False - False - - - - - - 6 - - - - False - Thickness: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 5 - True - False - False - - - - - - - - - - <b>Dimensions</b> - True - - - label_item - - - - - 2 - True - False - False - - - - - End - 10 - True - False - False - - - - - - - - General - - - tab - - - - - - 6 - - - - False - True - Has ATA IDENTIFY information? - True - True - True - - - 0 - True - False - False - - - - - - False - True - - - 1 - True - - - - - 1 - - - - - - ATA - - - tab - - - - - - 6 - - - - False - True - Is PCI? - True - True - True - - - 0 - True - False - False - - - - - - 6 - - - - False - Vendor ID - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - False - Product ID - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 2 - True - False - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - True - - - - - - - - <b>Configuration</b> - True - - - label_item - - - - - 3 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - True - - - - - - - - <b>Option ROM</b> - True - - - label_item - - - - - 4 - True - - - - - 2 - - - - - - PCI - - - tab - - - - - - 6 - - - - True - Is PCMCIA? - True - True - True - - - - 0 - True - False - False - - - - - - False - False - True - Has CIS? - True - True - True - - - 1 - True - False - False - - - - - - False - True - - - 2 - True - - - - - - 6 - - - - False - Manufacturer name - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - False - Manufacturer code - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 4 - True - False - False - - - - - - 6 - - - - False - Product name - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 5 - True - False - False - - - - - - 6 - - - - False - Card code - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 6 - True - False - False - - - - - - 6 - - - - False - Compliance - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 7 - True - False - False - - - - - - 6 - - - - False - Additional information - - - 0 - True - False - False - - - - - 8 - True - False - False - - - - - - In - - - - False - True - True - - - - - 9 - True - - - - - 3 - - - - - - PCMCIA - - - tab - - - - - - 6 - - - - False - True - Is Secure Digital or MMC? - True - True - True - - - 0 - True - False - False - - - - - - False - CID - - - 1 - True - False - False - - - - - - False - True - - - 2 - True - - - - - - False - False - True - Has CSD? - True - True - True - - - 3 - True - False - False - - - - - - False - True - - - 4 - True - - - - - - False - False - True - Has Extended CSD? - True - True - True - - - 5 - True - False - False - - - - - - False - True - - - 6 - True - - - - - 4 - - - - - - SecureDigital - - - tab - - - - - - 6 - - - - False - True - Is SCSI? - True - True - True - - - 0 - True - False - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>INQUIRY</b> - True - - - label_item - - - - - 1 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>MODE SENSE</b> - True - - - label_item - - - - - 2 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>MODE SENSE (10)</b> - True - - - label_item - - - - - 3 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>LOG SENSE</b> - True - - - label_item - - - - - 4 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>EVPDs</b> - True - - - label_item - - - - - 5 - True - - - - - 5 - - - - - - SCSI - - - tab - - - - - - 6 - - - - False - True - Is USB? - True - True - True - - - 0 - True - False - False - - - - - - 6 - - - - False - Vendor ID - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - False - 6 - - - - False - Product ID - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 2 - True - False - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - True - - - - - - - - <b>Descriptors</b> - True - - - label_item - - - - - 3 - True - - - - - 6 - - - - - - USB - - - tab - - - - - - 6 - - - - False - True - Has MAM? - True - True - True - - - 0 - True - False - False - - - - - - False - True - - - 1 - True - - - - - 7 - - - - - - MAM - - - tab - - - - - - 6 - - - - False - True - Has tracks? - True - True - True - - - 0 - True - False - False - - - - - - In - - - - False - True - True - - - - - 1 - True - - - - - 8 - - - - - - Tracks - - - tab - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - False - True - True - StockItem - gtk-cancel - - gtk-cancel - - - 0 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - End - 2 - True - False - False - - - - - - False - True - True - StockItem - gtk-apply - - gtk-apply - - - End - 3 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-edit Menu - Edit - True - - - - End - 4 - True - False - False - - - - - 1 - True - False - False - - - - - - 6 - - - - False - Sequence - - - 0 - True - False - False - - - - - - False - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - False - Start block - - - 2 - True - False - False - - - - - - False - True - True - - - - 3 - True - - - - - - False - End block - - - 4 - True - False - False - - - - - - False - True - True - - - - 5 - True - - - - - - False - Type - - - 6 - True - False - False - - - - - - False - True - True - - - - 7 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - False - Name - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - - False - Description - - - 2 - True - False - False - - - - - - False - True - True - - - - 3 - True - - - - - 3 - True - False - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - True - True - StockItem - gtk-add - - gtk-add - - - End - 0 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-edit Menu - _Edit - True - - - - End - 1 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 2 - True - False - False - - - - - 1 - True - False - False - - - - - - - - - - <b>Filesystems</b> - True - - - label_item - - - - - 4 - True - - - - - - - - - - <b>Partitions</b> - True - - - label_item - - - - - 9 - - - - - - Partitions - - - tab - - - - - - 6 - - - - True - Known dumping hardware - True - True - True - - - - 0 - True - False - False - - - - - - In - - - - False - True - True - - - - - 1 - True - - - - - - 6 - - - - False - True - True - StockItem - gtk-cancel - - gtk-cancel - - - 0 - True - False - False - - - - - - False - True - True - StockItem - gtk-remove - - gtk-remove - - - 1 - True - False - False - - - - - - False - True - True - StockItem - gtk-add - - gtk-add - - - End - 2 - True - False - False - - - - - - False - True - True - StockItem - gtk-apply - - gtk-apply - - - End - 3 - True - False - False - - - - - - False - True - TextAndIcon - stock:gtk-edit Menu - Edit - True - - - - End - 4 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - False - Manufacturer - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - - False - Model - - - 2 - True - False - False - - - - - - False - True - True - - - - 3 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - False - Revision - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - - False - Firmware - - - 2 - True - False - False - - - - - - False - True - True - - - - 3 - True - - - - - 4 - True - False - False - - - - - - 6 - - - - False - Serial number - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 5 - True - False - False - - - - - - True - 363 - - - - False - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 0 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - End - 1 - True - False - False - - - - - 1 - True - False - False - - - - - - 6 - - - - Start - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - End - - - 2 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 3 - True - False - False - - - - - 2 - True - False - False - - - - - - - - - - <b>Extents</b> - True - - - label_item - - - - - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - 6 - - - - 6 - - - - Name - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Version - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - Operating system - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 2 - True - False - False - - - - - - - - - - <b>Dump software</b> - True - - - label_item - - - - - - - 6 - True - - - - - 10 - - - - - - Dump hardware - - - tab - - - - - 0 - True - - - - - - 6 - - - - True - True - StockItem - gtk-save - - gtk-save - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-cancel - - gtk-cancel - - - End - 1 - True - False - False - - - - - End - 2 - True - False - False - - - - - - - - False - 10 - 5 - 2 - End - - - - True - True - True - StockItem - gtk-cancel - -6 - gtk-cancel - - - False - False - - - - - - False - True - True - True - StockItem - gtk-ok - -5 - - gtk-ok - - - 1 - False - False - - - - - - - - Edit filesystem metadata - CenterOnParent - 2 - False - - - - 2 - - - - 6 - - - - 6 - - - - Filesystem type - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - True - True - - - - 0 - True - - - - - - files - - - 1 - True - False - False - - - - - - True - Bootable - True - True - True - - - 2 - True - - - - - - True - Dirty - True - True - True - - - 3 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - True - 1048576 - 10 - 1 - 1 - True - - - 0 - True - False - False - - - - - - bytes per cluster - - - 1 - True - False - False - - - - - - True - True - - - - 2 - True - - - - - - clusters - - - 3 - True - False - False - - - - - - True - True - - - - 4 - True - - - - - - free clusters - - - 5 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - 6 - - - - True - Creation date - True - True - True - - - - 0 - True - False - False - - - - - - False - True - 35 - - - 1 - True - False - False - - - - - 0 - True - False - False - - - - - - 6 - - - - True - Modification date - True - True - True - - - - 0 - True - False - False - - - - - - False - True - 35 - - - 1 - True - False - False - - - - - 1 - True - False - False - - - - - - 6 - - - - True - Effective date - True - True - True - - - - 0 - True - False - False - - - - - - False - True - 35 - - - 1 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - True - Expiration date - True - True - True - - - - 0 - True - False - False - - - - - - False - True - 35 - - - 1 - True - False - False - - - - - 3 - True - False - False - - - - - 3 - True - False - False - - - - - - True - 220 - - - - 6 - - - - True - Last backup date - True - True - True - - - - 0 - True - False - False - - - - - - False - True - 35 - - - 1 - True - False - False - - - - - False - - - - - - 6 - - - - 6 - - - - Volume label - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Volume serial - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - 6 - - - - System identifier - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Volume identifier - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - Publisher identifier - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - Data preparer identifier - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - Application identifier - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 4 - True - False - False - - - - - - - - - - <b>ISO9660 information</b> - True - - - label_item - - - - - 2 - True - False - False - - - - - - - 4 - True - False - False - - - - - 0 - True - False - False - - - - - - 6 - - - - True - True - StockItem - gtk-save - - gtk-save - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-cancel - - gtk-cancel - - - End - 1 - True - False - False - - - - - End - 2 - True - False - False - - - - - - - - False - 10 - 5 - 2 - End - - - - True - True - True - StockItem - gtk-cancel - -6 - gtk-cancel - - - False - False - - - - - - True - True - True - StockItem - gtk-ok - -5 - - gtk-ok - - - 1 - False - False - - - - - - - - CenterOnParent - 2 - False - - - - 2 - - - - True - 10 - - - - 6 - - - - 6 - - - - Image: - - - 0 - True - False - False - - - - - - True - False - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Format: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - Offset: - - - 2 - True - False - False - - - - - - True - False - - - - 3 - True - - - - - - Size: - - - 4 - True - False - False - - - - - - True - False - - - - 5 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - Write offset: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - bytes - - - 2 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - Tracks: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - Sessions: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 4 - True - False - False - - - - - - 6 - - - - Copy protection: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 5 - True - False - False - - - - - - 6 - - - - Disc type: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 6 - True - False - False - - - - - - 6 - - - - Disc subtype: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 7 - True - False - False - - - - - - 6 - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - True - Sequenced - True - True - True - - - - 0 - True - False - False - - - - - - False - Disc title - - - 1 - True - False - False - - - - - - False - True - True - - - - 2 - True - False - False - - - - - - 6 - - - - False - Sequence: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - False - of - - - 2 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - True - - - 3 - True - False - False - - - - - 3 - True - False - False - - - - - - 6 - - - - False - Side: - - - 0 - True - False - False - - - - - - False - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - 4 - True - False - False - - - - - - 6 - - - - False - Layer: - - - 0 - True - False - False - - - - - - False - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - 5 - True - False - False - - - - - - - - - - <b>Sequence</b> - True - - - label_item - - - - - 0 - True - False - False - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - True - Known dimensions - True - True - True - - - - 0 - True - False - False - - - - - - False - True - Round? - True - True - True - - - - 1 - True - False - False - - - - - - 6 - - - - False - Diameter: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - False - Height: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 3 - True - False - False - - - - - - 6 - - - - False - Width: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 4 - True - False - False - - - - - - 6 - - - - False - Thickness: - - - 0 - True - False - False - - - - - - False - True - 1000 - 10 - 1 - 1 - 5 - True - - - 1 - True - False - False - - - - - - False - mm - - - 2 - True - False - False - - - - - 5 - True - False - False - - - - - - - - - - <b>Dimensions</b> - True - - - label_item - - - - - 1 - True - False - False - - - - - 8 - True - False - False - - - - - - - - General - - - tab - - - - - - 6 - - - - True - Has layers? - True - True - True - - - - 0 - True - False - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - 6 - - - - 6 - - - - Layering type: - - - 0 - True - False - False - - - - - - True - - - - 1 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - Layer - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - starts at sector - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - - sectors - - - 4 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 5 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 6 - True - False - False - - - - - 2 - True - False - False - - - - - - - - - - <b>Layers</b> - True - - - label_item - - - - - 1 - True - - - - - 1 - - - - - - Layers - - - tab - - - - - - 6 - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - Layer - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - Code: - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 4 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 5 - True - False - False - - - - - 1 - True - False - False - - - - - - - - - - <b>Ring codes</b> - True - - - label_item - - - - - 0 - True - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - Layer - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - SID: - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 4 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 5 - True - False - False - - - - - 1 - True - False - False - - - - - - - - - - <b>Mastering SIDs</b> - True - - - label_item - - - - - 1 - True - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - Layer - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - Stamp: - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 4 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 5 - True - False - False - - - - - 1 - True - False - False - - - - - - - - - - <b>Toolstamps</b> - True - - - label_item - - - - - 2 - True - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - Layer - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - SID: - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 4 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 5 - True - False - False - - - - - 1 - True - False - False - - - - - - - - - - <b>Mould SIDs</b> - True - - - label_item - - - - - 3 - True - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - Layer - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - Text: - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - 4 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 5 - True - False - False - - - - - 1 - True - False - False - - - - - - - - - - <b>Mould texts</b> - True - - - label_item - - - - - 4 - True - - - - - 2 - - - - - - Mastering - - - tab - - - - - - 6 - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>TOC</b> - True - - - label_item - - - - - 0 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>CD-Text</b> - True - - - label_item - - - - - 1 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>ATIP</b> - True - - - label_item - - - - - 2 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>PMA</b> - True - - - label_item - - - - - 3 - True - - - - - 3 - - - - - - CD - - - tab - - - - - - 6 - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Lead-Ins</b> - True - - - label_item - - - - - 0 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Lead-Outs</b> - True - - - label_item - - - - - 1 - True - - - - - 4 - - - - - - Sessions - - - tab - - - - - - 6 - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Physical Format Information</b> - True - - - label_item - - - - - 0 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Disc Manufacturer Information</b> - True - - - label_item - - - - - 1 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Copyright Management Information</b> - True - - - label_item - - - - - 2 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Burst Cutting Area</b> - True - - - label_item - - - - - 3 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Disc Control Blocks</b> - True - - - label_item - - - - - 4 - True - - - - - 5 - - - - - - DVD - - - tab - - - - - - 6 - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Pre-recorded information</b> - True - - - label_item - - - - - 0 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Media ID</b> - True - - - label_item - - - - - 1 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Physical Format Information in Lead-In</b> - True - - - label_item - - - - - 2 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Last RMD</b> - True - - - label_item - - - - - 3 - True - - - - - 6 - - - - - - DVD-R - - - tab - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>ADIP</b> - True - - - label_item - - - - - 7 - - - - - - DVD+R - - - tab - - - - - - 6 - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Disc Definition Structure</b> - True - - - label_item - - - - - 0 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Spare Area Information</b> - True - - - label_item - - - - - 1 - True - - - - - 8 - - - - - - DVD-RAM / BD-RE - - - tab - - - - - - 6 - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>Disc Information</b> - True - - - label_item - - - - - 0 - True - - - - - - False - None - - - - 0 - 0 - 12 - - - - In - - - - True - True - - - - - - - - - - <b>PAC</b> - True - - - label_item - - - - - 1 - True - - - - - 9 - - - - - - Blu-ray - - - tab - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - 6 - - - - Key - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Serial - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - - - - - <b>PlayStation 3 Encryption Key</b> - True - - - label_item - - - - - 10 - - - - - - PlayStation - - - tab - - - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - False - Start LBA - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - - False - End LBA - - - 2 - True - False - False - - - - - - False - True - True - - - - 3 - True - - - - - - False - Start MSF - - - 4 - True - False - False - - - - - - False - True - True - - - - 5 - True - - - - - - False - End MSF - - - 6 - True - False - False - - - - - - False - True - True - - - - 7 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - False - Track - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - - False - Session - - - 2 - True - False - False - - - - - - False - True - True - - - - 3 - True - - - - - - False - Track type - - - 4 - True - False - False - - - - - - False - True - - - - 5 - True - False - False - - - - - - False - True - True - - - - 6 - True - - - - - - False - bytes per sector - - - 7 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - False - Acoust ID - - - 0 - True - False - False - - - - - - False - True - True - - - - 1 - True - - - - - 3 - True - False - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - False - True - True - StockItem - gtk-cancel - - gtk-cancel - - - 0 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - End - 2 - True - False - False - - - - - - False - True - True - StockItem - gtk-apply - - gtk-apply - - - End - 3 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-edit Menu - Edit - True - - - - End - 4 - True - False - False - - - - - 1 - True - False - False - - - - - - 6 - - - - False - Sequence - - - 0 - True - False - False - - - - - - False - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - False - Start block - - - 2 - True - False - False - - - - - - False - True - True - - - - 3 - True - - - - - - False - End block - - - 4 - True - False - False - - - - - - False - True - True - - - - 5 - True - - - - - - False - Type - - - 6 - True - False - False - - - - - - False - True - True - - - - 7 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - Name - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - Description - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - 3 - True - False - False - - - - - - False - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - True - True - StockItem - gtk-add - - gtk-add - - - End - 0 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-edit Menu - _Edit - True - - - - End - 1 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - End - 2 - True - False - False - - - - - 1 - True - False - False - - - - - - - - - - <b>Filesystems</b> - True - - - label_item - - - - - 4 - True - - - - - - - - - - <b>Partitions</b> - True - - - label_item - - - - - 4 - True - - - - - - 6 - - - - True - TextAndIcon - stock:gtk-edit Menu - _Edit - True - - - - End - 0 - True - False - False - - - - - - False - True - True - StockItem - gtk-apply - - gtk-apply - - - End - 1 - True - False - False - - - - - - False - True - True - StockItem - gtk-cancel - - gtk-cancel - - - End - 2 - True - False - False - - - - - 5 - True - False - False - - - - - 11 - - - - - - Tracks - - - tab - - - - - - 6 - - - - True - Known dumping hardware - True - True - True - - - - 0 - True - False - False - - - - - - In - - - - True - True - - - - - 1 - True - - - - - - 6 - - - - True - True - StockItem - gtk-cancel - - gtk-cancel - - - 0 - True - False - False - - - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - End - 2 - True - False - False - - - - - - True - True - StockItem - gtk-apply - - gtk-apply - - - End - 3 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-edit Menu - Edit - True - - - - End - 4 - True - False - False - - - - - 2 - True - False - False - - - - - - 6 - - - - Manufacturer - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - Model - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - Revision - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - - Firmware - - - 2 - True - False - False - - - - - - True - True - - - - 3 - True - - - - - 4 - True - False - False - - - - - - 6 - - - - Serial number - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 5 - True - False - False - - - - - - True - 363 - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - In - - - - True - True - - - - - 0 - True - - - - - - 6 - - - - True - True - StockItem - gtk-remove - - gtk-remove - - - 0 - True - False - False - - - - - - True - True - StockItem - gtk-add - - gtk-add - - - End - 1 - True - False - False - - - - - 1 - True - False - False - - - - - - 6 - - - - Start - - - 0 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 1 - True - False - False - - - - - - End - - - 2 - True - False - False - - - - - - True - 100 - 10 - 1 - 1 - True - - - 3 - True - False - False - - - - - 2 - True - False - False - - - - - - - - - - <b>Extents</b> - True - - - label_item - - - - - False - - - - - - None - - - - 0 - 0 - 12 - - - - 6 - - - - 6 - - - - Name - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 0 - True - False - False - - - - - - 6 - - - - Version - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 1 - True - False - False - - - - - - 6 - - - - Operating system - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - - - - - 2 - True - False - False - - - - - - - - - - <b>Dump software</b> - True - - - label_item - - - - - - - 6 - True - - - - - 12 - - - - - - Dump hardware - - - tab - - - - - 0 - True - - - - - - 6 - - - - True - True - StockItem - gtk-save - - gtk-save - - - End - 0 - True - False - False - - - - - - True - True - StockItem - gtk-cancel - - gtk-cancel - - - End - 1 - True - False - False - - - - - End - 2 - True - False - False - - - - - - - - False - 10 - 5 - 2 - End - - - - True - True - True - StockItem - gtk-cancel - -6 - gtk-cancel - - - False - False - - - - - - True - True - True - StockItem - gtk-ok - -5 - - gtk-ok - - - 1 - False - False - - - - - - - - OS Repository DB Manager - CenterOnParent - - - - - 6 - - - - True - 1 - - - - 6 - - - - In - - - - False - True - True - - - - - 0 - True - - - - - - False - label1 - - - 1 - True - False - False - - - - - - 6 - - - - label1 - - - 0 - True - False - False - - - - - - - - 1 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - False - label2 - - - 0 - True - False - False - - - - - - False - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - False - True - True - StockItem - gtk-add - - gtk-add - - - 0 - True - False - False - - - - - - False - True - True - StockItem - gtk-remove - - gtk-remove - - - 1 - True - False - False - - - - - - True - True - StockItem - gtk-quit - - gtk-quit - - - End - 2 - True - False - False - - - - - - False - True - TextAndIcon - stock:gtk-preferences Menu - _Settings - True - - - - End - 3 - True - False - False - - - - - - False - True - True - StockItem - gtk-help - - gtk-help - - - End - 4 - True - False - False - - - - - - False - True - TextAndIcon - stock:gtk-directory Menu - Save _As - True - - - - End - 5 - True - False - False - - - - - - True - TextAndIcon - stock:gtk-save Menu - Compress to - True - - - - End - 6 - True - False - False - - - - - - False - True - True - StockItem - gtk-stop - - gtk-stop - - - End - 7 - True - False - False - - - - - 4 - True - False - False - - - - - - - - Operating systems - - - tab - - - - - - 6 - - - - In - - - - False - True - True - - - - - 0 - True - - - - - - False - label2 - - - 1 - True - False - False - - - - - - 6 - - - - False - label4 - - - 0 - True - False - False - - - - - - False - - - 1 - True - - - - - 2 - True - False - False - - - - - - 6 - - - - False - label6 - - - 0 - True - False - False - - - - - - False - - - 1 - True - - - - - 3 - True - False - False - - - - - - 6 - - - - True - TextOnly - Populate - True - - - - End - 0 - True - False - False - - - - - - False - True - TextOnly - Check with VirusTotal - True - - - - End - 1 - True - False - False - - - - - - False - True - TextOnly - Scan with clamd - True - - - - End - 2 - True - False - False - - - - - - False - True - TextOnly - Scan all with clamd - True - - - - End - 3 - True - False - False - - - - - - False - True - TextOnly - Mark as crack - True - - - - End - 4 - True - False - False - - - - - - False - True - TextOnly - Clean files - True - - - - End - 5 - True - False - False - - - - - - False - True - True - StockItem - gtk-stop - - gtk-stop - - - End - 6 - True - False - False - - - - - 4 - True - False - False - - - - - 1 - - - - - - Files - - - tab - - - - - 0 - True - - - - - - \ No newline at end of file diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.DicCore.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.DicCore.cs deleted file mode 100644 index 21a967a..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.DicCore.cs +++ /dev/null @@ -1,10 +0,0 @@ - -namespace osrepodbmgr -{ - public partial class DicCore - { - private void Build() - { - } - } -} diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgBlockMedia.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.dlgBlockMedia.cs deleted file mode 100644 index 067f162..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgBlockMedia.cs +++ /dev/null @@ -1,3287 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace osrepodbmgr -{ - public partial class dlgBlockMedia - { - private global::Gtk.Notebook notebook1; - - private global::Gtk.VBox vbox2; - - private global::Gtk.HBox hbox1; - - private global::Gtk.Label lblImage; - - private global::Gtk.Entry txtImage; - - private global::Gtk.HBox hbox2; - - private global::Gtk.Label lblFormat; - - private global::Gtk.Entry txtFormat; - - private global::Gtk.Label lblOffset; - - private global::Gtk.Entry txtOffset; - - private global::Gtk.Label lblSize; - - private global::Gtk.Entry txtSize; - - private global::Gtk.HBox hbox8; - - private global::Gtk.Label lblManufacturer; - - private global::Gtk.Entry txtManufacturer; - - private global::Gtk.HBox hbox7; - - private global::Gtk.Label lblModel; - - private global::Gtk.Entry txtModel; - - private global::Gtk.HBox hbox6; - - private global::Gtk.Label lblSerial; - - private global::Gtk.Entry txtSerial; - - private global::Gtk.HBox hbox5; - - private global::Gtk.Label lblFirmware; - - private global::Gtk.Entry txtFirmware; - - private global::Gtk.HBox hbox4; - - private global::Gtk.Label lblInterface; - - private global::Gtk.Entry txtInterface; - - private global::Gtk.HBox hbox3; - - private global::Gtk.Label lblCopyProtection; - - private global::Gtk.Entry txtCopyProtection; - - private global::Gtk.HBox hbox92; - - private global::Gtk.Label lblMediaType; - - private global::Gtk.Entry txtMediaType; - - private global::Gtk.HBox hbox93; - - private global::Gtk.Label lblMediaSubtype; - - private global::Gtk.Entry txtMediaSubtype; - - private global::Gtk.HBox hbox61; - - private global::Gtk.Frame frame12; - - private global::Gtk.Alignment GtkAlignment9; - - private global::Gtk.VBox vbox3; - - private global::Gtk.CheckButton chkSequence; - - private global::Gtk.Label lblMediaTitle; - - private global::Gtk.Entry txtMediaTitle; - - private global::Gtk.HBox hbox14; - - private global::Gtk.Label lblSequence; - - private global::Gtk.SpinButton spSequence; - - private global::Gtk.Label lblTotalMedia; - - private global::Gtk.SpinButton spTotalMedia; - - private global::Gtk.HBox hbox12; - - private global::Gtk.Label lblSide; - - private global::Gtk.SpinButton spSide; - - private global::Gtk.HBox hbox13; - - private global::Gtk.Label lblLayer; - - private global::Gtk.SpinButton spLayer; - - private global::Gtk.Label GtkLabel28; - - private global::Gtk.Frame frame11; - - private global::Gtk.Alignment GtkAlignment8; - - private global::Gtk.VBox vbox4; - - private global::Gtk.HBox hbox19; - - private global::Gtk.Entry txtBlocks; - - private global::Gtk.Label lblBlocks; - - private global::Gtk.Label lblBlockSize; - - private global::Gtk.HBox hbox15; - - private global::Gtk.Label lblPhysicalBlockSize; - - private global::Gtk.SpinButton spPhysicalBlockSize; - - private global::Gtk.Label lblLogicalBlockSize; - - private global::Gtk.SpinButton spLogicalBlockSize; - - private global::Gtk.HBox hbox16; - - private global::Gtk.SpinButton spCylinders; - - private global::Gtk.Label lblCylinders; - - private global::Gtk.HBox hbox17; - - private global::Gtk.SpinButton spHeads; - - private global::Gtk.Label lblHeads; - - private global::Gtk.HBox hbox18; - - private global::Gtk.SpinButton spSectors; - - private global::Gtk.Label lblSectors; - - private global::Gtk.Label GtkLabel27; - - private global::Gtk.Frame frame10; - - private global::Gtk.Alignment GtkAlignment7; - - private global::Gtk.VBox vbox5; - - private global::Gtk.CheckButton chkDimensions; - - private global::Gtk.CheckButton chkRound; - - private global::Gtk.HBox hbox23; - - private global::Gtk.Label lblDiameter; - - private global::Gtk.SpinButton spDiameter; - - private global::Gtk.Label lblDiametersUnits; - - private global::Gtk.HBox hbox22; - - private global::Gtk.Label lblHeight; - - private global::Gtk.SpinButton spHeight; - - private global::Gtk.Label lblHeightUnits; - - private global::Gtk.HBox hbox21; - - private global::Gtk.Label lblWidth; - - private global::Gtk.SpinButton spWidth; - - private global::Gtk.Label lblWidthUnits; - - private global::Gtk.HBox hbox20; - - private global::Gtk.Label lblThickness; - - private global::Gtk.SpinButton spThickness; - - private global::Gtk.Label lblThicknessUnits; - - private global::Gtk.Label GtkLabel26; - - private global::Gtk.Label label1; - - private global::Gtk.VBox vbox6; - - private global::Gtk.CheckButton chkATA; - - private global::Gtk.TreeView treeATA; - - private global::Gtk.Label label2; - - private global::Gtk.VBox vbox7; - - private global::Gtk.CheckButton chkPCI; - - private global::Gtk.HBox hbox24; - - private global::Gtk.Label lblPCIVendor; - - private global::Gtk.Entry txtPCIVendor; - - private global::Gtk.HBox hbox25; - - private global::Gtk.Label lblPCIProduct; - - private global::Gtk.Entry txtPCIProduct; - - private global::Gtk.Frame frmPCIConfiguration; - - private global::Gtk.Alignment GtkAlignment5; - - private global::Gtk.TreeView treeConfiguration; - - private global::Gtk.Label GtkLabel24; - - private global::Gtk.Frame frmOptionROM; - - private global::Gtk.Alignment GtkAlignment4; - - private global::Gtk.TreeView treeOptionROM; - - private global::Gtk.Label GtkLabel23; - - private global::Gtk.Label label3; - - private global::Gtk.VBox vbox8; - - private global::Gtk.CheckButton chkPCMCIA; - - private global::Gtk.CheckButton chkCIS; - - private global::Gtk.TreeView treeCIS; - - private global::Gtk.HBox hbox31; - - private global::Gtk.Label lblPCMCIAManufacturer; - - private global::Gtk.Entry txtPCMCIAManufacturer; - - private global::Gtk.HBox hbox30; - - private global::Gtk.Label lblManufacturerCode; - - private global::Gtk.Entry txtMfgCode; - - private global::Gtk.HBox hbox29; - - private global::Gtk.Label lblProductName; - - private global::Gtk.Entry txtPCMCIAProductName; - - private global::Gtk.HBox hbox28; - - private global::Gtk.Label lblCardCode; - - private global::Gtk.Entry txtCardCode; - - private global::Gtk.HBox hbox27; - - private global::Gtk.Label lblCompliance; - - private global::Gtk.Entry txtCompliance; - - private global::Gtk.HBox hbox26; - - private global::Gtk.Label lblAdditionalInformation; - - private global::Gtk.ScrolledWindow GtkScrolledWindow5; - - private global::Gtk.TreeView treeAdditionalInformation; - - private global::Gtk.Label label4; - - private global::Gtk.VBox vbox9; - - private global::Gtk.CheckButton chkSecureDigital; - - private global::Gtk.Label lblCID; - - private global::Gtk.TreeView treeCID; - - private global::Gtk.CheckButton chkCSD; - - private global::Gtk.TreeView treeCSD; - - private global::Gtk.CheckButton chkECSD; - - private global::Gtk.TreeView treeECSD; - - private global::Gtk.Label label5; - - private global::Gtk.VBox vbox10; - - private global::Gtk.CheckButton chkSCSI; - - private global::Gtk.Frame frmInquiry; - - private global::Gtk.Alignment GtkAlignment16; - - private global::Gtk.ScrolledWindow GtkScrolledWindow; - - private global::Gtk.TreeView treeInquiry; - - private global::Gtk.Label GtkLabel40; - - private global::Gtk.Frame frmModeSense; - - private global::Gtk.Alignment GtkAlignment15; - - private global::Gtk.ScrolledWindow GtkScrolledWindow1; - - private global::Gtk.TreeView treeModeSense; - - private global::Gtk.Label GtkLabel39; - - private global::Gtk.Frame frmModeSense10; - - private global::Gtk.Alignment GtkAlignment14; - - private global::Gtk.ScrolledWindow GtkScrolledWindow2; - - private global::Gtk.TreeView treeModeSense10; - - private global::Gtk.Label GtkLabel38; - - private global::Gtk.Frame frmLogSense; - - private global::Gtk.Alignment GtkAlignment13; - - private global::Gtk.ScrolledWindow GtkScrolledWindow3; - - private global::Gtk.TreeView treeLogSense; - - private global::Gtk.Label GtkLabel37; - - private global::Gtk.Frame frmEVPDs; - - private global::Gtk.Alignment GtkAlignment12; - - private global::Gtk.ScrolledWindow GtkScrolledWindow4; - - private global::Gtk.TreeView treeEVPDs; - - private global::Gtk.Label GtkLabel36; - - private global::Gtk.Label label6; - - private global::Gtk.VBox vbox11; - - private global::Gtk.CheckButton chkUSB; - - private global::Gtk.HBox hbox38; - - private global::Gtk.Label lblUSBVendor; - - private global::Gtk.Entry txtUSBVendor; - - private global::Gtk.HBox hbox37; - - private global::Gtk.Label lblUSBProduct; - - private global::Gtk.Entry txtUSBProduct; - - private global::Gtk.Frame frmDescriptors; - - private global::Gtk.Alignment GtkAlignment6; - - private global::Gtk.TreeView treeDescriptors; - - private global::Gtk.Label GtkLabel25; - - private global::Gtk.Label label7; - - private global::Gtk.VBox vbox12; - - private global::Gtk.CheckButton chkMAM; - - private global::Gtk.TreeView treeMAM; - - private global::Gtk.Label label8; - - private global::Gtk.VBox vbox13; - - private global::Gtk.CheckButton chkTracks; - - private global::Gtk.ScrolledWindow GtkScrolledWindow7; - - private global::Gtk.TreeView treeTracks; - - private global::Gtk.Label label9; - - private global::Gtk.Frame frmPartitions; - - private global::Gtk.Alignment GtkAlignment10; - - private global::Gtk.VBox vbox22; - - private global::Gtk.ScrolledWindow GtkScrolledWindow12; - - private global::Gtk.TreeView treePartitions; - - private global::Gtk.HBox hbox62; - - private global::Gtk.Button btnCancelPartition; - - private global::Gtk.Button btnRemovePartition; - - private global::Gtk.Button btnAddPartition; - - private global::Gtk.Button btnApplyPartition; - - private global::Gtk.Button btnEditPartition; - - private global::Gtk.HBox hbox63; - - private global::Gtk.Label lblPartitionSequence; - - private global::Gtk.SpinButton spPartitionSequence; - - private global::Gtk.Label lblPartitionStart; - - private global::Gtk.Entry txtPartitionStart; - - private global::Gtk.Label lblPartitionEnd; - - private global::Gtk.Entry txtPartitionEnd; - - private global::Gtk.Label lblPartitionType; - - private global::Gtk.Entry txtPartitionType; - - private global::Gtk.HBox hbox64; - - private global::Gtk.Label lblPartitionName; - - private global::Gtk.Entry txtPartitionName; - - private global::Gtk.Label lblPartitionDescription; - - private global::Gtk.Entry txtPartitionDescription; - - private global::Gtk.Frame frmFilesystems; - - private global::Gtk.Alignment GtkAlignment17; - - private global::Gtk.VBox vbox23; - - private global::Gtk.ScrolledWindow GtkScrolledWindow13; - - private global::Gtk.TreeView treeFilesystems; - - private global::Gtk.HBox hbox65; - - private global::Gtk.Button btnAddFilesystem; - - private global::Gtk.Button btnEditFilesystem; - - private global::Gtk.Button btnRemoveFilesystem; - - private global::Gtk.Label frmFilesystemsLabel; - - private global::Gtk.Label GtkLabel30; - - private global::Gtk.Label label10; - - private global::Gtk.VBox vbox15; - - private global::Gtk.CheckButton chkDumpHardware; - - private global::Gtk.ScrolledWindow GtkScrolledWindow8; - - private global::Gtk.TreeView treeDumpHardware; - - private global::Gtk.HBox hbox39; - - private global::Gtk.Button btnCancelHardware; - - private global::Gtk.Button btnRemoveHardware; - - private global::Gtk.Button btnAddHardware; - - private global::Gtk.Button btnApplyHardware; - - private global::Gtk.Button btnEditHardware; - - private global::Gtk.HBox hbox40; - - private global::Gtk.Label lblHWManufacturer; - - private global::Gtk.Entry txtHWManufacturer; - - private global::Gtk.Label lblHWModel; - - private global::Gtk.Entry txtHWModel; - - private global::Gtk.HBox hbox41; - - private global::Gtk.Label lblHWRevision; - - private global::Gtk.Entry txtHWRevision; - - private global::Gtk.Label lblHWFirmware; - - private global::Gtk.Entry txtHWFirmware; - - private global::Gtk.HBox hbox44; - - private global::Gtk.Label lblHWSerial; - - private global::Gtk.Entry txtHWSerial; - - private global::Gtk.HPaned hpaned1; - - private global::Gtk.Frame frmExtents; - - private global::Gtk.Alignment GtkAlignment26; - - private global::Gtk.VBox vbox21; - - private global::Gtk.ScrolledWindow GtkScrolledWindow9; - - private global::Gtk.TreeView treeExtents; - - private global::Gtk.HBox hbox58; - - private global::Gtk.Button btnRemoveExtent; - - private global::Gtk.Button btnAddExtent; - - private global::Gtk.HBox hbox59; - - private global::Gtk.Label lblExtentStart; - - private global::Gtk.SpinButton spExtentStart; - - private global::Gtk.Label lblExtentEnd; - - private global::Gtk.SpinButton spExtentEnd; - - private global::Gtk.Label GtkLabel42; - - private global::Gtk.Frame frmDumpSoftware; - - private global::Gtk.Alignment GtkAlignment29; - - private global::Gtk.VBox vbox20; - - private global::Gtk.HBox hbox55; - - private global::Gtk.Label lblDumpName; - - private global::Gtk.Entry txtDumpName; - - private global::Gtk.HBox hbox56; - - private global::Gtk.Label lblDumpVersion; - - private global::Gtk.Entry txtDumpVersion; - - private global::Gtk.HBox hbox57; - - private global::Gtk.Label lblDumpOS; - - private global::Gtk.Entry txtDumpOS; - - private global::Gtk.Label GtkLabel43; - - private global::Gtk.Label label11; - - private global::Gtk.HBox hbox9; - - private global::Gtk.Button btnSave; - - private global::Gtk.Button btnCancel; - - private global::Gtk.Button buttonCancel; - - private global::Gtk.Button buttonOk; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget osrepodbmgr.dlgBlockMedia - this.Name = "osrepodbmgr.dlgBlockMedia"; - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Internal child osrepodbmgr.dlgBlockMedia.VBox - global::Gtk.VBox w1 = this.VBox; - w1.Name = "dialog1_VBox"; - w1.BorderWidth = ((uint)(2)); - // Container child dialog1_VBox.Gtk.Box+BoxChild - this.notebook1 = new global::Gtk.Notebook(); - this.notebook1.CanFocus = true; - this.notebook1.Name = "notebook1"; - this.notebook1.CurrentPage = 0; - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox2 = new global::Gtk.VBox(); - this.vbox2.Name = "vbox2"; - this.vbox2.Spacing = 6; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox(); - this.hbox1.Name = "hbox1"; - this.hbox1.Spacing = 6; - // Container child hbox1.Gtk.Box+BoxChild - this.lblImage = new global::Gtk.Label(); - this.lblImage.Name = "lblImage"; - this.lblImage.LabelProp = global::Mono.Unix.Catalog.GetString("Image:"); - this.hbox1.Add(this.lblImage); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblImage])); - w2.Position = 0; - w2.Expand = false; - w2.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.txtImage = new global::Gtk.Entry(); - this.txtImage.CanFocus = true; - this.txtImage.Name = "txtImage"; - this.txtImage.IsEditable = false; - this.txtImage.InvisibleChar = '●'; - this.hbox1.Add(this.txtImage); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtImage])); - w3.Position = 1; - this.vbox2.Add(this.hbox1); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); - w4.Position = 0; - w4.Expand = false; - w4.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox(); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.lblFormat = new global::Gtk.Label(); - this.lblFormat.Name = "lblFormat"; - this.lblFormat.LabelProp = global::Mono.Unix.Catalog.GetString("Format:"); - this.hbox2.Add(this.lblFormat); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblFormat])); - w5.Position = 0; - w5.Expand = false; - w5.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.txtFormat = new global::Gtk.Entry(); - this.txtFormat.CanFocus = true; - this.txtFormat.Name = "txtFormat"; - this.txtFormat.IsEditable = true; - this.txtFormat.InvisibleChar = '●'; - this.hbox2.Add(this.txtFormat); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtFormat])); - w6.Position = 1; - // Container child hbox2.Gtk.Box+BoxChild - this.lblOffset = new global::Gtk.Label(); - this.lblOffset.Name = "lblOffset"; - this.lblOffset.LabelProp = global::Mono.Unix.Catalog.GetString("Offset:"); - this.hbox2.Add(this.lblOffset); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblOffset])); - w7.Position = 2; - w7.Expand = false; - w7.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.txtOffset = new global::Gtk.Entry(); - this.txtOffset.CanFocus = true; - this.txtOffset.Name = "txtOffset"; - this.txtOffset.IsEditable = false; - this.txtOffset.InvisibleChar = '●'; - this.hbox2.Add(this.txtOffset); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtOffset])); - w8.Position = 3; - // Container child hbox2.Gtk.Box+BoxChild - this.lblSize = new global::Gtk.Label(); - this.lblSize.Name = "lblSize"; - this.lblSize.LabelProp = global::Mono.Unix.Catalog.GetString("Size:"); - this.hbox2.Add(this.lblSize); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblSize])); - w9.Position = 4; - w9.Expand = false; - w9.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.txtSize = new global::Gtk.Entry(); - this.txtSize.CanFocus = true; - this.txtSize.Name = "txtSize"; - this.txtSize.IsEditable = false; - this.txtSize.InvisibleChar = '●'; - this.hbox2.Add(this.txtSize); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtSize])); - w10.Position = 5; - this.vbox2.Add(this.hbox2); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); - w11.Position = 1; - w11.Expand = false; - w11.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox8 = new global::Gtk.HBox(); - this.hbox8.Name = "hbox8"; - this.hbox8.Spacing = 6; - // Container child hbox8.Gtk.Box+BoxChild - this.lblManufacturer = new global::Gtk.Label(); - this.lblManufacturer.Name = "lblManufacturer"; - this.lblManufacturer.LabelProp = global::Mono.Unix.Catalog.GetString("Manufacturer:"); - this.hbox8.Add(this.lblManufacturer); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.lblManufacturer])); - w12.Position = 0; - w12.Expand = false; - w12.Fill = false; - // Container child hbox8.Gtk.Box+BoxChild - this.txtManufacturer = new global::Gtk.Entry(); - this.txtManufacturer.CanFocus = true; - this.txtManufacturer.Name = "txtManufacturer"; - this.txtManufacturer.IsEditable = true; - this.txtManufacturer.InvisibleChar = '●'; - this.hbox8.Add(this.txtManufacturer); - global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.txtManufacturer])); - w13.Position = 1; - this.vbox2.Add(this.hbox8); - global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox8])); - w14.Position = 2; - w14.Expand = false; - w14.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox7 = new global::Gtk.HBox(); - this.hbox7.Name = "hbox7"; - this.hbox7.Spacing = 6; - // Container child hbox7.Gtk.Box+BoxChild - this.lblModel = new global::Gtk.Label(); - this.lblModel.Name = "lblModel"; - this.lblModel.LabelProp = global::Mono.Unix.Catalog.GetString("Model:"); - this.hbox7.Add(this.lblModel); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.lblModel])); - w15.Position = 0; - w15.Expand = false; - w15.Fill = false; - // Container child hbox7.Gtk.Box+BoxChild - this.txtModel = new global::Gtk.Entry(); - this.txtModel.CanFocus = true; - this.txtModel.Name = "txtModel"; - this.txtModel.IsEditable = true; - this.txtModel.InvisibleChar = '●'; - this.hbox7.Add(this.txtModel); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.txtModel])); - w16.Position = 1; - this.vbox2.Add(this.hbox7); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); - w17.Position = 3; - w17.Expand = false; - w17.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox6 = new global::Gtk.HBox(); - this.hbox6.Name = "hbox6"; - this.hbox6.Spacing = 6; - // Container child hbox6.Gtk.Box+BoxChild - this.lblSerial = new global::Gtk.Label(); - this.lblSerial.Name = "lblSerial"; - this.lblSerial.LabelProp = global::Mono.Unix.Catalog.GetString("Serial:"); - this.hbox6.Add(this.lblSerial); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.lblSerial])); - w18.Position = 0; - w18.Expand = false; - w18.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.txtSerial = new global::Gtk.Entry(); - this.txtSerial.CanFocus = true; - this.txtSerial.Name = "txtSerial"; - this.txtSerial.IsEditable = true; - this.txtSerial.InvisibleChar = '●'; - this.hbox6.Add(this.txtSerial); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.txtSerial])); - w19.Position = 1; - this.vbox2.Add(this.hbox6); - global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); - w20.Position = 4; - w20.Expand = false; - w20.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox5 = new global::Gtk.HBox(); - this.hbox5.Name = "hbox5"; - this.hbox5.Spacing = 6; - // Container child hbox5.Gtk.Box+BoxChild - this.lblFirmware = new global::Gtk.Label(); - this.lblFirmware.Name = "lblFirmware"; - this.lblFirmware.LabelProp = global::Mono.Unix.Catalog.GetString("Firmware:"); - this.hbox5.Add(this.lblFirmware); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.lblFirmware])); - w21.Position = 0; - w21.Expand = false; - w21.Fill = false; - // Container child hbox5.Gtk.Box+BoxChild - this.txtFirmware = new global::Gtk.Entry(); - this.txtFirmware.CanFocus = true; - this.txtFirmware.Name = "txtFirmware"; - this.txtFirmware.IsEditable = true; - this.txtFirmware.InvisibleChar = '●'; - this.hbox5.Add(this.txtFirmware); - global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.txtFirmware])); - w22.Position = 1; - this.vbox2.Add(this.hbox5); - global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); - w23.Position = 5; - w23.Expand = false; - w23.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox4 = new global::Gtk.HBox(); - this.hbox4.Name = "hbox4"; - this.hbox4.Spacing = 6; - // Container child hbox4.Gtk.Box+BoxChild - this.lblInterface = new global::Gtk.Label(); - this.lblInterface.Name = "lblInterface"; - this.lblInterface.LabelProp = global::Mono.Unix.Catalog.GetString("Interface:"); - this.hbox4.Add(this.lblInterface); - global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lblInterface])); - w24.Position = 0; - w24.Expand = false; - w24.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.txtInterface = new global::Gtk.Entry(); - this.txtInterface.CanFocus = true; - this.txtInterface.Name = "txtInterface"; - this.txtInterface.IsEditable = true; - this.txtInterface.InvisibleChar = '●'; - this.hbox4.Add(this.txtInterface); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtInterface])); - w25.Position = 1; - this.vbox2.Add(this.hbox4); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); - w26.Position = 6; - w26.Expand = false; - w26.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox3 = new global::Gtk.HBox(); - this.hbox3.Name = "hbox3"; - this.hbox3.Spacing = 6; - // Container child hbox3.Gtk.Box+BoxChild - this.lblCopyProtection = new global::Gtk.Label(); - this.lblCopyProtection.Name = "lblCopyProtection"; - this.lblCopyProtection.LabelProp = global::Mono.Unix.Catalog.GetString("Copy protection:"); - this.hbox3.Add(this.lblCopyProtection); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lblCopyProtection])); - w27.Position = 0; - w27.Expand = false; - w27.Fill = false; - // Container child hbox3.Gtk.Box+BoxChild - this.txtCopyProtection = new global::Gtk.Entry(); - this.txtCopyProtection.CanFocus = true; - this.txtCopyProtection.Name = "txtCopyProtection"; - this.txtCopyProtection.IsEditable = true; - this.txtCopyProtection.InvisibleChar = '●'; - this.hbox3.Add(this.txtCopyProtection); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtCopyProtection])); - w28.Position = 1; - this.vbox2.Add(this.hbox3); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); - w29.Position = 7; - w29.Expand = false; - w29.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox92 = new global::Gtk.HBox(); - this.hbox92.Name = "hbox92"; - this.hbox92.Spacing = 6; - // Container child hbox92.Gtk.Box+BoxChild - this.lblMediaType = new global::Gtk.Label(); - this.lblMediaType.Name = "lblMediaType"; - this.lblMediaType.LabelProp = global::Mono.Unix.Catalog.GetString("Media type"); - this.hbox92.Add(this.lblMediaType); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox92[this.lblMediaType])); - w30.Position = 0; - w30.Expand = false; - w30.Fill = false; - // Container child hbox92.Gtk.Box+BoxChild - this.txtMediaType = new global::Gtk.Entry(); - this.txtMediaType.CanFocus = true; - this.txtMediaType.Name = "txtMediaType"; - this.txtMediaType.IsEditable = true; - this.txtMediaType.InvisibleChar = '●'; - this.hbox92.Add(this.txtMediaType); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox92[this.txtMediaType])); - w31.Position = 1; - this.vbox2.Add(this.hbox92); - global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox92])); - w32.Position = 8; - w32.Expand = false; - w32.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox93 = new global::Gtk.HBox(); - this.hbox93.Name = "hbox93"; - this.hbox93.Spacing = 6; - // Container child hbox93.Gtk.Box+BoxChild - this.lblMediaSubtype = new global::Gtk.Label(); - this.lblMediaSubtype.Name = "lblMediaSubtype"; - this.lblMediaSubtype.LabelProp = global::Mono.Unix.Catalog.GetString("Media subtype"); - this.hbox93.Add(this.lblMediaSubtype); - global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox93[this.lblMediaSubtype])); - w33.Position = 0; - w33.Expand = false; - w33.Fill = false; - // Container child hbox93.Gtk.Box+BoxChild - this.txtMediaSubtype = new global::Gtk.Entry(); - this.txtMediaSubtype.CanFocus = true; - this.txtMediaSubtype.Name = "txtMediaSubtype"; - this.txtMediaSubtype.IsEditable = true; - this.txtMediaSubtype.InvisibleChar = '●'; - this.hbox93.Add(this.txtMediaSubtype); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox93[this.txtMediaSubtype])); - w34.Position = 1; - this.vbox2.Add(this.hbox93); - global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox93])); - w35.Position = 9; - w35.Expand = false; - w35.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox61 = new global::Gtk.HBox(); - this.hbox61.Name = "hbox61"; - this.hbox61.Spacing = 6; - // Container child hbox61.Gtk.Box+BoxChild - this.frame12 = new global::Gtk.Frame(); - this.frame12.Name = "frame12"; - this.frame12.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frame12.Gtk.Container+ContainerChild - this.GtkAlignment9 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment9.Name = "GtkAlignment9"; - this.GtkAlignment9.LeftPadding = ((uint)(12)); - // Container child GtkAlignment9.Gtk.Container+ContainerChild - this.vbox3 = new global::Gtk.VBox(); - this.vbox3.Name = "vbox3"; - this.vbox3.Spacing = 6; - // Container child vbox3.Gtk.Box+BoxChild - this.chkSequence = new global::Gtk.CheckButton(); - this.chkSequence.CanFocus = true; - this.chkSequence.Name = "chkSequence"; - this.chkSequence.Label = global::Mono.Unix.Catalog.GetString("Sequenced"); - this.chkSequence.DrawIndicator = true; - this.chkSequence.UseUnderline = true; - this.vbox3.Add(this.chkSequence); - global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.chkSequence])); - w36.Position = 0; - w36.Expand = false; - w36.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.lblMediaTitle = new global::Gtk.Label(); - this.lblMediaTitle.Name = "lblMediaTitle"; - this.lblMediaTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Media title"); - this.vbox3.Add(this.lblMediaTitle); - global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblMediaTitle])); - w37.Position = 1; - w37.Expand = false; - w37.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.txtMediaTitle = new global::Gtk.Entry(); - this.txtMediaTitle.CanFocus = true; - this.txtMediaTitle.Name = "txtMediaTitle"; - this.txtMediaTitle.IsEditable = true; - this.txtMediaTitle.InvisibleChar = '●'; - this.vbox3.Add(this.txtMediaTitle); - global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.txtMediaTitle])); - w38.Position = 2; - w38.Expand = false; - w38.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox14 = new global::Gtk.HBox(); - this.hbox14.Name = "hbox14"; - this.hbox14.Spacing = 6; - // Container child hbox14.Gtk.Box+BoxChild - this.lblSequence = new global::Gtk.Label(); - this.lblSequence.Name = "lblSequence"; - this.lblSequence.LabelProp = global::Mono.Unix.Catalog.GetString("Sequence:"); - this.hbox14.Add(this.lblSequence); - global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.lblSequence])); - w39.Position = 0; - w39.Expand = false; - w39.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.spSequence = new global::Gtk.SpinButton(0, 1000, 1); - this.spSequence.CanFocus = true; - this.spSequence.Name = "spSequence"; - this.spSequence.Adjustment.PageIncrement = 10; - this.spSequence.ClimbRate = 1; - this.spSequence.Numeric = true; - this.hbox14.Add(this.spSequence); - global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.spSequence])); - w40.Position = 1; - w40.Expand = false; - w40.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.lblTotalMedia = new global::Gtk.Label(); - this.lblTotalMedia.Name = "lblTotalMedia"; - this.lblTotalMedia.LabelProp = global::Mono.Unix.Catalog.GetString("of"); - this.hbox14.Add(this.lblTotalMedia); - global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.lblTotalMedia])); - w41.Position = 2; - w41.Expand = false; - w41.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.spTotalMedia = new global::Gtk.SpinButton(0, 1000, 1); - this.spTotalMedia.CanFocus = true; - this.spTotalMedia.Name = "spTotalMedia"; - this.spTotalMedia.Adjustment.PageIncrement = 10; - this.spTotalMedia.ClimbRate = 1; - this.spTotalMedia.Numeric = true; - this.hbox14.Add(this.spTotalMedia); - global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.spTotalMedia])); - w42.Position = 3; - w42.Expand = false; - w42.Fill = false; - this.vbox3.Add(this.hbox14); - global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox14])); - w43.Position = 3; - w43.Expand = false; - w43.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox12 = new global::Gtk.HBox(); - this.hbox12.Name = "hbox12"; - this.hbox12.Spacing = 6; - // Container child hbox12.Gtk.Box+BoxChild - this.lblSide = new global::Gtk.Label(); - this.lblSide.Name = "lblSide"; - this.lblSide.LabelProp = global::Mono.Unix.Catalog.GetString("Side:"); - this.hbox12.Add(this.lblSide); - global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.lblSide])); - w44.Position = 0; - w44.Expand = false; - w44.Fill = false; - // Container child hbox12.Gtk.Box+BoxChild - this.spSide = new global::Gtk.SpinButton(0, 100, 1); - this.spSide.CanFocus = true; - this.spSide.Name = "spSide"; - this.spSide.Adjustment.PageIncrement = 10; - this.spSide.ClimbRate = 1; - this.spSide.Numeric = true; - this.hbox12.Add(this.spSide); - global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.spSide])); - w45.Position = 1; - w45.Expand = false; - w45.Fill = false; - this.vbox3.Add(this.hbox12); - global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox12])); - w46.Position = 4; - w46.Expand = false; - w46.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox13 = new global::Gtk.HBox(); - this.hbox13.Name = "hbox13"; - this.hbox13.Spacing = 6; - // Container child hbox13.Gtk.Box+BoxChild - this.lblLayer = new global::Gtk.Label(); - this.lblLayer.Name = "lblLayer"; - this.lblLayer.LabelProp = global::Mono.Unix.Catalog.GetString("Layer:"); - this.hbox13.Add(this.lblLayer); - global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.lblLayer])); - w47.Position = 0; - w47.Expand = false; - w47.Fill = false; - // Container child hbox13.Gtk.Box+BoxChild - this.spLayer = new global::Gtk.SpinButton(0, 100, 1); - this.spLayer.CanFocus = true; - this.spLayer.Name = "spLayer"; - this.spLayer.Adjustment.PageIncrement = 10; - this.spLayer.ClimbRate = 1; - this.spLayer.Numeric = true; - this.hbox13.Add(this.spLayer); - global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.spLayer])); - w48.Position = 1; - w48.Expand = false; - w48.Fill = false; - this.vbox3.Add(this.hbox13); - global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox13])); - w49.Position = 5; - w49.Expand = false; - w49.Fill = false; - this.GtkAlignment9.Add(this.vbox3); - this.frame12.Add(this.GtkAlignment9); - this.GtkLabel28 = new global::Gtk.Label(); - this.GtkLabel28.Name = "GtkLabel28"; - this.GtkLabel28.LabelProp = global::Mono.Unix.Catalog.GetString("Sequence"); - this.GtkLabel28.UseMarkup = true; - this.frame12.LabelWidget = this.GtkLabel28; - this.hbox61.Add(this.frame12); - global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox61[this.frame12])); - w52.Position = 0; - w52.Expand = false; - w52.Fill = false; - // Container child hbox61.Gtk.Box+BoxChild - this.frame11 = new global::Gtk.Frame(); - this.frame11.Name = "frame11"; - this.frame11.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frame11.Gtk.Container+ContainerChild - this.GtkAlignment8 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment8.Name = "GtkAlignment8"; - this.GtkAlignment8.LeftPadding = ((uint)(12)); - // Container child GtkAlignment8.Gtk.Container+ContainerChild - this.vbox4 = new global::Gtk.VBox(); - this.vbox4.Name = "vbox4"; - this.vbox4.Spacing = 6; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox19 = new global::Gtk.HBox(); - this.hbox19.Name = "hbox19"; - this.hbox19.Spacing = 6; - // Container child hbox19.Gtk.Box+BoxChild - this.txtBlocks = new global::Gtk.Entry(); - this.txtBlocks.CanFocus = true; - this.txtBlocks.Name = "txtBlocks"; - this.txtBlocks.IsEditable = true; - this.txtBlocks.InvisibleChar = '●'; - this.hbox19.Add(this.txtBlocks); - global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.txtBlocks])); - w53.Position = 0; - // Container child hbox19.Gtk.Box+BoxChild - this.lblBlocks = new global::Gtk.Label(); - this.lblBlocks.Name = "lblBlocks"; - this.lblBlocks.LabelProp = global::Mono.Unix.Catalog.GetString("blocks"); - this.hbox19.Add(this.lblBlocks); - global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.lblBlocks])); - w54.Position = 1; - w54.Expand = false; - w54.Fill = false; - this.vbox4.Add(this.hbox19); - global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox19])); - w55.Position = 0; - w55.Expand = false; - w55.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.lblBlockSize = new global::Gtk.Label(); - this.lblBlockSize.Name = "lblBlockSize"; - this.lblBlockSize.LabelProp = global::Mono.Unix.Catalog.GetString("Block size"); - this.vbox4.Add(this.lblBlockSize); - global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.lblBlockSize])); - w56.Position = 1; - w56.Expand = false; - w56.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox15 = new global::Gtk.HBox(); - this.hbox15.Name = "hbox15"; - this.hbox15.Spacing = 6; - // Container child hbox15.Gtk.Box+BoxChild - this.lblPhysicalBlockSize = new global::Gtk.Label(); - this.lblPhysicalBlockSize.Name = "lblPhysicalBlockSize"; - this.lblPhysicalBlockSize.LabelProp = global::Mono.Unix.Catalog.GetString("Physical:"); - this.hbox15.Add(this.lblPhysicalBlockSize); - global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.lblPhysicalBlockSize])); - w57.Position = 0; - w57.Expand = false; - w57.Fill = false; - // Container child hbox15.Gtk.Box+BoxChild - this.spPhysicalBlockSize = new global::Gtk.SpinButton(0, 1048576, 1); - this.spPhysicalBlockSize.CanFocus = true; - this.spPhysicalBlockSize.Name = "spPhysicalBlockSize"; - this.spPhysicalBlockSize.Adjustment.PageIncrement = 10; - this.spPhysicalBlockSize.ClimbRate = 1; - this.spPhysicalBlockSize.Numeric = true; - this.hbox15.Add(this.spPhysicalBlockSize); - global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.spPhysicalBlockSize])); - w58.Position = 1; - w58.Expand = false; - w58.Fill = false; - // Container child hbox15.Gtk.Box+BoxChild - this.lblLogicalBlockSize = new global::Gtk.Label(); - this.lblLogicalBlockSize.Name = "lblLogicalBlockSize"; - this.lblLogicalBlockSize.LabelProp = global::Mono.Unix.Catalog.GetString("Logical:"); - this.hbox15.Add(this.lblLogicalBlockSize); - global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.lblLogicalBlockSize])); - w59.Position = 2; - w59.Expand = false; - w59.Fill = false; - // Container child hbox15.Gtk.Box+BoxChild - this.spLogicalBlockSize = new global::Gtk.SpinButton(0, 1048576, 1); - this.spLogicalBlockSize.CanFocus = true; - this.spLogicalBlockSize.Name = "spLogicalBlockSize"; - this.spLogicalBlockSize.Adjustment.PageIncrement = 10; - this.spLogicalBlockSize.ClimbRate = 1; - this.spLogicalBlockSize.Numeric = true; - this.hbox15.Add(this.spLogicalBlockSize); - global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.spLogicalBlockSize])); - w60.Position = 3; - w60.Expand = false; - w60.Fill = false; - this.vbox4.Add(this.hbox15); - global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox15])); - w61.Position = 2; - w61.Expand = false; - w61.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox16 = new global::Gtk.HBox(); - this.hbox16.Name = "hbox16"; - this.hbox16.Spacing = 6; - // Container child hbox16.Gtk.Box+BoxChild - this.spCylinders = new global::Gtk.SpinButton(0, 1048576, 1); - this.spCylinders.CanFocus = true; - this.spCylinders.Name = "spCylinders"; - this.spCylinders.Adjustment.PageIncrement = 10; - this.spCylinders.ClimbRate = 1; - this.spCylinders.Numeric = true; - this.hbox16.Add(this.spCylinders); - global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.spCylinders])); - w62.Position = 0; - w62.Expand = false; - w62.Fill = false; - // Container child hbox16.Gtk.Box+BoxChild - this.lblCylinders = new global::Gtk.Label(); - this.lblCylinders.Name = "lblCylinders"; - this.lblCylinders.LabelProp = global::Mono.Unix.Catalog.GetString("cylinders"); - this.hbox16.Add(this.lblCylinders); - global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.lblCylinders])); - w63.Position = 1; - w63.Expand = false; - w63.Fill = false; - this.vbox4.Add(this.hbox16); - global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox16])); - w64.Position = 3; - w64.Expand = false; - w64.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox17 = new global::Gtk.HBox(); - this.hbox17.Name = "hbox17"; - this.hbox17.Spacing = 6; - // Container child hbox17.Gtk.Box+BoxChild - this.spHeads = new global::Gtk.SpinButton(0, 1048576, 1); - this.spHeads.CanFocus = true; - this.spHeads.Name = "spHeads"; - this.spHeads.Adjustment.PageIncrement = 10; - this.spHeads.ClimbRate = 1; - this.spHeads.Numeric = true; - this.hbox17.Add(this.spHeads); - global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.spHeads])); - w65.Position = 0; - w65.Expand = false; - w65.Fill = false; - // Container child hbox17.Gtk.Box+BoxChild - this.lblHeads = new global::Gtk.Label(); - this.lblHeads.Name = "lblHeads"; - this.lblHeads.LabelProp = global::Mono.Unix.Catalog.GetString("heads"); - this.hbox17.Add(this.lblHeads); - global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.lblHeads])); - w66.Position = 1; - w66.Expand = false; - w66.Fill = false; - this.vbox4.Add(this.hbox17); - global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox17])); - w67.Position = 4; - w67.Expand = false; - w67.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox18 = new global::Gtk.HBox(); - this.hbox18.Name = "hbox18"; - this.hbox18.Spacing = 6; - // Container child hbox18.Gtk.Box+BoxChild - this.spSectors = new global::Gtk.SpinButton(0, 1048576, 1); - this.spSectors.CanFocus = true; - this.spSectors.Name = "spSectors"; - this.spSectors.Adjustment.PageIncrement = 10; - this.spSectors.ClimbRate = 1; - this.spSectors.Numeric = true; - this.hbox18.Add(this.spSectors); - global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.spSectors])); - w68.Position = 0; - w68.Expand = false; - w68.Fill = false; - // Container child hbox18.Gtk.Box+BoxChild - this.lblSectors = new global::Gtk.Label(); - this.lblSectors.Name = "lblSectors"; - this.lblSectors.LabelProp = global::Mono.Unix.Catalog.GetString("sectors"); - this.hbox18.Add(this.lblSectors); - global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.lblSectors])); - w69.Position = 1; - w69.Expand = false; - w69.Fill = false; - this.vbox4.Add(this.hbox18); - global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox18])); - w70.Position = 5; - w70.Expand = false; - w70.Fill = false; - this.GtkAlignment8.Add(this.vbox4); - this.frame11.Add(this.GtkAlignment8); - this.GtkLabel27 = new global::Gtk.Label(); - this.GtkLabel27.Name = "GtkLabel27"; - this.GtkLabel27.LabelProp = global::Mono.Unix.Catalog.GetString("Blocks"); - this.GtkLabel27.UseMarkup = true; - this.frame11.LabelWidget = this.GtkLabel27; - this.hbox61.Add(this.frame11); - global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox61[this.frame11])); - w73.Position = 1; - w73.Expand = false; - w73.Fill = false; - // Container child hbox61.Gtk.Box+BoxChild - this.frame10 = new global::Gtk.Frame(); - this.frame10.Name = "frame10"; - this.frame10.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frame10.Gtk.Container+ContainerChild - this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment7.Name = "GtkAlignment7"; - this.GtkAlignment7.LeftPadding = ((uint)(12)); - // Container child GtkAlignment7.Gtk.Container+ContainerChild - this.vbox5 = new global::Gtk.VBox(); - this.vbox5.Name = "vbox5"; - this.vbox5.Spacing = 6; - // Container child vbox5.Gtk.Box+BoxChild - this.chkDimensions = new global::Gtk.CheckButton(); - this.chkDimensions.CanFocus = true; - this.chkDimensions.Name = "chkDimensions"; - this.chkDimensions.Label = global::Mono.Unix.Catalog.GetString("Known dimensions"); - this.chkDimensions.DrawIndicator = true; - this.chkDimensions.UseUnderline = true; - this.vbox5.Add(this.chkDimensions); - global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.chkDimensions])); - w74.Position = 0; - w74.Expand = false; - w74.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.chkRound = new global::Gtk.CheckButton(); - this.chkRound.CanFocus = true; - this.chkRound.Name = "chkRound"; - this.chkRound.Label = global::Mono.Unix.Catalog.GetString("Round?"); - this.chkRound.DrawIndicator = true; - this.chkRound.UseUnderline = true; - this.vbox5.Add(this.chkRound); - global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.chkRound])); - w75.Position = 1; - w75.Expand = false; - w75.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox23 = new global::Gtk.HBox(); - this.hbox23.Name = "hbox23"; - this.hbox23.Spacing = 6; - // Container child hbox23.Gtk.Box+BoxChild - this.lblDiameter = new global::Gtk.Label(); - this.lblDiameter.Name = "lblDiameter"; - this.lblDiameter.LabelProp = global::Mono.Unix.Catalog.GetString("Diameter:"); - this.hbox23.Add(this.lblDiameter); - global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.lblDiameter])); - w76.Position = 0; - w76.Expand = false; - w76.Fill = false; - // Container child hbox23.Gtk.Box+BoxChild - this.spDiameter = new global::Gtk.SpinButton(0, 1000, 1); - this.spDiameter.CanFocus = true; - this.spDiameter.Name = "spDiameter"; - this.spDiameter.Adjustment.PageIncrement = 10; - this.spDiameter.ClimbRate = 1; - this.spDiameter.Digits = ((uint)(5)); - this.spDiameter.Numeric = true; - this.hbox23.Add(this.spDiameter); - global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.spDiameter])); - w77.Position = 1; - w77.Expand = false; - w77.Fill = false; - // Container child hbox23.Gtk.Box+BoxChild - this.lblDiametersUnits = new global::Gtk.Label(); - this.lblDiametersUnits.Name = "lblDiametersUnits"; - this.lblDiametersUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox23.Add(this.lblDiametersUnits); - global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.lblDiametersUnits])); - w78.Position = 2; - w78.Expand = false; - w78.Fill = false; - this.vbox5.Add(this.hbox23); - global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox23])); - w79.Position = 2; - w79.Expand = false; - w79.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox22 = new global::Gtk.HBox(); - this.hbox22.Name = "hbox22"; - this.hbox22.Spacing = 6; - // Container child hbox22.Gtk.Box+BoxChild - this.lblHeight = new global::Gtk.Label(); - this.lblHeight.Name = "lblHeight"; - this.lblHeight.LabelProp = global::Mono.Unix.Catalog.GetString("Height:"); - this.hbox22.Add(this.lblHeight); - global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.lblHeight])); - w80.Position = 0; - w80.Expand = false; - w80.Fill = false; - // Container child hbox22.Gtk.Box+BoxChild - this.spHeight = new global::Gtk.SpinButton(0, 1000, 1); - this.spHeight.CanFocus = true; - this.spHeight.Name = "spHeight"; - this.spHeight.Adjustment.PageIncrement = 10; - this.spHeight.ClimbRate = 1; - this.spHeight.Digits = ((uint)(5)); - this.spHeight.Numeric = true; - this.hbox22.Add(this.spHeight); - global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.spHeight])); - w81.Position = 1; - w81.Expand = false; - w81.Fill = false; - // Container child hbox22.Gtk.Box+BoxChild - this.lblHeightUnits = new global::Gtk.Label(); - this.lblHeightUnits.Name = "lblHeightUnits"; - this.lblHeightUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox22.Add(this.lblHeightUnits); - global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.lblHeightUnits])); - w82.Position = 2; - w82.Expand = false; - w82.Fill = false; - this.vbox5.Add(this.hbox22); - global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox22])); - w83.Position = 3; - w83.Expand = false; - w83.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox21 = new global::Gtk.HBox(); - this.hbox21.Name = "hbox21"; - this.hbox21.Spacing = 6; - // Container child hbox21.Gtk.Box+BoxChild - this.lblWidth = new global::Gtk.Label(); - this.lblWidth.Name = "lblWidth"; - this.lblWidth.LabelProp = global::Mono.Unix.Catalog.GetString("Width:"); - this.hbox21.Add(this.lblWidth); - global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.lblWidth])); - w84.Position = 0; - w84.Expand = false; - w84.Fill = false; - // Container child hbox21.Gtk.Box+BoxChild - this.spWidth = new global::Gtk.SpinButton(0, 1000, 1); - this.spWidth.CanFocus = true; - this.spWidth.Name = "spWidth"; - this.spWidth.Adjustment.PageIncrement = 10; - this.spWidth.ClimbRate = 1; - this.spWidth.Digits = ((uint)(5)); - this.spWidth.Numeric = true; - this.hbox21.Add(this.spWidth); - global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.spWidth])); - w85.Position = 1; - w85.Expand = false; - w85.Fill = false; - // Container child hbox21.Gtk.Box+BoxChild - this.lblWidthUnits = new global::Gtk.Label(); - this.lblWidthUnits.Name = "lblWidthUnits"; - this.lblWidthUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox21.Add(this.lblWidthUnits); - global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.lblWidthUnits])); - w86.Position = 2; - w86.Expand = false; - w86.Fill = false; - this.vbox5.Add(this.hbox21); - global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox21])); - w87.Position = 4; - w87.Expand = false; - w87.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox20 = new global::Gtk.HBox(); - this.hbox20.Name = "hbox20"; - this.hbox20.Spacing = 6; - // Container child hbox20.Gtk.Box+BoxChild - this.lblThickness = new global::Gtk.Label(); - this.lblThickness.Name = "lblThickness"; - this.lblThickness.LabelProp = global::Mono.Unix.Catalog.GetString("Thickness:"); - this.hbox20.Add(this.lblThickness); - global::Gtk.Box.BoxChild w88 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.lblThickness])); - w88.Position = 0; - w88.Expand = false; - w88.Fill = false; - // Container child hbox20.Gtk.Box+BoxChild - this.spThickness = new global::Gtk.SpinButton(0, 1000, 1); - this.spThickness.CanFocus = true; - this.spThickness.Name = "spThickness"; - this.spThickness.Adjustment.PageIncrement = 10; - this.spThickness.ClimbRate = 1; - this.spThickness.Digits = ((uint)(5)); - this.spThickness.Numeric = true; - this.hbox20.Add(this.spThickness); - global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.spThickness])); - w89.Position = 1; - w89.Expand = false; - w89.Fill = false; - // Container child hbox20.Gtk.Box+BoxChild - this.lblThicknessUnits = new global::Gtk.Label(); - this.lblThicknessUnits.Name = "lblThicknessUnits"; - this.lblThicknessUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox20.Add(this.lblThicknessUnits); - global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.lblThicknessUnits])); - w90.Position = 2; - w90.Expand = false; - w90.Fill = false; - this.vbox5.Add(this.hbox20); - global::Gtk.Box.BoxChild w91 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox20])); - w91.Position = 5; - w91.Expand = false; - w91.Fill = false; - this.GtkAlignment7.Add(this.vbox5); - this.frame10.Add(this.GtkAlignment7); - this.GtkLabel26 = new global::Gtk.Label(); - this.GtkLabel26.Name = "GtkLabel26"; - this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString("Dimensions"); - this.GtkLabel26.UseMarkup = true; - this.frame10.LabelWidget = this.GtkLabel26; - this.hbox61.Add(this.frame10); - global::Gtk.Box.BoxChild w94 = ((global::Gtk.Box.BoxChild)(this.hbox61[this.frame10])); - w94.Position = 2; - w94.Expand = false; - w94.Fill = false; - this.vbox2.Add(this.hbox61); - global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox61])); - w95.PackType = ((global::Gtk.PackType)(1)); - w95.Position = 10; - w95.Expand = false; - w95.Fill = false; - this.notebook1.Add(this.vbox2); - // Notebook tab - this.label1 = new global::Gtk.Label(); - this.label1.Name = "label1"; - this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("General"); - this.notebook1.SetTabLabel(this.vbox2, this.label1); - this.label1.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox6 = new global::Gtk.VBox(); - this.vbox6.Name = "vbox6"; - this.vbox6.Spacing = 6; - // Container child vbox6.Gtk.Box+BoxChild - this.chkATA = new global::Gtk.CheckButton(); - this.chkATA.Sensitive = false; - this.chkATA.CanFocus = true; - this.chkATA.Name = "chkATA"; - this.chkATA.Label = global::Mono.Unix.Catalog.GetString("Has ATA IDENTIFY information?"); - this.chkATA.DrawIndicator = true; - this.chkATA.UseUnderline = true; - this.vbox6.Add(this.chkATA); - global::Gtk.Box.BoxChild w97 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.chkATA])); - w97.Position = 0; - w97.Expand = false; - w97.Fill = false; - // Container child vbox6.Gtk.Box+BoxChild - this.treeATA = new global::Gtk.TreeView(); - this.treeATA.CanFocus = true; - this.treeATA.Name = "treeATA"; - this.vbox6.Add(this.treeATA); - global::Gtk.Box.BoxChild w98 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.treeATA])); - w98.Position = 1; - this.notebook1.Add(this.vbox6); - global::Gtk.Notebook.NotebookChild w99 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6])); - w99.Position = 1; - // Notebook tab - this.label2 = new global::Gtk.Label(); - this.label2.Name = "label2"; - this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("ATA"); - this.notebook1.SetTabLabel(this.vbox6, this.label2); - this.label2.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox7 = new global::Gtk.VBox(); - this.vbox7.Name = "vbox7"; - this.vbox7.Spacing = 6; - // Container child vbox7.Gtk.Box+BoxChild - this.chkPCI = new global::Gtk.CheckButton(); - this.chkPCI.Sensitive = false; - this.chkPCI.CanFocus = true; - this.chkPCI.Name = "chkPCI"; - this.chkPCI.Label = global::Mono.Unix.Catalog.GetString("Is PCI?"); - this.chkPCI.DrawIndicator = true; - this.chkPCI.UseUnderline = true; - this.vbox7.Add(this.chkPCI); - global::Gtk.Box.BoxChild w100 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.chkPCI])); - w100.Position = 0; - w100.Expand = false; - w100.Fill = false; - // Container child vbox7.Gtk.Box+BoxChild - this.hbox24 = new global::Gtk.HBox(); - this.hbox24.Name = "hbox24"; - this.hbox24.Spacing = 6; - // Container child hbox24.Gtk.Box+BoxChild - this.lblPCIVendor = new global::Gtk.Label(); - this.lblPCIVendor.Name = "lblPCIVendor"; - this.lblPCIVendor.LabelProp = global::Mono.Unix.Catalog.GetString("Vendor ID"); - this.hbox24.Add(this.lblPCIVendor); - global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.hbox24[this.lblPCIVendor])); - w101.Position = 0; - w101.Expand = false; - w101.Fill = false; - // Container child hbox24.Gtk.Box+BoxChild - this.txtPCIVendor = new global::Gtk.Entry(); - this.txtPCIVendor.CanFocus = true; - this.txtPCIVendor.Name = "txtPCIVendor"; - this.txtPCIVendor.IsEditable = true; - this.txtPCIVendor.InvisibleChar = '●'; - this.hbox24.Add(this.txtPCIVendor); - global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.hbox24[this.txtPCIVendor])); - w102.Position = 1; - this.vbox7.Add(this.hbox24); - global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox24])); - w103.Position = 1; - w103.Expand = false; - w103.Fill = false; - // Container child vbox7.Gtk.Box+BoxChild - this.hbox25 = new global::Gtk.HBox(); - this.hbox25.Name = "hbox25"; - this.hbox25.Spacing = 6; - // Container child hbox25.Gtk.Box+BoxChild - this.lblPCIProduct = new global::Gtk.Label(); - this.lblPCIProduct.Name = "lblPCIProduct"; - this.lblPCIProduct.LabelProp = global::Mono.Unix.Catalog.GetString("Product ID"); - this.hbox25.Add(this.lblPCIProduct); - global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.lblPCIProduct])); - w104.Position = 0; - w104.Expand = false; - w104.Fill = false; - // Container child hbox25.Gtk.Box+BoxChild - this.txtPCIProduct = new global::Gtk.Entry(); - this.txtPCIProduct.CanFocus = true; - this.txtPCIProduct.Name = "txtPCIProduct"; - this.txtPCIProduct.IsEditable = true; - this.txtPCIProduct.InvisibleChar = '●'; - this.hbox25.Add(this.txtPCIProduct); - global::Gtk.Box.BoxChild w105 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.txtPCIProduct])); - w105.Position = 1; - this.vbox7.Add(this.hbox25); - global::Gtk.Box.BoxChild w106 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox25])); - w106.Position = 2; - w106.Expand = false; - w106.Fill = false; - // Container child vbox7.Gtk.Box+BoxChild - this.frmPCIConfiguration = new global::Gtk.Frame(); - this.frmPCIConfiguration.Name = "frmPCIConfiguration"; - this.frmPCIConfiguration.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPCIConfiguration.Gtk.Container+ContainerChild - this.GtkAlignment5 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment5.Name = "GtkAlignment5"; - this.GtkAlignment5.LeftPadding = ((uint)(12)); - // Container child GtkAlignment5.Gtk.Container+ContainerChild - this.treeConfiguration = new global::Gtk.TreeView(); - this.treeConfiguration.CanFocus = true; - this.treeConfiguration.Name = "treeConfiguration"; - this.GtkAlignment5.Add(this.treeConfiguration); - this.frmPCIConfiguration.Add(this.GtkAlignment5); - this.GtkLabel24 = new global::Gtk.Label(); - this.GtkLabel24.Name = "GtkLabel24"; - this.GtkLabel24.LabelProp = global::Mono.Unix.Catalog.GetString("Configuration"); - this.GtkLabel24.UseMarkup = true; - this.frmPCIConfiguration.LabelWidget = this.GtkLabel24; - this.vbox7.Add(this.frmPCIConfiguration); - global::Gtk.Box.BoxChild w109 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frmPCIConfiguration])); - w109.Position = 3; - // Container child vbox7.Gtk.Box+BoxChild - this.frmOptionROM = new global::Gtk.Frame(); - this.frmOptionROM.Name = "frmOptionROM"; - this.frmOptionROM.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmOptionROM.Gtk.Container+ContainerChild - this.GtkAlignment4 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment4.Name = "GtkAlignment4"; - this.GtkAlignment4.LeftPadding = ((uint)(12)); - // Container child GtkAlignment4.Gtk.Container+ContainerChild - this.treeOptionROM = new global::Gtk.TreeView(); - this.treeOptionROM.CanFocus = true; - this.treeOptionROM.Name = "treeOptionROM"; - this.GtkAlignment4.Add(this.treeOptionROM); - this.frmOptionROM.Add(this.GtkAlignment4); - this.GtkLabel23 = new global::Gtk.Label(); - this.GtkLabel23.Name = "GtkLabel23"; - this.GtkLabel23.LabelProp = global::Mono.Unix.Catalog.GetString("Option ROM"); - this.GtkLabel23.UseMarkup = true; - this.frmOptionROM.LabelWidget = this.GtkLabel23; - this.vbox7.Add(this.frmOptionROM); - global::Gtk.Box.BoxChild w112 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frmOptionROM])); - w112.Position = 4; - this.notebook1.Add(this.vbox7); - global::Gtk.Notebook.NotebookChild w113 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox7])); - w113.Position = 2; - // Notebook tab - this.label3 = new global::Gtk.Label(); - this.label3.Name = "label3"; - this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("PCI"); - this.notebook1.SetTabLabel(this.vbox7, this.label3); - this.label3.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox8 = new global::Gtk.VBox(); - this.vbox8.Name = "vbox8"; - this.vbox8.Spacing = 6; - // Container child vbox8.Gtk.Box+BoxChild - this.chkPCMCIA = new global::Gtk.CheckButton(); - this.chkPCMCIA.CanFocus = true; - this.chkPCMCIA.Name = "chkPCMCIA"; - this.chkPCMCIA.Label = global::Mono.Unix.Catalog.GetString("Is PCMCIA?"); - this.chkPCMCIA.DrawIndicator = true; - this.chkPCMCIA.UseUnderline = true; - this.vbox8.Add(this.chkPCMCIA); - global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.chkPCMCIA])); - w114.Position = 0; - w114.Expand = false; - w114.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.chkCIS = new global::Gtk.CheckButton(); - this.chkCIS.Sensitive = false; - this.chkCIS.CanFocus = true; - this.chkCIS.Name = "chkCIS"; - this.chkCIS.Label = global::Mono.Unix.Catalog.GetString("Has CIS?"); - this.chkCIS.DrawIndicator = true; - this.chkCIS.UseUnderline = true; - this.vbox8.Add(this.chkCIS); - global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.chkCIS])); - w115.Position = 1; - w115.Expand = false; - w115.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.treeCIS = new global::Gtk.TreeView(); - this.treeCIS.CanFocus = true; - this.treeCIS.Name = "treeCIS"; - this.vbox8.Add(this.treeCIS); - global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.treeCIS])); - w116.Position = 2; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox31 = new global::Gtk.HBox(); - this.hbox31.Name = "hbox31"; - this.hbox31.Spacing = 6; - // Container child hbox31.Gtk.Box+BoxChild - this.lblPCMCIAManufacturer = new global::Gtk.Label(); - this.lblPCMCIAManufacturer.Name = "lblPCMCIAManufacturer"; - this.lblPCMCIAManufacturer.LabelProp = global::Mono.Unix.Catalog.GetString("Manufacturer name"); - this.hbox31.Add(this.lblPCMCIAManufacturer); - global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.hbox31[this.lblPCMCIAManufacturer])); - w117.Position = 0; - w117.Expand = false; - w117.Fill = false; - // Container child hbox31.Gtk.Box+BoxChild - this.txtPCMCIAManufacturer = new global::Gtk.Entry(); - this.txtPCMCIAManufacturer.CanFocus = true; - this.txtPCMCIAManufacturer.Name = "txtPCMCIAManufacturer"; - this.txtPCMCIAManufacturer.IsEditable = true; - this.txtPCMCIAManufacturer.InvisibleChar = '●'; - this.hbox31.Add(this.txtPCMCIAManufacturer); - global::Gtk.Box.BoxChild w118 = ((global::Gtk.Box.BoxChild)(this.hbox31[this.txtPCMCIAManufacturer])); - w118.Position = 1; - this.vbox8.Add(this.hbox31); - global::Gtk.Box.BoxChild w119 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox31])); - w119.Position = 3; - w119.Expand = false; - w119.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox30 = new global::Gtk.HBox(); - this.hbox30.Name = "hbox30"; - this.hbox30.Spacing = 6; - // Container child hbox30.Gtk.Box+BoxChild - this.lblManufacturerCode = new global::Gtk.Label(); - this.lblManufacturerCode.Name = "lblManufacturerCode"; - this.lblManufacturerCode.LabelProp = global::Mono.Unix.Catalog.GetString("Manufacturer code"); - this.hbox30.Add(this.lblManufacturerCode); - global::Gtk.Box.BoxChild w120 = ((global::Gtk.Box.BoxChild)(this.hbox30[this.lblManufacturerCode])); - w120.Position = 0; - w120.Expand = false; - w120.Fill = false; - // Container child hbox30.Gtk.Box+BoxChild - this.txtMfgCode = new global::Gtk.Entry(); - this.txtMfgCode.CanFocus = true; - this.txtMfgCode.Name = "txtMfgCode"; - this.txtMfgCode.IsEditable = true; - this.txtMfgCode.InvisibleChar = '●'; - this.hbox30.Add(this.txtMfgCode); - global::Gtk.Box.BoxChild w121 = ((global::Gtk.Box.BoxChild)(this.hbox30[this.txtMfgCode])); - w121.Position = 1; - this.vbox8.Add(this.hbox30); - global::Gtk.Box.BoxChild w122 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox30])); - w122.Position = 4; - w122.Expand = false; - w122.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox29 = new global::Gtk.HBox(); - this.hbox29.Name = "hbox29"; - this.hbox29.Spacing = 6; - // Container child hbox29.Gtk.Box+BoxChild - this.lblProductName = new global::Gtk.Label(); - this.lblProductName.Name = "lblProductName"; - this.lblProductName.LabelProp = global::Mono.Unix.Catalog.GetString("Product name"); - this.hbox29.Add(this.lblProductName); - global::Gtk.Box.BoxChild w123 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.lblProductName])); - w123.Position = 0; - w123.Expand = false; - w123.Fill = false; - // Container child hbox29.Gtk.Box+BoxChild - this.txtPCMCIAProductName = new global::Gtk.Entry(); - this.txtPCMCIAProductName.CanFocus = true; - this.txtPCMCIAProductName.Name = "txtPCMCIAProductName"; - this.txtPCMCIAProductName.IsEditable = true; - this.txtPCMCIAProductName.InvisibleChar = '●'; - this.hbox29.Add(this.txtPCMCIAProductName); - global::Gtk.Box.BoxChild w124 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.txtPCMCIAProductName])); - w124.Position = 1; - this.vbox8.Add(this.hbox29); - global::Gtk.Box.BoxChild w125 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox29])); - w125.Position = 5; - w125.Expand = false; - w125.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox28 = new global::Gtk.HBox(); - this.hbox28.Name = "hbox28"; - this.hbox28.Spacing = 6; - // Container child hbox28.Gtk.Box+BoxChild - this.lblCardCode = new global::Gtk.Label(); - this.lblCardCode.Name = "lblCardCode"; - this.lblCardCode.LabelProp = global::Mono.Unix.Catalog.GetString("Card code"); - this.hbox28.Add(this.lblCardCode); - global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.hbox28[this.lblCardCode])); - w126.Position = 0; - w126.Expand = false; - w126.Fill = false; - // Container child hbox28.Gtk.Box+BoxChild - this.txtCardCode = new global::Gtk.Entry(); - this.txtCardCode.CanFocus = true; - this.txtCardCode.Name = "txtCardCode"; - this.txtCardCode.IsEditable = true; - this.txtCardCode.InvisibleChar = '●'; - this.hbox28.Add(this.txtCardCode); - global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.hbox28[this.txtCardCode])); - w127.Position = 1; - this.vbox8.Add(this.hbox28); - global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox28])); - w128.Position = 6; - w128.Expand = false; - w128.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox27 = new global::Gtk.HBox(); - this.hbox27.Name = "hbox27"; - this.hbox27.Spacing = 6; - // Container child hbox27.Gtk.Box+BoxChild - this.lblCompliance = new global::Gtk.Label(); - this.lblCompliance.Name = "lblCompliance"; - this.lblCompliance.LabelProp = global::Mono.Unix.Catalog.GetString("Compliance"); - this.hbox27.Add(this.lblCompliance); - global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.lblCompliance])); - w129.Position = 0; - w129.Expand = false; - w129.Fill = false; - // Container child hbox27.Gtk.Box+BoxChild - this.txtCompliance = new global::Gtk.Entry(); - this.txtCompliance.CanFocus = true; - this.txtCompliance.Name = "txtCompliance"; - this.txtCompliance.IsEditable = true; - this.txtCompliance.InvisibleChar = '●'; - this.hbox27.Add(this.txtCompliance); - global::Gtk.Box.BoxChild w130 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.txtCompliance])); - w130.Position = 1; - this.vbox8.Add(this.hbox27); - global::Gtk.Box.BoxChild w131 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox27])); - w131.Position = 7; - w131.Expand = false; - w131.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox26 = new global::Gtk.HBox(); - this.hbox26.Name = "hbox26"; - this.hbox26.Spacing = 6; - // Container child hbox26.Gtk.Box+BoxChild - this.lblAdditionalInformation = new global::Gtk.Label(); - this.lblAdditionalInformation.Name = "lblAdditionalInformation"; - this.lblAdditionalInformation.LabelProp = global::Mono.Unix.Catalog.GetString("Additional information"); - this.hbox26.Add(this.lblAdditionalInformation); - global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.lblAdditionalInformation])); - w132.Position = 0; - w132.Expand = false; - w132.Fill = false; - this.vbox8.Add(this.hbox26); - global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox26])); - w133.Position = 8; - w133.Expand = false; - w133.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; - this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild - this.treeAdditionalInformation = new global::Gtk.TreeView(); - this.treeAdditionalInformation.CanFocus = true; - this.treeAdditionalInformation.Name = "treeAdditionalInformation"; - this.GtkScrolledWindow5.Add(this.treeAdditionalInformation); - this.vbox8.Add(this.GtkScrolledWindow5); - global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.GtkScrolledWindow5])); - w135.Position = 9; - this.notebook1.Add(this.vbox8); - global::Gtk.Notebook.NotebookChild w136 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox8])); - w136.Position = 3; - // Notebook tab - this.label4 = new global::Gtk.Label(); - this.label4.Name = "label4"; - this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("PCMCIA"); - this.notebook1.SetTabLabel(this.vbox8, this.label4); - this.label4.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox9 = new global::Gtk.VBox(); - this.vbox9.Name = "vbox9"; - this.vbox9.Spacing = 6; - // Container child vbox9.Gtk.Box+BoxChild - this.chkSecureDigital = new global::Gtk.CheckButton(); - this.chkSecureDigital.Sensitive = false; - this.chkSecureDigital.CanFocus = true; - this.chkSecureDigital.Name = "chkSecureDigital"; - this.chkSecureDigital.Label = global::Mono.Unix.Catalog.GetString("Is Secure Digital or MMC?"); - this.chkSecureDigital.DrawIndicator = true; - this.chkSecureDigital.UseUnderline = true; - this.vbox9.Add(this.chkSecureDigital); - global::Gtk.Box.BoxChild w137 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.chkSecureDigital])); - w137.Position = 0; - w137.Expand = false; - w137.Fill = false; - // Container child vbox9.Gtk.Box+BoxChild - this.lblCID = new global::Gtk.Label(); - this.lblCID.Name = "lblCID"; - this.lblCID.LabelProp = global::Mono.Unix.Catalog.GetString("CID"); - this.vbox9.Add(this.lblCID); - global::Gtk.Box.BoxChild w138 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.lblCID])); - w138.Position = 1; - w138.Expand = false; - w138.Fill = false; - // Container child vbox9.Gtk.Box+BoxChild - this.treeCID = new global::Gtk.TreeView(); - this.treeCID.CanFocus = true; - this.treeCID.Name = "treeCID"; - this.vbox9.Add(this.treeCID); - global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.treeCID])); - w139.Position = 2; - // Container child vbox9.Gtk.Box+BoxChild - this.chkCSD = new global::Gtk.CheckButton(); - this.chkCSD.Sensitive = false; - this.chkCSD.CanFocus = true; - this.chkCSD.Name = "chkCSD"; - this.chkCSD.Label = global::Mono.Unix.Catalog.GetString("Has CSD?"); - this.chkCSD.DrawIndicator = true; - this.chkCSD.UseUnderline = true; - this.vbox9.Add(this.chkCSD); - global::Gtk.Box.BoxChild w140 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.chkCSD])); - w140.Position = 3; - w140.Expand = false; - w140.Fill = false; - // Container child vbox9.Gtk.Box+BoxChild - this.treeCSD = new global::Gtk.TreeView(); - this.treeCSD.CanFocus = true; - this.treeCSD.Name = "treeCSD"; - this.vbox9.Add(this.treeCSD); - global::Gtk.Box.BoxChild w141 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.treeCSD])); - w141.Position = 4; - // Container child vbox9.Gtk.Box+BoxChild - this.chkECSD = new global::Gtk.CheckButton(); - this.chkECSD.Sensitive = false; - this.chkECSD.CanFocus = true; - this.chkECSD.Name = "chkECSD"; - this.chkECSD.Label = global::Mono.Unix.Catalog.GetString("Has Extended CSD?"); - this.chkECSD.DrawIndicator = true; - this.chkECSD.UseUnderline = true; - this.vbox9.Add(this.chkECSD); - global::Gtk.Box.BoxChild w142 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.chkECSD])); - w142.Position = 5; - w142.Expand = false; - w142.Fill = false; - // Container child vbox9.Gtk.Box+BoxChild - this.treeECSD = new global::Gtk.TreeView(); - this.treeECSD.CanFocus = true; - this.treeECSD.Name = "treeECSD"; - this.vbox9.Add(this.treeECSD); - global::Gtk.Box.BoxChild w143 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.treeECSD])); - w143.Position = 6; - this.notebook1.Add(this.vbox9); - global::Gtk.Notebook.NotebookChild w144 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox9])); - w144.Position = 4; - // Notebook tab - this.label5 = new global::Gtk.Label(); - this.label5.Name = "label5"; - this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("SecureDigital"); - this.notebook1.SetTabLabel(this.vbox9, this.label5); - this.label5.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox10 = new global::Gtk.VBox(); - this.vbox10.Name = "vbox10"; - this.vbox10.Spacing = 6; - // Container child vbox10.Gtk.Box+BoxChild - this.chkSCSI = new global::Gtk.CheckButton(); - this.chkSCSI.Sensitive = false; - this.chkSCSI.CanFocus = true; - this.chkSCSI.Name = "chkSCSI"; - this.chkSCSI.Label = global::Mono.Unix.Catalog.GetString("Is SCSI?"); - this.chkSCSI.DrawIndicator = true; - this.chkSCSI.UseUnderline = true; - this.vbox10.Add(this.chkSCSI); - global::Gtk.Box.BoxChild w145 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.chkSCSI])); - w145.Position = 0; - w145.Expand = false; - w145.Fill = false; - // Container child vbox10.Gtk.Box+BoxChild - this.frmInquiry = new global::Gtk.Frame(); - this.frmInquiry.Name = "frmInquiry"; - this.frmInquiry.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmInquiry.Gtk.Container+ContainerChild - this.GtkAlignment16 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment16.Name = "GtkAlignment16"; - this.GtkAlignment16.LeftPadding = ((uint)(12)); - // Container child GtkAlignment16.Gtk.Container+ContainerChild - this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow.Name = "GtkScrolledWindow"; - this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.treeInquiry = new global::Gtk.TreeView(); - this.treeInquiry.CanFocus = true; - this.treeInquiry.Name = "treeInquiry"; - this.GtkScrolledWindow.Add(this.treeInquiry); - this.GtkAlignment16.Add(this.GtkScrolledWindow); - this.frmInquiry.Add(this.GtkAlignment16); - this.GtkLabel40 = new global::Gtk.Label(); - this.GtkLabel40.Name = "GtkLabel40"; - this.GtkLabel40.LabelProp = global::Mono.Unix.Catalog.GetString("INQUIRY"); - this.GtkLabel40.UseMarkup = true; - this.frmInquiry.LabelWidget = this.GtkLabel40; - this.vbox10.Add(this.frmInquiry); - global::Gtk.Box.BoxChild w149 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.frmInquiry])); - w149.Position = 1; - // Container child vbox10.Gtk.Box+BoxChild - this.frmModeSense = new global::Gtk.Frame(); - this.frmModeSense.Name = "frmModeSense"; - this.frmModeSense.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmModeSense.Gtk.Container+ContainerChild - this.GtkAlignment15 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment15.Name = "GtkAlignment15"; - this.GtkAlignment15.LeftPadding = ((uint)(12)); - // Container child GtkAlignment15.Gtk.Container+ContainerChild - this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; - this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild - this.treeModeSense = new global::Gtk.TreeView(); - this.treeModeSense.CanFocus = true; - this.treeModeSense.Name = "treeModeSense"; - this.GtkScrolledWindow1.Add(this.treeModeSense); - this.GtkAlignment15.Add(this.GtkScrolledWindow1); - this.frmModeSense.Add(this.GtkAlignment15); - this.GtkLabel39 = new global::Gtk.Label(); - this.GtkLabel39.Name = "GtkLabel39"; - this.GtkLabel39.LabelProp = global::Mono.Unix.Catalog.GetString("MODE SENSE"); - this.GtkLabel39.UseMarkup = true; - this.frmModeSense.LabelWidget = this.GtkLabel39; - this.vbox10.Add(this.frmModeSense); - global::Gtk.Box.BoxChild w153 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.frmModeSense])); - w153.Position = 2; - // Container child vbox10.Gtk.Box+BoxChild - this.frmModeSense10 = new global::Gtk.Frame(); - this.frmModeSense10.Name = "frmModeSense10"; - this.frmModeSense10.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmModeSense10.Gtk.Container+ContainerChild - this.GtkAlignment14 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment14.Name = "GtkAlignment14"; - this.GtkAlignment14.LeftPadding = ((uint)(12)); - // Container child GtkAlignment14.Gtk.Container+ContainerChild - this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; - this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild - this.treeModeSense10 = new global::Gtk.TreeView(); - this.treeModeSense10.CanFocus = true; - this.treeModeSense10.Name = "treeModeSense10"; - this.GtkScrolledWindow2.Add(this.treeModeSense10); - this.GtkAlignment14.Add(this.GtkScrolledWindow2); - this.frmModeSense10.Add(this.GtkAlignment14); - this.GtkLabel38 = new global::Gtk.Label(); - this.GtkLabel38.Name = "GtkLabel38"; - this.GtkLabel38.LabelProp = global::Mono.Unix.Catalog.GetString("MODE SENSE (10)"); - this.GtkLabel38.UseMarkup = true; - this.frmModeSense10.LabelWidget = this.GtkLabel38; - this.vbox10.Add(this.frmModeSense10); - global::Gtk.Box.BoxChild w157 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.frmModeSense10])); - w157.Position = 3; - // Container child vbox10.Gtk.Box+BoxChild - this.frmLogSense = new global::Gtk.Frame(); - this.frmLogSense.Name = "frmLogSense"; - this.frmLogSense.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmLogSense.Gtk.Container+ContainerChild - this.GtkAlignment13 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment13.Name = "GtkAlignment13"; - this.GtkAlignment13.LeftPadding = ((uint)(12)); - // Container child GtkAlignment13.Gtk.Container+ContainerChild - this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; - this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild - this.treeLogSense = new global::Gtk.TreeView(); - this.treeLogSense.CanFocus = true; - this.treeLogSense.Name = "treeLogSense"; - this.GtkScrolledWindow3.Add(this.treeLogSense); - this.GtkAlignment13.Add(this.GtkScrolledWindow3); - this.frmLogSense.Add(this.GtkAlignment13); - this.GtkLabel37 = new global::Gtk.Label(); - this.GtkLabel37.Name = "GtkLabel37"; - this.GtkLabel37.LabelProp = global::Mono.Unix.Catalog.GetString("LOG SENSE"); - this.GtkLabel37.UseMarkup = true; - this.frmLogSense.LabelWidget = this.GtkLabel37; - this.vbox10.Add(this.frmLogSense); - global::Gtk.Box.BoxChild w161 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.frmLogSense])); - w161.Position = 4; - // Container child vbox10.Gtk.Box+BoxChild - this.frmEVPDs = new global::Gtk.Frame(); - this.frmEVPDs.Name = "frmEVPDs"; - this.frmEVPDs.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmEVPDs.Gtk.Container+ContainerChild - this.GtkAlignment12 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment12.Name = "GtkAlignment12"; - this.GtkAlignment12.LeftPadding = ((uint)(12)); - // Container child GtkAlignment12.Gtk.Container+ContainerChild - this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; - this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild - this.treeEVPDs = new global::Gtk.TreeView(); - this.treeEVPDs.CanFocus = true; - this.treeEVPDs.Name = "treeEVPDs"; - this.GtkScrolledWindow4.Add(this.treeEVPDs); - this.GtkAlignment12.Add(this.GtkScrolledWindow4); - this.frmEVPDs.Add(this.GtkAlignment12); - this.GtkLabel36 = new global::Gtk.Label(); - this.GtkLabel36.Name = "GtkLabel36"; - this.GtkLabel36.LabelProp = global::Mono.Unix.Catalog.GetString("EVPDs"); - this.GtkLabel36.UseMarkup = true; - this.frmEVPDs.LabelWidget = this.GtkLabel36; - this.vbox10.Add(this.frmEVPDs); - global::Gtk.Box.BoxChild w165 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.frmEVPDs])); - w165.Position = 5; - this.notebook1.Add(this.vbox10); - global::Gtk.Notebook.NotebookChild w166 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox10])); - w166.Position = 5; - // Notebook tab - this.label6 = new global::Gtk.Label(); - this.label6.Name = "label6"; - this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("SCSI"); - this.notebook1.SetTabLabel(this.vbox10, this.label6); - this.label6.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox11 = new global::Gtk.VBox(); - this.vbox11.Name = "vbox11"; - this.vbox11.Spacing = 6; - // Container child vbox11.Gtk.Box+BoxChild - this.chkUSB = new global::Gtk.CheckButton(); - this.chkUSB.Sensitive = false; - this.chkUSB.CanFocus = true; - this.chkUSB.Name = "chkUSB"; - this.chkUSB.Label = global::Mono.Unix.Catalog.GetString("Is USB?"); - this.chkUSB.DrawIndicator = true; - this.chkUSB.UseUnderline = true; - this.vbox11.Add(this.chkUSB); - global::Gtk.Box.BoxChild w167 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.chkUSB])); - w167.Position = 0; - w167.Expand = false; - w167.Fill = false; - // Container child vbox11.Gtk.Box+BoxChild - this.hbox38 = new global::Gtk.HBox(); - this.hbox38.Name = "hbox38"; - this.hbox38.Spacing = 6; - // Container child hbox38.Gtk.Box+BoxChild - this.lblUSBVendor = new global::Gtk.Label(); - this.lblUSBVendor.Name = "lblUSBVendor"; - this.lblUSBVendor.LabelProp = global::Mono.Unix.Catalog.GetString("Vendor ID"); - this.hbox38.Add(this.lblUSBVendor); - global::Gtk.Box.BoxChild w168 = ((global::Gtk.Box.BoxChild)(this.hbox38[this.lblUSBVendor])); - w168.Position = 0; - w168.Expand = false; - w168.Fill = false; - // Container child hbox38.Gtk.Box+BoxChild - this.txtUSBVendor = new global::Gtk.Entry(); - this.txtUSBVendor.CanFocus = true; - this.txtUSBVendor.Name = "txtUSBVendor"; - this.txtUSBVendor.IsEditable = true; - this.txtUSBVendor.InvisibleChar = '●'; - this.hbox38.Add(this.txtUSBVendor); - global::Gtk.Box.BoxChild w169 = ((global::Gtk.Box.BoxChild)(this.hbox38[this.txtUSBVendor])); - w169.Position = 1; - this.vbox11.Add(this.hbox38); - global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.hbox38])); - w170.Position = 1; - w170.Expand = false; - w170.Fill = false; - // Container child vbox11.Gtk.Box+BoxChild - this.hbox37 = new global::Gtk.HBox(); - this.hbox37.Name = "hbox37"; - this.hbox37.Spacing = 6; - // Container child hbox37.Gtk.Box+BoxChild - this.lblUSBProduct = new global::Gtk.Label(); - this.lblUSBProduct.Name = "lblUSBProduct"; - this.lblUSBProduct.LabelProp = global::Mono.Unix.Catalog.GetString("Product ID"); - this.hbox37.Add(this.lblUSBProduct); - global::Gtk.Box.BoxChild w171 = ((global::Gtk.Box.BoxChild)(this.hbox37[this.lblUSBProduct])); - w171.Position = 0; - w171.Expand = false; - w171.Fill = false; - // Container child hbox37.Gtk.Box+BoxChild - this.txtUSBProduct = new global::Gtk.Entry(); - this.txtUSBProduct.CanFocus = true; - this.txtUSBProduct.Name = "txtUSBProduct"; - this.txtUSBProduct.IsEditable = true; - this.txtUSBProduct.InvisibleChar = '●'; - this.hbox37.Add(this.txtUSBProduct); - global::Gtk.Box.BoxChild w172 = ((global::Gtk.Box.BoxChild)(this.hbox37[this.txtUSBProduct])); - w172.Position = 1; - this.vbox11.Add(this.hbox37); - global::Gtk.Box.BoxChild w173 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.hbox37])); - w173.Position = 2; - w173.Expand = false; - w173.Fill = false; - // Container child vbox11.Gtk.Box+BoxChild - this.frmDescriptors = new global::Gtk.Frame(); - this.frmDescriptors.Name = "frmDescriptors"; - this.frmDescriptors.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmDescriptors.Gtk.Container+ContainerChild - this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment6.Name = "GtkAlignment6"; - this.GtkAlignment6.LeftPadding = ((uint)(12)); - // Container child GtkAlignment6.Gtk.Container+ContainerChild - this.treeDescriptors = new global::Gtk.TreeView(); - this.treeDescriptors.CanFocus = true; - this.treeDescriptors.Name = "treeDescriptors"; - this.GtkAlignment6.Add(this.treeDescriptors); - this.frmDescriptors.Add(this.GtkAlignment6); - this.GtkLabel25 = new global::Gtk.Label(); - this.GtkLabel25.Name = "GtkLabel25"; - this.GtkLabel25.LabelProp = global::Mono.Unix.Catalog.GetString("Descriptors"); - this.GtkLabel25.UseMarkup = true; - this.frmDescriptors.LabelWidget = this.GtkLabel25; - this.vbox11.Add(this.frmDescriptors); - global::Gtk.Box.BoxChild w176 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.frmDescriptors])); - w176.Position = 3; - this.notebook1.Add(this.vbox11); - global::Gtk.Notebook.NotebookChild w177 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox11])); - w177.Position = 6; - // Notebook tab - this.label7 = new global::Gtk.Label(); - this.label7.Name = "label7"; - this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("USB"); - this.notebook1.SetTabLabel(this.vbox11, this.label7); - this.label7.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox12 = new global::Gtk.VBox(); - this.vbox12.Name = "vbox12"; - this.vbox12.Spacing = 6; - // Container child vbox12.Gtk.Box+BoxChild - this.chkMAM = new global::Gtk.CheckButton(); - this.chkMAM.Sensitive = false; - this.chkMAM.CanFocus = true; - this.chkMAM.Name = "chkMAM"; - this.chkMAM.Label = global::Mono.Unix.Catalog.GetString("Has MAM?"); - this.chkMAM.DrawIndicator = true; - this.chkMAM.UseUnderline = true; - this.vbox12.Add(this.chkMAM); - global::Gtk.Box.BoxChild w178 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.chkMAM])); - w178.Position = 0; - w178.Expand = false; - w178.Fill = false; - // Container child vbox12.Gtk.Box+BoxChild - this.treeMAM = new global::Gtk.TreeView(); - this.treeMAM.CanFocus = true; - this.treeMAM.Name = "treeMAM"; - this.vbox12.Add(this.treeMAM); - global::Gtk.Box.BoxChild w179 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.treeMAM])); - w179.Position = 1; - this.notebook1.Add(this.vbox12); - global::Gtk.Notebook.NotebookChild w180 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox12])); - w180.Position = 7; - // Notebook tab - this.label8 = new global::Gtk.Label(); - this.label8.Name = "label8"; - this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("MAM"); - this.notebook1.SetTabLabel(this.vbox12, this.label8); - this.label8.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox13 = new global::Gtk.VBox(); - this.vbox13.Name = "vbox13"; - this.vbox13.Spacing = 6; - // Container child vbox13.Gtk.Box+BoxChild - this.chkTracks = new global::Gtk.CheckButton(); - this.chkTracks.Sensitive = false; - this.chkTracks.CanFocus = true; - this.chkTracks.Name = "chkTracks"; - this.chkTracks.Label = global::Mono.Unix.Catalog.GetString("Has tracks?"); - this.chkTracks.DrawIndicator = true; - this.chkTracks.UseUnderline = true; - this.vbox13.Add(this.chkTracks); - global::Gtk.Box.BoxChild w181 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.chkTracks])); - w181.Position = 0; - w181.Expand = false; - w181.Fill = false; - // Container child vbox13.Gtk.Box+BoxChild - this.GtkScrolledWindow7 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow7.Name = "GtkScrolledWindow7"; - this.GtkScrolledWindow7.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow7.Gtk.Container+ContainerChild - this.treeTracks = new global::Gtk.TreeView(); - this.treeTracks.CanFocus = true; - this.treeTracks.Name = "treeTracks"; - this.GtkScrolledWindow7.Add(this.treeTracks); - this.vbox13.Add(this.GtkScrolledWindow7); - global::Gtk.Box.BoxChild w183 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.GtkScrolledWindow7])); - w183.Position = 1; - this.notebook1.Add(this.vbox13); - global::Gtk.Notebook.NotebookChild w184 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox13])); - w184.Position = 8; - // Notebook tab - this.label9 = new global::Gtk.Label(); - this.label9.Name = "label9"; - this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Tracks"); - this.notebook1.SetTabLabel(this.vbox13, this.label9); - this.label9.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.frmPartitions = new global::Gtk.Frame(); - this.frmPartitions.Name = "frmPartitions"; - this.frmPartitions.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPartitions.Gtk.Container+ContainerChild - this.GtkAlignment10 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment10.Name = "GtkAlignment10"; - this.GtkAlignment10.LeftPadding = ((uint)(12)); - // Container child GtkAlignment10.Gtk.Container+ContainerChild - this.vbox22 = new global::Gtk.VBox(); - this.vbox22.Name = "vbox22"; - this.vbox22.Spacing = 6; - // Container child vbox22.Gtk.Box+BoxChild - this.GtkScrolledWindow12 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow12.Name = "GtkScrolledWindow12"; - this.GtkScrolledWindow12.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow12.Gtk.Container+ContainerChild - this.treePartitions = new global::Gtk.TreeView(); - this.treePartitions.CanFocus = true; - this.treePartitions.Name = "treePartitions"; - this.GtkScrolledWindow12.Add(this.treePartitions); - this.vbox22.Add(this.GtkScrolledWindow12); - global::Gtk.Box.BoxChild w186 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.GtkScrolledWindow12])); - w186.Position = 0; - // Container child vbox22.Gtk.Box+BoxChild - this.hbox62 = new global::Gtk.HBox(); - this.hbox62.Name = "hbox62"; - this.hbox62.Spacing = 6; - // Container child hbox62.Gtk.Box+BoxChild - this.btnCancelPartition = new global::Gtk.Button(); - this.btnCancelPartition.CanFocus = true; - this.btnCancelPartition.Name = "btnCancelPartition"; - this.btnCancelPartition.UseStock = true; - this.btnCancelPartition.UseUnderline = true; - this.btnCancelPartition.Label = "gtk-cancel"; - this.hbox62.Add(this.btnCancelPartition); - global::Gtk.Box.BoxChild w187 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnCancelPartition])); - w187.Position = 0; - w187.Expand = false; - w187.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnRemovePartition = new global::Gtk.Button(); - this.btnRemovePartition.CanFocus = true; - this.btnRemovePartition.Name = "btnRemovePartition"; - this.btnRemovePartition.UseStock = true; - this.btnRemovePartition.UseUnderline = true; - this.btnRemovePartition.Label = "gtk-remove"; - this.hbox62.Add(this.btnRemovePartition); - global::Gtk.Box.BoxChild w188 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnRemovePartition])); - w188.Position = 1; - w188.Expand = false; - w188.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnAddPartition = new global::Gtk.Button(); - this.btnAddPartition.CanFocus = true; - this.btnAddPartition.Name = "btnAddPartition"; - this.btnAddPartition.UseStock = true; - this.btnAddPartition.UseUnderline = true; - this.btnAddPartition.Label = "gtk-add"; - this.hbox62.Add(this.btnAddPartition); - global::Gtk.Box.BoxChild w189 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnAddPartition])); - w189.PackType = ((global::Gtk.PackType)(1)); - w189.Position = 2; - w189.Expand = false; - w189.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnApplyPartition = new global::Gtk.Button(); - this.btnApplyPartition.CanFocus = true; - this.btnApplyPartition.Name = "btnApplyPartition"; - this.btnApplyPartition.UseStock = true; - this.btnApplyPartition.UseUnderline = true; - this.btnApplyPartition.Label = "gtk-apply"; - this.hbox62.Add(this.btnApplyPartition); - global::Gtk.Box.BoxChild w190 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnApplyPartition])); - w190.PackType = ((global::Gtk.PackType)(1)); - w190.Position = 3; - w190.Expand = false; - w190.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnEditPartition = new global::Gtk.Button(); - this.btnEditPartition.CanFocus = true; - this.btnEditPartition.Name = "btnEditPartition"; - this.btnEditPartition.UseUnderline = true; - this.btnEditPartition.Label = global::Mono.Unix.Catalog.GetString("Edit"); - global::Gtk.Image w191 = new global::Gtk.Image(); - w191.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditPartition.Image = w191; - this.hbox62.Add(this.btnEditPartition); - global::Gtk.Box.BoxChild w192 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnEditPartition])); - w192.PackType = ((global::Gtk.PackType)(1)); - w192.Position = 4; - w192.Expand = false; - w192.Fill = false; - this.vbox22.Add(this.hbox62); - global::Gtk.Box.BoxChild w193 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.hbox62])); - w193.Position = 1; - w193.Expand = false; - w193.Fill = false; - // Container child vbox22.Gtk.Box+BoxChild - this.hbox63 = new global::Gtk.HBox(); - this.hbox63.Name = "hbox63"; - this.hbox63.Spacing = 6; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionSequence = new global::Gtk.Label(); - this.lblPartitionSequence.Name = "lblPartitionSequence"; - this.lblPartitionSequence.LabelProp = global::Mono.Unix.Catalog.GetString("Sequence"); - this.hbox63.Add(this.lblPartitionSequence); - global::Gtk.Box.BoxChild w194 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionSequence])); - w194.Position = 0; - w194.Expand = false; - w194.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.spPartitionSequence = new global::Gtk.SpinButton(0, 100, 1); - this.spPartitionSequence.CanFocus = true; - this.spPartitionSequence.Name = "spPartitionSequence"; - this.spPartitionSequence.Adjustment.PageIncrement = 10; - this.spPartitionSequence.ClimbRate = 1; - this.spPartitionSequence.Numeric = true; - this.hbox63.Add(this.spPartitionSequence); - global::Gtk.Box.BoxChild w195 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.spPartitionSequence])); - w195.Position = 1; - w195.Expand = false; - w195.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionStart = new global::Gtk.Label(); - this.lblPartitionStart.Name = "lblPartitionStart"; - this.lblPartitionStart.LabelProp = global::Mono.Unix.Catalog.GetString("Start block"); - this.hbox63.Add(this.lblPartitionStart); - global::Gtk.Box.BoxChild w196 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionStart])); - w196.Position = 2; - w196.Expand = false; - w196.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.txtPartitionStart = new global::Gtk.Entry(); - this.txtPartitionStart.CanFocus = true; - this.txtPartitionStart.Name = "txtPartitionStart"; - this.txtPartitionStart.IsEditable = true; - this.txtPartitionStart.InvisibleChar = '●'; - this.hbox63.Add(this.txtPartitionStart); - global::Gtk.Box.BoxChild w197 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.txtPartitionStart])); - w197.Position = 3; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionEnd = new global::Gtk.Label(); - this.lblPartitionEnd.Name = "lblPartitionEnd"; - this.lblPartitionEnd.LabelProp = global::Mono.Unix.Catalog.GetString("End block"); - this.hbox63.Add(this.lblPartitionEnd); - global::Gtk.Box.BoxChild w198 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionEnd])); - w198.Position = 4; - w198.Expand = false; - w198.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.txtPartitionEnd = new global::Gtk.Entry(); - this.txtPartitionEnd.CanFocus = true; - this.txtPartitionEnd.Name = "txtPartitionEnd"; - this.txtPartitionEnd.IsEditable = true; - this.txtPartitionEnd.InvisibleChar = '●'; - this.hbox63.Add(this.txtPartitionEnd); - global::Gtk.Box.BoxChild w199 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.txtPartitionEnd])); - w199.Position = 5; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionType = new global::Gtk.Label(); - this.lblPartitionType.Name = "lblPartitionType"; - this.lblPartitionType.LabelProp = global::Mono.Unix.Catalog.GetString("Type"); - this.hbox63.Add(this.lblPartitionType); - global::Gtk.Box.BoxChild w200 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionType])); - w200.Position = 6; - w200.Expand = false; - w200.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.txtPartitionType = new global::Gtk.Entry(); - this.txtPartitionType.CanFocus = true; - this.txtPartitionType.Name = "txtPartitionType"; - this.txtPartitionType.IsEditable = true; - this.txtPartitionType.InvisibleChar = '●'; - this.hbox63.Add(this.txtPartitionType); - global::Gtk.Box.BoxChild w201 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.txtPartitionType])); - w201.Position = 7; - this.vbox22.Add(this.hbox63); - global::Gtk.Box.BoxChild w202 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.hbox63])); - w202.Position = 2; - w202.Expand = false; - w202.Fill = false; - // Container child vbox22.Gtk.Box+BoxChild - this.hbox64 = new global::Gtk.HBox(); - this.hbox64.Name = "hbox64"; - this.hbox64.Spacing = 6; - // Container child hbox64.Gtk.Box+BoxChild - this.lblPartitionName = new global::Gtk.Label(); - this.lblPartitionName.Name = "lblPartitionName"; - this.lblPartitionName.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); - this.hbox64.Add(this.lblPartitionName); - global::Gtk.Box.BoxChild w203 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.lblPartitionName])); - w203.Position = 0; - w203.Expand = false; - w203.Fill = false; - // Container child hbox64.Gtk.Box+BoxChild - this.txtPartitionName = new global::Gtk.Entry(); - this.txtPartitionName.CanFocus = true; - this.txtPartitionName.Name = "txtPartitionName"; - this.txtPartitionName.IsEditable = true; - this.txtPartitionName.InvisibleChar = '●'; - this.hbox64.Add(this.txtPartitionName); - global::Gtk.Box.BoxChild w204 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.txtPartitionName])); - w204.Position = 1; - // Container child hbox64.Gtk.Box+BoxChild - this.lblPartitionDescription = new global::Gtk.Label(); - this.lblPartitionDescription.Name = "lblPartitionDescription"; - this.lblPartitionDescription.LabelProp = global::Mono.Unix.Catalog.GetString("Description"); - this.hbox64.Add(this.lblPartitionDescription); - global::Gtk.Box.BoxChild w205 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.lblPartitionDescription])); - w205.Position = 2; - w205.Expand = false; - w205.Fill = false; - // Container child hbox64.Gtk.Box+BoxChild - this.txtPartitionDescription = new global::Gtk.Entry(); - this.txtPartitionDescription.CanFocus = true; - this.txtPartitionDescription.Name = "txtPartitionDescription"; - this.txtPartitionDescription.IsEditable = true; - this.txtPartitionDescription.InvisibleChar = '●'; - this.hbox64.Add(this.txtPartitionDescription); - global::Gtk.Box.BoxChild w206 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.txtPartitionDescription])); - w206.Position = 3; - this.vbox22.Add(this.hbox64); - global::Gtk.Box.BoxChild w207 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.hbox64])); - w207.Position = 3; - w207.Expand = false; - w207.Fill = false; - // Container child vbox22.Gtk.Box+BoxChild - this.frmFilesystems = new global::Gtk.Frame(); - this.frmFilesystems.Name = "frmFilesystems"; - this.frmFilesystems.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmFilesystems.Gtk.Container+ContainerChild - this.GtkAlignment17 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment17.Name = "GtkAlignment17"; - this.GtkAlignment17.LeftPadding = ((uint)(12)); - // Container child GtkAlignment17.Gtk.Container+ContainerChild - this.vbox23 = new global::Gtk.VBox(); - this.vbox23.Name = "vbox23"; - this.vbox23.Spacing = 6; - // Container child vbox23.Gtk.Box+BoxChild - this.GtkScrolledWindow13 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow13.Name = "GtkScrolledWindow13"; - this.GtkScrolledWindow13.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow13.Gtk.Container+ContainerChild - this.treeFilesystems = new global::Gtk.TreeView(); - this.treeFilesystems.CanFocus = true; - this.treeFilesystems.Name = "treeFilesystems"; - this.GtkScrolledWindow13.Add(this.treeFilesystems); - this.vbox23.Add(this.GtkScrolledWindow13); - global::Gtk.Box.BoxChild w209 = ((global::Gtk.Box.BoxChild)(this.vbox23[this.GtkScrolledWindow13])); - w209.Position = 0; - // Container child vbox23.Gtk.Box+BoxChild - this.hbox65 = new global::Gtk.HBox(); - this.hbox65.Name = "hbox65"; - this.hbox65.Spacing = 6; - // Container child hbox65.Gtk.Box+BoxChild - this.btnAddFilesystem = new global::Gtk.Button(); - this.btnAddFilesystem.CanFocus = true; - this.btnAddFilesystem.Name = "btnAddFilesystem"; - this.btnAddFilesystem.UseStock = true; - this.btnAddFilesystem.UseUnderline = true; - this.btnAddFilesystem.Label = "gtk-add"; - this.hbox65.Add(this.btnAddFilesystem); - global::Gtk.Box.BoxChild w210 = ((global::Gtk.Box.BoxChild)(this.hbox65[this.btnAddFilesystem])); - w210.PackType = ((global::Gtk.PackType)(1)); - w210.Position = 0; - w210.Expand = false; - w210.Fill = false; - // Container child hbox65.Gtk.Box+BoxChild - this.btnEditFilesystem = new global::Gtk.Button(); - this.btnEditFilesystem.CanFocus = true; - this.btnEditFilesystem.Name = "btnEditFilesystem"; - this.btnEditFilesystem.UseUnderline = true; - this.btnEditFilesystem.Label = global::Mono.Unix.Catalog.GetString("_Edit"); - global::Gtk.Image w211 = new global::Gtk.Image(); - w211.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditFilesystem.Image = w211; - this.hbox65.Add(this.btnEditFilesystem); - global::Gtk.Box.BoxChild w212 = ((global::Gtk.Box.BoxChild)(this.hbox65[this.btnEditFilesystem])); - w212.PackType = ((global::Gtk.PackType)(1)); - w212.Position = 1; - w212.Expand = false; - w212.Fill = false; - // Container child hbox65.Gtk.Box+BoxChild - this.btnRemoveFilesystem = new global::Gtk.Button(); - this.btnRemoveFilesystem.CanFocus = true; - this.btnRemoveFilesystem.Name = "btnRemoveFilesystem"; - this.btnRemoveFilesystem.UseStock = true; - this.btnRemoveFilesystem.UseUnderline = true; - this.btnRemoveFilesystem.Label = "gtk-remove"; - this.hbox65.Add(this.btnRemoveFilesystem); - global::Gtk.Box.BoxChild w213 = ((global::Gtk.Box.BoxChild)(this.hbox65[this.btnRemoveFilesystem])); - w213.PackType = ((global::Gtk.PackType)(1)); - w213.Position = 2; - w213.Expand = false; - w213.Fill = false; - this.vbox23.Add(this.hbox65); - global::Gtk.Box.BoxChild w214 = ((global::Gtk.Box.BoxChild)(this.vbox23[this.hbox65])); - w214.Position = 1; - w214.Expand = false; - w214.Fill = false; - this.GtkAlignment17.Add(this.vbox23); - this.frmFilesystems.Add(this.GtkAlignment17); - this.frmFilesystemsLabel = new global::Gtk.Label(); - this.frmFilesystemsLabel.Name = "frmFilesystemsLabel"; - this.frmFilesystemsLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Filesystems"); - this.frmFilesystemsLabel.UseMarkup = true; - this.frmFilesystems.LabelWidget = this.frmFilesystemsLabel; - this.vbox22.Add(this.frmFilesystems); - global::Gtk.Box.BoxChild w217 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.frmFilesystems])); - w217.Position = 4; - this.GtkAlignment10.Add(this.vbox22); - this.frmPartitions.Add(this.GtkAlignment10); - this.GtkLabel30 = new global::Gtk.Label(); - this.GtkLabel30.Name = "GtkLabel30"; - this.GtkLabel30.LabelProp = global::Mono.Unix.Catalog.GetString("Partitions"); - this.GtkLabel30.UseMarkup = true; - this.frmPartitions.LabelWidget = this.GtkLabel30; - this.notebook1.Add(this.frmPartitions); - global::Gtk.Notebook.NotebookChild w220 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.frmPartitions])); - w220.Position = 9; - // Notebook tab - this.label10 = new global::Gtk.Label(); - this.label10.Name = "label10"; - this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Partitions"); - this.notebook1.SetTabLabel(this.frmPartitions, this.label10); - this.label10.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox15 = new global::Gtk.VBox(); - this.vbox15.Name = "vbox15"; - this.vbox15.Spacing = 6; - // Container child vbox15.Gtk.Box+BoxChild - this.chkDumpHardware = new global::Gtk.CheckButton(); - this.chkDumpHardware.CanFocus = true; - this.chkDumpHardware.Name = "chkDumpHardware"; - this.chkDumpHardware.Label = global::Mono.Unix.Catalog.GetString("Known dumping hardware"); - this.chkDumpHardware.DrawIndicator = true; - this.chkDumpHardware.UseUnderline = true; - this.vbox15.Add(this.chkDumpHardware); - global::Gtk.Box.BoxChild w221 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.chkDumpHardware])); - w221.Position = 0; - w221.Expand = false; - w221.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.GtkScrolledWindow8 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow8.Name = "GtkScrolledWindow8"; - this.GtkScrolledWindow8.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow8.Gtk.Container+ContainerChild - this.treeDumpHardware = new global::Gtk.TreeView(); - this.treeDumpHardware.CanFocus = true; - this.treeDumpHardware.Name = "treeDumpHardware"; - this.GtkScrolledWindow8.Add(this.treeDumpHardware); - this.vbox15.Add(this.GtkScrolledWindow8); - global::Gtk.Box.BoxChild w223 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.GtkScrolledWindow8])); - w223.Position = 1; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox39 = new global::Gtk.HBox(); - this.hbox39.Name = "hbox39"; - this.hbox39.Spacing = 6; - // Container child hbox39.Gtk.Box+BoxChild - this.btnCancelHardware = new global::Gtk.Button(); - this.btnCancelHardware.CanFocus = true; - this.btnCancelHardware.Name = "btnCancelHardware"; - this.btnCancelHardware.UseStock = true; - this.btnCancelHardware.UseUnderline = true; - this.btnCancelHardware.Label = "gtk-cancel"; - this.hbox39.Add(this.btnCancelHardware); - global::Gtk.Box.BoxChild w224 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnCancelHardware])); - w224.Position = 0; - w224.Expand = false; - w224.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnRemoveHardware = new global::Gtk.Button(); - this.btnRemoveHardware.CanFocus = true; - this.btnRemoveHardware.Name = "btnRemoveHardware"; - this.btnRemoveHardware.UseStock = true; - this.btnRemoveHardware.UseUnderline = true; - this.btnRemoveHardware.Label = "gtk-remove"; - this.hbox39.Add(this.btnRemoveHardware); - global::Gtk.Box.BoxChild w225 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnRemoveHardware])); - w225.Position = 1; - w225.Expand = false; - w225.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnAddHardware = new global::Gtk.Button(); - this.btnAddHardware.CanFocus = true; - this.btnAddHardware.Name = "btnAddHardware"; - this.btnAddHardware.UseStock = true; - this.btnAddHardware.UseUnderline = true; - this.btnAddHardware.Label = "gtk-add"; - this.hbox39.Add(this.btnAddHardware); - global::Gtk.Box.BoxChild w226 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnAddHardware])); - w226.PackType = ((global::Gtk.PackType)(1)); - w226.Position = 2; - w226.Expand = false; - w226.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnApplyHardware = new global::Gtk.Button(); - this.btnApplyHardware.CanFocus = true; - this.btnApplyHardware.Name = "btnApplyHardware"; - this.btnApplyHardware.UseStock = true; - this.btnApplyHardware.UseUnderline = true; - this.btnApplyHardware.Label = "gtk-apply"; - this.hbox39.Add(this.btnApplyHardware); - global::Gtk.Box.BoxChild w227 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnApplyHardware])); - w227.PackType = ((global::Gtk.PackType)(1)); - w227.Position = 3; - w227.Expand = false; - w227.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnEditHardware = new global::Gtk.Button(); - this.btnEditHardware.CanFocus = true; - this.btnEditHardware.Name = "btnEditHardware"; - this.btnEditHardware.UseUnderline = true; - this.btnEditHardware.Label = global::Mono.Unix.Catalog.GetString("Edit"); - global::Gtk.Image w228 = new global::Gtk.Image(); - w228.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditHardware.Image = w228; - this.hbox39.Add(this.btnEditHardware); - global::Gtk.Box.BoxChild w229 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnEditHardware])); - w229.PackType = ((global::Gtk.PackType)(1)); - w229.Position = 4; - w229.Expand = false; - w229.Fill = false; - this.vbox15.Add(this.hbox39); - global::Gtk.Box.BoxChild w230 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox39])); - w230.Position = 2; - w230.Expand = false; - w230.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox40 = new global::Gtk.HBox(); - this.hbox40.Name = "hbox40"; - this.hbox40.Spacing = 6; - // Container child hbox40.Gtk.Box+BoxChild - this.lblHWManufacturer = new global::Gtk.Label(); - this.lblHWManufacturer.Name = "lblHWManufacturer"; - this.lblHWManufacturer.LabelProp = global::Mono.Unix.Catalog.GetString("Manufacturer"); - this.hbox40.Add(this.lblHWManufacturer); - global::Gtk.Box.BoxChild w231 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.lblHWManufacturer])); - w231.Position = 0; - w231.Expand = false; - w231.Fill = false; - // Container child hbox40.Gtk.Box+BoxChild - this.txtHWManufacturer = new global::Gtk.Entry(); - this.txtHWManufacturer.CanFocus = true; - this.txtHWManufacturer.Name = "txtHWManufacturer"; - this.txtHWManufacturer.IsEditable = true; - this.txtHWManufacturer.InvisibleChar = '●'; - this.hbox40.Add(this.txtHWManufacturer); - global::Gtk.Box.BoxChild w232 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.txtHWManufacturer])); - w232.Position = 1; - // Container child hbox40.Gtk.Box+BoxChild - this.lblHWModel = new global::Gtk.Label(); - this.lblHWModel.Name = "lblHWModel"; - this.lblHWModel.LabelProp = global::Mono.Unix.Catalog.GetString("Model"); - this.hbox40.Add(this.lblHWModel); - global::Gtk.Box.BoxChild w233 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.lblHWModel])); - w233.Position = 2; - w233.Expand = false; - w233.Fill = false; - // Container child hbox40.Gtk.Box+BoxChild - this.txtHWModel = new global::Gtk.Entry(); - this.txtHWModel.CanFocus = true; - this.txtHWModel.Name = "txtHWModel"; - this.txtHWModel.IsEditable = true; - this.txtHWModel.InvisibleChar = '●'; - this.hbox40.Add(this.txtHWModel); - global::Gtk.Box.BoxChild w234 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.txtHWModel])); - w234.Position = 3; - this.vbox15.Add(this.hbox40); - global::Gtk.Box.BoxChild w235 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox40])); - w235.Position = 3; - w235.Expand = false; - w235.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox41 = new global::Gtk.HBox(); - this.hbox41.Name = "hbox41"; - this.hbox41.Spacing = 6; - // Container child hbox41.Gtk.Box+BoxChild - this.lblHWRevision = new global::Gtk.Label(); - this.lblHWRevision.Name = "lblHWRevision"; - this.lblHWRevision.LabelProp = global::Mono.Unix.Catalog.GetString("Revision"); - this.hbox41.Add(this.lblHWRevision); - global::Gtk.Box.BoxChild w236 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.lblHWRevision])); - w236.Position = 0; - w236.Expand = false; - w236.Fill = false; - // Container child hbox41.Gtk.Box+BoxChild - this.txtHWRevision = new global::Gtk.Entry(); - this.txtHWRevision.CanFocus = true; - this.txtHWRevision.Name = "txtHWRevision"; - this.txtHWRevision.IsEditable = true; - this.txtHWRevision.InvisibleChar = '●'; - this.hbox41.Add(this.txtHWRevision); - global::Gtk.Box.BoxChild w237 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.txtHWRevision])); - w237.Position = 1; - // Container child hbox41.Gtk.Box+BoxChild - this.lblHWFirmware = new global::Gtk.Label(); - this.lblHWFirmware.Name = "lblHWFirmware"; - this.lblHWFirmware.LabelProp = global::Mono.Unix.Catalog.GetString("Firmware"); - this.hbox41.Add(this.lblHWFirmware); - global::Gtk.Box.BoxChild w238 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.lblHWFirmware])); - w238.Position = 2; - w238.Expand = false; - w238.Fill = false; - // Container child hbox41.Gtk.Box+BoxChild - this.txtHWFirmware = new global::Gtk.Entry(); - this.txtHWFirmware.CanFocus = true; - this.txtHWFirmware.Name = "txtHWFirmware"; - this.txtHWFirmware.IsEditable = true; - this.txtHWFirmware.InvisibleChar = '●'; - this.hbox41.Add(this.txtHWFirmware); - global::Gtk.Box.BoxChild w239 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.txtHWFirmware])); - w239.Position = 3; - this.vbox15.Add(this.hbox41); - global::Gtk.Box.BoxChild w240 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox41])); - w240.Position = 4; - w240.Expand = false; - w240.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox44 = new global::Gtk.HBox(); - this.hbox44.Name = "hbox44"; - this.hbox44.Spacing = 6; - // Container child hbox44.Gtk.Box+BoxChild - this.lblHWSerial = new global::Gtk.Label(); - this.lblHWSerial.Name = "lblHWSerial"; - this.lblHWSerial.LabelProp = global::Mono.Unix.Catalog.GetString("Serial number"); - this.hbox44.Add(this.lblHWSerial); - global::Gtk.Box.BoxChild w241 = ((global::Gtk.Box.BoxChild)(this.hbox44[this.lblHWSerial])); - w241.Position = 0; - w241.Expand = false; - w241.Fill = false; - // Container child hbox44.Gtk.Box+BoxChild - this.txtHWSerial = new global::Gtk.Entry(); - this.txtHWSerial.CanFocus = true; - this.txtHWSerial.Name = "txtHWSerial"; - this.txtHWSerial.IsEditable = true; - this.txtHWSerial.InvisibleChar = '●'; - this.hbox44.Add(this.txtHWSerial); - global::Gtk.Box.BoxChild w242 = ((global::Gtk.Box.BoxChild)(this.hbox44[this.txtHWSerial])); - w242.Position = 1; - this.vbox15.Add(this.hbox44); - global::Gtk.Box.BoxChild w243 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox44])); - w243.Position = 5; - w243.Expand = false; - w243.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hpaned1 = new global::Gtk.HPaned(); - this.hpaned1.CanFocus = true; - this.hpaned1.Name = "hpaned1"; - this.hpaned1.Position = 363; - // Container child hpaned1.Gtk.Paned+PanedChild - this.frmExtents = new global::Gtk.Frame(); - this.frmExtents.Name = "frmExtents"; - this.frmExtents.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmExtents.Gtk.Container+ContainerChild - this.GtkAlignment26 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment26.Name = "GtkAlignment26"; - this.GtkAlignment26.LeftPadding = ((uint)(12)); - // Container child GtkAlignment26.Gtk.Container+ContainerChild - this.vbox21 = new global::Gtk.VBox(); - this.vbox21.Name = "vbox21"; - this.vbox21.Spacing = 6; - // Container child vbox21.Gtk.Box+BoxChild - this.GtkScrolledWindow9 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow9.Name = "GtkScrolledWindow9"; - this.GtkScrolledWindow9.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow9.Gtk.Container+ContainerChild - this.treeExtents = new global::Gtk.TreeView(); - this.treeExtents.CanFocus = true; - this.treeExtents.Name = "treeExtents"; - this.GtkScrolledWindow9.Add(this.treeExtents); - this.vbox21.Add(this.GtkScrolledWindow9); - global::Gtk.Box.BoxChild w245 = ((global::Gtk.Box.BoxChild)(this.vbox21[this.GtkScrolledWindow9])); - w245.Position = 0; - // Container child vbox21.Gtk.Box+BoxChild - this.hbox58 = new global::Gtk.HBox(); - this.hbox58.Name = "hbox58"; - this.hbox58.Spacing = 6; - // Container child hbox58.Gtk.Box+BoxChild - this.btnRemoveExtent = new global::Gtk.Button(); - this.btnRemoveExtent.CanFocus = true; - this.btnRemoveExtent.Name = "btnRemoveExtent"; - this.btnRemoveExtent.UseStock = true; - this.btnRemoveExtent.UseUnderline = true; - this.btnRemoveExtent.Label = "gtk-remove"; - this.hbox58.Add(this.btnRemoveExtent); - global::Gtk.Box.BoxChild w246 = ((global::Gtk.Box.BoxChild)(this.hbox58[this.btnRemoveExtent])); - w246.Position = 0; - w246.Expand = false; - w246.Fill = false; - // Container child hbox58.Gtk.Box+BoxChild - this.btnAddExtent = new global::Gtk.Button(); - this.btnAddExtent.CanFocus = true; - this.btnAddExtent.Name = "btnAddExtent"; - this.btnAddExtent.UseStock = true; - this.btnAddExtent.UseUnderline = true; - this.btnAddExtent.Label = "gtk-add"; - this.hbox58.Add(this.btnAddExtent); - global::Gtk.Box.BoxChild w247 = ((global::Gtk.Box.BoxChild)(this.hbox58[this.btnAddExtent])); - w247.PackType = ((global::Gtk.PackType)(1)); - w247.Position = 1; - w247.Expand = false; - w247.Fill = false; - this.vbox21.Add(this.hbox58); - global::Gtk.Box.BoxChild w248 = ((global::Gtk.Box.BoxChild)(this.vbox21[this.hbox58])); - w248.Position = 1; - w248.Expand = false; - w248.Fill = false; - // Container child vbox21.Gtk.Box+BoxChild - this.hbox59 = new global::Gtk.HBox(); - this.hbox59.Name = "hbox59"; - this.hbox59.Spacing = 6; - // Container child hbox59.Gtk.Box+BoxChild - this.lblExtentStart = new global::Gtk.Label(); - this.lblExtentStart.Name = "lblExtentStart"; - this.lblExtentStart.LabelProp = global::Mono.Unix.Catalog.GetString("Start"); - this.hbox59.Add(this.lblExtentStart); - global::Gtk.Box.BoxChild w249 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.lblExtentStart])); - w249.Position = 0; - w249.Expand = false; - w249.Fill = false; - // Container child hbox59.Gtk.Box+BoxChild - this.spExtentStart = new global::Gtk.SpinButton(0, 100, 1); - this.spExtentStart.CanFocus = true; - this.spExtentStart.Name = "spExtentStart"; - this.spExtentStart.Adjustment.PageIncrement = 10; - this.spExtentStart.ClimbRate = 1; - this.spExtentStart.Numeric = true; - this.hbox59.Add(this.spExtentStart); - global::Gtk.Box.BoxChild w250 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.spExtentStart])); - w250.Position = 1; - w250.Expand = false; - w250.Fill = false; - // Container child hbox59.Gtk.Box+BoxChild - this.lblExtentEnd = new global::Gtk.Label(); - this.lblExtentEnd.Name = "lblExtentEnd"; - this.lblExtentEnd.LabelProp = global::Mono.Unix.Catalog.GetString("End"); - this.hbox59.Add(this.lblExtentEnd); - global::Gtk.Box.BoxChild w251 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.lblExtentEnd])); - w251.Position = 2; - w251.Expand = false; - w251.Fill = false; - // Container child hbox59.Gtk.Box+BoxChild - this.spExtentEnd = new global::Gtk.SpinButton(0, 100, 1); - this.spExtentEnd.CanFocus = true; - this.spExtentEnd.Name = "spExtentEnd"; - this.spExtentEnd.Adjustment.PageIncrement = 10; - this.spExtentEnd.ClimbRate = 1; - this.spExtentEnd.Numeric = true; - this.hbox59.Add(this.spExtentEnd); - global::Gtk.Box.BoxChild w252 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.spExtentEnd])); - w252.Position = 3; - w252.Expand = false; - w252.Fill = false; - this.vbox21.Add(this.hbox59); - global::Gtk.Box.BoxChild w253 = ((global::Gtk.Box.BoxChild)(this.vbox21[this.hbox59])); - w253.Position = 2; - w253.Expand = false; - w253.Fill = false; - this.GtkAlignment26.Add(this.vbox21); - this.frmExtents.Add(this.GtkAlignment26); - this.GtkLabel42 = new global::Gtk.Label(); - this.GtkLabel42.Name = "GtkLabel42"; - this.GtkLabel42.LabelProp = global::Mono.Unix.Catalog.GetString("Extents"); - this.GtkLabel42.UseMarkup = true; - this.frmExtents.LabelWidget = this.GtkLabel42; - this.hpaned1.Add(this.frmExtents); - global::Gtk.Paned.PanedChild w256 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.frmExtents])); - w256.Resize = false; - // Container child hpaned1.Gtk.Paned+PanedChild - this.frmDumpSoftware = new global::Gtk.Frame(); - this.frmDumpSoftware.Name = "frmDumpSoftware"; - this.frmDumpSoftware.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmDumpSoftware.Gtk.Container+ContainerChild - this.GtkAlignment29 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment29.Name = "GtkAlignment29"; - this.GtkAlignment29.LeftPadding = ((uint)(12)); - // Container child GtkAlignment29.Gtk.Container+ContainerChild - this.vbox20 = new global::Gtk.VBox(); - this.vbox20.Name = "vbox20"; - this.vbox20.Spacing = 6; - // Container child vbox20.Gtk.Box+BoxChild - this.hbox55 = new global::Gtk.HBox(); - this.hbox55.Name = "hbox55"; - this.hbox55.Spacing = 6; - // Container child hbox55.Gtk.Box+BoxChild - this.lblDumpName = new global::Gtk.Label(); - this.lblDumpName.Name = "lblDumpName"; - this.lblDumpName.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); - this.hbox55.Add(this.lblDumpName); - global::Gtk.Box.BoxChild w257 = ((global::Gtk.Box.BoxChild)(this.hbox55[this.lblDumpName])); - w257.Position = 0; - w257.Expand = false; - w257.Fill = false; - // Container child hbox55.Gtk.Box+BoxChild - this.txtDumpName = new global::Gtk.Entry(); - this.txtDumpName.CanFocus = true; - this.txtDumpName.Name = "txtDumpName"; - this.txtDumpName.IsEditable = true; - this.txtDumpName.InvisibleChar = '●'; - this.hbox55.Add(this.txtDumpName); - global::Gtk.Box.BoxChild w258 = ((global::Gtk.Box.BoxChild)(this.hbox55[this.txtDumpName])); - w258.Position = 1; - this.vbox20.Add(this.hbox55); - global::Gtk.Box.BoxChild w259 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.hbox55])); - w259.Position = 0; - w259.Expand = false; - w259.Fill = false; - // Container child vbox20.Gtk.Box+BoxChild - this.hbox56 = new global::Gtk.HBox(); - this.hbox56.Name = "hbox56"; - this.hbox56.Spacing = 6; - // Container child hbox56.Gtk.Box+BoxChild - this.lblDumpVersion = new global::Gtk.Label(); - this.lblDumpVersion.Name = "lblDumpVersion"; - this.lblDumpVersion.LabelProp = global::Mono.Unix.Catalog.GetString("Version"); - this.hbox56.Add(this.lblDumpVersion); - global::Gtk.Box.BoxChild w260 = ((global::Gtk.Box.BoxChild)(this.hbox56[this.lblDumpVersion])); - w260.Position = 0; - w260.Expand = false; - w260.Fill = false; - // Container child hbox56.Gtk.Box+BoxChild - this.txtDumpVersion = new global::Gtk.Entry(); - this.txtDumpVersion.CanFocus = true; - this.txtDumpVersion.Name = "txtDumpVersion"; - this.txtDumpVersion.IsEditable = true; - this.txtDumpVersion.InvisibleChar = '●'; - this.hbox56.Add(this.txtDumpVersion); - global::Gtk.Box.BoxChild w261 = ((global::Gtk.Box.BoxChild)(this.hbox56[this.txtDumpVersion])); - w261.Position = 1; - this.vbox20.Add(this.hbox56); - global::Gtk.Box.BoxChild w262 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.hbox56])); - w262.Position = 1; - w262.Expand = false; - w262.Fill = false; - // Container child vbox20.Gtk.Box+BoxChild - this.hbox57 = new global::Gtk.HBox(); - this.hbox57.Name = "hbox57"; - this.hbox57.Spacing = 6; - // Container child hbox57.Gtk.Box+BoxChild - this.lblDumpOS = new global::Gtk.Label(); - this.lblDumpOS.Name = "lblDumpOS"; - this.lblDumpOS.LabelProp = global::Mono.Unix.Catalog.GetString("Operating system"); - this.hbox57.Add(this.lblDumpOS); - global::Gtk.Box.BoxChild w263 = ((global::Gtk.Box.BoxChild)(this.hbox57[this.lblDumpOS])); - w263.Position = 0; - w263.Expand = false; - w263.Fill = false; - // Container child hbox57.Gtk.Box+BoxChild - this.txtDumpOS = new global::Gtk.Entry(); - this.txtDumpOS.CanFocus = true; - this.txtDumpOS.Name = "txtDumpOS"; - this.txtDumpOS.IsEditable = true; - this.txtDumpOS.InvisibleChar = '●'; - this.hbox57.Add(this.txtDumpOS); - global::Gtk.Box.BoxChild w264 = ((global::Gtk.Box.BoxChild)(this.hbox57[this.txtDumpOS])); - w264.Position = 1; - this.vbox20.Add(this.hbox57); - global::Gtk.Box.BoxChild w265 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.hbox57])); - w265.Position = 2; - w265.Expand = false; - w265.Fill = false; - this.GtkAlignment29.Add(this.vbox20); - this.frmDumpSoftware.Add(this.GtkAlignment29); - this.GtkLabel43 = new global::Gtk.Label(); - this.GtkLabel43.Name = "GtkLabel43"; - this.GtkLabel43.LabelProp = global::Mono.Unix.Catalog.GetString("Dump software"); - this.GtkLabel43.UseMarkup = true; - this.frmDumpSoftware.LabelWidget = this.GtkLabel43; - this.hpaned1.Add(this.frmDumpSoftware); - this.vbox15.Add(this.hpaned1); - global::Gtk.Box.BoxChild w269 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hpaned1])); - w269.Position = 6; - this.notebook1.Add(this.vbox15); - global::Gtk.Notebook.NotebookChild w270 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox15])); - w270.Position = 10; - // Notebook tab - this.label11 = new global::Gtk.Label(); - this.label11.Name = "label11"; - this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Dump hardware"); - this.notebook1.SetTabLabel(this.vbox15, this.label11); - this.label11.ShowAll(); - w1.Add(this.notebook1); - global::Gtk.Box.BoxChild w271 = ((global::Gtk.Box.BoxChild)(w1[this.notebook1])); - w271.Position = 0; - // Container child dialog1_VBox.Gtk.Box+BoxChild - this.hbox9 = new global::Gtk.HBox(); - this.hbox9.Name = "hbox9"; - this.hbox9.Spacing = 6; - // Container child hbox9.Gtk.Box+BoxChild - this.btnSave = new global::Gtk.Button(); - this.btnSave.CanFocus = true; - this.btnSave.Name = "btnSave"; - this.btnSave.UseStock = true; - this.btnSave.UseUnderline = true; - this.btnSave.Label = "gtk-save"; - this.hbox9.Add(this.btnSave); - global::Gtk.Box.BoxChild w272 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.btnSave])); - w272.PackType = ((global::Gtk.PackType)(1)); - w272.Position = 0; - w272.Expand = false; - w272.Fill = false; - // Container child hbox9.Gtk.Box+BoxChild - this.btnCancel = new global::Gtk.Button(); - this.btnCancel.CanFocus = true; - this.btnCancel.Name = "btnCancel"; - this.btnCancel.UseStock = true; - this.btnCancel.UseUnderline = true; - this.btnCancel.Label = "gtk-cancel"; - this.hbox9.Add(this.btnCancel); - global::Gtk.Box.BoxChild w273 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.btnCancel])); - w273.PackType = ((global::Gtk.PackType)(1)); - w273.Position = 1; - w273.Expand = false; - w273.Fill = false; - w1.Add(this.hbox9); - global::Gtk.Box.BoxChild w274 = ((global::Gtk.Box.BoxChild)(w1[this.hbox9])); - w274.PackType = ((global::Gtk.PackType)(1)); - w274.Position = 2; - w274.Expand = false; - w274.Fill = false; - // Internal child osrepodbmgr.dlgBlockMedia.ActionArea - global::Gtk.HButtonBox w275 = this.ActionArea; - w275.Name = "dialog1_ActionArea"; - w275.Spacing = 10; - w275.BorderWidth = ((uint)(5)); - w275.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonCancel = new global::Gtk.Button(); - this.buttonCancel.CanDefault = true; - this.buttonCancel.CanFocus = true; - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.UseStock = true; - this.buttonCancel.UseUnderline = true; - this.buttonCancel.Label = "gtk-cancel"; - this.AddActionWidget(this.buttonCancel, -6); - global::Gtk.ButtonBox.ButtonBoxChild w276 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w275[this.buttonCancel])); - w276.Expand = false; - w276.Fill = false; - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonOk = new global::Gtk.Button(); - this.buttonOk.CanDefault = true; - this.buttonOk.CanFocus = true; - this.buttonOk.Name = "buttonOk"; - this.buttonOk.UseStock = true; - this.buttonOk.UseUnderline = true; - this.buttonOk.Label = "gtk-ok"; - this.AddActionWidget(this.buttonOk, -5); - global::Gtk.ButtonBox.ButtonBoxChild w277 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w275[this.buttonOk])); - w277.Position = 1; - w277.Expand = false; - w277.Fill = false; - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 800; - this.DefaultHeight = 605; - this.lblMediaTitle.Hide(); - this.txtMediaTitle.Hide(); - this.lblSequence.Hide(); - this.spSequence.Hide(); - this.lblTotalMedia.Hide(); - this.spTotalMedia.Hide(); - this.lblSide.Hide(); - this.spSide.Hide(); - this.lblLayer.Hide(); - this.spLayer.Hide(); - this.chkRound.Hide(); - this.lblDiameter.Hide(); - this.spDiameter.Hide(); - this.lblDiametersUnits.Hide(); - this.lblHeight.Hide(); - this.spHeight.Hide(); - this.lblHeightUnits.Hide(); - this.lblWidth.Hide(); - this.spWidth.Hide(); - this.lblWidthUnits.Hide(); - this.lblThickness.Hide(); - this.spThickness.Hide(); - this.lblThicknessUnits.Hide(); - this.treeATA.Hide(); - this.lblPCIVendor.Hide(); - this.txtPCIVendor.Hide(); - this.lblPCIProduct.Hide(); - this.txtPCIProduct.Hide(); - this.frmPCIConfiguration.Hide(); - this.frmOptionROM.Hide(); - this.chkCIS.Hide(); - this.treeCIS.Hide(); - this.lblPCMCIAManufacturer.Hide(); - this.txtPCMCIAManufacturer.Hide(); - this.lblManufacturerCode.Hide(); - this.txtMfgCode.Hide(); - this.lblProductName.Hide(); - this.txtPCMCIAProductName.Hide(); - this.lblCardCode.Hide(); - this.txtCardCode.Hide(); - this.lblCompliance.Hide(); - this.txtCompliance.Hide(); - this.lblAdditionalInformation.Hide(); - this.treeAdditionalInformation.Hide(); - this.lblCID.Hide(); - this.treeCID.Hide(); - this.chkCSD.Hide(); - this.treeCSD.Hide(); - this.chkECSD.Hide(); - this.treeECSD.Hide(); - this.frmInquiry.Hide(); - this.frmModeSense.Hide(); - this.frmModeSense10.Hide(); - this.frmLogSense.Hide(); - this.frmEVPDs.Hide(); - this.lblUSBVendor.Hide(); - this.txtUSBVendor.Hide(); - this.lblUSBProduct.Hide(); - this.txtUSBProduct.Hide(); - this.hbox37.Hide(); - this.frmDescriptors.Hide(); - this.treeMAM.Hide(); - this.treeTracks.Hide(); - this.btnCancelPartition.Hide(); - this.btnApplyPartition.Hide(); - this.lblPartitionSequence.Hide(); - this.spPartitionSequence.Hide(); - this.lblPartitionStart.Hide(); - this.txtPartitionStart.Hide(); - this.lblPartitionEnd.Hide(); - this.txtPartitionEnd.Hide(); - this.lblPartitionType.Hide(); - this.txtPartitionType.Hide(); - this.lblPartitionName.Hide(); - this.txtPartitionName.Hide(); - this.lblPartitionDescription.Hide(); - this.txtPartitionDescription.Hide(); - this.frmFilesystems.Hide(); - this.treeDumpHardware.Hide(); - this.btnCancelHardware.Hide(); - this.btnRemoveHardware.Hide(); - this.btnAddHardware.Hide(); - this.btnApplyHardware.Hide(); - this.btnEditHardware.Hide(); - this.lblHWManufacturer.Hide(); - this.txtHWManufacturer.Hide(); - this.lblHWModel.Hide(); - this.txtHWModel.Hide(); - this.lblHWRevision.Hide(); - this.txtHWRevision.Hide(); - this.lblHWFirmware.Hide(); - this.txtHWFirmware.Hide(); - this.lblHWSerial.Hide(); - this.txtHWSerial.Hide(); - this.frmExtents.Hide(); - this.frmDumpSoftware.Hide(); - this.buttonOk.Hide(); - w275.Hide(); - this.Show(); - this.chkSequence.Toggled += new global::System.EventHandler(this.OnChkSequenceToggled); - this.chkDimensions.Toggled += new global::System.EventHandler(this.OnChkDimensionsToggled); - this.chkRound.Toggled += new global::System.EventHandler(this.OnChkRoundToggled); - this.chkPCMCIA.Toggled += new global::System.EventHandler(this.OnChkPCMCIAToggled); - this.btnCancelPartition.Clicked += new global::System.EventHandler(this.OnBtnCancelPartitionClicked); - this.btnRemovePartition.Clicked += new global::System.EventHandler(this.OnBtnRemovePartitionClicked); - this.btnEditPartition.Clicked += new global::System.EventHandler(this.OnBtnEditPartitionClicked); - this.btnApplyPartition.Clicked += new global::System.EventHandler(this.OnBtnApplyPartitionClicked); - this.btnAddPartition.Clicked += new global::System.EventHandler(this.OnBtnAddPartitionClicked); - this.btnRemoveFilesystem.Clicked += new global::System.EventHandler(this.OnBtnRemoveFilesystemClicked); - this.btnEditFilesystem.Clicked += new global::System.EventHandler(this.OnBtnEditFilesystemClicked); - this.btnAddFilesystem.Clicked += new global::System.EventHandler(this.OnBtnAddFilesystemClicked); - this.chkDumpHardware.Toggled += new global::System.EventHandler(this.OnChkDumpHardwareToggled); - this.btnCancelHardware.Clicked += new global::System.EventHandler(this.OnBtnCancelHardwareClicked); - this.btnRemoveHardware.Clicked += new global::System.EventHandler(this.OnBtnRemoveHardwareClicked); - this.btnEditHardware.Clicked += new global::System.EventHandler(this.OnBtnEditHardwareClicked); - this.btnApplyHardware.Clicked += new global::System.EventHandler(this.OnBtnApplyHardwareClicked); - this.btnAddHardware.Clicked += new global::System.EventHandler(this.OnBtnAddHardwareClicked); - this.btnRemoveExtent.Clicked += new global::System.EventHandler(this.OnBtnRemoveExtentClicked); - this.btnAddExtent.Clicked += new global::System.EventHandler(this.OnBtnAddExtentClicked); - this.btnCancel.Clicked += new global::System.EventHandler(this.OnBtnCancelClicked); - this.btnSave.Clicked += new global::System.EventHandler(this.OnBtnSaveClicked); - this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); - } - } -} diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgFilesystem.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.dlgFilesystem.cs deleted file mode 100644 index 55a9518..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgFilesystem.cs +++ /dev/null @@ -1,775 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace osrepodbmgr -{ - public partial class dlgFilesystem - { - private global::Gtk.VBox vbox24; - - private global::Gtk.HBox hbox69; - - private global::Gtk.Label lblType; - - private global::Gtk.Entry txtType; - - private global::Gtk.HBox hbox86; - - private global::Gtk.Entry txtFiles; - - private global::Gtk.Label lblFiles; - - private global::Gtk.CheckButton chkBootable; - - private global::Gtk.CheckButton chkDirty; - - private global::Gtk.HBox hbox71; - - private global::Gtk.SpinButton spClusterSize; - - private global::Gtk.Label lblClusterSize; - - private global::Gtk.Entry txtClusters; - - private global::Gtk.Label lblClusters; - - private global::Gtk.Entry txtFreeClusters; - - private global::Gtk.Label lblFreeClusters; - - private global::Gtk.HBox hbox72; - - private global::Gtk.VBox vbox25; - - private global::Gtk.CheckButton chkCreationDate; - - private global::Gtk.Calendar cldCreationDate; - - private global::Gtk.VBox vbox28; - - private global::Gtk.CheckButton chkModificationDate; - - private global::Gtk.Calendar cldModificationDate; - - private global::Gtk.VBox vbox27; - - private global::Gtk.CheckButton chkEffectiveDate; - - private global::Gtk.Calendar cldEffectiveDate; - - private global::Gtk.VBox vbox26; - - private global::Gtk.CheckButton chkExpirationDate; - - private global::Gtk.Calendar cldExpirationDate; - - private global::Gtk.HPaned hpaned3; - - private global::Gtk.VBox vbox29; - - private global::Gtk.CheckButton chkBackupDate; - - private global::Gtk.Calendar cldBackupDate; - - private global::Gtk.VBox vbox31; - - private global::Gtk.HBox hbox85; - - private global::Gtk.Label lblLabel; - - private global::Gtk.Entry txtLabel; - - private global::Gtk.HBox hbox84; - - private global::Gtk.Label lblSerial; - - private global::Gtk.Entry txtSerial; - - private global::Gtk.Frame frame27; - - private global::Gtk.Alignment GtkAlignment2; - - private global::Gtk.VBox vbox32; - - private global::Gtk.HBox hbox87; - - private global::Gtk.Label lblSysId; - - private global::Gtk.Entry txtSysId; - - private global::Gtk.HBox hbox88; - - private global::Gtk.Label lblVolId; - - private global::Gtk.Entry txtVolId; - - private global::Gtk.HBox hbox89; - - private global::Gtk.Label lblPubId; - - private global::Gtk.Entry txtPubId; - - private global::Gtk.HBox hbox90; - - private global::Gtk.Label lblDataId; - - private global::Gtk.Entry txtDataId; - - private global::Gtk.HBox hbox91; - - private global::Gtk.Label lblAppId; - - private global::Gtk.Entry txtAppId; - - private global::Gtk.Label GtkLabel9; - - private global::Gtk.HBox hbox2; - - private global::Gtk.Button btnSave; - - private global::Gtk.Button btnCancel; - - private global::Gtk.Button buttonCancel; - - private global::Gtk.Button buttonOk; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget osrepodbmgr.dlgFilesystem - this.Name = "osrepodbmgr.dlgFilesystem"; - this.Title = global::Mono.Unix.Catalog.GetString("Edit filesystem metadata"); - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Internal child osrepodbmgr.dlgFilesystem.VBox - global::Gtk.VBox w1 = this.VBox; - w1.Name = "dialog1_VBox"; - w1.BorderWidth = ((uint)(2)); - // Container child dialog1_VBox.Gtk.Box+BoxChild - this.vbox24 = new global::Gtk.VBox(); - this.vbox24.Name = "vbox24"; - this.vbox24.Spacing = 6; - // Container child vbox24.Gtk.Box+BoxChild - this.hbox69 = new global::Gtk.HBox(); - this.hbox69.Name = "hbox69"; - this.hbox69.Spacing = 6; - // Container child hbox69.Gtk.Box+BoxChild - this.lblType = new global::Gtk.Label(); - this.lblType.Name = "lblType"; - this.lblType.LabelProp = global::Mono.Unix.Catalog.GetString("Filesystem type"); - this.hbox69.Add(this.lblType); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox69[this.lblType])); - w2.Position = 0; - w2.Expand = false; - w2.Fill = false; - // Container child hbox69.Gtk.Box+BoxChild - this.txtType = new global::Gtk.Entry(); - this.txtType.CanFocus = true; - this.txtType.Name = "txtType"; - this.txtType.IsEditable = true; - this.txtType.InvisibleChar = '●'; - this.hbox69.Add(this.txtType); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox69[this.txtType])); - w3.Position = 1; - this.vbox24.Add(this.hbox69); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.hbox69])); - w4.Position = 0; - w4.Expand = false; - w4.Fill = false; - // Container child vbox24.Gtk.Box+BoxChild - this.hbox86 = new global::Gtk.HBox(); - this.hbox86.Name = "hbox86"; - this.hbox86.Spacing = 6; - // Container child hbox86.Gtk.Box+BoxChild - this.txtFiles = new global::Gtk.Entry(); - this.txtFiles.CanFocus = true; - this.txtFiles.Name = "txtFiles"; - this.txtFiles.IsEditable = true; - this.txtFiles.InvisibleChar = '●'; - this.hbox86.Add(this.txtFiles); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox86[this.txtFiles])); - w5.Position = 0; - // Container child hbox86.Gtk.Box+BoxChild - this.lblFiles = new global::Gtk.Label(); - this.lblFiles.Name = "lblFiles"; - this.lblFiles.LabelProp = global::Mono.Unix.Catalog.GetString("files"); - this.hbox86.Add(this.lblFiles); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox86[this.lblFiles])); - w6.Position = 1; - w6.Expand = false; - w6.Fill = false; - // Container child hbox86.Gtk.Box+BoxChild - this.chkBootable = new global::Gtk.CheckButton(); - this.chkBootable.CanFocus = true; - this.chkBootable.Name = "chkBootable"; - this.chkBootable.Label = global::Mono.Unix.Catalog.GetString("Bootable"); - this.chkBootable.DrawIndicator = true; - this.chkBootable.UseUnderline = true; - this.hbox86.Add(this.chkBootable); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox86[this.chkBootable])); - w7.Position = 2; - // Container child hbox86.Gtk.Box+BoxChild - this.chkDirty = new global::Gtk.CheckButton(); - this.chkDirty.CanFocus = true; - this.chkDirty.Name = "chkDirty"; - this.chkDirty.Label = global::Mono.Unix.Catalog.GetString("Dirty"); - this.chkDirty.DrawIndicator = true; - this.chkDirty.UseUnderline = true; - this.hbox86.Add(this.chkDirty); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox86[this.chkDirty])); - w8.Position = 3; - this.vbox24.Add(this.hbox86); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.hbox86])); - w9.Position = 1; - w9.Expand = false; - w9.Fill = false; - // Container child vbox24.Gtk.Box+BoxChild - this.hbox71 = new global::Gtk.HBox(); - this.hbox71.Name = "hbox71"; - this.hbox71.Spacing = 6; - // Container child hbox71.Gtk.Box+BoxChild - this.spClusterSize = new global::Gtk.SpinButton(0, 1048576, 1); - this.spClusterSize.CanFocus = true; - this.spClusterSize.Name = "spClusterSize"; - this.spClusterSize.Adjustment.PageIncrement = 10; - this.spClusterSize.ClimbRate = 1; - this.spClusterSize.Numeric = true; - this.hbox71.Add(this.spClusterSize); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox71[this.spClusterSize])); - w10.Position = 0; - w10.Expand = false; - w10.Fill = false; - // Container child hbox71.Gtk.Box+BoxChild - this.lblClusterSize = new global::Gtk.Label(); - this.lblClusterSize.Name = "lblClusterSize"; - this.lblClusterSize.LabelProp = global::Mono.Unix.Catalog.GetString("bytes per cluster"); - this.hbox71.Add(this.lblClusterSize); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox71[this.lblClusterSize])); - w11.Position = 1; - w11.Expand = false; - w11.Fill = false; - // Container child hbox71.Gtk.Box+BoxChild - this.txtClusters = new global::Gtk.Entry(); - this.txtClusters.CanFocus = true; - this.txtClusters.Name = "txtClusters"; - this.txtClusters.IsEditable = true; - this.txtClusters.InvisibleChar = '●'; - this.hbox71.Add(this.txtClusters); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox71[this.txtClusters])); - w12.Position = 2; - // Container child hbox71.Gtk.Box+BoxChild - this.lblClusters = new global::Gtk.Label(); - this.lblClusters.Name = "lblClusters"; - this.lblClusters.LabelProp = global::Mono.Unix.Catalog.GetString("clusters"); - this.hbox71.Add(this.lblClusters); - global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox71[this.lblClusters])); - w13.Position = 3; - w13.Expand = false; - w13.Fill = false; - // Container child hbox71.Gtk.Box+BoxChild - this.txtFreeClusters = new global::Gtk.Entry(); - this.txtFreeClusters.CanFocus = true; - this.txtFreeClusters.Name = "txtFreeClusters"; - this.txtFreeClusters.IsEditable = true; - this.txtFreeClusters.InvisibleChar = '●'; - this.hbox71.Add(this.txtFreeClusters); - global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox71[this.txtFreeClusters])); - w14.Position = 4; - // Container child hbox71.Gtk.Box+BoxChild - this.lblFreeClusters = new global::Gtk.Label(); - this.lblFreeClusters.Name = "lblFreeClusters"; - this.lblFreeClusters.LabelProp = global::Mono.Unix.Catalog.GetString("free clusters"); - this.hbox71.Add(this.lblFreeClusters); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox71[this.lblFreeClusters])); - w15.Position = 5; - w15.Expand = false; - w15.Fill = false; - this.vbox24.Add(this.hbox71); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.hbox71])); - w16.Position = 2; - w16.Expand = false; - w16.Fill = false; - // Container child vbox24.Gtk.Box+BoxChild - this.hbox72 = new global::Gtk.HBox(); - this.hbox72.Name = "hbox72"; - this.hbox72.Spacing = 6; - // Container child hbox72.Gtk.Box+BoxChild - this.vbox25 = new global::Gtk.VBox(); - this.vbox25.Name = "vbox25"; - this.vbox25.Spacing = 6; - // Container child vbox25.Gtk.Box+BoxChild - this.chkCreationDate = new global::Gtk.CheckButton(); - this.chkCreationDate.CanFocus = true; - this.chkCreationDate.Name = "chkCreationDate"; - this.chkCreationDate.Label = global::Mono.Unix.Catalog.GetString("Creation date"); - this.chkCreationDate.DrawIndicator = true; - this.chkCreationDate.UseUnderline = true; - this.vbox25.Add(this.chkCreationDate); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox25[this.chkCreationDate])); - w17.Position = 0; - w17.Expand = false; - w17.Fill = false; - // Container child vbox25.Gtk.Box+BoxChild - this.cldCreationDate = new global::Gtk.Calendar(); - this.cldCreationDate.Sensitive = false; - this.cldCreationDate.CanFocus = true; - this.cldCreationDate.Name = "cldCreationDate"; - this.cldCreationDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); - this.vbox25.Add(this.cldCreationDate); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox25[this.cldCreationDate])); - w18.Position = 1; - w18.Expand = false; - w18.Fill = false; - this.hbox72.Add(this.vbox25); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox72[this.vbox25])); - w19.Position = 0; - w19.Expand = false; - w19.Fill = false; - // Container child hbox72.Gtk.Box+BoxChild - this.vbox28 = new global::Gtk.VBox(); - this.vbox28.Name = "vbox28"; - this.vbox28.Spacing = 6; - // Container child vbox28.Gtk.Box+BoxChild - this.chkModificationDate = new global::Gtk.CheckButton(); - this.chkModificationDate.CanFocus = true; - this.chkModificationDate.Name = "chkModificationDate"; - this.chkModificationDate.Label = global::Mono.Unix.Catalog.GetString("Modification date"); - this.chkModificationDate.DrawIndicator = true; - this.chkModificationDate.UseUnderline = true; - this.vbox28.Add(this.chkModificationDate); - global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox28[this.chkModificationDate])); - w20.Position = 0; - w20.Expand = false; - w20.Fill = false; - // Container child vbox28.Gtk.Box+BoxChild - this.cldModificationDate = new global::Gtk.Calendar(); - this.cldModificationDate.Sensitive = false; - this.cldModificationDate.CanFocus = true; - this.cldModificationDate.Name = "cldModificationDate"; - this.cldModificationDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); - this.vbox28.Add(this.cldModificationDate); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox28[this.cldModificationDate])); - w21.Position = 1; - w21.Expand = false; - w21.Fill = false; - this.hbox72.Add(this.vbox28); - global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox72[this.vbox28])); - w22.Position = 1; - w22.Expand = false; - w22.Fill = false; - // Container child hbox72.Gtk.Box+BoxChild - this.vbox27 = new global::Gtk.VBox(); - this.vbox27.Name = "vbox27"; - this.vbox27.Spacing = 6; - // Container child vbox27.Gtk.Box+BoxChild - this.chkEffectiveDate = new global::Gtk.CheckButton(); - this.chkEffectiveDate.CanFocus = true; - this.chkEffectiveDate.Name = "chkEffectiveDate"; - this.chkEffectiveDate.Label = global::Mono.Unix.Catalog.GetString("Effective date"); - this.chkEffectiveDate.DrawIndicator = true; - this.chkEffectiveDate.UseUnderline = true; - this.vbox27.Add(this.chkEffectiveDate); - global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox27[this.chkEffectiveDate])); - w23.Position = 0; - w23.Expand = false; - w23.Fill = false; - // Container child vbox27.Gtk.Box+BoxChild - this.cldEffectiveDate = new global::Gtk.Calendar(); - this.cldEffectiveDate.Sensitive = false; - this.cldEffectiveDate.CanFocus = true; - this.cldEffectiveDate.Name = "cldEffectiveDate"; - this.cldEffectiveDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); - this.vbox27.Add(this.cldEffectiveDate); - global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox27[this.cldEffectiveDate])); - w24.Position = 1; - w24.Expand = false; - w24.Fill = false; - this.hbox72.Add(this.vbox27); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox72[this.vbox27])); - w25.Position = 2; - w25.Expand = false; - w25.Fill = false; - // Container child hbox72.Gtk.Box+BoxChild - this.vbox26 = new global::Gtk.VBox(); - this.vbox26.Name = "vbox26"; - this.vbox26.Spacing = 6; - // Container child vbox26.Gtk.Box+BoxChild - this.chkExpirationDate = new global::Gtk.CheckButton(); - this.chkExpirationDate.CanFocus = true; - this.chkExpirationDate.Name = "chkExpirationDate"; - this.chkExpirationDate.Label = global::Mono.Unix.Catalog.GetString("Expiration date"); - this.chkExpirationDate.DrawIndicator = true; - this.chkExpirationDate.UseUnderline = true; - this.vbox26.Add(this.chkExpirationDate); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox26[this.chkExpirationDate])); - w26.Position = 0; - w26.Expand = false; - w26.Fill = false; - // Container child vbox26.Gtk.Box+BoxChild - this.cldExpirationDate = new global::Gtk.Calendar(); - this.cldExpirationDate.Sensitive = false; - this.cldExpirationDate.CanFocus = true; - this.cldExpirationDate.Name = "cldExpirationDate"; - this.cldExpirationDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); - this.vbox26.Add(this.cldExpirationDate); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox26[this.cldExpirationDate])); - w27.Position = 1; - w27.Expand = false; - w27.Fill = false; - this.hbox72.Add(this.vbox26); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox72[this.vbox26])); - w28.Position = 3; - w28.Expand = false; - w28.Fill = false; - this.vbox24.Add(this.hbox72); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.hbox72])); - w29.Position = 3; - w29.Expand = false; - w29.Fill = false; - // Container child vbox24.Gtk.Box+BoxChild - this.hpaned3 = new global::Gtk.HPaned(); - this.hpaned3.CanFocus = true; - this.hpaned3.Name = "hpaned3"; - this.hpaned3.Position = 220; - // Container child hpaned3.Gtk.Paned+PanedChild - this.vbox29 = new global::Gtk.VBox(); - this.vbox29.Name = "vbox29"; - this.vbox29.Spacing = 6; - // Container child vbox29.Gtk.Box+BoxChild - this.chkBackupDate = new global::Gtk.CheckButton(); - this.chkBackupDate.CanFocus = true; - this.chkBackupDate.Name = "chkBackupDate"; - this.chkBackupDate.Label = global::Mono.Unix.Catalog.GetString("Last backup date"); - this.chkBackupDate.DrawIndicator = true; - this.chkBackupDate.UseUnderline = true; - this.vbox29.Add(this.chkBackupDate); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox29[this.chkBackupDate])); - w30.Position = 0; - w30.Expand = false; - w30.Fill = false; - // Container child vbox29.Gtk.Box+BoxChild - this.cldBackupDate = new global::Gtk.Calendar(); - this.cldBackupDate.Sensitive = false; - this.cldBackupDate.CanFocus = true; - this.cldBackupDate.Name = "cldBackupDate"; - this.cldBackupDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); - this.vbox29.Add(this.cldBackupDate); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox29[this.cldBackupDate])); - w31.Position = 1; - w31.Expand = false; - w31.Fill = false; - this.hpaned3.Add(this.vbox29); - global::Gtk.Paned.PanedChild w32 = ((global::Gtk.Paned.PanedChild)(this.hpaned3[this.vbox29])); - w32.Resize = false; - // Container child hpaned3.Gtk.Paned+PanedChild - this.vbox31 = new global::Gtk.VBox(); - this.vbox31.Name = "vbox31"; - this.vbox31.Spacing = 6; - // Container child vbox31.Gtk.Box+BoxChild - this.hbox85 = new global::Gtk.HBox(); - this.hbox85.Name = "hbox85"; - this.hbox85.Spacing = 6; - // Container child hbox85.Gtk.Box+BoxChild - this.lblLabel = new global::Gtk.Label(); - this.lblLabel.Name = "lblLabel"; - this.lblLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Volume label"); - this.hbox85.Add(this.lblLabel); - global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox85[this.lblLabel])); - w33.Position = 0; - w33.Expand = false; - w33.Fill = false; - // Container child hbox85.Gtk.Box+BoxChild - this.txtLabel = new global::Gtk.Entry(); - this.txtLabel.CanFocus = true; - this.txtLabel.Name = "txtLabel"; - this.txtLabel.IsEditable = true; - this.txtLabel.InvisibleChar = '●'; - this.hbox85.Add(this.txtLabel); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox85[this.txtLabel])); - w34.Position = 1; - this.vbox31.Add(this.hbox85); - global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox31[this.hbox85])); - w35.Position = 0; - w35.Expand = false; - w35.Fill = false; - // Container child vbox31.Gtk.Box+BoxChild - this.hbox84 = new global::Gtk.HBox(); - this.hbox84.Name = "hbox84"; - this.hbox84.Spacing = 6; - // Container child hbox84.Gtk.Box+BoxChild - this.lblSerial = new global::Gtk.Label(); - this.lblSerial.Name = "lblSerial"; - this.lblSerial.LabelProp = global::Mono.Unix.Catalog.GetString("Volume serial"); - this.hbox84.Add(this.lblSerial); - global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox84[this.lblSerial])); - w36.Position = 0; - w36.Expand = false; - w36.Fill = false; - // Container child hbox84.Gtk.Box+BoxChild - this.txtSerial = new global::Gtk.Entry(); - this.txtSerial.CanFocus = true; - this.txtSerial.Name = "txtSerial"; - this.txtSerial.IsEditable = true; - this.txtSerial.InvisibleChar = '●'; - this.hbox84.Add(this.txtSerial); - global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox84[this.txtSerial])); - w37.Position = 1; - this.vbox31.Add(this.hbox84); - global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox31[this.hbox84])); - w38.Position = 1; - w38.Expand = false; - w38.Fill = false; - // Container child vbox31.Gtk.Box+BoxChild - this.frame27 = new global::Gtk.Frame(); - this.frame27.Name = "frame27"; - this.frame27.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frame27.Gtk.Container+ContainerChild - this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment2.Name = "GtkAlignment2"; - this.GtkAlignment2.LeftPadding = ((uint)(12)); - // Container child GtkAlignment2.Gtk.Container+ContainerChild - this.vbox32 = new global::Gtk.VBox(); - this.vbox32.Name = "vbox32"; - this.vbox32.Spacing = 6; - // Container child vbox32.Gtk.Box+BoxChild - this.hbox87 = new global::Gtk.HBox(); - this.hbox87.Name = "hbox87"; - this.hbox87.Spacing = 6; - // Container child hbox87.Gtk.Box+BoxChild - this.lblSysId = new global::Gtk.Label(); - this.lblSysId.Name = "lblSysId"; - this.lblSysId.LabelProp = global::Mono.Unix.Catalog.GetString("System identifier"); - this.hbox87.Add(this.lblSysId); - global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox87[this.lblSysId])); - w39.Position = 0; - w39.Expand = false; - w39.Fill = false; - // Container child hbox87.Gtk.Box+BoxChild - this.txtSysId = new global::Gtk.Entry(); - this.txtSysId.CanFocus = true; - this.txtSysId.Name = "txtSysId"; - this.txtSysId.IsEditable = true; - this.txtSysId.InvisibleChar = '●'; - this.hbox87.Add(this.txtSysId); - global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox87[this.txtSysId])); - w40.Position = 1; - this.vbox32.Add(this.hbox87); - global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox32[this.hbox87])); - w41.Position = 0; - w41.Expand = false; - w41.Fill = false; - // Container child vbox32.Gtk.Box+BoxChild - this.hbox88 = new global::Gtk.HBox(); - this.hbox88.Name = "hbox88"; - this.hbox88.Spacing = 6; - // Container child hbox88.Gtk.Box+BoxChild - this.lblVolId = new global::Gtk.Label(); - this.lblVolId.Name = "lblVolId"; - this.lblVolId.LabelProp = global::Mono.Unix.Catalog.GetString("Volume identifier"); - this.hbox88.Add(this.lblVolId); - global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox88[this.lblVolId])); - w42.Position = 0; - w42.Expand = false; - w42.Fill = false; - // Container child hbox88.Gtk.Box+BoxChild - this.txtVolId = new global::Gtk.Entry(); - this.txtVolId.CanFocus = true; - this.txtVolId.Name = "txtVolId"; - this.txtVolId.IsEditable = true; - this.txtVolId.InvisibleChar = '●'; - this.hbox88.Add(this.txtVolId); - global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox88[this.txtVolId])); - w43.Position = 1; - this.vbox32.Add(this.hbox88); - global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox32[this.hbox88])); - w44.Position = 1; - w44.Expand = false; - w44.Fill = false; - // Container child vbox32.Gtk.Box+BoxChild - this.hbox89 = new global::Gtk.HBox(); - this.hbox89.Name = "hbox89"; - this.hbox89.Spacing = 6; - // Container child hbox89.Gtk.Box+BoxChild - this.lblPubId = new global::Gtk.Label(); - this.lblPubId.Name = "lblPubId"; - this.lblPubId.LabelProp = global::Mono.Unix.Catalog.GetString("Publisher identifier"); - this.hbox89.Add(this.lblPubId); - global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox89[this.lblPubId])); - w45.Position = 0; - w45.Expand = false; - w45.Fill = false; - // Container child hbox89.Gtk.Box+BoxChild - this.txtPubId = new global::Gtk.Entry(); - this.txtPubId.CanFocus = true; - this.txtPubId.Name = "txtPubId"; - this.txtPubId.IsEditable = true; - this.txtPubId.InvisibleChar = '●'; - this.hbox89.Add(this.txtPubId); - global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox89[this.txtPubId])); - w46.Position = 1; - this.vbox32.Add(this.hbox89); - global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox32[this.hbox89])); - w47.Position = 2; - w47.Expand = false; - w47.Fill = false; - // Container child vbox32.Gtk.Box+BoxChild - this.hbox90 = new global::Gtk.HBox(); - this.hbox90.Name = "hbox90"; - this.hbox90.Spacing = 6; - // Container child hbox90.Gtk.Box+BoxChild - this.lblDataId = new global::Gtk.Label(); - this.lblDataId.Name = "lblDataId"; - this.lblDataId.LabelProp = global::Mono.Unix.Catalog.GetString("Data preparer identifier"); - this.hbox90.Add(this.lblDataId); - global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox90[this.lblDataId])); - w48.Position = 0; - w48.Expand = false; - w48.Fill = false; - // Container child hbox90.Gtk.Box+BoxChild - this.txtDataId = new global::Gtk.Entry(); - this.txtDataId.CanFocus = true; - this.txtDataId.Name = "txtDataId"; - this.txtDataId.IsEditable = true; - this.txtDataId.InvisibleChar = '●'; - this.hbox90.Add(this.txtDataId); - global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox90[this.txtDataId])); - w49.Position = 1; - this.vbox32.Add(this.hbox90); - global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox32[this.hbox90])); - w50.Position = 3; - w50.Expand = false; - w50.Fill = false; - // Container child vbox32.Gtk.Box+BoxChild - this.hbox91 = new global::Gtk.HBox(); - this.hbox91.Name = "hbox91"; - this.hbox91.Spacing = 6; - // Container child hbox91.Gtk.Box+BoxChild - this.lblAppId = new global::Gtk.Label(); - this.lblAppId.Name = "lblAppId"; - this.lblAppId.LabelProp = global::Mono.Unix.Catalog.GetString("Application identifier"); - this.hbox91.Add(this.lblAppId); - global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox91[this.lblAppId])); - w51.Position = 0; - w51.Expand = false; - w51.Fill = false; - // Container child hbox91.Gtk.Box+BoxChild - this.txtAppId = new global::Gtk.Entry(); - this.txtAppId.CanFocus = true; - this.txtAppId.Name = "txtAppId"; - this.txtAppId.IsEditable = true; - this.txtAppId.InvisibleChar = '●'; - this.hbox91.Add(this.txtAppId); - global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox91[this.txtAppId])); - w52.Position = 1; - this.vbox32.Add(this.hbox91); - global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox32[this.hbox91])); - w53.Position = 4; - w53.Expand = false; - w53.Fill = false; - this.GtkAlignment2.Add(this.vbox32); - this.frame27.Add(this.GtkAlignment2); - this.GtkLabel9 = new global::Gtk.Label(); - this.GtkLabel9.Name = "GtkLabel9"; - this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString("ISO9660 information"); - this.GtkLabel9.UseMarkup = true; - this.frame27.LabelWidget = this.GtkLabel9; - this.vbox31.Add(this.frame27); - global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox31[this.frame27])); - w56.Position = 2; - w56.Expand = false; - w56.Fill = false; - this.hpaned3.Add(this.vbox31); - this.vbox24.Add(this.hpaned3); - global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.hpaned3])); - w58.Position = 4; - w58.Expand = false; - w58.Fill = false; - w1.Add(this.vbox24); - global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(w1[this.vbox24])); - w59.Position = 0; - w59.Expand = false; - w59.Fill = false; - // Container child dialog1_VBox.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox(); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.btnSave = new global::Gtk.Button(); - this.btnSave.CanFocus = true; - this.btnSave.Name = "btnSave"; - this.btnSave.UseStock = true; - this.btnSave.UseUnderline = true; - this.btnSave.Label = "gtk-save"; - this.hbox2.Add(this.btnSave); - global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.btnSave])); - w60.PackType = ((global::Gtk.PackType)(1)); - w60.Position = 0; - w60.Expand = false; - w60.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.btnCancel = new global::Gtk.Button(); - this.btnCancel.CanFocus = true; - this.btnCancel.Name = "btnCancel"; - this.btnCancel.UseStock = true; - this.btnCancel.UseUnderline = true; - this.btnCancel.Label = "gtk-cancel"; - this.hbox2.Add(this.btnCancel); - global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.btnCancel])); - w61.PackType = ((global::Gtk.PackType)(1)); - w61.Position = 1; - w61.Expand = false; - w61.Fill = false; - w1.Add(this.hbox2); - global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2])); - w62.PackType = ((global::Gtk.PackType)(1)); - w62.Position = 2; - w62.Expand = false; - w62.Fill = false; - // Internal child osrepodbmgr.dlgFilesystem.ActionArea - global::Gtk.HButtonBox w63 = this.ActionArea; - w63.Name = "dialog1_ActionArea"; - w63.Spacing = 10; - w63.BorderWidth = ((uint)(5)); - w63.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonCancel = new global::Gtk.Button(); - this.buttonCancel.CanDefault = true; - this.buttonCancel.CanFocus = true; - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.UseStock = true; - this.buttonCancel.UseUnderline = true; - this.buttonCancel.Label = "gtk-cancel"; - this.AddActionWidget(this.buttonCancel, -6); - global::Gtk.ButtonBox.ButtonBoxChild w64 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w63[this.buttonCancel])); - w64.Expand = false; - w64.Fill = false; - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonOk = new global::Gtk.Button(); - this.buttonOk.CanDefault = true; - this.buttonOk.CanFocus = true; - this.buttonOk.Name = "buttonOk"; - this.buttonOk.UseStock = true; - this.buttonOk.UseUnderline = true; - this.buttonOk.Label = "gtk-ok"; - this.AddActionWidget(this.buttonOk, -5); - global::Gtk.ButtonBox.ButtonBoxChild w65 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w63[this.buttonOk])); - w65.Position = 1; - w65.Expand = false; - w65.Fill = false; - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 902; - this.DefaultHeight = 594; - w63.Hide(); - this.Show(); - this.chkCreationDate.Toggled += new global::System.EventHandler(this.OnChkCreationDateToggled); - this.chkModificationDate.Toggled += new global::System.EventHandler(this.OnChkModificationDateToggled); - this.chkEffectiveDate.Toggled += new global::System.EventHandler(this.OnChkEffectiveDateToggled); - this.chkExpirationDate.Toggled += new global::System.EventHandler(this.OnChkExpirationDateToggled); - this.chkBackupDate.Toggled += new global::System.EventHandler(this.OnChkBackupDateToggled); - this.btnCancel.Clicked += new global::System.EventHandler(this.OnBtnCancelClicked); - this.btnSave.Clicked += new global::System.EventHandler(this.OnBtnSaveClicked); - this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); - } - } -} diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgHelp.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.dlgHelp.cs deleted file mode 100644 index 5c47522..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgHelp.cs +++ /dev/null @@ -1,77 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace osrepodbmgr -{ - public partial class dlgHelp - { - private global::Gtk.ScrolledWindow GtkScrolledWindow; - - private global::Gtk.TextView txtHelp; - - private global::Gtk.Button btnOK; - - private global::Gtk.Button btnDialog; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget osrepodbmgr.dlgHelp - this.Name = "osrepodbmgr.dlgHelp"; - this.Title = global::Mono.Unix.Catalog.GetString("Help"); - this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Internal child osrepodbmgr.dlgHelp.VBox - global::Gtk.VBox w1 = this.VBox; - w1.Name = "vbox4"; - w1.Spacing = 6; - // Container child vbox4.Gtk.Box+BoxChild - this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow.Name = "GtkScrolledWindow"; - this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.txtHelp = new global::Gtk.TextView(); - this.txtHelp.Buffer.Text = "This is the naming scheme and folder organization conventions for the Operating System Repository.\n\nThe basic layout is as follows:\n\n/////oem/for /<[format]_update/upgrade/files/source/netinstall/description>.zip\nAll fields should contain only 7-bit ASCII.\n\n\n-----------\nThis is the main developer of the operating system or associated software. e.g. Microsoft\n\n\n---------\nThis is the name of the operating system or associated software. e.g. Windows NT\n\n\n---------\nThis is the version of the operating system or associated software. e.g. 6.00.6000.16386\nService pack and release markers should be appended. e.g. 6.10.7601.16385 (RTM)\nBuild can be specified by appending \"build\". e.g. 10.2.7 build 6S80\nAnd combined. e.g. 10.5 build 9A581 (Server)\nVersion with same version number but different build date should have it appended. Date format should be YYYYmm[dd]. e.g. 10 201009\n\n\n----------\nThis specifies the language localization and translation:\nxxx: Language variation, e.g. German = deu\nxxx_yy: Country specific language variation. e.g. Swiss German = deu_ch\nmulti: The only known variation of the product that contains more than a language\nxxx,xxx,xxx and xxx_yy,xxx_yy,xxx_yy: The variation contains more than a single language\nWhere xxx is the ISO-639-2/T language code and yy is the ISO-3166-1 alpha-2 country code.\nhttps://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\nhttps://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\nIf the product has ever been only released in one language variation, being it English (like CP/M) or multilanguage (like Mac OS X and Linux), this field should be omitted.\n\n\n--------------\nThe processor architecture the product is compiled for.\nOmitted if it has only ever been compiled for a single one, contains all supported ones in same files, or it is source code containing support for several of them.\nExact one depends on the product (that is, the one that the product uses to identify itself, should be used). Examples:\n* x86, i86, i386, i486, i586, i686, ia32: Intel Architecture 32 aka 8086 aka iAPX86\n* x64, amd64, x86_64: AMD64 aka x86_64 aka EM64T\n* ia64: Intel Architecture 64 aka Itanium\n* sparc: SPARC\n* sun4u, sun4m, sun1, sun2, sun3: Specific Sun architectures that specify not only the processor architecture but the whole system one.\n* 68k, ppc, fat: For products that run under Mac OS indicate they require a Macintosh, a Power Macintosh, or can run on both, respectively.\n* rpi, rpi2, beaglebone, bananapi: Specific whole systems that share a processor architecture but require a completely different variant.\n\noem\n---\nPresent if the variant is OEM. Omitted otherwise.\n\nfor \n-------------\nPresent if the variant requires a specific computer to run.\nUseful for computer restoration variants.\ne.g. for Power Mac 5200\ne.g. for Tandy 1000\n\n<[format]/update/upgrade/files/source/netinstall/description>.zip\n-----------------------------------------------------------------\nThis is the file containing the product itself.\nIt should be compressed using ZIP with certain parameters (see below).\nSeveral of them can be combined separated with underscores.\nNaming as following:\n* [format]: If the variation is encoded in a disk image format that's neither a simple dump of sectors (.iso/.dsk/.xdf) or a BinCue/BinToc (.bin+.cue/.bin+.toc) format should be substituted to a descriptive name for the format. e.g.: [Nero], [CloneCD]\n* update: Should be used when the product requires and updates a previous point release or build to the new one. Product version should be the updated, not the required, one. e.g.: 1.3 updates to 1.3.1 or 2.0 updates to 2.5\n* upgrade: Should be used when the product requires and updates a previous version to the new one. Product version should be the updated, not the required, one. e.g.: 2.0 updates to 3.0 or MS-DOS updates to Windows 95.\n* files: Should be used when the contents of the product disks are dumped as is (copied from the media) or it contains already installed files.\n* source: Should be used when it contains the source code for the product.\n* netinstall: Similar to files except that the files are designed to be put in a network share for remote installation of the product.\n* description: Free form description or product part number if it is known.\n\nCompression\n-----------\nThe product should be compressed using ZIP with Deflate algorithm and UTF-8 headers. Zip64 extensions may be used. UNIX extensions MUST be used for products that require them (e.g. it contains softlinks).\nIn the doubt, use Info-ZIP with following parameters:\nzip -9ry -dd archive.zip .\nIf the product requires Acorn, BeOS or OS/2 extended attributes it should be compressed using the corresponding Info-ZIP version under that operating system so the required extension is used.\nDO NOT recompress archives in an operating system which zip product doesn't support all already present headers.\nDO NOT use TorrentZip. It discards all headers as well as date stamps.\nDO NOT use Mac OS headers. For conserving FinderInfo and Resource Fork see below.\n\nFinderInfo and Resource Fork\n----------------------------\nFinderInfo and Resource Fork should be stored as Mac OS X AppleDouble format: file and ._file\nThis format is understand by all Mac OS X versions under any filesystem or a CIFS/SMB network share.\nAlso mkisofs recognizes it and is able to create an HFS partition with them correctly set.\nOther formats should be converted to this one.\n\nMetadata\n--------\nEach archive should be accompanied with a JSON metadata file using the CICM Metadata format. Name for metadata sidecar should be same as the archive changing the extension to .json.\nIf the archive can be modified (doesn't contain ZIP headers you would lose) the metadata should be put inside the archive as a file named metadata.json.\n\nRecovery\n--------\nDisks fail, bit rot happens, so every archive as well as the metadata file should have a PAR2 recovery set created.\nExample command line (with 5% redundancy):\npar2 c -r5 archive.par2 archive.zip archive.json\n\nResult\n------\nIn the end you get something like this:\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.json\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol000+01.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol001+02.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol003+04.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol007+08.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol015+16.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol031+32.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.vol063+37.par2\nApple/Mac OS/9.1/eng/for iMac (Early 2001) v1.1/archive.zip\nQNX/QNX/20090229/source.json\nQNX/QNX/20090229/source.par2\nQNX/QNX/20090229/source.vol000+01.par2\nQNX/QNX/20090229/source.vol001+02.par2\nQNX/QNX/20090229/source.vol003+04.par2\nQNX/QNX/20090229/source.vol007+08.par2\nQNX/QNX/20090229/source.vol015+16.par2\nQNX/QNX/20090229/source.vol031+32.par2\nQNX/QNX/20090229/source.vol063+37.par2\nQNX/QNX/20090229/source.zip"; - this.txtHelp.CanFocus = true; - this.txtHelp.Name = "txtHelp"; - this.txtHelp.Editable = false; - this.GtkScrolledWindow.Add(this.txtHelp); - w1.Add(this.GtkScrolledWindow); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.GtkScrolledWindow])); - w3.Position = 0; - // Container child vbox4.Gtk.Box+BoxChild - this.btnOK = new global::Gtk.Button(); - this.btnOK.CanFocus = true; - this.btnOK.Name = "btnOK"; - this.btnOK.UseStock = true; - this.btnOK.UseUnderline = true; - this.btnOK.Label = "gtk-ok"; - w1.Add(this.btnOK); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.btnOK])); - w4.Position = 1; - w4.Expand = false; - w4.Fill = false; - // Internal child osrepodbmgr.dlgHelp.ActionArea - global::Gtk.HButtonBox w5 = this.ActionArea; - w5.Name = "__gtksharp_108_Stetic_TopLevelDialog_ActionArea"; - // Container child __gtksharp_108_Stetic_TopLevelDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.btnDialog = new global::Gtk.Button(); - this.btnDialog.CanFocus = true; - this.btnDialog.Name = "btnDialog"; - this.btnDialog.UseUnderline = true; - this.btnDialog.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); - this.AddActionWidget(this.btnDialog, 0); - global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5[this.btnDialog])); - w6.Expand = false; - w6.Fill = false; - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 400; - this.DefaultHeight = 300; - w5.Hide(); - this.Show(); - this.btnOK.Clicked += new global::System.EventHandler(this.OnBtnOKClicked); - } - } -} diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgMetadata.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.dlgMetadata.cs deleted file mode 100644 index 51731c0..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgMetadata.cs +++ /dev/null @@ -1,1736 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace osrepodbmgr -{ - public partial class dlgMetadata - { - private global::Gtk.Notebook notebook3; - - private global::Gtk.VBox vbox3; - - private global::Gtk.HBox hbox1; - - private global::Gtk.Label lblDeveloper; - - private global::Gtk.Entry txtDeveloper; - - private global::Gtk.HBox hbox2; - - private global::Gtk.Label lblPublisher; - - private global::Gtk.Entry txtPublisher; - - private global::Gtk.HBox hbox3; - - private global::Gtk.Label lblAuthor; - - private global::Gtk.Entry txtAuthor; - - private global::Gtk.HBox hbox4; - - private global::Gtk.Label lblPerformer; - - private global::Gtk.Entry txtPerformer; - - private global::Gtk.HBox hbox5; - - private global::Gtk.Label lblName; - - private global::Gtk.Entry txtName; - - private global::Gtk.HBox hbox6; - - private global::Gtk.Label lblVersion; - - private global::Gtk.Entry txtVersion; - - private global::Gtk.HBox hbox7; - - private global::Gtk.Label lblReleaseType; - - private global::Gtk.ComboBox cmbReleaseType; - - private global::Gtk.CheckButton chkBoxUnknownReleaseType; - - private global::Gtk.HBox hbox8; - - private global::Gtk.VBox vbox13; - - private global::Gtk.Label lblReleaseDate; - - private global::Gtk.CheckButton chkReleaseDate; - - private global::Gtk.Calendar cldReleaseDate; - - private global::Gtk.HBox hbox9; - - private global::Gtk.Label lblPartNumber; - - private global::Gtk.Entry txtPartNumber; - - private global::Gtk.HBox hbox12; - - private global::Gtk.Label lblSerialNumber; - - private global::Gtk.Entry txtSerialNumber; - - private global::Gtk.Label label3; - - private global::Gtk.VBox vbox4; - - private global::Gtk.HBox hbox10; - - private global::Gtk.Label lblNewKeyword; - - private global::Gtk.Entry txtNewKeyword; - - private global::Gtk.Button txtAddKeyword; - - private global::Gtk.ScrolledWindow GtkScrolledWindow; - - private global::Gtk.TreeView treeKeywords; - - private global::Gtk.HBox hbox11; - - private global::Gtk.Button btnRemoveKeyword; - - private global::Gtk.Button btnClearKeywords; - - private global::Gtk.Label label9; - - private global::Gtk.VBox vbox5; - - private global::Gtk.HBox hbox14; - - private global::Gtk.Label lblNewBarcode; - - private global::Gtk.Entry txtNewBarcode; - - private global::Gtk.Label label24; - - private global::Gtk.ComboBox cmbBarcodes; - - private global::Gtk.Button btnAddBarcode; - - private global::Gtk.ScrolledWindow GtkScrolledWindow1; - - private global::Gtk.TreeView treeBarcodes; - - private global::Gtk.HBox hbox13; - - private global::Gtk.Button btnRemoveBarcode; - - private global::Gtk.Button btnClearBarcodes; - - private global::Gtk.Label label15; - - private global::Gtk.HBox hbox15; - - private global::Gtk.VBox vbox7; - - private global::Gtk.Label lblCategories; - - private global::Gtk.HBox hbox16; - - private global::Gtk.Label lblNewCategory; - - private global::Gtk.Entry txtNewCategory; - - private global::Gtk.Button btnAddCategory; - - private global::Gtk.ScrolledWindow GtkScrolledWindow3; - - private global::Gtk.TreeView treeCategories; - - private global::Gtk.HBox hbox19; - - private global::Gtk.Button btnRemoveCategory; - - private global::Gtk.Button btnClearCategories; - - private global::Gtk.VBox vbox6; - - private global::Gtk.Label lblSubcategories; - - private global::Gtk.HBox hbox17; - - private global::Gtk.Label lblNewSubcategory; - - private global::Gtk.Entry txtNewSubcategory; - - private global::Gtk.Button btnAddSubcategory; - - private global::Gtk.ScrolledWindow GtkScrolledWindow2; - - private global::Gtk.TreeView treeSubcategories; - - private global::Gtk.HBox hbox18; - - private global::Gtk.Button btnRemoveSubcategory; - - private global::Gtk.Button btnClearSubcategories; - - private global::Gtk.Label label18; - - private global::Gtk.VBox vbox8; - - private global::Gtk.HBox hbox21; - - private global::Gtk.Label lblNewLanguage; - - private global::Gtk.ComboBox cmbLanguages; - - private global::Gtk.Button btnAddLanguages; - - private global::Gtk.ScrolledWindow GtkScrolledWindow4; - - private global::Gtk.TreeView treeLanguages; - - private global::Gtk.HBox hbox20; - - private global::Gtk.Button btnRemoveLanguage; - - private global::Gtk.Button btnClearLanguages; - - private global::Gtk.Label label19; - - private global::Gtk.VBox vbox9; - - private global::Gtk.HBox hbox23; - - private global::Gtk.Label lblNewSystem; - - private global::Gtk.Entry txtNewSystem; - - private global::Gtk.Button btnAddSystem; - - private global::Gtk.ScrolledWindow GtkScrolledWindow7; - - private global::Gtk.TreeView treeSystems; - - private global::Gtk.HBox hbox22; - - private global::Gtk.Button btnRemoveSystems; - - private global::Gtk.Button btnClearSystems; - - private global::Gtk.Label label20; - - private global::Gtk.VBox vbox10; - - private global::Gtk.HBox hbox25; - - private global::Gtk.Label lblNewArchitecture; - - private global::Gtk.ComboBox cmbArchitectures; - - private global::Gtk.Button btnAddArchitecture; - - private global::Gtk.ScrolledWindow GtkScrolledWindow5; - - private global::Gtk.TreeView treeArchitectures; - - private global::Gtk.HBox hbox24; - - private global::Gtk.Button btnRemoveArchitecture; - - private global::Gtk.Button btnClearArchitectures; - - private global::Gtk.Label label21; - - private global::Gtk.VBox vbox11; - - private global::Gtk.HBox hbox27; - - private global::Gtk.Label lblNewDisc; - - private global::Gtk.ComboBox cmbFilesForNewDisc; - - private global::Gtk.Button btnAddDisc; - - private global::Gtk.ScrolledWindow GtkScrolledWindow6; - - private global::Gtk.TreeView treeDiscs; - - private global::Gtk.HBox hbox26; - - private global::Gtk.Button btnRemoveDiscs; - - private global::Gtk.Button btnClearDiscs; - - private global::Gtk.Button btnEditDisc; - - private global::Gtk.Button btnStopAddDisc; - - private global::Gtk.ProgressBar prgAddDisc1; - - private global::Gtk.ProgressBar prgAddDisc2; - - private global::Gtk.Label label22; - - private global::Gtk.VBox vbox12; - - private global::Gtk.HBox hbox29; - - private global::Gtk.Label lblNewDisk; - - private global::Gtk.ComboBox cmbFilesForNewDisk; - - private global::Gtk.Button btnAddDisk; - - private global::Gtk.ScrolledWindow GtkScrolledWindow8; - - private global::Gtk.TreeView treeDisks; - - private global::Gtk.HBox hbox28; - - private global::Gtk.Button btnRemoveDisk; - - private global::Gtk.Button btnClearDisks; - - private global::Gtk.Button btnEditDisk; - - private global::Gtk.Button btnStopAddDisk; - - private global::Gtk.ProgressBar prgAddDisk1; - - private global::Gtk.ProgressBar prgAddDisk2; - - private global::Gtk.Label label32; - - private global::Gtk.Button buttonCancel; - - private global::Gtk.Button buttonOk; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget osrepodbmgr.dlgMetadata - this.Name = "osrepodbmgr.dlgMetadata"; - this.Title = global::Mono.Unix.Catalog.GetString("Editing metadata..."); - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Internal child osrepodbmgr.dlgMetadata.VBox - global::Gtk.VBox w1 = this.VBox; - w1.Name = "dialog1_VBox"; - w1.BorderWidth = ((uint)(2)); - // Container child dialog1_VBox.Gtk.Box+BoxChild - this.notebook3 = new global::Gtk.Notebook(); - this.notebook3.CanFocus = true; - this.notebook3.Name = "notebook3"; - this.notebook3.CurrentPage = 0; - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox3 = new global::Gtk.VBox(); - this.vbox3.Name = "vbox3"; - this.vbox3.Spacing = 6; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox(); - this.hbox1.Name = "hbox1"; - this.hbox1.Spacing = 6; - // Container child hbox1.Gtk.Box+BoxChild - this.lblDeveloper = new global::Gtk.Label(); - this.lblDeveloper.Name = "lblDeveloper"; - this.lblDeveloper.LabelProp = global::Mono.Unix.Catalog.GetString("Developer"); - this.hbox1.Add(this.lblDeveloper); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblDeveloper])); - w2.Position = 0; - w2.Expand = false; - w2.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.txtDeveloper = new global::Gtk.Entry(); - this.txtDeveloper.CanFocus = true; - this.txtDeveloper.Name = "txtDeveloper"; - this.txtDeveloper.IsEditable = true; - this.txtDeveloper.InvisibleChar = '●'; - this.hbox1.Add(this.txtDeveloper); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtDeveloper])); - w3.Position = 1; - this.vbox3.Add(this.hbox1); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); - w4.Position = 0; - w4.Expand = false; - w4.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox(); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.lblPublisher = new global::Gtk.Label(); - this.lblPublisher.Name = "lblPublisher"; - this.lblPublisher.LabelProp = global::Mono.Unix.Catalog.GetString("Publisher"); - this.hbox2.Add(this.lblPublisher); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblPublisher])); - w5.Position = 0; - w5.Expand = false; - w5.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.txtPublisher = new global::Gtk.Entry(); - this.txtPublisher.CanFocus = true; - this.txtPublisher.Name = "txtPublisher"; - this.txtPublisher.IsEditable = true; - this.txtPublisher.InvisibleChar = '●'; - this.hbox2.Add(this.txtPublisher); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtPublisher])); - w6.Position = 1; - this.vbox3.Add(this.hbox2); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); - w7.Position = 1; - w7.Expand = false; - w7.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox3 = new global::Gtk.HBox(); - this.hbox3.Name = "hbox3"; - this.hbox3.Spacing = 6; - // Container child hbox3.Gtk.Box+BoxChild - this.lblAuthor = new global::Gtk.Label(); - this.lblAuthor.Name = "lblAuthor"; - this.lblAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Author"); - this.hbox3.Add(this.lblAuthor); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lblAuthor])); - w8.Position = 0; - w8.Expand = false; - w8.Fill = false; - // Container child hbox3.Gtk.Box+BoxChild - this.txtAuthor = new global::Gtk.Entry(); - this.txtAuthor.CanFocus = true; - this.txtAuthor.Name = "txtAuthor"; - this.txtAuthor.IsEditable = true; - this.txtAuthor.InvisibleChar = '●'; - this.hbox3.Add(this.txtAuthor); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtAuthor])); - w9.Position = 1; - this.vbox3.Add(this.hbox3); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); - w10.Position = 2; - w10.Expand = false; - w10.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox4 = new global::Gtk.HBox(); - this.hbox4.Name = "hbox4"; - this.hbox4.Spacing = 6; - // Container child hbox4.Gtk.Box+BoxChild - this.lblPerformer = new global::Gtk.Label(); - this.lblPerformer.Name = "lblPerformer"; - this.lblPerformer.LabelProp = global::Mono.Unix.Catalog.GetString("Performer"); - this.hbox4.Add(this.lblPerformer); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lblPerformer])); - w11.Position = 0; - w11.Expand = false; - w11.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.txtPerformer = new global::Gtk.Entry(); - this.txtPerformer.CanFocus = true; - this.txtPerformer.Name = "txtPerformer"; - this.txtPerformer.IsEditable = true; - this.txtPerformer.InvisibleChar = '●'; - this.hbox4.Add(this.txtPerformer); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtPerformer])); - w12.Position = 1; - this.vbox3.Add(this.hbox4); - global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); - w13.Position = 3; - w13.Expand = false; - w13.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox5 = new global::Gtk.HBox(); - this.hbox5.Name = "hbox5"; - this.hbox5.Spacing = 6; - // Container child hbox5.Gtk.Box+BoxChild - this.lblName = new global::Gtk.Label(); - this.lblName.Name = "lblName"; - this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); - this.hbox5.Add(this.lblName); - global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.lblName])); - w14.Position = 0; - w14.Expand = false; - w14.Fill = false; - // Container child hbox5.Gtk.Box+BoxChild - this.txtName = new global::Gtk.Entry(); - this.txtName.CanFocus = true; - this.txtName.Name = "txtName"; - this.txtName.IsEditable = true; - this.txtName.InvisibleChar = '●'; - this.hbox5.Add(this.txtName); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.txtName])); - w15.Position = 1; - this.vbox3.Add(this.hbox5); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5])); - w16.Position = 4; - w16.Expand = false; - w16.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox6 = new global::Gtk.HBox(); - this.hbox6.Name = "hbox6"; - this.hbox6.Spacing = 6; - // Container child hbox6.Gtk.Box+BoxChild - this.lblVersion = new global::Gtk.Label(); - this.lblVersion.Name = "lblVersion"; - this.lblVersion.LabelProp = global::Mono.Unix.Catalog.GetString("Version"); - this.hbox6.Add(this.lblVersion); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.lblVersion])); - w17.Position = 0; - w17.Expand = false; - w17.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.txtVersion = new global::Gtk.Entry(); - this.txtVersion.CanFocus = true; - this.txtVersion.Name = "txtVersion"; - this.txtVersion.IsEditable = true; - this.txtVersion.InvisibleChar = '●'; - this.hbox6.Add(this.txtVersion); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.txtVersion])); - w18.Position = 1; - this.vbox3.Add(this.hbox6); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox6])); - w19.Position = 5; - w19.Expand = false; - w19.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox7 = new global::Gtk.HBox(); - this.hbox7.Name = "hbox7"; - this.hbox7.Spacing = 6; - // Container child hbox7.Gtk.Box+BoxChild - this.lblReleaseType = new global::Gtk.Label(); - this.lblReleaseType.Name = "lblReleaseType"; - this.lblReleaseType.LabelProp = global::Mono.Unix.Catalog.GetString("Release type"); - this.hbox7.Add(this.lblReleaseType); - global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.lblReleaseType])); - w20.Position = 0; - w20.Expand = false; - w20.Fill = false; - // Container child hbox7.Gtk.Box+BoxChild - this.cmbReleaseType = global::Gtk.ComboBox.NewText(); - this.cmbReleaseType.Sensitive = false; - this.cmbReleaseType.Name = "cmbReleaseType"; - this.hbox7.Add(this.cmbReleaseType); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.cmbReleaseType])); - w21.Position = 1; - w21.Expand = false; - w21.Fill = false; - // Container child hbox7.Gtk.Box+BoxChild - this.chkBoxUnknownReleaseType = new global::Gtk.CheckButton(); - this.chkBoxUnknownReleaseType.CanFocus = true; - this.chkBoxUnknownReleaseType.Name = "chkBoxUnknownReleaseType"; - this.chkBoxUnknownReleaseType.Label = global::Mono.Unix.Catalog.GetString("Unknown or unspecified"); - this.chkBoxUnknownReleaseType.Active = true; - this.chkBoxUnknownReleaseType.DrawIndicator = true; - this.chkBoxUnknownReleaseType.UseUnderline = true; - this.hbox7.Add(this.chkBoxUnknownReleaseType); - global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.chkBoxUnknownReleaseType])); - w22.Position = 2; - this.vbox3.Add(this.hbox7); - global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox7])); - w23.Position = 6; - w23.Expand = false; - w23.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox8 = new global::Gtk.HBox(); - this.hbox8.Name = "hbox8"; - this.hbox8.Spacing = 6; - // Container child hbox8.Gtk.Box+BoxChild - this.vbox13 = new global::Gtk.VBox(); - this.vbox13.Name = "vbox13"; - this.vbox13.Spacing = 6; - // Container child vbox13.Gtk.Box+BoxChild - this.lblReleaseDate = new global::Gtk.Label(); - this.lblReleaseDate.Name = "lblReleaseDate"; - this.lblReleaseDate.LabelProp = global::Mono.Unix.Catalog.GetString("ReleaseDate"); - this.vbox13.Add(this.lblReleaseDate); - global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.lblReleaseDate])); - w24.Position = 0; - w24.Expand = false; - w24.Fill = false; - // Container child vbox13.Gtk.Box+BoxChild - this.chkReleaseDate = new global::Gtk.CheckButton(); - this.chkReleaseDate.CanFocus = true; - this.chkReleaseDate.Name = "chkReleaseDate"; - this.chkReleaseDate.Label = global::Mono.Unix.Catalog.GetString("Unknown or unreleased"); - this.chkReleaseDate.Active = true; - this.chkReleaseDate.DrawIndicator = true; - this.chkReleaseDate.UseUnderline = true; - this.vbox13.Add(this.chkReleaseDate); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.chkReleaseDate])); - w25.Position = 1; - w25.Expand = false; - w25.Fill = false; - this.hbox8.Add(this.vbox13); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.vbox13])); - w26.Position = 0; - w26.Expand = false; - w26.Fill = false; - // Container child hbox8.Gtk.Box+BoxChild - this.cldReleaseDate = new global::Gtk.Calendar(); - this.cldReleaseDate.Sensitive = false; - this.cldReleaseDate.CanFocus = true; - this.cldReleaseDate.Name = "cldReleaseDate"; - this.cldReleaseDate.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); - this.hbox8.Add(this.cldReleaseDate); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.cldReleaseDate])); - w27.Position = 1; - w27.Expand = false; - w27.Fill = false; - this.vbox3.Add(this.hbox8); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); - w28.Position = 7; - w28.Expand = false; - w28.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox9 = new global::Gtk.HBox(); - this.hbox9.Name = "hbox9"; - this.hbox9.Spacing = 6; - // Container child hbox9.Gtk.Box+BoxChild - this.lblPartNumber = new global::Gtk.Label(); - this.lblPartNumber.Name = "lblPartNumber"; - this.lblPartNumber.LabelProp = global::Mono.Unix.Catalog.GetString("Part number"); - this.hbox9.Add(this.lblPartNumber); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.lblPartNumber])); - w29.Position = 0; - w29.Expand = false; - w29.Fill = false; - // Container child hbox9.Gtk.Box+BoxChild - this.txtPartNumber = new global::Gtk.Entry(); - this.txtPartNumber.CanFocus = true; - this.txtPartNumber.Name = "txtPartNumber"; - this.txtPartNumber.IsEditable = true; - this.txtPartNumber.InvisibleChar = '●'; - this.hbox9.Add(this.txtPartNumber); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.txtPartNumber])); - w30.Position = 1; - this.vbox3.Add(this.hbox9); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox9])); - w31.Position = 8; - w31.Expand = false; - w31.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox12 = new global::Gtk.HBox(); - this.hbox12.Name = "hbox12"; - this.hbox12.Spacing = 6; - // Container child hbox12.Gtk.Box+BoxChild - this.lblSerialNumber = new global::Gtk.Label(); - this.lblSerialNumber.Name = "lblSerialNumber"; - this.lblSerialNumber.LabelProp = global::Mono.Unix.Catalog.GetString("Serial number"); - this.hbox12.Add(this.lblSerialNumber); - global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.lblSerialNumber])); - w32.Position = 0; - w32.Expand = false; - w32.Fill = false; - // Container child hbox12.Gtk.Box+BoxChild - this.txtSerialNumber = new global::Gtk.Entry(); - this.txtSerialNumber.CanFocus = true; - this.txtSerialNumber.Name = "txtSerialNumber"; - this.txtSerialNumber.IsEditable = true; - this.txtSerialNumber.InvisibleChar = '●'; - this.hbox12.Add(this.txtSerialNumber); - global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.txtSerialNumber])); - w33.Position = 1; - this.vbox3.Add(this.hbox12); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox12])); - w34.Position = 9; - w34.Expand = false; - w34.Fill = false; - this.notebook3.Add(this.vbox3); - // Notebook tab - this.label3 = new global::Gtk.Label(); - this.label3.Name = "label3"; - this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("General"); - this.notebook3.SetTabLabel(this.vbox3, this.label3); - this.label3.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox4 = new global::Gtk.VBox(); - this.vbox4.Name = "vbox4"; - this.vbox4.Spacing = 6; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox10 = new global::Gtk.HBox(); - this.hbox10.Name = "hbox10"; - this.hbox10.Spacing = 6; - // Container child hbox10.Gtk.Box+BoxChild - this.lblNewKeyword = new global::Gtk.Label(); - this.lblNewKeyword.Name = "lblNewKeyword"; - this.lblNewKeyword.LabelProp = global::Mono.Unix.Catalog.GetString("New keyword:"); - this.hbox10.Add(this.lblNewKeyword); - global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.lblNewKeyword])); - w36.Position = 0; - w36.Expand = false; - w36.Fill = false; - // Container child hbox10.Gtk.Box+BoxChild - this.txtNewKeyword = new global::Gtk.Entry(); - this.txtNewKeyword.CanFocus = true; - this.txtNewKeyword.Name = "txtNewKeyword"; - this.txtNewKeyword.IsEditable = true; - this.txtNewKeyword.InvisibleChar = '●'; - this.hbox10.Add(this.txtNewKeyword); - global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.txtNewKeyword])); - w37.Position = 1; - // Container child hbox10.Gtk.Box+BoxChild - this.txtAddKeyword = new global::Gtk.Button(); - this.txtAddKeyword.CanFocus = true; - this.txtAddKeyword.Name = "txtAddKeyword"; - this.txtAddKeyword.UseStock = true; - this.txtAddKeyword.UseUnderline = true; - this.txtAddKeyword.Label = "gtk-add"; - this.hbox10.Add(this.txtAddKeyword); - global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.txtAddKeyword])); - w38.Position = 2; - w38.Expand = false; - w38.Fill = false; - this.vbox4.Add(this.hbox10); - global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox10])); - w39.Position = 0; - w39.Expand = false; - w39.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow.Name = "GtkScrolledWindow"; - this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.treeKeywords = new global::Gtk.TreeView(); - this.treeKeywords.CanFocus = true; - this.treeKeywords.Name = "treeKeywords"; - this.GtkScrolledWindow.Add(this.treeKeywords); - this.vbox4.Add(this.GtkScrolledWindow); - global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow])); - w41.Position = 1; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox11 = new global::Gtk.HBox(); - this.hbox11.Name = "hbox11"; - this.hbox11.Spacing = 6; - // Container child hbox11.Gtk.Box+BoxChild - this.btnRemoveKeyword = new global::Gtk.Button(); - this.btnRemoveKeyword.CanFocus = true; - this.btnRemoveKeyword.Name = "btnRemoveKeyword"; - this.btnRemoveKeyword.UseStock = true; - this.btnRemoveKeyword.UseUnderline = true; - this.btnRemoveKeyword.Label = "gtk-remove"; - this.hbox11.Add(this.btnRemoveKeyword); - global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.btnRemoveKeyword])); - w42.PackType = ((global::Gtk.PackType)(1)); - w42.Position = 0; - w42.Expand = false; - w42.Fill = false; - // Container child hbox11.Gtk.Box+BoxChild - this.btnClearKeywords = new global::Gtk.Button(); - this.btnClearKeywords.CanFocus = true; - this.btnClearKeywords.Name = "btnClearKeywords"; - this.btnClearKeywords.UseStock = true; - this.btnClearKeywords.UseUnderline = true; - this.btnClearKeywords.Label = "gtk-clear"; - this.hbox11.Add(this.btnClearKeywords); - global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.btnClearKeywords])); - w43.PackType = ((global::Gtk.PackType)(1)); - w43.Position = 1; - w43.Expand = false; - w43.Fill = false; - this.vbox4.Add(this.hbox11); - global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox11])); - w44.Position = 2; - w44.Expand = false; - w44.Fill = false; - this.notebook3.Add(this.vbox4); - global::Gtk.Notebook.NotebookChild w45 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.vbox4])); - w45.Position = 1; - // Notebook tab - this.label9 = new global::Gtk.Label(); - this.label9.Name = "label9"; - this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Keywords"); - this.notebook3.SetTabLabel(this.vbox4, this.label9); - this.label9.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox5 = new global::Gtk.VBox(); - this.vbox5.Name = "vbox5"; - this.vbox5.Spacing = 6; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox14 = new global::Gtk.HBox(); - this.hbox14.Name = "hbox14"; - this.hbox14.Spacing = 6; - // Container child hbox14.Gtk.Box+BoxChild - this.lblNewBarcode = new global::Gtk.Label(); - this.lblNewBarcode.Name = "lblNewBarcode"; - this.lblNewBarcode.LabelProp = global::Mono.Unix.Catalog.GetString("New barcode:"); - this.hbox14.Add(this.lblNewBarcode); - global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.lblNewBarcode])); - w46.Position = 0; - w46.Expand = false; - w46.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.txtNewBarcode = new global::Gtk.Entry(); - this.txtNewBarcode.CanFocus = true; - this.txtNewBarcode.Name = "txtNewBarcode"; - this.txtNewBarcode.IsEditable = true; - this.txtNewBarcode.InvisibleChar = '●'; - this.hbox14.Add(this.txtNewBarcode); - global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.txtNewBarcode])); - w47.Position = 1; - // Container child hbox14.Gtk.Box+BoxChild - this.label24 = new global::Gtk.Label(); - this.label24.Name = "label24"; - this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("type"); - this.hbox14.Add(this.label24); - global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.label24])); - w48.Position = 2; - w48.Expand = false; - w48.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.cmbBarcodes = global::Gtk.ComboBox.NewText(); - this.cmbBarcodes.Name = "cmbBarcodes"; - this.hbox14.Add(this.cmbBarcodes); - global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.cmbBarcodes])); - w49.Position = 3; - w49.Expand = false; - w49.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.btnAddBarcode = new global::Gtk.Button(); - this.btnAddBarcode.CanFocus = true; - this.btnAddBarcode.Name = "btnAddBarcode"; - this.btnAddBarcode.UseStock = true; - this.btnAddBarcode.UseUnderline = true; - this.btnAddBarcode.Label = "gtk-add"; - this.hbox14.Add(this.btnAddBarcode); - global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.btnAddBarcode])); - w50.Position = 4; - w50.Expand = false; - w50.Fill = false; - this.vbox5.Add(this.hbox14); - global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox14])); - w51.Position = 0; - w51.Expand = false; - w51.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; - this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild - this.treeBarcodes = new global::Gtk.TreeView(); - this.treeBarcodes.CanFocus = true; - this.treeBarcodes.Name = "treeBarcodes"; - this.GtkScrolledWindow1.Add(this.treeBarcodes); - this.vbox5.Add(this.GtkScrolledWindow1); - global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.GtkScrolledWindow1])); - w53.Position = 1; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox13 = new global::Gtk.HBox(); - this.hbox13.Name = "hbox13"; - this.hbox13.Spacing = 6; - // Container child hbox13.Gtk.Box+BoxChild - this.btnRemoveBarcode = new global::Gtk.Button(); - this.btnRemoveBarcode.CanFocus = true; - this.btnRemoveBarcode.Name = "btnRemoveBarcode"; - this.btnRemoveBarcode.UseStock = true; - this.btnRemoveBarcode.UseUnderline = true; - this.btnRemoveBarcode.Label = "gtk-remove"; - this.hbox13.Add(this.btnRemoveBarcode); - global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.btnRemoveBarcode])); - w54.PackType = ((global::Gtk.PackType)(1)); - w54.Position = 0; - w54.Expand = false; - w54.Fill = false; - // Container child hbox13.Gtk.Box+BoxChild - this.btnClearBarcodes = new global::Gtk.Button(); - this.btnClearBarcodes.CanFocus = true; - this.btnClearBarcodes.Name = "btnClearBarcodes"; - this.btnClearBarcodes.UseStock = true; - this.btnClearBarcodes.UseUnderline = true; - this.btnClearBarcodes.Label = "gtk-clear"; - this.hbox13.Add(this.btnClearBarcodes); - global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.btnClearBarcodes])); - w55.PackType = ((global::Gtk.PackType)(1)); - w55.Position = 1; - w55.Expand = false; - w55.Fill = false; - this.vbox5.Add(this.hbox13); - global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox13])); - w56.Position = 2; - w56.Expand = false; - w56.Fill = false; - this.notebook3.Add(this.vbox5); - global::Gtk.Notebook.NotebookChild w57 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.vbox5])); - w57.Position = 2; - // Notebook tab - this.label15 = new global::Gtk.Label(); - this.label15.Name = "label15"; - this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Barcodes"); - this.notebook3.SetTabLabel(this.vbox5, this.label15); - this.label15.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.hbox15 = new global::Gtk.HBox(); - this.hbox15.Name = "hbox15"; - this.hbox15.Spacing = 6; - // Container child hbox15.Gtk.Box+BoxChild - this.vbox7 = new global::Gtk.VBox(); - this.vbox7.Name = "vbox7"; - this.vbox7.Spacing = 6; - // Container child vbox7.Gtk.Box+BoxChild - this.lblCategories = new global::Gtk.Label(); - this.lblCategories.Name = "lblCategories"; - this.lblCategories.LabelProp = global::Mono.Unix.Catalog.GetString("Categories"); - this.vbox7.Add(this.lblCategories); - global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.lblCategories])); - w58.Position = 0; - w58.Expand = false; - w58.Fill = false; - // Container child vbox7.Gtk.Box+BoxChild - this.hbox16 = new global::Gtk.HBox(); - this.hbox16.Name = "hbox16"; - this.hbox16.Spacing = 6; - // Container child hbox16.Gtk.Box+BoxChild - this.lblNewCategory = new global::Gtk.Label(); - this.lblNewCategory.Name = "lblNewCategory"; - this.lblNewCategory.LabelProp = global::Mono.Unix.Catalog.GetString("New category:"); - this.hbox16.Add(this.lblNewCategory); - global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.lblNewCategory])); - w59.Position = 0; - w59.Expand = false; - w59.Fill = false; - // Container child hbox16.Gtk.Box+BoxChild - this.txtNewCategory = new global::Gtk.Entry(); - this.txtNewCategory.CanFocus = true; - this.txtNewCategory.Name = "txtNewCategory"; - this.txtNewCategory.IsEditable = true; - this.txtNewCategory.InvisibleChar = '●'; - this.hbox16.Add(this.txtNewCategory); - global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.txtNewCategory])); - w60.Position = 1; - // Container child hbox16.Gtk.Box+BoxChild - this.btnAddCategory = new global::Gtk.Button(); - this.btnAddCategory.CanFocus = true; - this.btnAddCategory.Name = "btnAddCategory"; - this.btnAddCategory.UseStock = true; - this.btnAddCategory.UseUnderline = true; - this.btnAddCategory.Label = "gtk-add"; - this.hbox16.Add(this.btnAddCategory); - global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.btnAddCategory])); - w61.Position = 2; - w61.Expand = false; - w61.Fill = false; - this.vbox7.Add(this.hbox16); - global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox16])); - w62.Position = 1; - w62.Expand = false; - w62.Fill = false; - // Container child vbox7.Gtk.Box+BoxChild - this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; - this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild - this.treeCategories = new global::Gtk.TreeView(); - this.treeCategories.CanFocus = true; - this.treeCategories.Name = "treeCategories"; - this.GtkScrolledWindow3.Add(this.treeCategories); - this.vbox7.Add(this.GtkScrolledWindow3); - global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.GtkScrolledWindow3])); - w64.Position = 2; - // Container child vbox7.Gtk.Box+BoxChild - this.hbox19 = new global::Gtk.HBox(); - this.hbox19.Name = "hbox19"; - this.hbox19.Spacing = 6; - // Container child hbox19.Gtk.Box+BoxChild - this.btnRemoveCategory = new global::Gtk.Button(); - this.btnRemoveCategory.CanFocus = true; - this.btnRemoveCategory.Name = "btnRemoveCategory"; - this.btnRemoveCategory.UseStock = true; - this.btnRemoveCategory.UseUnderline = true; - this.btnRemoveCategory.Label = "gtk-remove"; - this.hbox19.Add(this.btnRemoveCategory); - global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.btnRemoveCategory])); - w65.PackType = ((global::Gtk.PackType)(1)); - w65.Position = 0; - w65.Expand = false; - w65.Fill = false; - // Container child hbox19.Gtk.Box+BoxChild - this.btnClearCategories = new global::Gtk.Button(); - this.btnClearCategories.CanFocus = true; - this.btnClearCategories.Name = "btnClearCategories"; - this.btnClearCategories.UseStock = true; - this.btnClearCategories.UseUnderline = true; - this.btnClearCategories.Label = "gtk-clear"; - this.hbox19.Add(this.btnClearCategories); - global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.btnClearCategories])); - w66.PackType = ((global::Gtk.PackType)(1)); - w66.Position = 1; - w66.Expand = false; - w66.Fill = false; - this.vbox7.Add(this.hbox19); - global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox19])); - w67.Position = 3; - w67.Expand = false; - w67.Fill = false; - this.hbox15.Add(this.vbox7); - global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.vbox7])); - w68.Position = 0; - w68.Expand = false; - w68.Fill = false; - // Container child hbox15.Gtk.Box+BoxChild - this.vbox6 = new global::Gtk.VBox(); - this.vbox6.Name = "vbox6"; - this.vbox6.Spacing = 6; - // Container child vbox6.Gtk.Box+BoxChild - this.lblSubcategories = new global::Gtk.Label(); - this.lblSubcategories.Name = "lblSubcategories"; - this.lblSubcategories.LabelProp = global::Mono.Unix.Catalog.GetString("Subcategories"); - this.vbox6.Add(this.lblSubcategories); - global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.lblSubcategories])); - w69.Position = 0; - w69.Expand = false; - w69.Fill = false; - // Container child vbox6.Gtk.Box+BoxChild - this.hbox17 = new global::Gtk.HBox(); - this.hbox17.Name = "hbox17"; - this.hbox17.Spacing = 6; - // Container child hbox17.Gtk.Box+BoxChild - this.lblNewSubcategory = new global::Gtk.Label(); - this.lblNewSubcategory.Name = "lblNewSubcategory"; - this.lblNewSubcategory.LabelProp = global::Mono.Unix.Catalog.GetString("New subcategory:"); - this.hbox17.Add(this.lblNewSubcategory); - global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.lblNewSubcategory])); - w70.Position = 0; - w70.Expand = false; - w70.Fill = false; - // Container child hbox17.Gtk.Box+BoxChild - this.txtNewSubcategory = new global::Gtk.Entry(); - this.txtNewSubcategory.CanFocus = true; - this.txtNewSubcategory.Name = "txtNewSubcategory"; - this.txtNewSubcategory.IsEditable = true; - this.txtNewSubcategory.InvisibleChar = '●'; - this.hbox17.Add(this.txtNewSubcategory); - global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.txtNewSubcategory])); - w71.Position = 1; - // Container child hbox17.Gtk.Box+BoxChild - this.btnAddSubcategory = new global::Gtk.Button(); - this.btnAddSubcategory.CanFocus = true; - this.btnAddSubcategory.Name = "btnAddSubcategory"; - this.btnAddSubcategory.UseStock = true; - this.btnAddSubcategory.UseUnderline = true; - this.btnAddSubcategory.Label = "gtk-add"; - this.hbox17.Add(this.btnAddSubcategory); - global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.btnAddSubcategory])); - w72.Position = 2; - w72.Expand = false; - w72.Fill = false; - this.vbox6.Add(this.hbox17); - global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox17])); - w73.Position = 1; - w73.Expand = false; - w73.Fill = false; - // Container child vbox6.Gtk.Box+BoxChild - this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; - this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild - this.treeSubcategories = new global::Gtk.TreeView(); - this.treeSubcategories.CanFocus = true; - this.treeSubcategories.Name = "treeSubcategories"; - this.GtkScrolledWindow2.Add(this.treeSubcategories); - this.vbox6.Add(this.GtkScrolledWindow2); - global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkScrolledWindow2])); - w75.Position = 2; - // Container child vbox6.Gtk.Box+BoxChild - this.hbox18 = new global::Gtk.HBox(); - this.hbox18.Name = "hbox18"; - this.hbox18.Spacing = 6; - // Container child hbox18.Gtk.Box+BoxChild - this.btnRemoveSubcategory = new global::Gtk.Button(); - this.btnRemoveSubcategory.CanFocus = true; - this.btnRemoveSubcategory.Name = "btnRemoveSubcategory"; - this.btnRemoveSubcategory.UseStock = true; - this.btnRemoveSubcategory.UseUnderline = true; - this.btnRemoveSubcategory.Label = "gtk-remove"; - this.hbox18.Add(this.btnRemoveSubcategory); - global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.btnRemoveSubcategory])); - w76.PackType = ((global::Gtk.PackType)(1)); - w76.Position = 0; - w76.Expand = false; - w76.Fill = false; - // Container child hbox18.Gtk.Box+BoxChild - this.btnClearSubcategories = new global::Gtk.Button(); - this.btnClearSubcategories.CanFocus = true; - this.btnClearSubcategories.Name = "btnClearSubcategories"; - this.btnClearSubcategories.UseStock = true; - this.btnClearSubcategories.UseUnderline = true; - this.btnClearSubcategories.Label = "gtk-clear"; - this.hbox18.Add(this.btnClearSubcategories); - global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.btnClearSubcategories])); - w77.PackType = ((global::Gtk.PackType)(1)); - w77.Position = 1; - w77.Expand = false; - w77.Fill = false; - this.vbox6.Add(this.hbox18); - global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox18])); - w78.Position = 3; - w78.Expand = false; - w78.Fill = false; - this.hbox15.Add(this.vbox6); - global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.vbox6])); - w79.Position = 1; - w79.Expand = false; - w79.Fill = false; - this.notebook3.Add(this.hbox15); - global::Gtk.Notebook.NotebookChild w80 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.hbox15])); - w80.Position = 3; - w80.TabExpand = true; - // Notebook tab - this.label18 = new global::Gtk.Label(); - this.label18.Name = "label18"; - this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Categories"); - this.notebook3.SetTabLabel(this.hbox15, this.label18); - this.label18.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox8 = new global::Gtk.VBox(); - this.vbox8.Name = "vbox8"; - this.vbox8.Spacing = 6; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox21 = new global::Gtk.HBox(); - this.hbox21.Name = "hbox21"; - this.hbox21.Spacing = 6; - // Container child hbox21.Gtk.Box+BoxChild - this.lblNewLanguage = new global::Gtk.Label(); - this.lblNewLanguage.Name = "lblNewLanguage"; - this.lblNewLanguage.LabelProp = global::Mono.Unix.Catalog.GetString("New language:"); - this.hbox21.Add(this.lblNewLanguage); - global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.lblNewLanguage])); - w81.Position = 0; - w81.Expand = false; - w81.Fill = false; - // Container child hbox21.Gtk.Box+BoxChild - this.cmbLanguages = global::Gtk.ComboBox.NewText(); - this.cmbLanguages.Name = "cmbLanguages"; - this.hbox21.Add(this.cmbLanguages); - global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.cmbLanguages])); - w82.Position = 1; - w82.Expand = false; - w82.Fill = false; - // Container child hbox21.Gtk.Box+BoxChild - this.btnAddLanguages = new global::Gtk.Button(); - this.btnAddLanguages.CanFocus = true; - this.btnAddLanguages.Name = "btnAddLanguages"; - this.btnAddLanguages.UseStock = true; - this.btnAddLanguages.UseUnderline = true; - this.btnAddLanguages.Label = "gtk-add"; - this.hbox21.Add(this.btnAddLanguages); - global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.btnAddLanguages])); - w83.Position = 2; - w83.Expand = false; - w83.Fill = false; - this.vbox8.Add(this.hbox21); - global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox21])); - w84.Position = 0; - w84.Expand = false; - w84.Fill = false; - // Container child vbox8.Gtk.Box+BoxChild - this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; - this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild - this.treeLanguages = new global::Gtk.TreeView(); - this.treeLanguages.CanFocus = true; - this.treeLanguages.Name = "treeLanguages"; - this.GtkScrolledWindow4.Add(this.treeLanguages); - this.vbox8.Add(this.GtkScrolledWindow4); - global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.GtkScrolledWindow4])); - w86.Position = 1; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox20 = new global::Gtk.HBox(); - this.hbox20.Name = "hbox20"; - this.hbox20.Spacing = 6; - // Container child hbox20.Gtk.Box+BoxChild - this.btnRemoveLanguage = new global::Gtk.Button(); - this.btnRemoveLanguage.CanFocus = true; - this.btnRemoveLanguage.Name = "btnRemoveLanguage"; - this.btnRemoveLanguage.UseStock = true; - this.btnRemoveLanguage.UseUnderline = true; - this.btnRemoveLanguage.Label = "gtk-remove"; - this.hbox20.Add(this.btnRemoveLanguage); - global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.btnRemoveLanguage])); - w87.PackType = ((global::Gtk.PackType)(1)); - w87.Position = 0; - w87.Expand = false; - w87.Fill = false; - // Container child hbox20.Gtk.Box+BoxChild - this.btnClearLanguages = new global::Gtk.Button(); - this.btnClearLanguages.CanFocus = true; - this.btnClearLanguages.Name = "btnClearLanguages"; - this.btnClearLanguages.UseStock = true; - this.btnClearLanguages.UseUnderline = true; - this.btnClearLanguages.Label = "gtk-clear"; - this.hbox20.Add(this.btnClearLanguages); - global::Gtk.Box.BoxChild w88 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.btnClearLanguages])); - w88.PackType = ((global::Gtk.PackType)(1)); - w88.Position = 1; - w88.Expand = false; - w88.Fill = false; - this.vbox8.Add(this.hbox20); - global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox20])); - w89.Position = 2; - w89.Expand = false; - w89.Fill = false; - this.notebook3.Add(this.vbox8); - global::Gtk.Notebook.NotebookChild w90 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.vbox8])); - w90.Position = 4; - // Notebook tab - this.label19 = new global::Gtk.Label(); - this.label19.Name = "label19"; - this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Languages"); - this.notebook3.SetTabLabel(this.vbox8, this.label19); - this.label19.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox9 = new global::Gtk.VBox(); - this.vbox9.Name = "vbox9"; - this.vbox9.Spacing = 6; - // Container child vbox9.Gtk.Box+BoxChild - this.hbox23 = new global::Gtk.HBox(); - this.hbox23.Name = "hbox23"; - this.hbox23.Spacing = 6; - // Container child hbox23.Gtk.Box+BoxChild - this.lblNewSystem = new global::Gtk.Label(); - this.lblNewSystem.Name = "lblNewSystem"; - this.lblNewSystem.LabelProp = global::Mono.Unix.Catalog.GetString("New system:"); - this.hbox23.Add(this.lblNewSystem); - global::Gtk.Box.BoxChild w91 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.lblNewSystem])); - w91.Position = 0; - w91.Expand = false; - w91.Fill = false; - // Container child hbox23.Gtk.Box+BoxChild - this.txtNewSystem = new global::Gtk.Entry(); - this.txtNewSystem.CanFocus = true; - this.txtNewSystem.Name = "txtNewSystem"; - this.txtNewSystem.IsEditable = true; - this.txtNewSystem.InvisibleChar = '●'; - this.hbox23.Add(this.txtNewSystem); - global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.txtNewSystem])); - w92.Position = 1; - // Container child hbox23.Gtk.Box+BoxChild - this.btnAddSystem = new global::Gtk.Button(); - this.btnAddSystem.CanFocus = true; - this.btnAddSystem.Name = "btnAddSystem"; - this.btnAddSystem.UseStock = true; - this.btnAddSystem.UseUnderline = true; - this.btnAddSystem.Label = "gtk-add"; - this.hbox23.Add(this.btnAddSystem); - global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.btnAddSystem])); - w93.Position = 2; - w93.Expand = false; - w93.Fill = false; - this.vbox9.Add(this.hbox23); - global::Gtk.Box.BoxChild w94 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.hbox23])); - w94.Position = 0; - w94.Expand = false; - w94.Fill = false; - // Container child vbox9.Gtk.Box+BoxChild - this.GtkScrolledWindow7 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow7.Name = "GtkScrolledWindow7"; - this.GtkScrolledWindow7.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow7.Gtk.Container+ContainerChild - this.treeSystems = new global::Gtk.TreeView(); - this.treeSystems.CanFocus = true; - this.treeSystems.Name = "treeSystems"; - this.GtkScrolledWindow7.Add(this.treeSystems); - this.vbox9.Add(this.GtkScrolledWindow7); - global::Gtk.Box.BoxChild w96 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.GtkScrolledWindow7])); - w96.Position = 1; - // Container child vbox9.Gtk.Box+BoxChild - this.hbox22 = new global::Gtk.HBox(); - this.hbox22.Name = "hbox22"; - this.hbox22.Spacing = 6; - // Container child hbox22.Gtk.Box+BoxChild - this.btnRemoveSystems = new global::Gtk.Button(); - this.btnRemoveSystems.CanFocus = true; - this.btnRemoveSystems.Name = "btnRemoveSystems"; - this.btnRemoveSystems.UseStock = true; - this.btnRemoveSystems.UseUnderline = true; - this.btnRemoveSystems.Label = "gtk-remove"; - this.hbox22.Add(this.btnRemoveSystems); - global::Gtk.Box.BoxChild w97 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.btnRemoveSystems])); - w97.PackType = ((global::Gtk.PackType)(1)); - w97.Position = 0; - w97.Expand = false; - w97.Fill = false; - // Container child hbox22.Gtk.Box+BoxChild - this.btnClearSystems = new global::Gtk.Button(); - this.btnClearSystems.CanFocus = true; - this.btnClearSystems.Name = "btnClearSystems"; - this.btnClearSystems.UseStock = true; - this.btnClearSystems.UseUnderline = true; - this.btnClearSystems.Label = "gtk-clear"; - this.hbox22.Add(this.btnClearSystems); - global::Gtk.Box.BoxChild w98 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.btnClearSystems])); - w98.PackType = ((global::Gtk.PackType)(1)); - w98.Position = 1; - w98.Expand = false; - w98.Fill = false; - this.vbox9.Add(this.hbox22); - global::Gtk.Box.BoxChild w99 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.hbox22])); - w99.Position = 2; - w99.Expand = false; - w99.Fill = false; - this.notebook3.Add(this.vbox9); - global::Gtk.Notebook.NotebookChild w100 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.vbox9])); - w100.Position = 5; - // Notebook tab - this.label20 = new global::Gtk.Label(); - this.label20.Name = "label20"; - this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Systems"); - this.notebook3.SetTabLabel(this.vbox9, this.label20); - this.label20.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox10 = new global::Gtk.VBox(); - this.vbox10.Name = "vbox10"; - this.vbox10.Spacing = 6; - // Container child vbox10.Gtk.Box+BoxChild - this.hbox25 = new global::Gtk.HBox(); - this.hbox25.Name = "hbox25"; - this.hbox25.Spacing = 6; - // Container child hbox25.Gtk.Box+BoxChild - this.lblNewArchitecture = new global::Gtk.Label(); - this.lblNewArchitecture.Name = "lblNewArchitecture"; - this.lblNewArchitecture.LabelProp = global::Mono.Unix.Catalog.GetString("New architectures:"); - this.hbox25.Add(this.lblNewArchitecture); - global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.lblNewArchitecture])); - w101.Position = 0; - w101.Expand = false; - w101.Fill = false; - // Container child hbox25.Gtk.Box+BoxChild - this.cmbArchitectures = global::Gtk.ComboBox.NewText(); - this.cmbArchitectures.Name = "cmbArchitectures"; - this.hbox25.Add(this.cmbArchitectures); - global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.cmbArchitectures])); - w102.Position = 1; - w102.Expand = false; - w102.Fill = false; - // Container child hbox25.Gtk.Box+BoxChild - this.btnAddArchitecture = new global::Gtk.Button(); - this.btnAddArchitecture.CanFocus = true; - this.btnAddArchitecture.Name = "btnAddArchitecture"; - this.btnAddArchitecture.UseStock = true; - this.btnAddArchitecture.UseUnderline = true; - this.btnAddArchitecture.Label = "gtk-add"; - this.hbox25.Add(this.btnAddArchitecture); - global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.btnAddArchitecture])); - w103.Position = 2; - w103.Expand = false; - w103.Fill = false; - this.vbox10.Add(this.hbox25); - global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.hbox25])); - w104.Position = 0; - w104.Expand = false; - w104.Fill = false; - // Container child vbox10.Gtk.Box+BoxChild - this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; - this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild - this.treeArchitectures = new global::Gtk.TreeView(); - this.treeArchitectures.CanFocus = true; - this.treeArchitectures.Name = "treeArchitectures"; - this.GtkScrolledWindow5.Add(this.treeArchitectures); - this.vbox10.Add(this.GtkScrolledWindow5); - global::Gtk.Box.BoxChild w106 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.GtkScrolledWindow5])); - w106.Position = 1; - // Container child vbox10.Gtk.Box+BoxChild - this.hbox24 = new global::Gtk.HBox(); - this.hbox24.Name = "hbox24"; - this.hbox24.Spacing = 6; - // Container child hbox24.Gtk.Box+BoxChild - this.btnRemoveArchitecture = new global::Gtk.Button(); - this.btnRemoveArchitecture.CanFocus = true; - this.btnRemoveArchitecture.Name = "btnRemoveArchitecture"; - this.btnRemoveArchitecture.UseStock = true; - this.btnRemoveArchitecture.UseUnderline = true; - this.btnRemoveArchitecture.Label = "gtk-remove"; - this.hbox24.Add(this.btnRemoveArchitecture); - global::Gtk.Box.BoxChild w107 = ((global::Gtk.Box.BoxChild)(this.hbox24[this.btnRemoveArchitecture])); - w107.PackType = ((global::Gtk.PackType)(1)); - w107.Position = 0; - w107.Expand = false; - w107.Fill = false; - // Container child hbox24.Gtk.Box+BoxChild - this.btnClearArchitectures = new global::Gtk.Button(); - this.btnClearArchitectures.CanFocus = true; - this.btnClearArchitectures.Name = "btnClearArchitectures"; - this.btnClearArchitectures.UseStock = true; - this.btnClearArchitectures.UseUnderline = true; - this.btnClearArchitectures.Label = "gtk-clear"; - this.hbox24.Add(this.btnClearArchitectures); - global::Gtk.Box.BoxChild w108 = ((global::Gtk.Box.BoxChild)(this.hbox24[this.btnClearArchitectures])); - w108.PackType = ((global::Gtk.PackType)(1)); - w108.Position = 1; - w108.Expand = false; - w108.Fill = false; - this.vbox10.Add(this.hbox24); - global::Gtk.Box.BoxChild w109 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.hbox24])); - w109.Position = 2; - w109.Expand = false; - w109.Fill = false; - this.notebook3.Add(this.vbox10); - global::Gtk.Notebook.NotebookChild w110 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.vbox10])); - w110.Position = 6; - // Notebook tab - this.label21 = new global::Gtk.Label(); - this.label21.Name = "label21"; - this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Architectures"); - this.notebook3.SetTabLabel(this.vbox10, this.label21); - this.label21.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox11 = new global::Gtk.VBox(); - this.vbox11.Name = "vbox11"; - this.vbox11.Spacing = 6; - // Container child vbox11.Gtk.Box+BoxChild - this.hbox27 = new global::Gtk.HBox(); - this.hbox27.Name = "hbox27"; - this.hbox27.Spacing = 6; - // Container child hbox27.Gtk.Box+BoxChild - this.lblNewDisc = new global::Gtk.Label(); - this.lblNewDisc.Name = "lblNewDisc"; - this.lblNewDisc.LabelProp = global::Mono.Unix.Catalog.GetString("Choose disc to add:"); - this.hbox27.Add(this.lblNewDisc); - global::Gtk.Box.BoxChild w111 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.lblNewDisc])); - w111.Position = 0; - w111.Expand = false; - w111.Fill = false; - // Container child hbox27.Gtk.Box+BoxChild - this.cmbFilesForNewDisc = global::Gtk.ComboBox.NewText(); - this.cmbFilesForNewDisc.Name = "cmbFilesForNewDisc"; - this.hbox27.Add(this.cmbFilesForNewDisc); - global::Gtk.Box.BoxChild w112 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.cmbFilesForNewDisc])); - w112.Position = 1; - w112.Expand = false; - w112.Fill = false; - // Container child hbox27.Gtk.Box+BoxChild - this.btnAddDisc = new global::Gtk.Button(); - this.btnAddDisc.CanFocus = true; - this.btnAddDisc.Name = "btnAddDisc"; - this.btnAddDisc.UseStock = true; - this.btnAddDisc.UseUnderline = true; - this.btnAddDisc.Label = "gtk-add"; - this.hbox27.Add(this.btnAddDisc); - global::Gtk.Box.BoxChild w113 = ((global::Gtk.Box.BoxChild)(this.hbox27[this.btnAddDisc])); - w113.Position = 2; - w113.Expand = false; - w113.Fill = false; - this.vbox11.Add(this.hbox27); - global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.hbox27])); - w114.Position = 0; - w114.Expand = false; - w114.Fill = false; - // Container child vbox11.Gtk.Box+BoxChild - this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; - this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild - this.treeDiscs = new global::Gtk.TreeView(); - this.treeDiscs.CanFocus = true; - this.treeDiscs.Name = "treeDiscs"; - this.GtkScrolledWindow6.Add(this.treeDiscs); - this.vbox11.Add(this.GtkScrolledWindow6); - global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.GtkScrolledWindow6])); - w116.Position = 1; - // Container child vbox11.Gtk.Box+BoxChild - this.hbox26 = new global::Gtk.HBox(); - this.hbox26.Name = "hbox26"; - this.hbox26.Spacing = 6; - // Container child hbox26.Gtk.Box+BoxChild - this.btnRemoveDiscs = new global::Gtk.Button(); - this.btnRemoveDiscs.CanFocus = true; - this.btnRemoveDiscs.Name = "btnRemoveDiscs"; - this.btnRemoveDiscs.UseStock = true; - this.btnRemoveDiscs.UseUnderline = true; - this.btnRemoveDiscs.Label = "gtk-remove"; - this.hbox26.Add(this.btnRemoveDiscs); - global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.btnRemoveDiscs])); - w117.PackType = ((global::Gtk.PackType)(1)); - w117.Position = 0; - w117.Expand = false; - w117.Fill = false; - // Container child hbox26.Gtk.Box+BoxChild - this.btnClearDiscs = new global::Gtk.Button(); - this.btnClearDiscs.CanFocus = true; - this.btnClearDiscs.Name = "btnClearDiscs"; - this.btnClearDiscs.UseStock = true; - this.btnClearDiscs.UseUnderline = true; - this.btnClearDiscs.Label = "gtk-clear"; - this.hbox26.Add(this.btnClearDiscs); - global::Gtk.Box.BoxChild w118 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.btnClearDiscs])); - w118.PackType = ((global::Gtk.PackType)(1)); - w118.Position = 1; - w118.Expand = false; - w118.Fill = false; - // Container child hbox26.Gtk.Box+BoxChild - this.btnEditDisc = new global::Gtk.Button(); - this.btnEditDisc.CanFocus = true; - this.btnEditDisc.Name = "btnEditDisc"; - this.btnEditDisc.UseUnderline = true; - this.btnEditDisc.Label = global::Mono.Unix.Catalog.GetString("Edit"); - global::Gtk.Image w119 = new global::Gtk.Image(); - w119.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditDisc.Image = w119; - this.hbox26.Add(this.btnEditDisc); - global::Gtk.Box.BoxChild w120 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.btnEditDisc])); - w120.PackType = ((global::Gtk.PackType)(1)); - w120.Position = 2; - w120.Expand = false; - w120.Fill = false; - // Container child hbox26.Gtk.Box+BoxChild - this.btnStopAddDisc = new global::Gtk.Button(); - this.btnStopAddDisc.CanFocus = true; - this.btnStopAddDisc.Name = "btnStopAddDisc"; - this.btnStopAddDisc.UseStock = true; - this.btnStopAddDisc.UseUnderline = true; - this.btnStopAddDisc.Label = "gtk-stop"; - this.hbox26.Add(this.btnStopAddDisc); - global::Gtk.Box.BoxChild w121 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.btnStopAddDisc])); - w121.PackType = ((global::Gtk.PackType)(1)); - w121.Position = 3; - w121.Expand = false; - w121.Fill = false; - this.vbox11.Add(this.hbox26); - global::Gtk.Box.BoxChild w122 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.hbox26])); - w122.Position = 2; - w122.Expand = false; - w122.Fill = false; - // Container child vbox11.Gtk.Box+BoxChild - this.prgAddDisc1 = new global::Gtk.ProgressBar(); - this.prgAddDisc1.Name = "prgAddDisc1"; - this.vbox11.Add(this.prgAddDisc1); - global::Gtk.Box.BoxChild w123 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.prgAddDisc1])); - w123.Position = 3; - w123.Expand = false; - w123.Fill = false; - // Container child vbox11.Gtk.Box+BoxChild - this.prgAddDisc2 = new global::Gtk.ProgressBar(); - this.prgAddDisc2.Name = "prgAddDisc2"; - this.vbox11.Add(this.prgAddDisc2); - global::Gtk.Box.BoxChild w124 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.prgAddDisc2])); - w124.Position = 4; - w124.Expand = false; - w124.Fill = false; - this.notebook3.Add(this.vbox11); - global::Gtk.Notebook.NotebookChild w125 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.vbox11])); - w125.Position = 7; - // Notebook tab - this.label22 = new global::Gtk.Label(); - this.label22.Name = "label22"; - this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Optical discs"); - this.notebook3.SetTabLabel(this.vbox11, this.label22); - this.label22.ShowAll(); - // Container child notebook3.Gtk.Notebook+NotebookChild - this.vbox12 = new global::Gtk.VBox(); - this.vbox12.Name = "vbox12"; - this.vbox12.Spacing = 6; - // Container child vbox12.Gtk.Box+BoxChild - this.hbox29 = new global::Gtk.HBox(); - this.hbox29.Name = "hbox29"; - this.hbox29.Spacing = 6; - // Container child hbox29.Gtk.Box+BoxChild - this.lblNewDisk = new global::Gtk.Label(); - this.lblNewDisk.Name = "lblNewDisk"; - this.lblNewDisk.LabelProp = global::Mono.Unix.Catalog.GetString("Choose disk to add:"); - this.hbox29.Add(this.lblNewDisk); - global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.lblNewDisk])); - w126.Position = 0; - w126.Expand = false; - w126.Fill = false; - // Container child hbox29.Gtk.Box+BoxChild - this.cmbFilesForNewDisk = global::Gtk.ComboBox.NewText(); - this.cmbFilesForNewDisk.Name = "cmbFilesForNewDisk"; - this.hbox29.Add(this.cmbFilesForNewDisk); - global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.cmbFilesForNewDisk])); - w127.Position = 1; - w127.Expand = false; - w127.Fill = false; - // Container child hbox29.Gtk.Box+BoxChild - this.btnAddDisk = new global::Gtk.Button(); - this.btnAddDisk.CanFocus = true; - this.btnAddDisk.Name = "btnAddDisk"; - this.btnAddDisk.UseStock = true; - this.btnAddDisk.UseUnderline = true; - this.btnAddDisk.Label = "gtk-add"; - this.hbox29.Add(this.btnAddDisk); - global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.hbox29[this.btnAddDisk])); - w128.Position = 2; - w128.Expand = false; - w128.Fill = false; - this.vbox12.Add(this.hbox29); - global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.hbox29])); - w129.Position = 0; - w129.Expand = false; - w129.Fill = false; - // Container child vbox12.Gtk.Box+BoxChild - this.GtkScrolledWindow8 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow8.Name = "GtkScrolledWindow8"; - this.GtkScrolledWindow8.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow8.Gtk.Container+ContainerChild - this.treeDisks = new global::Gtk.TreeView(); - this.treeDisks.CanFocus = true; - this.treeDisks.Name = "treeDisks"; - this.GtkScrolledWindow8.Add(this.treeDisks); - this.vbox12.Add(this.GtkScrolledWindow8); - global::Gtk.Box.BoxChild w131 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.GtkScrolledWindow8])); - w131.Position = 1; - // Container child vbox12.Gtk.Box+BoxChild - this.hbox28 = new global::Gtk.HBox(); - this.hbox28.Name = "hbox28"; - this.hbox28.Spacing = 6; - // Container child hbox28.Gtk.Box+BoxChild - this.btnRemoveDisk = new global::Gtk.Button(); - this.btnRemoveDisk.CanFocus = true; - this.btnRemoveDisk.Name = "btnRemoveDisk"; - this.btnRemoveDisk.UseStock = true; - this.btnRemoveDisk.UseUnderline = true; - this.btnRemoveDisk.Label = "gtk-remove"; - this.hbox28.Add(this.btnRemoveDisk); - global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.hbox28[this.btnRemoveDisk])); - w132.PackType = ((global::Gtk.PackType)(1)); - w132.Position = 0; - w132.Expand = false; - w132.Fill = false; - // Container child hbox28.Gtk.Box+BoxChild - this.btnClearDisks = new global::Gtk.Button(); - this.btnClearDisks.CanFocus = true; - this.btnClearDisks.Name = "btnClearDisks"; - this.btnClearDisks.UseStock = true; - this.btnClearDisks.UseUnderline = true; - this.btnClearDisks.Label = "gtk-clear"; - this.hbox28.Add(this.btnClearDisks); - global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.hbox28[this.btnClearDisks])); - w133.PackType = ((global::Gtk.PackType)(1)); - w133.Position = 1; - w133.Expand = false; - w133.Fill = false; - // Container child hbox28.Gtk.Box+BoxChild - this.btnEditDisk = new global::Gtk.Button(); - this.btnEditDisk.CanFocus = true; - this.btnEditDisk.Name = "btnEditDisk"; - this.btnEditDisk.UseUnderline = true; - this.btnEditDisk.Label = global::Mono.Unix.Catalog.GetString("Edit"); - global::Gtk.Image w134 = new global::Gtk.Image(); - w134.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditDisk.Image = w134; - this.hbox28.Add(this.btnEditDisk); - global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.hbox28[this.btnEditDisk])); - w135.PackType = ((global::Gtk.PackType)(1)); - w135.Position = 2; - w135.Expand = false; - w135.Fill = false; - // Container child hbox28.Gtk.Box+BoxChild - this.btnStopAddDisk = new global::Gtk.Button(); - this.btnStopAddDisk.CanFocus = true; - this.btnStopAddDisk.Name = "btnStopAddDisk"; - this.btnStopAddDisk.UseStock = true; - this.btnStopAddDisk.UseUnderline = true; - this.btnStopAddDisk.Label = "gtk-stop"; - this.hbox28.Add(this.btnStopAddDisk); - global::Gtk.Box.BoxChild w136 = ((global::Gtk.Box.BoxChild)(this.hbox28[this.btnStopAddDisk])); - w136.PackType = ((global::Gtk.PackType)(1)); - w136.Position = 3; - w136.Expand = false; - w136.Fill = false; - this.vbox12.Add(this.hbox28); - global::Gtk.Box.BoxChild w137 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.hbox28])); - w137.Position = 2; - w137.Expand = false; - w137.Fill = false; - // Container child vbox12.Gtk.Box+BoxChild - this.prgAddDisk1 = new global::Gtk.ProgressBar(); - this.prgAddDisk1.Name = "prgAddDisk1"; - this.vbox12.Add(this.prgAddDisk1); - global::Gtk.Box.BoxChild w138 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.prgAddDisk1])); - w138.Position = 3; - w138.Expand = false; - w138.Fill = false; - // Container child vbox12.Gtk.Box+BoxChild - this.prgAddDisk2 = new global::Gtk.ProgressBar(); - this.prgAddDisk2.Name = "prgAddDisk2"; - this.vbox12.Add(this.prgAddDisk2); - global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.prgAddDisk2])); - w139.Position = 4; - w139.Expand = false; - w139.Fill = false; - this.notebook3.Add(this.vbox12); - global::Gtk.Notebook.NotebookChild w140 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.vbox12])); - w140.Position = 8; - // Notebook tab - this.label32 = new global::Gtk.Label(); - this.label32.Name = "label32"; - this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("Block disks"); - this.notebook3.SetTabLabel(this.vbox12, this.label32); - this.label32.ShowAll(); - w1.Add(this.notebook3); - global::Gtk.Box.BoxChild w141 = ((global::Gtk.Box.BoxChild)(w1[this.notebook3])); - w141.Position = 0; - // Internal child osrepodbmgr.dlgMetadata.ActionArea - global::Gtk.HButtonBox w142 = this.ActionArea; - w142.Name = "dialog1_ActionArea"; - w142.Spacing = 10; - w142.BorderWidth = ((uint)(5)); - w142.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonCancel = new global::Gtk.Button(); - this.buttonCancel.CanDefault = true; - this.buttonCancel.CanFocus = true; - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.UseStock = true; - this.buttonCancel.UseUnderline = true; - this.buttonCancel.Label = "gtk-cancel"; - this.AddActionWidget(this.buttonCancel, -6); - global::Gtk.ButtonBox.ButtonBoxChild w143 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w142[this.buttonCancel])); - w143.Expand = false; - w143.Fill = false; - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonOk = new global::Gtk.Button(); - this.buttonOk.CanDefault = true; - this.buttonOk.CanFocus = true; - this.buttonOk.Name = "buttonOk"; - this.buttonOk.UseStock = true; - this.buttonOk.UseUnderline = true; - this.buttonOk.Label = "gtk-ok"; - this.AddActionWidget(this.buttonOk, -5); - global::Gtk.ButtonBox.ButtonBoxChild w144 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w142[this.buttonOk])); - w144.Position = 1; - w144.Expand = false; - w144.Fill = false; - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 909; - this.DefaultHeight = 533; - this.btnStopAddDisc.Hide(); - this.prgAddDisc1.Hide(); - this.prgAddDisc2.Hide(); - this.btnStopAddDisk.Hide(); - this.prgAddDisk1.Hide(); - this.prgAddDisk2.Hide(); - this.Show(); - this.chkBoxUnknownReleaseType.Toggled += new global::System.EventHandler(this.OnChkBoxUnknownReleaseTypeToggled); - this.chkReleaseDate.Toggled += new global::System.EventHandler(this.OnChkReleaseDateToggled); - this.txtAddKeyword.Clicked += new global::System.EventHandler(this.OnTxtAddKeywordClicked); - this.btnClearKeywords.Clicked += new global::System.EventHandler(this.OnBtnClearKeywordsClicked); - this.btnRemoveKeyword.Clicked += new global::System.EventHandler(this.OnBtnRemoveKeywordClicked); - this.btnAddBarcode.Clicked += new global::System.EventHandler(this.OnBtnAddBarcodeClicked); - this.btnClearBarcodes.Clicked += new global::System.EventHandler(this.OnBtnClearBarcodesClicked); - this.btnRemoveBarcode.Clicked += new global::System.EventHandler(this.OnBtnRemoveBarcodeClicked); - this.btnAddCategory.Clicked += new global::System.EventHandler(this.OnBtnAddCategoryClicked); - this.btnClearCategories.Clicked += new global::System.EventHandler(this.OnBtnClearCategoriesClicked); - this.btnRemoveCategory.Clicked += new global::System.EventHandler(this.OnBtnRemoveCategoryClicked); - this.btnAddSubcategory.Clicked += new global::System.EventHandler(this.OnBtnAddSubcategoryClicked); - this.btnClearSubcategories.Clicked += new global::System.EventHandler(this.OnBtnClearSubcategoriesClicked); - this.btnRemoveSubcategory.Clicked += new global::System.EventHandler(this.OnBtnRemoveSubcategoryClicked); - this.btnAddLanguages.Clicked += new global::System.EventHandler(this.OnBtnAddLanguagesClicked); - this.btnClearLanguages.Clicked += new global::System.EventHandler(this.OnBtnClearLanguagesClicked); - this.btnRemoveLanguage.Clicked += new global::System.EventHandler(this.OnBtnRemoveLanguageClicked); - this.btnAddSystem.Clicked += new global::System.EventHandler(this.OnBtnAddSystemClicked); - this.btnClearSystems.Clicked += new global::System.EventHandler(this.OnBtnClearSystemsClicked); - this.btnRemoveSystems.Clicked += new global::System.EventHandler(this.OnBtnRemoveSystemsClicked); - this.btnAddArchitecture.Clicked += new global::System.EventHandler(this.OnBtnAddArchitectureClicked); - this.btnClearArchitectures.Clicked += new global::System.EventHandler(this.OnBtnClearArchitecturesClicked); - this.btnRemoveArchitecture.Clicked += new global::System.EventHandler(this.OnBtnRemoveArchitectureClicked); - this.btnAddDisc.Clicked += new global::System.EventHandler(this.OnBtnAddDiscClicked); - this.btnStopAddDisc.Clicked += new global::System.EventHandler(this.OnBtnStopAddDiscClicked); - this.btnEditDisc.Clicked += new global::System.EventHandler(this.OnBtnEditDiscClicked); - this.btnClearDiscs.Clicked += new global::System.EventHandler(this.OnBtnClearDiscsClicked); - this.btnRemoveDiscs.Clicked += new global::System.EventHandler(this.OnBtnRemoveDiscsClicked); - this.btnAddDisk.Clicked += new global::System.EventHandler(this.OnBtnAddDiskClicked); - this.btnStopAddDisk.Clicked += new global::System.EventHandler(this.OnBtnStopAddDiskClicked); - this.btnEditDisk.Clicked += new global::System.EventHandler(this.OnBtnEditDiskClicked); - this.btnClearDisks.Clicked += new global::System.EventHandler(this.OnBtnClearDisksClicked); - this.btnRemoveDisk.Clicked += new global::System.EventHandler(this.OnBtnRemoveDiskClicked); - this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); - } - } -} diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgOpticalDisc.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.dlgOpticalDisc.cs deleted file mode 100644 index 29aa248..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgOpticalDisc.cs +++ /dev/null @@ -1,4139 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace osrepodbmgr -{ - public partial class dlgOpticalDisc - { - private global::Gtk.Notebook notebook1; - - private global::Gtk.VBox vbox2; - - private global::Gtk.HBox hbox1; - - private global::Gtk.Label label12; - - private global::Gtk.Entry txtImage; - - private global::Gtk.HBox hbox2; - - private global::Gtk.Label lblFormat; - - private global::Gtk.Entry txtFormat; - - private global::Gtk.Label lblOffset; - - private global::Gtk.Entry txtOffset; - - private global::Gtk.Label lblSize; - - private global::Gtk.Entry txtSize; - - private global::Gtk.HBox hbox8; - - private global::Gtk.Label lblWriteOffset; - - private global::Gtk.Entry txtWriteOffset; - - private global::Gtk.Label lblWriteOffsetUnits; - - private global::Gtk.HBox hbox11; - - private global::Gtk.Label lblMediaTracks; - - private global::Gtk.Entry txtMediaTracks; - - private global::Gtk.HBox hbox10; - - private global::Gtk.Label lblMediaSessions; - - private global::Gtk.Entry txtMediaSessions; - - private global::Gtk.HBox hbox3; - - private global::Gtk.Label lblCopyProtection; - - private global::Gtk.Entry txtCopyProtection; - - private global::Gtk.HBox hbox92; - - private global::Gtk.Label lblDiscType; - - private global::Gtk.Entry txtDiscType; - - private global::Gtk.HBox hbox93; - - private global::Gtk.Label lblDiscSubtype; - - private global::Gtk.Entry txtDiscSubType; - - private global::Gtk.HBox hbox61; - - private global::Gtk.Frame frmSequence; - - private global::Gtk.Alignment GtkAlignment9; - - private global::Gtk.VBox vbox3; - - private global::Gtk.CheckButton chkSequence; - - private global::Gtk.Label lblDiscTitle; - - private global::Gtk.Entry txtDiscTitle; - - private global::Gtk.HBox hbox14; - - private global::Gtk.Label lblSequence; - - private global::Gtk.SpinButton spSequence; - - private global::Gtk.Label lblTotalMedia; - - private global::Gtk.SpinButton spTotalMedia; - - private global::Gtk.HBox hbox12; - - private global::Gtk.Label lblSide; - - private global::Gtk.SpinButton spSide; - - private global::Gtk.HBox hbox13; - - private global::Gtk.Label lblLayer; - - private global::Gtk.SpinButton spLayer1; - - private global::Gtk.Label GtkLabel28; - - private global::Gtk.Frame frame10; - - private global::Gtk.Alignment GtkAlignment7; - - private global::Gtk.VBox vbox5; - - private global::Gtk.CheckButton chkDimensions; - - private global::Gtk.CheckButton chkRound; - - private global::Gtk.HBox hbox23; - - private global::Gtk.Label lblDiameter; - - private global::Gtk.SpinButton spDiameter; - - private global::Gtk.Label lblDiameterUnits; - - private global::Gtk.HBox hbox22; - - private global::Gtk.Label lblHeight; - - private global::Gtk.SpinButton spHeight; - - private global::Gtk.Label lblHeightUnits; - - private global::Gtk.HBox hbox21; - - private global::Gtk.Label lblWidth; - - private global::Gtk.SpinButton spWidth; - - private global::Gtk.Label lblWidthUnits; - - private global::Gtk.HBox hbox20; - - private global::Gtk.Label lblThickness; - - private global::Gtk.SpinButton spThickness; - - private global::Gtk.Label lblThicknessUnits; - - private global::Gtk.Label GtkLabel26; - - private global::Gtk.Label label1; - - private global::Gtk.VBox vbox44; - - private global::Gtk.CheckButton chkLayers; - - private global::Gtk.Frame frmLayers; - - private global::Gtk.Alignment GtkAlignment48; - - private global::Gtk.VBox vbox46; - - private global::Gtk.HBox hbox109; - - private global::Gtk.Label lblLayerType; - - private global::Gtk.ComboBox cmbLayerType; - - private global::Gtk.ScrolledWindow GtkScrolledWindow26; - - private global::Gtk.TreeView treeLayers; - - private global::Gtk.HBox hbox110; - - private global::Gtk.Label lblLayer1; - - private global::Gtk.SpinButton spLayer; - - private global::Gtk.Label lblLayerHas; - - private global::Gtk.Entry txtLayerSize; - - private global::Gtk.Label lblLayerSize; - - private global::Gtk.Button btnAddLayer; - - private global::Gtk.Button btnRemoveLayer; - - private global::Gtk.Label GtkLabel6; - - private global::Gtk.Label label134; - - private global::Gtk.VBox vbox4; - - private global::Gtk.Frame frmRingCodes; - - private global::Gtk.Alignment GtkAlignment57; - - private global::Gtk.VBox vbox10; - - private global::Gtk.ScrolledWindow GtkScrolledWindow27; - - private global::Gtk.TreeView treeRingCodes; - - private global::Gtk.HBox hbox4; - - private global::Gtk.Label lblRingLayer; - - private global::Gtk.SpinButton spRingCodeLayer; - - private global::Gtk.Label lblRingCode; - - private global::Gtk.Entry txtRingCode; - - private global::Gtk.Button btnAddRingCode; - - private global::Gtk.Button btnRemoveRingCode; - - private global::Gtk.Label GtkLabel62; - - private global::Gtk.Frame frmMasteringSIDs; - - private global::Gtk.Alignment GtkAlignment56; - - private global::Gtk.VBox vbox9; - - private global::Gtk.ScrolledWindow GtkScrolledWindow28; - - private global::Gtk.TreeView treeMasteringSIDs; - - private global::Gtk.HBox hbox5; - - private global::Gtk.Label lblMasteringSIDLayer; - - private global::Gtk.SpinButton spMasteringSIDLayer; - - private global::Gtk.Label lblMasteringSID; - - private global::Gtk.Entry txtMasteringSID; - - private global::Gtk.Button btnAddMasteringSID; - - private global::Gtk.Button btnRemoveMasteringSID; - - private global::Gtk.Label GtkLabel61; - - private global::Gtk.Frame frmToolstamps; - - private global::Gtk.Alignment GtkAlignment55; - - private global::Gtk.VBox vbox8; - - private global::Gtk.ScrolledWindow GtkScrolledWindow29; - - private global::Gtk.TreeView treeToolstamps; - - private global::Gtk.HBox hbox6; - - private global::Gtk.Label lblToolstampLayer; - - private global::Gtk.SpinButton spToolstampLayer; - - private global::Gtk.Label lblToolstamp; - - private global::Gtk.Entry txtToolstamp; - - private global::Gtk.Button btnAddToolstamp; - - private global::Gtk.Button btnRemoveToolstamp; - - private global::Gtk.Label GtkLabel60; - - private global::Gtk.Frame frmMouldSIDs; - - private global::Gtk.Alignment GtkAlignment54; - - private global::Gtk.VBox vbox7; - - private global::Gtk.ScrolledWindow GtkScrolledWindow30; - - private global::Gtk.TreeView treeMouldSIDs; - - private global::Gtk.HBox hbox7; - - private global::Gtk.Label lblMouldSIDLayer; - - private global::Gtk.SpinButton spMouldSIDLayer; - - private global::Gtk.Label lblMouldSID; - - private global::Gtk.Entry txtMouldSID; - - private global::Gtk.Button btnAddMouldSID; - - private global::Gtk.Button btnRemoveMouldSID; - - private global::Gtk.Label GtkLabel59; - - private global::Gtk.Frame frmMouldTexts; - - private global::Gtk.Alignment GtkAlignment53; - - private global::Gtk.VBox vbox6; - - private global::Gtk.ScrolledWindow GtkScrolledWindow31; - - private global::Gtk.TreeView treeMouldTexts; - - private global::Gtk.HBox hbox9; - - private global::Gtk.Label lblMouldTextLayer; - - private global::Gtk.SpinButton spMouldTextLayer; - - private global::Gtk.Label lblMouldText; - - private global::Gtk.Entry txtMouldText; - - private global::Gtk.Button btnAddMouldText; - - private global::Gtk.Button btnRemoveMouldText; - - private global::Gtk.Label GtkLabel17; - - private global::Gtk.Label label2; - - private global::Gtk.VBox vbox33; - - private global::Gtk.Frame frmTOC; - - private global::Gtk.Alignment GtkAlignment14; - - private global::Gtk.ScrolledWindow GtkScrolledWindow; - - private global::Gtk.TreeView treeTOC; - - private global::Gtk.Label GtkLabel18; - - private global::Gtk.Frame frmCDText; - - private global::Gtk.Alignment GtkAlignment20; - - private global::Gtk.ScrolledWindow GtkScrolledWindow1; - - private global::Gtk.TreeView treeCDText; - - private global::Gtk.Label GtkLabel20; - - private global::Gtk.Frame frmATIP; - - private global::Gtk.Alignment GtkAlignment21; - - private global::Gtk.ScrolledWindow GtkScrolledWindow2; - - private global::Gtk.TreeView treeATIP; - - private global::Gtk.Label GtkLabel21; - - private global::Gtk.Frame frmPMA; - - private global::Gtk.Alignment GtkAlignment22; - - private global::Gtk.ScrolledWindow GtkScrolledWindow3; - - private global::Gtk.TreeView treePMA; - - private global::Gtk.Label GtkLabel22; - - private global::Gtk.Label label111; - - private global::Gtk.VBox vbox35; - - private global::Gtk.Frame frmLeadIns; - - private global::Gtk.Alignment GtkAlignment30; - - private global::Gtk.ScrolledWindow GtkScrolledWindow10; - - private global::Gtk.TreeView treeLeadIn; - - private global::Gtk.Label GtkLabel31; - - private global::Gtk.Frame frmLeadOuts; - - private global::Gtk.Alignment GtkAlignment29; - - private global::Gtk.ScrolledWindow GtkScrolledWindow11; - - private global::Gtk.TreeView treeLeadOut; - - private global::Gtk.Label GtkLabel19; - - private global::Gtk.Label label112; - - private global::Gtk.VBox vbox34; - - private global::Gtk.Frame frmPFI; - - private global::Gtk.Alignment GtkAlignment28; - - private global::Gtk.ScrolledWindow GtkScrolledWindow4; - - private global::Gtk.TreeView treePFI; - - private global::Gtk.Label GtkLabel27; - - private global::Gtk.Frame frmDMI; - - private global::Gtk.Alignment GtkAlignment26; - - private global::Gtk.ScrolledWindow GtkScrolledWindow5; - - private global::Gtk.TreeView treeDMI; - - private global::Gtk.Label GtkLabel25; - - private global::Gtk.Frame frmCMI; - - private global::Gtk.Alignment GtkAlignment31; - - private global::Gtk.ScrolledWindow GtkScrolledWindow14; - - private global::Gtk.TreeView treeCMI; - - private global::Gtk.Label GtkLabel33; - - private global::Gtk.Frame frmBCA; - - private global::Gtk.Alignment GtkAlignment25; - - private global::Gtk.ScrolledWindow GtkScrolledWindow6; - - private global::Gtk.TreeView treeBCA; - - private global::Gtk.Label GtkLabel24; - - private global::Gtk.Frame frmDCB; - - private global::Gtk.Alignment GtkAlignment23; - - private global::Gtk.ScrolledWindow GtkScrolledWindow7; - - private global::Gtk.TreeView treeDCB; - - private global::Gtk.Label GtkLabel23; - - private global::Gtk.Label label113; - - private global::Gtk.VBox vbox36; - - private global::Gtk.Frame frmPRI; - - private global::Gtk.Alignment GtkAlignment35; - - private global::Gtk.ScrolledWindow GtkScrolledWindow15; - - private global::Gtk.TreeView treePRI; - - private global::Gtk.Label GtkLabel37; - - private global::Gtk.Frame frmMediaID; - - private global::Gtk.Alignment GtkAlignment34; - - private global::Gtk.ScrolledWindow GtkScrolledWindow16; - - private global::Gtk.TreeView treeMediaID; - - private global::Gtk.Label GtkLabel36; - - private global::Gtk.Frame frmPFIR; - - private global::Gtk.Alignment GtkAlignment33; - - private global::Gtk.ScrolledWindow GtkScrolledWindow17; - - private global::Gtk.TreeView treePFIR; - - private global::Gtk.Label GtkLabel35; - - private global::Gtk.Frame frmLastRMD; - - private global::Gtk.Alignment GtkAlignment32; - - private global::Gtk.ScrolledWindow GtkScrolledWindow18; - - private global::Gtk.TreeView treeLastRMD; - - private global::Gtk.Label GtkLabel29; - - private global::Gtk.Label label114; - - private global::Gtk.Frame frmADIP; - - private global::Gtk.Alignment GtkAlignment36; - - private global::Gtk.ScrolledWindow GtkScrolledWindow19; - - private global::Gtk.TreeView treeADIP; - - private global::Gtk.Label GtkLabel39; - - private global::Gtk.Label label115; - - private global::Gtk.VBox vbox37; - - private global::Gtk.Frame frmDDS; - - private global::Gtk.Alignment GtkAlignment37; - - private global::Gtk.ScrolledWindow GtkScrolledWindow20; - - private global::Gtk.TreeView treeDDS; - - private global::Gtk.Label GtkLabel30; - - private global::Gtk.Frame frmSAI; - - private global::Gtk.Alignment GtkAlignment38; - - private global::Gtk.ScrolledWindow GtkScrolledWindow21; - - private global::Gtk.TreeView treeSAI; - - private global::Gtk.Label GtkLabel40; - - private global::Gtk.Label label116; - - private global::Gtk.VBox vbox38; - - private global::Gtk.Frame frmDI; - - private global::Gtk.Alignment GtkAlignment40; - - private global::Gtk.ScrolledWindow GtkScrolledWindow22; - - private global::Gtk.TreeView treeDI; - - private global::Gtk.Label GtkLabel44; - - private global::Gtk.Frame frmPAC; - - private global::Gtk.Alignment GtkAlignment39; - - private global::Gtk.ScrolledWindow GtkScrolledWindow23; - - private global::Gtk.TreeView treePAC; - - private global::Gtk.Label GtkLabel32; - - private global::Gtk.Label label117; - - private global::Gtk.Frame frmPS3; - - private global::Gtk.Alignment GtkAlignment44; - - private global::Gtk.VBox vbox40; - - private global::Gtk.HBox hbox96; - - private global::Gtk.Label lblPS3Key; - - private global::Gtk.Entry txtPS3Key; - - private global::Gtk.HBox hbox95; - - private global::Gtk.Label lblPS3Serial; - - private global::Gtk.Entry txtPS3Serial; - - private global::Gtk.Label GtkLabel49; - - private global::Gtk.Label label119; - - private global::Gtk.VBox vbox42; - - private global::Gtk.ScrolledWindow GtkScrolledWindow25; - - private global::Gtk.TreeView treeTracks; - - private global::Gtk.HBox hbox101; - - private global::Gtk.Label lblTrackStart; - - private global::Gtk.Entry txtTrackStart; - - private global::Gtk.Label lblTrackEnd; - - private global::Gtk.Entry txtTrackEnd; - - private global::Gtk.Label lblMSFStart; - - private global::Gtk.Entry txtMSFStart; - - private global::Gtk.Label lblMSFEnd; - - private global::Gtk.Entry txtMSFEnd; - - private global::Gtk.HBox hbox103; - - private global::Gtk.Label lblTrackSequence; - - private global::Gtk.Entry txtTrackSequence; - - private global::Gtk.Label lblSessionSequence; - - private global::Gtk.Entry txtSessionSequence; - - private global::Gtk.Label lblTrackType; - - private global::Gtk.ComboBox cmbTrackType; - - private global::Gtk.Entry txtBytesPerSector; - - private global::Gtk.Label lblBytesPerSector; - - private global::Gtk.HBox hbox102; - - private global::Gtk.Label lblAcoustID; - - private global::Gtk.Entry txtAcoustID; - - private global::Gtk.Frame frmPartitions; - - private global::Gtk.Alignment GtkAlignment17; - - private global::Gtk.VBox vbox22; - - private global::Gtk.ScrolledWindow GtkScrolledWindow12; - - private global::Gtk.TreeView treePartitions; - - private global::Gtk.HBox hbox62; - - private global::Gtk.Button btnCancelPartition; - - private global::Gtk.Button btnRemovePartition; - - private global::Gtk.Button btnAddPartition; - - private global::Gtk.Button btnApplyPartition; - - private global::Gtk.Button btnEditPartition; - - private global::Gtk.HBox hbox63; - - private global::Gtk.Label lblPartitionSequence; - - private global::Gtk.SpinButton spPartitionSequence; - - private global::Gtk.Label lblPartitionStart; - - private global::Gtk.Entry txtPartitionStart; - - private global::Gtk.Label lblPartitionEnd; - - private global::Gtk.Entry txtPartitionEnd; - - private global::Gtk.Label lblPartitionType; - - private global::Gtk.Entry txtPartitionType; - - private global::Gtk.HBox hbox64; - - private global::Gtk.Label lblPartitionName; - - private global::Gtk.Entry txtPartitionName; - - private global::Gtk.Label lblPartitionDescription; - - private global::Gtk.Entry txtPartitionDescription; - - private global::Gtk.Frame frmFilesystems; - - private global::Gtk.Alignment GtkAlignment43; - - private global::Gtk.VBox vbox23; - - private global::Gtk.ScrolledWindow GtkScrolledWindow13; - - private global::Gtk.TreeView treeFilesystems; - - private global::Gtk.HBox hbox65; - - private global::Gtk.Button btnAddFilesystem; - - private global::Gtk.Button btnEditFilesystem; - - private global::Gtk.Button btnRemoveFilesystem; - - private global::Gtk.Label GtkLabel52; - - private global::Gtk.Label GtkLabel53; - - private global::Gtk.HBox hbox104; - - private global::Gtk.Button btnEditTrack; - - private global::Gtk.Button btnApplyTrack; - - private global::Gtk.Button btnCancelTrack; - - private global::Gtk.Label label125; - - private global::Gtk.VBox vbox15; - - private global::Gtk.CheckButton chkDumpHardware; - - private global::Gtk.ScrolledWindow GtkScrolledWindow8; - - private global::Gtk.TreeView treeDumpHardware; - - private global::Gtk.HBox hbox39; - - private global::Gtk.Button btnCancelHardware; - - private global::Gtk.Button btnRemoveHardware; - - private global::Gtk.Button btnAddHardware; - - private global::Gtk.Button btnApplyHardware; - - private global::Gtk.Button btnEditHardware; - - private global::Gtk.HBox hbox40; - - private global::Gtk.Label lblHWManufacturer; - - private global::Gtk.Entry txtHWManufacturer; - - private global::Gtk.Label lblHWModel; - - private global::Gtk.Entry txtHWModel; - - private global::Gtk.HBox hbox41; - - private global::Gtk.Label lblHWRevision; - - private global::Gtk.Entry txtHWRevision; - - private global::Gtk.Label lblHWFirmware; - - private global::Gtk.Entry txtHWFirmware; - - private global::Gtk.HBox hbox44; - - private global::Gtk.Label lblHWSerial; - - private global::Gtk.Entry txtHWSerial; - - private global::Gtk.HPaned hpaned1; - - private global::Gtk.Frame frmExtents; - - private global::Gtk.Alignment GtkAlignment62; - - private global::Gtk.VBox vbox21; - - private global::Gtk.ScrolledWindow GtkScrolledWindow9; - - private global::Gtk.TreeView treeExtents; - - private global::Gtk.HBox hbox58; - - private global::Gtk.Button btnRemoveExtent; - - private global::Gtk.Button btnAddExtent; - - private global::Gtk.HBox hbox59; - - private global::Gtk.Label lblStartExtent; - - private global::Gtk.SpinButton spExtentStart; - - private global::Gtk.Label lblEndExtent; - - private global::Gtk.SpinButton spExtentEnd; - - private global::Gtk.Label GtkLabel69; - - private global::Gtk.Frame frmDumpSoftware; - - private global::Gtk.Alignment GtkAlignment65; - - private global::Gtk.VBox vbox20; - - private global::Gtk.HBox hbox55; - - private global::Gtk.Label lblSoftwareName; - - private global::Gtk.Entry txtSoftwareName; - - private global::Gtk.HBox hbox56; - - private global::Gtk.Label lblSoftwareVersion; - - private global::Gtk.Entry txtSoftwareVersion; - - private global::Gtk.HBox hbox57; - - private global::Gtk.Label lblSoftwareOS; - - private global::Gtk.Entry txtSoftwareOS; - - private global::Gtk.Label GtkLabel70; - - private global::Gtk.Label label11; - - private global::Gtk.HBox hbox15; - - private global::Gtk.Button btnSave; - - private global::Gtk.Button btnCancel; - - private global::Gtk.Button buttonCancel; - - private global::Gtk.Button buttonOk; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget osrepodbmgr.dlgOpticalDisc - this.Name = "osrepodbmgr.dlgOpticalDisc"; - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Internal child osrepodbmgr.dlgOpticalDisc.VBox - global::Gtk.VBox w1 = this.VBox; - w1.Name = "dialog1_VBox"; - w1.BorderWidth = ((uint)(2)); - // Container child dialog1_VBox.Gtk.Box+BoxChild - this.notebook1 = new global::Gtk.Notebook(); - this.notebook1.CanFocus = true; - this.notebook1.Name = "notebook1"; - this.notebook1.CurrentPage = 10; - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox2 = new global::Gtk.VBox(); - this.vbox2.Name = "vbox2"; - this.vbox2.Spacing = 6; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox(); - this.hbox1.Name = "hbox1"; - this.hbox1.Spacing = 6; - // Container child hbox1.Gtk.Box+BoxChild - this.label12 = new global::Gtk.Label(); - this.label12.Name = "label12"; - this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Image:"); - this.hbox1.Add(this.label12); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label12])); - w2.Position = 0; - w2.Expand = false; - w2.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.txtImage = new global::Gtk.Entry(); - this.txtImage.CanFocus = true; - this.txtImage.Name = "txtImage"; - this.txtImage.IsEditable = false; - this.txtImage.InvisibleChar = '●'; - this.hbox1.Add(this.txtImage); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtImage])); - w3.Position = 1; - this.vbox2.Add(this.hbox1); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); - w4.Position = 0; - w4.Expand = false; - w4.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox(); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.lblFormat = new global::Gtk.Label(); - this.lblFormat.Name = "lblFormat"; - this.lblFormat.LabelProp = global::Mono.Unix.Catalog.GetString("Format:"); - this.hbox2.Add(this.lblFormat); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblFormat])); - w5.Position = 0; - w5.Expand = false; - w5.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.txtFormat = new global::Gtk.Entry(); - this.txtFormat.CanFocus = true; - this.txtFormat.Name = "txtFormat"; - this.txtFormat.IsEditable = true; - this.txtFormat.InvisibleChar = '●'; - this.hbox2.Add(this.txtFormat); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtFormat])); - w6.Position = 1; - // Container child hbox2.Gtk.Box+BoxChild - this.lblOffset = new global::Gtk.Label(); - this.lblOffset.Name = "lblOffset"; - this.lblOffset.LabelProp = global::Mono.Unix.Catalog.GetString("Offset:"); - this.hbox2.Add(this.lblOffset); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblOffset])); - w7.Position = 2; - w7.Expand = false; - w7.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.txtOffset = new global::Gtk.Entry(); - this.txtOffset.CanFocus = true; - this.txtOffset.Name = "txtOffset"; - this.txtOffset.IsEditable = false; - this.txtOffset.InvisibleChar = '●'; - this.hbox2.Add(this.txtOffset); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtOffset])); - w8.Position = 3; - // Container child hbox2.Gtk.Box+BoxChild - this.lblSize = new global::Gtk.Label(); - this.lblSize.Name = "lblSize"; - this.lblSize.LabelProp = global::Mono.Unix.Catalog.GetString("Size:"); - this.hbox2.Add(this.lblSize); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblSize])); - w9.Position = 4; - w9.Expand = false; - w9.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.txtSize = new global::Gtk.Entry(); - this.txtSize.CanFocus = true; - this.txtSize.Name = "txtSize"; - this.txtSize.IsEditable = false; - this.txtSize.InvisibleChar = '●'; - this.hbox2.Add(this.txtSize); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtSize])); - w10.Position = 5; - this.vbox2.Add(this.hbox2); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); - w11.Position = 1; - w11.Expand = false; - w11.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox8 = new global::Gtk.HBox(); - this.hbox8.Name = "hbox8"; - this.hbox8.Spacing = 6; - // Container child hbox8.Gtk.Box+BoxChild - this.lblWriteOffset = new global::Gtk.Label(); - this.lblWriteOffset.Name = "lblWriteOffset"; - this.lblWriteOffset.LabelProp = global::Mono.Unix.Catalog.GetString("Write offset:"); - this.hbox8.Add(this.lblWriteOffset); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.lblWriteOffset])); - w12.Position = 0; - w12.Expand = false; - w12.Fill = false; - // Container child hbox8.Gtk.Box+BoxChild - this.txtWriteOffset = new global::Gtk.Entry(); - this.txtWriteOffset.CanFocus = true; - this.txtWriteOffset.Name = "txtWriteOffset"; - this.txtWriteOffset.IsEditable = true; - this.txtWriteOffset.InvisibleChar = '●'; - this.hbox8.Add(this.txtWriteOffset); - global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.txtWriteOffset])); - w13.Position = 1; - // Container child hbox8.Gtk.Box+BoxChild - this.lblWriteOffsetUnits = new global::Gtk.Label(); - this.lblWriteOffsetUnits.Name = "lblWriteOffsetUnits"; - this.lblWriteOffsetUnits.LabelProp = global::Mono.Unix.Catalog.GetString("bytes"); - this.hbox8.Add(this.lblWriteOffsetUnits); - global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.lblWriteOffsetUnits])); - w14.Position = 2; - w14.Expand = false; - w14.Fill = false; - this.vbox2.Add(this.hbox8); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox8])); - w15.Position = 2; - w15.Expand = false; - w15.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox11 = new global::Gtk.HBox(); - this.hbox11.Name = "hbox11"; - this.hbox11.Spacing = 6; - // Container child hbox11.Gtk.Box+BoxChild - this.lblMediaTracks = new global::Gtk.Label(); - this.lblMediaTracks.Name = "lblMediaTracks"; - this.lblMediaTracks.LabelProp = global::Mono.Unix.Catalog.GetString("Tracks:"); - this.hbox11.Add(this.lblMediaTracks); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.lblMediaTracks])); - w16.Position = 0; - w16.Expand = false; - w16.Fill = false; - // Container child hbox11.Gtk.Box+BoxChild - this.txtMediaTracks = new global::Gtk.Entry(); - this.txtMediaTracks.CanFocus = true; - this.txtMediaTracks.Name = "txtMediaTracks"; - this.txtMediaTracks.IsEditable = true; - this.txtMediaTracks.InvisibleChar = '●'; - this.hbox11.Add(this.txtMediaTracks); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.txtMediaTracks])); - w17.Position = 1; - this.vbox2.Add(this.hbox11); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox11])); - w18.Position = 3; - w18.Expand = false; - w18.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox10 = new global::Gtk.HBox(); - this.hbox10.Name = "hbox10"; - this.hbox10.Spacing = 6; - // Container child hbox10.Gtk.Box+BoxChild - this.lblMediaSessions = new global::Gtk.Label(); - this.lblMediaSessions.Name = "lblMediaSessions"; - this.lblMediaSessions.LabelProp = global::Mono.Unix.Catalog.GetString("Sessions:"); - this.hbox10.Add(this.lblMediaSessions); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.lblMediaSessions])); - w19.Position = 0; - w19.Expand = false; - w19.Fill = false; - // Container child hbox10.Gtk.Box+BoxChild - this.txtMediaSessions = new global::Gtk.Entry(); - this.txtMediaSessions.CanFocus = true; - this.txtMediaSessions.Name = "txtMediaSessions"; - this.txtMediaSessions.IsEditable = true; - this.txtMediaSessions.InvisibleChar = '●'; - this.hbox10.Add(this.txtMediaSessions); - global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.txtMediaSessions])); - w20.Position = 1; - this.vbox2.Add(this.hbox10); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox10])); - w21.Position = 4; - w21.Expand = false; - w21.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox3 = new global::Gtk.HBox(); - this.hbox3.Name = "hbox3"; - this.hbox3.Spacing = 6; - // Container child hbox3.Gtk.Box+BoxChild - this.lblCopyProtection = new global::Gtk.Label(); - this.lblCopyProtection.Name = "lblCopyProtection"; - this.lblCopyProtection.LabelProp = global::Mono.Unix.Catalog.GetString("Copy protection:"); - this.hbox3.Add(this.lblCopyProtection); - global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lblCopyProtection])); - w22.Position = 0; - w22.Expand = false; - w22.Fill = false; - // Container child hbox3.Gtk.Box+BoxChild - this.txtCopyProtection = new global::Gtk.Entry(); - this.txtCopyProtection.CanFocus = true; - this.txtCopyProtection.Name = "txtCopyProtection"; - this.txtCopyProtection.IsEditable = true; - this.txtCopyProtection.InvisibleChar = '●'; - this.hbox3.Add(this.txtCopyProtection); - global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtCopyProtection])); - w23.Position = 1; - this.vbox2.Add(this.hbox3); - global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); - w24.Position = 5; - w24.Expand = false; - w24.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox92 = new global::Gtk.HBox(); - this.hbox92.Name = "hbox92"; - this.hbox92.Spacing = 6; - // Container child hbox92.Gtk.Box+BoxChild - this.lblDiscType = new global::Gtk.Label(); - this.lblDiscType.Name = "lblDiscType"; - this.lblDiscType.LabelProp = global::Mono.Unix.Catalog.GetString("Disc type:"); - this.hbox92.Add(this.lblDiscType); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox92[this.lblDiscType])); - w25.Position = 0; - w25.Expand = false; - w25.Fill = false; - // Container child hbox92.Gtk.Box+BoxChild - this.txtDiscType = new global::Gtk.Entry(); - this.txtDiscType.CanFocus = true; - this.txtDiscType.Name = "txtDiscType"; - this.txtDiscType.IsEditable = true; - this.txtDiscType.InvisibleChar = '●'; - this.hbox92.Add(this.txtDiscType); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox92[this.txtDiscType])); - w26.Position = 1; - this.vbox2.Add(this.hbox92); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox92])); - w27.Position = 6; - w27.Expand = false; - w27.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox93 = new global::Gtk.HBox(); - this.hbox93.Name = "hbox93"; - this.hbox93.Spacing = 6; - // Container child hbox93.Gtk.Box+BoxChild - this.lblDiscSubtype = new global::Gtk.Label(); - this.lblDiscSubtype.Name = "lblDiscSubtype"; - this.lblDiscSubtype.LabelProp = global::Mono.Unix.Catalog.GetString("Disc subtype:"); - this.hbox93.Add(this.lblDiscSubtype); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox93[this.lblDiscSubtype])); - w28.Position = 0; - w28.Expand = false; - w28.Fill = false; - // Container child hbox93.Gtk.Box+BoxChild - this.txtDiscSubType = new global::Gtk.Entry(); - this.txtDiscSubType.CanFocus = true; - this.txtDiscSubType.Name = "txtDiscSubType"; - this.txtDiscSubType.IsEditable = true; - this.txtDiscSubType.InvisibleChar = '●'; - this.hbox93.Add(this.txtDiscSubType); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox93[this.txtDiscSubType])); - w29.Position = 1; - this.vbox2.Add(this.hbox93); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox93])); - w30.Position = 7; - w30.Expand = false; - w30.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox61 = new global::Gtk.HBox(); - this.hbox61.Name = "hbox61"; - this.hbox61.Spacing = 6; - // Container child hbox61.Gtk.Box+BoxChild - this.frmSequence = new global::Gtk.Frame(); - this.frmSequence.Name = "frmSequence"; - this.frmSequence.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmSequence.Gtk.Container+ContainerChild - this.GtkAlignment9 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment9.Name = "GtkAlignment9"; - this.GtkAlignment9.LeftPadding = ((uint)(12)); - // Container child GtkAlignment9.Gtk.Container+ContainerChild - this.vbox3 = new global::Gtk.VBox(); - this.vbox3.Name = "vbox3"; - this.vbox3.Spacing = 6; - // Container child vbox3.Gtk.Box+BoxChild - this.chkSequence = new global::Gtk.CheckButton(); - this.chkSequence.CanFocus = true; - this.chkSequence.Name = "chkSequence"; - this.chkSequence.Label = global::Mono.Unix.Catalog.GetString("Sequenced"); - this.chkSequence.DrawIndicator = true; - this.chkSequence.UseUnderline = true; - this.vbox3.Add(this.chkSequence); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.chkSequence])); - w31.Position = 0; - w31.Expand = false; - w31.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.lblDiscTitle = new global::Gtk.Label(); - this.lblDiscTitle.Name = "lblDiscTitle"; - this.lblDiscTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Disc title"); - this.vbox3.Add(this.lblDiscTitle); - global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblDiscTitle])); - w32.Position = 1; - w32.Expand = false; - w32.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.txtDiscTitle = new global::Gtk.Entry(); - this.txtDiscTitle.CanFocus = true; - this.txtDiscTitle.Name = "txtDiscTitle"; - this.txtDiscTitle.IsEditable = true; - this.txtDiscTitle.InvisibleChar = '●'; - this.vbox3.Add(this.txtDiscTitle); - global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.txtDiscTitle])); - w33.Position = 2; - w33.Expand = false; - w33.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox14 = new global::Gtk.HBox(); - this.hbox14.Name = "hbox14"; - this.hbox14.Spacing = 6; - // Container child hbox14.Gtk.Box+BoxChild - this.lblSequence = new global::Gtk.Label(); - this.lblSequence.Name = "lblSequence"; - this.lblSequence.LabelProp = global::Mono.Unix.Catalog.GetString("Sequence:"); - this.hbox14.Add(this.lblSequence); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.lblSequence])); - w34.Position = 0; - w34.Expand = false; - w34.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.spSequence = new global::Gtk.SpinButton(0, 1000, 1); - this.spSequence.CanFocus = true; - this.spSequence.Name = "spSequence"; - this.spSequence.Adjustment.PageIncrement = 10; - this.spSequence.ClimbRate = 1; - this.spSequence.Numeric = true; - this.hbox14.Add(this.spSequence); - global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.spSequence])); - w35.Position = 1; - w35.Expand = false; - w35.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.lblTotalMedia = new global::Gtk.Label(); - this.lblTotalMedia.Name = "lblTotalMedia"; - this.lblTotalMedia.LabelProp = global::Mono.Unix.Catalog.GetString("of"); - this.hbox14.Add(this.lblTotalMedia); - global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.lblTotalMedia])); - w36.Position = 2; - w36.Expand = false; - w36.Fill = false; - // Container child hbox14.Gtk.Box+BoxChild - this.spTotalMedia = new global::Gtk.SpinButton(0, 1000, 1); - this.spTotalMedia.CanFocus = true; - this.spTotalMedia.Name = "spTotalMedia"; - this.spTotalMedia.Adjustment.PageIncrement = 10; - this.spTotalMedia.ClimbRate = 1; - this.spTotalMedia.Numeric = true; - this.hbox14.Add(this.spTotalMedia); - global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.spTotalMedia])); - w37.Position = 3; - w37.Expand = false; - w37.Fill = false; - this.vbox3.Add(this.hbox14); - global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox14])); - w38.Position = 3; - w38.Expand = false; - w38.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox12 = new global::Gtk.HBox(); - this.hbox12.Name = "hbox12"; - this.hbox12.Spacing = 6; - // Container child hbox12.Gtk.Box+BoxChild - this.lblSide = new global::Gtk.Label(); - this.lblSide.Name = "lblSide"; - this.lblSide.LabelProp = global::Mono.Unix.Catalog.GetString("Side:"); - this.hbox12.Add(this.lblSide); - global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.lblSide])); - w39.Position = 0; - w39.Expand = false; - w39.Fill = false; - // Container child hbox12.Gtk.Box+BoxChild - this.spSide = new global::Gtk.SpinButton(0, 100, 1); - this.spSide.CanFocus = true; - this.spSide.Name = "spSide"; - this.spSide.Adjustment.PageIncrement = 10; - this.spSide.ClimbRate = 1; - this.spSide.Numeric = true; - this.hbox12.Add(this.spSide); - global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.spSide])); - w40.Position = 1; - w40.Expand = false; - w40.Fill = false; - this.vbox3.Add(this.hbox12); - global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox12])); - w41.Position = 4; - w41.Expand = false; - w41.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox13 = new global::Gtk.HBox(); - this.hbox13.Name = "hbox13"; - this.hbox13.Spacing = 6; - // Container child hbox13.Gtk.Box+BoxChild - this.lblLayer = new global::Gtk.Label(); - this.lblLayer.Name = "lblLayer"; - this.lblLayer.LabelProp = global::Mono.Unix.Catalog.GetString("Layer:"); - this.hbox13.Add(this.lblLayer); - global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.lblLayer])); - w42.Position = 0; - w42.Expand = false; - w42.Fill = false; - // Container child hbox13.Gtk.Box+BoxChild - this.spLayer1 = new global::Gtk.SpinButton(0, 100, 1); - this.spLayer1.CanFocus = true; - this.spLayer1.Name = "spLayer1"; - this.spLayer1.Adjustment.PageIncrement = 10; - this.spLayer1.ClimbRate = 1; - this.spLayer1.Numeric = true; - this.hbox13.Add(this.spLayer1); - global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.spLayer1])); - w43.Position = 1; - w43.Expand = false; - w43.Fill = false; - this.vbox3.Add(this.hbox13); - global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox13])); - w44.Position = 5; - w44.Expand = false; - w44.Fill = false; - this.GtkAlignment9.Add(this.vbox3); - this.frmSequence.Add(this.GtkAlignment9); - this.GtkLabel28 = new global::Gtk.Label(); - this.GtkLabel28.Name = "GtkLabel28"; - this.GtkLabel28.LabelProp = global::Mono.Unix.Catalog.GetString("Sequence"); - this.GtkLabel28.UseMarkup = true; - this.frmSequence.LabelWidget = this.GtkLabel28; - this.hbox61.Add(this.frmSequence); - global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox61[this.frmSequence])); - w47.Position = 0; - w47.Expand = false; - w47.Fill = false; - // Container child hbox61.Gtk.Box+BoxChild - this.frame10 = new global::Gtk.Frame(); - this.frame10.Name = "frame10"; - this.frame10.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frame10.Gtk.Container+ContainerChild - this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment7.Name = "GtkAlignment7"; - this.GtkAlignment7.LeftPadding = ((uint)(12)); - // Container child GtkAlignment7.Gtk.Container+ContainerChild - this.vbox5 = new global::Gtk.VBox(); - this.vbox5.Name = "vbox5"; - this.vbox5.Spacing = 6; - // Container child vbox5.Gtk.Box+BoxChild - this.chkDimensions = new global::Gtk.CheckButton(); - this.chkDimensions.CanFocus = true; - this.chkDimensions.Name = "chkDimensions"; - this.chkDimensions.Label = global::Mono.Unix.Catalog.GetString("Known dimensions"); - this.chkDimensions.DrawIndicator = true; - this.chkDimensions.UseUnderline = true; - this.vbox5.Add(this.chkDimensions); - global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.chkDimensions])); - w48.Position = 0; - w48.Expand = false; - w48.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.chkRound = new global::Gtk.CheckButton(); - this.chkRound.CanFocus = true; - this.chkRound.Name = "chkRound"; - this.chkRound.Label = global::Mono.Unix.Catalog.GetString("Round?"); - this.chkRound.DrawIndicator = true; - this.chkRound.UseUnderline = true; - this.vbox5.Add(this.chkRound); - global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.chkRound])); - w49.Position = 1; - w49.Expand = false; - w49.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox23 = new global::Gtk.HBox(); - this.hbox23.Name = "hbox23"; - this.hbox23.Spacing = 6; - // Container child hbox23.Gtk.Box+BoxChild - this.lblDiameter = new global::Gtk.Label(); - this.lblDiameter.Name = "lblDiameter"; - this.lblDiameter.LabelProp = global::Mono.Unix.Catalog.GetString("Diameter:"); - this.hbox23.Add(this.lblDiameter); - global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.lblDiameter])); - w50.Position = 0; - w50.Expand = false; - w50.Fill = false; - // Container child hbox23.Gtk.Box+BoxChild - this.spDiameter = new global::Gtk.SpinButton(0, 1000, 1); - this.spDiameter.CanFocus = true; - this.spDiameter.Name = "spDiameter"; - this.spDiameter.Adjustment.PageIncrement = 10; - this.spDiameter.ClimbRate = 1; - this.spDiameter.Digits = ((uint)(5)); - this.spDiameter.Numeric = true; - this.hbox23.Add(this.spDiameter); - global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.spDiameter])); - w51.Position = 1; - w51.Expand = false; - w51.Fill = false; - // Container child hbox23.Gtk.Box+BoxChild - this.lblDiameterUnits = new global::Gtk.Label(); - this.lblDiameterUnits.Name = "lblDiameterUnits"; - this.lblDiameterUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox23.Add(this.lblDiameterUnits); - global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.lblDiameterUnits])); - w52.Position = 2; - w52.Expand = false; - w52.Fill = false; - this.vbox5.Add(this.hbox23); - global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox23])); - w53.Position = 2; - w53.Expand = false; - w53.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox22 = new global::Gtk.HBox(); - this.hbox22.Name = "hbox22"; - this.hbox22.Spacing = 6; - // Container child hbox22.Gtk.Box+BoxChild - this.lblHeight = new global::Gtk.Label(); - this.lblHeight.Name = "lblHeight"; - this.lblHeight.LabelProp = global::Mono.Unix.Catalog.GetString("Height:"); - this.hbox22.Add(this.lblHeight); - global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.lblHeight])); - w54.Position = 0; - w54.Expand = false; - w54.Fill = false; - // Container child hbox22.Gtk.Box+BoxChild - this.spHeight = new global::Gtk.SpinButton(0, 1000, 1); - this.spHeight.CanFocus = true; - this.spHeight.Name = "spHeight"; - this.spHeight.Adjustment.PageIncrement = 10; - this.spHeight.ClimbRate = 1; - this.spHeight.Digits = ((uint)(5)); - this.spHeight.Numeric = true; - this.hbox22.Add(this.spHeight); - global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.spHeight])); - w55.Position = 1; - w55.Expand = false; - w55.Fill = false; - // Container child hbox22.Gtk.Box+BoxChild - this.lblHeightUnits = new global::Gtk.Label(); - this.lblHeightUnits.Name = "lblHeightUnits"; - this.lblHeightUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox22.Add(this.lblHeightUnits); - global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.lblHeightUnits])); - w56.Position = 2; - w56.Expand = false; - w56.Fill = false; - this.vbox5.Add(this.hbox22); - global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox22])); - w57.Position = 3; - w57.Expand = false; - w57.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox21 = new global::Gtk.HBox(); - this.hbox21.Name = "hbox21"; - this.hbox21.Spacing = 6; - // Container child hbox21.Gtk.Box+BoxChild - this.lblWidth = new global::Gtk.Label(); - this.lblWidth.Name = "lblWidth"; - this.lblWidth.LabelProp = global::Mono.Unix.Catalog.GetString("Width:"); - this.hbox21.Add(this.lblWidth); - global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.lblWidth])); - w58.Position = 0; - w58.Expand = false; - w58.Fill = false; - // Container child hbox21.Gtk.Box+BoxChild - this.spWidth = new global::Gtk.SpinButton(0, 1000, 1); - this.spWidth.CanFocus = true; - this.spWidth.Name = "spWidth"; - this.spWidth.Adjustment.PageIncrement = 10; - this.spWidth.ClimbRate = 1; - this.spWidth.Digits = ((uint)(5)); - this.spWidth.Numeric = true; - this.hbox21.Add(this.spWidth); - global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.spWidth])); - w59.Position = 1; - w59.Expand = false; - w59.Fill = false; - // Container child hbox21.Gtk.Box+BoxChild - this.lblWidthUnits = new global::Gtk.Label(); - this.lblWidthUnits.Name = "lblWidthUnits"; - this.lblWidthUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox21.Add(this.lblWidthUnits); - global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.lblWidthUnits])); - w60.Position = 2; - w60.Expand = false; - w60.Fill = false; - this.vbox5.Add(this.hbox21); - global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox21])); - w61.Position = 4; - w61.Expand = false; - w61.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox20 = new global::Gtk.HBox(); - this.hbox20.Name = "hbox20"; - this.hbox20.Spacing = 6; - // Container child hbox20.Gtk.Box+BoxChild - this.lblThickness = new global::Gtk.Label(); - this.lblThickness.Name = "lblThickness"; - this.lblThickness.LabelProp = global::Mono.Unix.Catalog.GetString("Thickness:"); - this.hbox20.Add(this.lblThickness); - global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.lblThickness])); - w62.Position = 0; - w62.Expand = false; - w62.Fill = false; - // Container child hbox20.Gtk.Box+BoxChild - this.spThickness = new global::Gtk.SpinButton(0, 1000, 1); - this.spThickness.CanFocus = true; - this.spThickness.Name = "spThickness"; - this.spThickness.Adjustment.PageIncrement = 10; - this.spThickness.ClimbRate = 1; - this.spThickness.Digits = ((uint)(5)); - this.spThickness.Numeric = true; - this.hbox20.Add(this.spThickness); - global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.spThickness])); - w63.Position = 1; - w63.Expand = false; - w63.Fill = false; - // Container child hbox20.Gtk.Box+BoxChild - this.lblThicknessUnits = new global::Gtk.Label(); - this.lblThicknessUnits.Name = "lblThicknessUnits"; - this.lblThicknessUnits.LabelProp = global::Mono.Unix.Catalog.GetString("mm"); - this.hbox20.Add(this.lblThicknessUnits); - global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.lblThicknessUnits])); - w64.Position = 2; - w64.Expand = false; - w64.Fill = false; - this.vbox5.Add(this.hbox20); - global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox20])); - w65.Position = 5; - w65.Expand = false; - w65.Fill = false; - this.GtkAlignment7.Add(this.vbox5); - this.frame10.Add(this.GtkAlignment7); - this.GtkLabel26 = new global::Gtk.Label(); - this.GtkLabel26.Name = "GtkLabel26"; - this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString("Dimensions"); - this.GtkLabel26.UseMarkup = true; - this.frame10.LabelWidget = this.GtkLabel26; - this.hbox61.Add(this.frame10); - global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox61[this.frame10])); - w68.Position = 1; - w68.Expand = false; - w68.Fill = false; - this.vbox2.Add(this.hbox61); - global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox61])); - w69.Position = 8; - w69.Expand = false; - w69.Fill = false; - this.notebook1.Add(this.vbox2); - // Notebook tab - this.label1 = new global::Gtk.Label(); - this.label1.Name = "label1"; - this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("General"); - this.notebook1.SetTabLabel(this.vbox2, this.label1); - this.label1.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox44 = new global::Gtk.VBox(); - this.vbox44.Name = "vbox44"; - this.vbox44.Spacing = 6; - // Container child vbox44.Gtk.Box+BoxChild - this.chkLayers = new global::Gtk.CheckButton(); - this.chkLayers.CanFocus = true; - this.chkLayers.Name = "chkLayers"; - this.chkLayers.Label = global::Mono.Unix.Catalog.GetString("Has layers?"); - this.chkLayers.DrawIndicator = true; - this.chkLayers.UseUnderline = true; - this.vbox44.Add(this.chkLayers); - global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vbox44[this.chkLayers])); - w71.Position = 0; - w71.Expand = false; - w71.Fill = false; - // Container child vbox44.Gtk.Box+BoxChild - this.frmLayers = new global::Gtk.Frame(); - this.frmLayers.Name = "frmLayers"; - this.frmLayers.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmLayers.Gtk.Container+ContainerChild - this.GtkAlignment48 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment48.Name = "GtkAlignment48"; - this.GtkAlignment48.LeftPadding = ((uint)(12)); - // Container child GtkAlignment48.Gtk.Container+ContainerChild - this.vbox46 = new global::Gtk.VBox(); - this.vbox46.Name = "vbox46"; - this.vbox46.Spacing = 6; - // Container child vbox46.Gtk.Box+BoxChild - this.hbox109 = new global::Gtk.HBox(); - this.hbox109.Name = "hbox109"; - this.hbox109.Spacing = 6; - // Container child hbox109.Gtk.Box+BoxChild - this.lblLayerType = new global::Gtk.Label(); - this.lblLayerType.Name = "lblLayerType"; - this.lblLayerType.LabelProp = global::Mono.Unix.Catalog.GetString("Layering type:"); - this.hbox109.Add(this.lblLayerType); - global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox109[this.lblLayerType])); - w72.Position = 0; - w72.Expand = false; - w72.Fill = false; - // Container child hbox109.Gtk.Box+BoxChild - this.cmbLayerType = global::Gtk.ComboBox.NewText(); - this.cmbLayerType.Name = "cmbLayerType"; - this.hbox109.Add(this.cmbLayerType); - global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox109[this.cmbLayerType])); - w73.Position = 1; - w73.Expand = false; - w73.Fill = false; - this.vbox46.Add(this.hbox109); - global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox46[this.hbox109])); - w74.Position = 0; - w74.Expand = false; - w74.Fill = false; - // Container child vbox46.Gtk.Box+BoxChild - this.GtkScrolledWindow26 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow26.Name = "GtkScrolledWindow26"; - this.GtkScrolledWindow26.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow26.Gtk.Container+ContainerChild - this.treeLayers = new global::Gtk.TreeView(); - this.treeLayers.CanFocus = true; - this.treeLayers.Name = "treeLayers"; - this.GtkScrolledWindow26.Add(this.treeLayers); - this.vbox46.Add(this.GtkScrolledWindow26); - global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox46[this.GtkScrolledWindow26])); - w76.Position = 1; - // Container child vbox46.Gtk.Box+BoxChild - this.hbox110 = new global::Gtk.HBox(); - this.hbox110.Name = "hbox110"; - this.hbox110.Spacing = 6; - // Container child hbox110.Gtk.Box+BoxChild - this.lblLayer1 = new global::Gtk.Label(); - this.lblLayer1.Name = "lblLayer1"; - this.lblLayer1.LabelProp = global::Mono.Unix.Catalog.GetString("Layer"); - this.hbox110.Add(this.lblLayer1); - global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.hbox110[this.lblLayer1])); - w77.Position = 0; - w77.Expand = false; - w77.Fill = false; - // Container child hbox110.Gtk.Box+BoxChild - this.spLayer = new global::Gtk.SpinButton(0, 100, 1); - this.spLayer.CanFocus = true; - this.spLayer.Name = "spLayer"; - this.spLayer.Adjustment.PageIncrement = 10; - this.spLayer.ClimbRate = 1; - this.spLayer.Numeric = true; - this.hbox110.Add(this.spLayer); - global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.hbox110[this.spLayer])); - w78.Position = 1; - w78.Expand = false; - w78.Fill = false; - // Container child hbox110.Gtk.Box+BoxChild - this.lblLayerHas = new global::Gtk.Label(); - this.lblLayerHas.Name = "lblLayerHas"; - this.lblLayerHas.LabelProp = global::Mono.Unix.Catalog.GetString("starts at sector"); - this.hbox110.Add(this.lblLayerHas); - global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.hbox110[this.lblLayerHas])); - w79.Position = 2; - w79.Expand = false; - w79.Fill = false; - // Container child hbox110.Gtk.Box+BoxChild - this.txtLayerSize = new global::Gtk.Entry(); - this.txtLayerSize.CanFocus = true; - this.txtLayerSize.Name = "txtLayerSize"; - this.txtLayerSize.IsEditable = true; - this.txtLayerSize.InvisibleChar = '●'; - this.hbox110.Add(this.txtLayerSize); - global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.hbox110[this.txtLayerSize])); - w80.Position = 3; - // Container child hbox110.Gtk.Box+BoxChild - this.lblLayerSize = new global::Gtk.Label(); - this.lblLayerSize.Name = "lblLayerSize"; - this.lblLayerSize.LabelProp = global::Mono.Unix.Catalog.GetString("sectors"); - this.hbox110.Add(this.lblLayerSize); - global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox110[this.lblLayerSize])); - w81.Position = 4; - w81.Expand = false; - w81.Fill = false; - // Container child hbox110.Gtk.Box+BoxChild - this.btnAddLayer = new global::Gtk.Button(); - this.btnAddLayer.CanFocus = true; - this.btnAddLayer.Name = "btnAddLayer"; - this.btnAddLayer.UseStock = true; - this.btnAddLayer.UseUnderline = true; - this.btnAddLayer.Label = "gtk-add"; - this.hbox110.Add(this.btnAddLayer); - global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.hbox110[this.btnAddLayer])); - w82.Position = 5; - w82.Expand = false; - w82.Fill = false; - // Container child hbox110.Gtk.Box+BoxChild - this.btnRemoveLayer = new global::Gtk.Button(); - this.btnRemoveLayer.CanFocus = true; - this.btnRemoveLayer.Name = "btnRemoveLayer"; - this.btnRemoveLayer.UseStock = true; - this.btnRemoveLayer.UseUnderline = true; - this.btnRemoveLayer.Label = "gtk-remove"; - this.hbox110.Add(this.btnRemoveLayer); - global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox110[this.btnRemoveLayer])); - w83.Position = 6; - w83.Expand = false; - w83.Fill = false; - this.vbox46.Add(this.hbox110); - global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.vbox46[this.hbox110])); - w84.Position = 2; - w84.Expand = false; - w84.Fill = false; - this.GtkAlignment48.Add(this.vbox46); - this.frmLayers.Add(this.GtkAlignment48); - this.GtkLabel6 = new global::Gtk.Label(); - this.GtkLabel6.Name = "GtkLabel6"; - this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Layers"); - this.GtkLabel6.UseMarkup = true; - this.frmLayers.LabelWidget = this.GtkLabel6; - this.vbox44.Add(this.frmLayers); - global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.vbox44[this.frmLayers])); - w87.Position = 1; - this.notebook1.Add(this.vbox44); - global::Gtk.Notebook.NotebookChild w88 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox44])); - w88.Position = 1; - // Notebook tab - this.label134 = new global::Gtk.Label(); - this.label134.Name = "label134"; - this.label134.LabelProp = global::Mono.Unix.Catalog.GetString("Layers"); - this.notebook1.SetTabLabel(this.vbox44, this.label134); - this.label134.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox4 = new global::Gtk.VBox(); - this.vbox4.Name = "vbox4"; - this.vbox4.Spacing = 6; - // Container child vbox4.Gtk.Box+BoxChild - this.frmRingCodes = new global::Gtk.Frame(); - this.frmRingCodes.Name = "frmRingCodes"; - this.frmRingCodes.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmRingCodes.Gtk.Container+ContainerChild - this.GtkAlignment57 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment57.Name = "GtkAlignment57"; - this.GtkAlignment57.LeftPadding = ((uint)(12)); - // Container child GtkAlignment57.Gtk.Container+ContainerChild - this.vbox10 = new global::Gtk.VBox(); - this.vbox10.Name = "vbox10"; - this.vbox10.Spacing = 6; - // Container child vbox10.Gtk.Box+BoxChild - this.GtkScrolledWindow27 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow27.Name = "GtkScrolledWindow27"; - this.GtkScrolledWindow27.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow27.Gtk.Container+ContainerChild - this.treeRingCodes = new global::Gtk.TreeView(); - this.treeRingCodes.CanFocus = true; - this.treeRingCodes.Name = "treeRingCodes"; - this.GtkScrolledWindow27.Add(this.treeRingCodes); - this.vbox10.Add(this.GtkScrolledWindow27); - global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.GtkScrolledWindow27])); - w90.Position = 0; - // Container child vbox10.Gtk.Box+BoxChild - this.hbox4 = new global::Gtk.HBox(); - this.hbox4.Name = "hbox4"; - this.hbox4.Spacing = 6; - // Container child hbox4.Gtk.Box+BoxChild - this.lblRingLayer = new global::Gtk.Label(); - this.lblRingLayer.Name = "lblRingLayer"; - this.lblRingLayer.LabelProp = global::Mono.Unix.Catalog.GetString("Layer"); - this.hbox4.Add(this.lblRingLayer); - global::Gtk.Box.BoxChild w91 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lblRingLayer])); - w91.Position = 0; - w91.Expand = false; - w91.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.spRingCodeLayer = new global::Gtk.SpinButton(0, 100, 1); - this.spRingCodeLayer.CanFocus = true; - this.spRingCodeLayer.Name = "spRingCodeLayer"; - this.spRingCodeLayer.Adjustment.PageIncrement = 10; - this.spRingCodeLayer.ClimbRate = 1; - this.spRingCodeLayer.Numeric = true; - this.hbox4.Add(this.spRingCodeLayer); - global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.spRingCodeLayer])); - w92.Position = 1; - w92.Expand = false; - w92.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.lblRingCode = new global::Gtk.Label(); - this.lblRingCode.Name = "lblRingCode"; - this.lblRingCode.LabelProp = global::Mono.Unix.Catalog.GetString("Code:"); - this.hbox4.Add(this.lblRingCode); - global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lblRingCode])); - w93.Position = 2; - w93.Expand = false; - w93.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.txtRingCode = new global::Gtk.Entry(); - this.txtRingCode.CanFocus = true; - this.txtRingCode.Name = "txtRingCode"; - this.txtRingCode.IsEditable = true; - this.txtRingCode.InvisibleChar = '●'; - this.hbox4.Add(this.txtRingCode); - global::Gtk.Box.BoxChild w94 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtRingCode])); - w94.Position = 3; - // Container child hbox4.Gtk.Box+BoxChild - this.btnAddRingCode = new global::Gtk.Button(); - this.btnAddRingCode.CanFocus = true; - this.btnAddRingCode.Name = "btnAddRingCode"; - this.btnAddRingCode.UseStock = true; - this.btnAddRingCode.UseUnderline = true; - this.btnAddRingCode.Label = "gtk-add"; - this.hbox4.Add(this.btnAddRingCode); - global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnAddRingCode])); - w95.Position = 4; - w95.Expand = false; - w95.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.btnRemoveRingCode = new global::Gtk.Button(); - this.btnRemoveRingCode.CanFocus = true; - this.btnRemoveRingCode.Name = "btnRemoveRingCode"; - this.btnRemoveRingCode.UseStock = true; - this.btnRemoveRingCode.UseUnderline = true; - this.btnRemoveRingCode.Label = "gtk-remove"; - this.hbox4.Add(this.btnRemoveRingCode); - global::Gtk.Box.BoxChild w96 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnRemoveRingCode])); - w96.Position = 5; - w96.Expand = false; - w96.Fill = false; - this.vbox10.Add(this.hbox4); - global::Gtk.Box.BoxChild w97 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.hbox4])); - w97.Position = 1; - w97.Expand = false; - w97.Fill = false; - this.GtkAlignment57.Add(this.vbox10); - this.frmRingCodes.Add(this.GtkAlignment57); - this.GtkLabel62 = new global::Gtk.Label(); - this.GtkLabel62.Name = "GtkLabel62"; - this.GtkLabel62.LabelProp = global::Mono.Unix.Catalog.GetString("Ring codes"); - this.GtkLabel62.UseMarkup = true; - this.frmRingCodes.LabelWidget = this.GtkLabel62; - this.vbox4.Add(this.frmRingCodes); - global::Gtk.Box.BoxChild w100 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frmRingCodes])); - w100.Position = 0; - // Container child vbox4.Gtk.Box+BoxChild - this.frmMasteringSIDs = new global::Gtk.Frame(); - this.frmMasteringSIDs.Name = "frmMasteringSIDs"; - this.frmMasteringSIDs.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmMasteringSIDs.Gtk.Container+ContainerChild - this.GtkAlignment56 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment56.Name = "GtkAlignment56"; - this.GtkAlignment56.LeftPadding = ((uint)(12)); - // Container child GtkAlignment56.Gtk.Container+ContainerChild - this.vbox9 = new global::Gtk.VBox(); - this.vbox9.Name = "vbox9"; - this.vbox9.Spacing = 6; - // Container child vbox9.Gtk.Box+BoxChild - this.GtkScrolledWindow28 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow28.Name = "GtkScrolledWindow28"; - this.GtkScrolledWindow28.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow28.Gtk.Container+ContainerChild - this.treeMasteringSIDs = new global::Gtk.TreeView(); - this.treeMasteringSIDs.CanFocus = true; - this.treeMasteringSIDs.Name = "treeMasteringSIDs"; - this.GtkScrolledWindow28.Add(this.treeMasteringSIDs); - this.vbox9.Add(this.GtkScrolledWindow28); - global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.GtkScrolledWindow28])); - w102.Position = 0; - // Container child vbox9.Gtk.Box+BoxChild - this.hbox5 = new global::Gtk.HBox(); - this.hbox5.Name = "hbox5"; - this.hbox5.Spacing = 6; - // Container child hbox5.Gtk.Box+BoxChild - this.lblMasteringSIDLayer = new global::Gtk.Label(); - this.lblMasteringSIDLayer.Name = "lblMasteringSIDLayer"; - this.lblMasteringSIDLayer.LabelProp = global::Mono.Unix.Catalog.GetString("Layer"); - this.hbox5.Add(this.lblMasteringSIDLayer); - global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.lblMasteringSIDLayer])); - w103.Position = 0; - w103.Expand = false; - w103.Fill = false; - // Container child hbox5.Gtk.Box+BoxChild - this.spMasteringSIDLayer = new global::Gtk.SpinButton(0, 100, 1); - this.spMasteringSIDLayer.CanFocus = true; - this.spMasteringSIDLayer.Name = "spMasteringSIDLayer"; - this.spMasteringSIDLayer.Adjustment.PageIncrement = 10; - this.spMasteringSIDLayer.ClimbRate = 1; - this.spMasteringSIDLayer.Numeric = true; - this.hbox5.Add(this.spMasteringSIDLayer); - global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.spMasteringSIDLayer])); - w104.Position = 1; - w104.Expand = false; - w104.Fill = false; - // Container child hbox5.Gtk.Box+BoxChild - this.lblMasteringSID = new global::Gtk.Label(); - this.lblMasteringSID.Name = "lblMasteringSID"; - this.lblMasteringSID.LabelProp = global::Mono.Unix.Catalog.GetString("SID:"); - this.hbox5.Add(this.lblMasteringSID); - global::Gtk.Box.BoxChild w105 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.lblMasteringSID])); - w105.Position = 2; - w105.Expand = false; - w105.Fill = false; - // Container child hbox5.Gtk.Box+BoxChild - this.txtMasteringSID = new global::Gtk.Entry(); - this.txtMasteringSID.CanFocus = true; - this.txtMasteringSID.Name = "txtMasteringSID"; - this.txtMasteringSID.IsEditable = true; - this.txtMasteringSID.InvisibleChar = '●'; - this.hbox5.Add(this.txtMasteringSID); - global::Gtk.Box.BoxChild w106 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.txtMasteringSID])); - w106.Position = 3; - // Container child hbox5.Gtk.Box+BoxChild - this.btnAddMasteringSID = new global::Gtk.Button(); - this.btnAddMasteringSID.CanFocus = true; - this.btnAddMasteringSID.Name = "btnAddMasteringSID"; - this.btnAddMasteringSID.UseStock = true; - this.btnAddMasteringSID.UseUnderline = true; - this.btnAddMasteringSID.Label = "gtk-add"; - this.hbox5.Add(this.btnAddMasteringSID); - global::Gtk.Box.BoxChild w107 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnAddMasteringSID])); - w107.Position = 4; - w107.Expand = false; - w107.Fill = false; - // Container child hbox5.Gtk.Box+BoxChild - this.btnRemoveMasteringSID = new global::Gtk.Button(); - this.btnRemoveMasteringSID.CanFocus = true; - this.btnRemoveMasteringSID.Name = "btnRemoveMasteringSID"; - this.btnRemoveMasteringSID.UseStock = true; - this.btnRemoveMasteringSID.UseUnderline = true; - this.btnRemoveMasteringSID.Label = "gtk-remove"; - this.hbox5.Add(this.btnRemoveMasteringSID); - global::Gtk.Box.BoxChild w108 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnRemoveMasteringSID])); - w108.Position = 5; - w108.Expand = false; - w108.Fill = false; - this.vbox9.Add(this.hbox5); - global::Gtk.Box.BoxChild w109 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.hbox5])); - w109.Position = 1; - w109.Expand = false; - w109.Fill = false; - this.GtkAlignment56.Add(this.vbox9); - this.frmMasteringSIDs.Add(this.GtkAlignment56); - this.GtkLabel61 = new global::Gtk.Label(); - this.GtkLabel61.Name = "GtkLabel61"; - this.GtkLabel61.LabelProp = global::Mono.Unix.Catalog.GetString("Mastering SIDs"); - this.GtkLabel61.UseMarkup = true; - this.frmMasteringSIDs.LabelWidget = this.GtkLabel61; - this.vbox4.Add(this.frmMasteringSIDs); - global::Gtk.Box.BoxChild w112 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frmMasteringSIDs])); - w112.Position = 1; - // Container child vbox4.Gtk.Box+BoxChild - this.frmToolstamps = new global::Gtk.Frame(); - this.frmToolstamps.Name = "frmToolstamps"; - this.frmToolstamps.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmToolstamps.Gtk.Container+ContainerChild - this.GtkAlignment55 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment55.Name = "GtkAlignment55"; - this.GtkAlignment55.LeftPadding = ((uint)(12)); - // Container child GtkAlignment55.Gtk.Container+ContainerChild - this.vbox8 = new global::Gtk.VBox(); - this.vbox8.Name = "vbox8"; - this.vbox8.Spacing = 6; - // Container child vbox8.Gtk.Box+BoxChild - this.GtkScrolledWindow29 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow29.Name = "GtkScrolledWindow29"; - this.GtkScrolledWindow29.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow29.Gtk.Container+ContainerChild - this.treeToolstamps = new global::Gtk.TreeView(); - this.treeToolstamps.CanFocus = true; - this.treeToolstamps.Name = "treeToolstamps"; - this.GtkScrolledWindow29.Add(this.treeToolstamps); - this.vbox8.Add(this.GtkScrolledWindow29); - global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.GtkScrolledWindow29])); - w114.Position = 0; - // Container child vbox8.Gtk.Box+BoxChild - this.hbox6 = new global::Gtk.HBox(); - this.hbox6.Name = "hbox6"; - this.hbox6.Spacing = 6; - // Container child hbox6.Gtk.Box+BoxChild - this.lblToolstampLayer = new global::Gtk.Label(); - this.lblToolstampLayer.Name = "lblToolstampLayer"; - this.lblToolstampLayer.LabelProp = global::Mono.Unix.Catalog.GetString("Layer"); - this.hbox6.Add(this.lblToolstampLayer); - global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.lblToolstampLayer])); - w115.Position = 0; - w115.Expand = false; - w115.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.spToolstampLayer = new global::Gtk.SpinButton(0, 100, 1); - this.spToolstampLayer.CanFocus = true; - this.spToolstampLayer.Name = "spToolstampLayer"; - this.spToolstampLayer.Adjustment.PageIncrement = 10; - this.spToolstampLayer.ClimbRate = 1; - this.spToolstampLayer.Numeric = true; - this.hbox6.Add(this.spToolstampLayer); - global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spToolstampLayer])); - w116.Position = 1; - w116.Expand = false; - w116.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.lblToolstamp = new global::Gtk.Label(); - this.lblToolstamp.Name = "lblToolstamp"; - this.lblToolstamp.LabelProp = global::Mono.Unix.Catalog.GetString("Stamp:"); - this.hbox6.Add(this.lblToolstamp); - global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.lblToolstamp])); - w117.Position = 2; - w117.Expand = false; - w117.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.txtToolstamp = new global::Gtk.Entry(); - this.txtToolstamp.CanFocus = true; - this.txtToolstamp.Name = "txtToolstamp"; - this.txtToolstamp.IsEditable = true; - this.txtToolstamp.InvisibleChar = '●'; - this.hbox6.Add(this.txtToolstamp); - global::Gtk.Box.BoxChild w118 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.txtToolstamp])); - w118.Position = 3; - // Container child hbox6.Gtk.Box+BoxChild - this.btnAddToolstamp = new global::Gtk.Button(); - this.btnAddToolstamp.CanFocus = true; - this.btnAddToolstamp.Name = "btnAddToolstamp"; - this.btnAddToolstamp.UseStock = true; - this.btnAddToolstamp.UseUnderline = true; - this.btnAddToolstamp.Label = "gtk-add"; - this.hbox6.Add(this.btnAddToolstamp); - global::Gtk.Box.BoxChild w119 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnAddToolstamp])); - w119.Position = 4; - w119.Expand = false; - w119.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.btnRemoveToolstamp = new global::Gtk.Button(); - this.btnRemoveToolstamp.CanFocus = true; - this.btnRemoveToolstamp.Name = "btnRemoveToolstamp"; - this.btnRemoveToolstamp.UseStock = true; - this.btnRemoveToolstamp.UseUnderline = true; - this.btnRemoveToolstamp.Label = "gtk-remove"; - this.hbox6.Add(this.btnRemoveToolstamp); - global::Gtk.Box.BoxChild w120 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnRemoveToolstamp])); - w120.Position = 5; - w120.Expand = false; - w120.Fill = false; - this.vbox8.Add(this.hbox6); - global::Gtk.Box.BoxChild w121 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox6])); - w121.Position = 1; - w121.Expand = false; - w121.Fill = false; - this.GtkAlignment55.Add(this.vbox8); - this.frmToolstamps.Add(this.GtkAlignment55); - this.GtkLabel60 = new global::Gtk.Label(); - this.GtkLabel60.Name = "GtkLabel60"; - this.GtkLabel60.LabelProp = global::Mono.Unix.Catalog.GetString("Toolstamps"); - this.GtkLabel60.UseMarkup = true; - this.frmToolstamps.LabelWidget = this.GtkLabel60; - this.vbox4.Add(this.frmToolstamps); - global::Gtk.Box.BoxChild w124 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frmToolstamps])); - w124.Position = 2; - // Container child vbox4.Gtk.Box+BoxChild - this.frmMouldSIDs = new global::Gtk.Frame(); - this.frmMouldSIDs.Name = "frmMouldSIDs"; - this.frmMouldSIDs.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmMouldSIDs.Gtk.Container+ContainerChild - this.GtkAlignment54 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment54.Name = "GtkAlignment54"; - this.GtkAlignment54.LeftPadding = ((uint)(12)); - // Container child GtkAlignment54.Gtk.Container+ContainerChild - this.vbox7 = new global::Gtk.VBox(); - this.vbox7.Name = "vbox7"; - this.vbox7.Spacing = 6; - // Container child vbox7.Gtk.Box+BoxChild - this.GtkScrolledWindow30 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow30.Name = "GtkScrolledWindow30"; - this.GtkScrolledWindow30.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow30.Gtk.Container+ContainerChild - this.treeMouldSIDs = new global::Gtk.TreeView(); - this.treeMouldSIDs.CanFocus = true; - this.treeMouldSIDs.Name = "treeMouldSIDs"; - this.GtkScrolledWindow30.Add(this.treeMouldSIDs); - this.vbox7.Add(this.GtkScrolledWindow30); - global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.GtkScrolledWindow30])); - w126.Position = 0; - // Container child vbox7.Gtk.Box+BoxChild - this.hbox7 = new global::Gtk.HBox(); - this.hbox7.Name = "hbox7"; - this.hbox7.Spacing = 6; - // Container child hbox7.Gtk.Box+BoxChild - this.lblMouldSIDLayer = new global::Gtk.Label(); - this.lblMouldSIDLayer.Name = "lblMouldSIDLayer"; - this.lblMouldSIDLayer.LabelProp = global::Mono.Unix.Catalog.GetString("Layer"); - this.hbox7.Add(this.lblMouldSIDLayer); - global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.lblMouldSIDLayer])); - w127.Position = 0; - w127.Expand = false; - w127.Fill = false; - // Container child hbox7.Gtk.Box+BoxChild - this.spMouldSIDLayer = new global::Gtk.SpinButton(0, 100, 1); - this.spMouldSIDLayer.CanFocus = true; - this.spMouldSIDLayer.Name = "spMouldSIDLayer"; - this.spMouldSIDLayer.Adjustment.PageIncrement = 10; - this.spMouldSIDLayer.ClimbRate = 1; - this.spMouldSIDLayer.Numeric = true; - this.hbox7.Add(this.spMouldSIDLayer); - global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.spMouldSIDLayer])); - w128.Position = 1; - w128.Expand = false; - w128.Fill = false; - // Container child hbox7.Gtk.Box+BoxChild - this.lblMouldSID = new global::Gtk.Label(); - this.lblMouldSID.Name = "lblMouldSID"; - this.lblMouldSID.LabelProp = global::Mono.Unix.Catalog.GetString("SID:"); - this.hbox7.Add(this.lblMouldSID); - global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.lblMouldSID])); - w129.Position = 2; - w129.Expand = false; - w129.Fill = false; - // Container child hbox7.Gtk.Box+BoxChild - this.txtMouldSID = new global::Gtk.Entry(); - this.txtMouldSID.CanFocus = true; - this.txtMouldSID.Name = "txtMouldSID"; - this.txtMouldSID.IsEditable = true; - this.txtMouldSID.InvisibleChar = '●'; - this.hbox7.Add(this.txtMouldSID); - global::Gtk.Box.BoxChild w130 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.txtMouldSID])); - w130.Position = 3; - // Container child hbox7.Gtk.Box+BoxChild - this.btnAddMouldSID = new global::Gtk.Button(); - this.btnAddMouldSID.CanFocus = true; - this.btnAddMouldSID.Name = "btnAddMouldSID"; - this.btnAddMouldSID.UseStock = true; - this.btnAddMouldSID.UseUnderline = true; - this.btnAddMouldSID.Label = "gtk-add"; - this.hbox7.Add(this.btnAddMouldSID); - global::Gtk.Box.BoxChild w131 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnAddMouldSID])); - w131.Position = 4; - w131.Expand = false; - w131.Fill = false; - // Container child hbox7.Gtk.Box+BoxChild - this.btnRemoveMouldSID = new global::Gtk.Button(); - this.btnRemoveMouldSID.CanFocus = true; - this.btnRemoveMouldSID.Name = "btnRemoveMouldSID"; - this.btnRemoveMouldSID.UseStock = true; - this.btnRemoveMouldSID.UseUnderline = true; - this.btnRemoveMouldSID.Label = "gtk-remove"; - this.hbox7.Add(this.btnRemoveMouldSID); - global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnRemoveMouldSID])); - w132.Position = 5; - w132.Expand = false; - w132.Fill = false; - this.vbox7.Add(this.hbox7); - global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox7])); - w133.Position = 1; - w133.Expand = false; - w133.Fill = false; - this.GtkAlignment54.Add(this.vbox7); - this.frmMouldSIDs.Add(this.GtkAlignment54); - this.GtkLabel59 = new global::Gtk.Label(); - this.GtkLabel59.Name = "GtkLabel59"; - this.GtkLabel59.LabelProp = global::Mono.Unix.Catalog.GetString("Mould SIDs"); - this.GtkLabel59.UseMarkup = true; - this.frmMouldSIDs.LabelWidget = this.GtkLabel59; - this.vbox4.Add(this.frmMouldSIDs); - global::Gtk.Box.BoxChild w136 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frmMouldSIDs])); - w136.Position = 3; - // Container child vbox4.Gtk.Box+BoxChild - this.frmMouldTexts = new global::Gtk.Frame(); - this.frmMouldTexts.Name = "frmMouldTexts"; - this.frmMouldTexts.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmMouldTexts.Gtk.Container+ContainerChild - this.GtkAlignment53 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment53.Name = "GtkAlignment53"; - this.GtkAlignment53.LeftPadding = ((uint)(12)); - // Container child GtkAlignment53.Gtk.Container+ContainerChild - this.vbox6 = new global::Gtk.VBox(); - this.vbox6.Name = "vbox6"; - this.vbox6.Spacing = 6; - // Container child vbox6.Gtk.Box+BoxChild - this.GtkScrolledWindow31 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow31.Name = "GtkScrolledWindow31"; - this.GtkScrolledWindow31.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow31.Gtk.Container+ContainerChild - this.treeMouldTexts = new global::Gtk.TreeView(); - this.treeMouldTexts.CanFocus = true; - this.treeMouldTexts.Name = "treeMouldTexts"; - this.GtkScrolledWindow31.Add(this.treeMouldTexts); - this.vbox6.Add(this.GtkScrolledWindow31); - global::Gtk.Box.BoxChild w138 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkScrolledWindow31])); - w138.Position = 0; - // Container child vbox6.Gtk.Box+BoxChild - this.hbox9 = new global::Gtk.HBox(); - this.hbox9.Name = "hbox9"; - this.hbox9.Spacing = 6; - // Container child hbox9.Gtk.Box+BoxChild - this.lblMouldTextLayer = new global::Gtk.Label(); - this.lblMouldTextLayer.Name = "lblMouldTextLayer"; - this.lblMouldTextLayer.LabelProp = global::Mono.Unix.Catalog.GetString("Layer"); - this.hbox9.Add(this.lblMouldTextLayer); - global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.lblMouldTextLayer])); - w139.Position = 0; - w139.Expand = false; - w139.Fill = false; - // Container child hbox9.Gtk.Box+BoxChild - this.spMouldTextLayer = new global::Gtk.SpinButton(0, 100, 1); - this.spMouldTextLayer.CanFocus = true; - this.spMouldTextLayer.Name = "spMouldTextLayer"; - this.spMouldTextLayer.Adjustment.PageIncrement = 10; - this.spMouldTextLayer.ClimbRate = 1; - this.spMouldTextLayer.Numeric = true; - this.hbox9.Add(this.spMouldTextLayer); - global::Gtk.Box.BoxChild w140 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.spMouldTextLayer])); - w140.Position = 1; - w140.Expand = false; - w140.Fill = false; - // Container child hbox9.Gtk.Box+BoxChild - this.lblMouldText = new global::Gtk.Label(); - this.lblMouldText.Name = "lblMouldText"; - this.lblMouldText.LabelProp = global::Mono.Unix.Catalog.GetString("Text:"); - this.hbox9.Add(this.lblMouldText); - global::Gtk.Box.BoxChild w141 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.lblMouldText])); - w141.Position = 2; - w141.Expand = false; - w141.Fill = false; - // Container child hbox9.Gtk.Box+BoxChild - this.txtMouldText = new global::Gtk.Entry(); - this.txtMouldText.CanFocus = true; - this.txtMouldText.Name = "txtMouldText"; - this.txtMouldText.IsEditable = true; - this.txtMouldText.InvisibleChar = '●'; - this.hbox9.Add(this.txtMouldText); - global::Gtk.Box.BoxChild w142 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.txtMouldText])); - w142.Position = 3; - // Container child hbox9.Gtk.Box+BoxChild - this.btnAddMouldText = new global::Gtk.Button(); - this.btnAddMouldText.CanFocus = true; - this.btnAddMouldText.Name = "btnAddMouldText"; - this.btnAddMouldText.UseStock = true; - this.btnAddMouldText.UseUnderline = true; - this.btnAddMouldText.Label = "gtk-add"; - this.hbox9.Add(this.btnAddMouldText); - global::Gtk.Box.BoxChild w143 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.btnAddMouldText])); - w143.Position = 4; - w143.Expand = false; - w143.Fill = false; - // Container child hbox9.Gtk.Box+BoxChild - this.btnRemoveMouldText = new global::Gtk.Button(); - this.btnRemoveMouldText.CanFocus = true; - this.btnRemoveMouldText.Name = "btnRemoveMouldText"; - this.btnRemoveMouldText.UseStock = true; - this.btnRemoveMouldText.UseUnderline = true; - this.btnRemoveMouldText.Label = "gtk-remove"; - this.hbox9.Add(this.btnRemoveMouldText); - global::Gtk.Box.BoxChild w144 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.btnRemoveMouldText])); - w144.Position = 5; - w144.Expand = false; - w144.Fill = false; - this.vbox6.Add(this.hbox9); - global::Gtk.Box.BoxChild w145 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox9])); - w145.Position = 1; - w145.Expand = false; - w145.Fill = false; - this.GtkAlignment53.Add(this.vbox6); - this.frmMouldTexts.Add(this.GtkAlignment53); - this.GtkLabel17 = new global::Gtk.Label(); - this.GtkLabel17.Name = "GtkLabel17"; - this.GtkLabel17.LabelProp = global::Mono.Unix.Catalog.GetString("Mould texts"); - this.GtkLabel17.UseMarkup = true; - this.frmMouldTexts.LabelWidget = this.GtkLabel17; - this.vbox4.Add(this.frmMouldTexts); - global::Gtk.Box.BoxChild w148 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frmMouldTexts])); - w148.Position = 4; - this.notebook1.Add(this.vbox4); - global::Gtk.Notebook.NotebookChild w149 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); - w149.Position = 2; - // Notebook tab - this.label2 = new global::Gtk.Label(); - this.label2.Name = "label2"; - this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Mastering"); - this.notebook1.SetTabLabel(this.vbox4, this.label2); - this.label2.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox33 = new global::Gtk.VBox(); - this.vbox33.Name = "vbox33"; - this.vbox33.Spacing = 6; - // Container child vbox33.Gtk.Box+BoxChild - this.frmTOC = new global::Gtk.Frame(); - this.frmTOC.Name = "frmTOC"; - this.frmTOC.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmTOC.Gtk.Container+ContainerChild - this.GtkAlignment14 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment14.Name = "GtkAlignment14"; - this.GtkAlignment14.LeftPadding = ((uint)(12)); - // Container child GtkAlignment14.Gtk.Container+ContainerChild - this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow.Name = "GtkScrolledWindow"; - this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.treeTOC = new global::Gtk.TreeView(); - this.treeTOC.CanFocus = true; - this.treeTOC.Name = "treeTOC"; - this.GtkScrolledWindow.Add(this.treeTOC); - this.GtkAlignment14.Add(this.GtkScrolledWindow); - this.frmTOC.Add(this.GtkAlignment14); - this.GtkLabel18 = new global::Gtk.Label(); - this.GtkLabel18.Name = "GtkLabel18"; - this.GtkLabel18.LabelProp = global::Mono.Unix.Catalog.GetString("TOC"); - this.GtkLabel18.UseMarkup = true; - this.frmTOC.LabelWidget = this.GtkLabel18; - this.vbox33.Add(this.frmTOC); - global::Gtk.Box.BoxChild w153 = ((global::Gtk.Box.BoxChild)(this.vbox33[this.frmTOC])); - w153.Position = 0; - // Container child vbox33.Gtk.Box+BoxChild - this.frmCDText = new global::Gtk.Frame(); - this.frmCDText.Name = "frmCDText"; - this.frmCDText.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmCDText.Gtk.Container+ContainerChild - this.GtkAlignment20 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment20.Name = "GtkAlignment20"; - this.GtkAlignment20.LeftPadding = ((uint)(12)); - // Container child GtkAlignment20.Gtk.Container+ContainerChild - this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; - this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild - this.treeCDText = new global::Gtk.TreeView(); - this.treeCDText.CanFocus = true; - this.treeCDText.Name = "treeCDText"; - this.GtkScrolledWindow1.Add(this.treeCDText); - this.GtkAlignment20.Add(this.GtkScrolledWindow1); - this.frmCDText.Add(this.GtkAlignment20); - this.GtkLabel20 = new global::Gtk.Label(); - this.GtkLabel20.Name = "GtkLabel20"; - this.GtkLabel20.LabelProp = global::Mono.Unix.Catalog.GetString("CD-Text"); - this.GtkLabel20.UseMarkup = true; - this.frmCDText.LabelWidget = this.GtkLabel20; - this.vbox33.Add(this.frmCDText); - global::Gtk.Box.BoxChild w157 = ((global::Gtk.Box.BoxChild)(this.vbox33[this.frmCDText])); - w157.Position = 1; - // Container child vbox33.Gtk.Box+BoxChild - this.frmATIP = new global::Gtk.Frame(); - this.frmATIP.Name = "frmATIP"; - this.frmATIP.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmATIP.Gtk.Container+ContainerChild - this.GtkAlignment21 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment21.Name = "GtkAlignment21"; - this.GtkAlignment21.LeftPadding = ((uint)(12)); - // Container child GtkAlignment21.Gtk.Container+ContainerChild - this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; - this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild - this.treeATIP = new global::Gtk.TreeView(); - this.treeATIP.CanFocus = true; - this.treeATIP.Name = "treeATIP"; - this.GtkScrolledWindow2.Add(this.treeATIP); - this.GtkAlignment21.Add(this.GtkScrolledWindow2); - this.frmATIP.Add(this.GtkAlignment21); - this.GtkLabel21 = new global::Gtk.Label(); - this.GtkLabel21.Name = "GtkLabel21"; - this.GtkLabel21.LabelProp = global::Mono.Unix.Catalog.GetString("ATIP"); - this.GtkLabel21.UseMarkup = true; - this.frmATIP.LabelWidget = this.GtkLabel21; - this.vbox33.Add(this.frmATIP); - global::Gtk.Box.BoxChild w161 = ((global::Gtk.Box.BoxChild)(this.vbox33[this.frmATIP])); - w161.Position = 2; - // Container child vbox33.Gtk.Box+BoxChild - this.frmPMA = new global::Gtk.Frame(); - this.frmPMA.Name = "frmPMA"; - this.frmPMA.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPMA.Gtk.Container+ContainerChild - this.GtkAlignment22 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment22.Name = "GtkAlignment22"; - this.GtkAlignment22.LeftPadding = ((uint)(12)); - // Container child GtkAlignment22.Gtk.Container+ContainerChild - this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; - this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild - this.treePMA = new global::Gtk.TreeView(); - this.treePMA.CanFocus = true; - this.treePMA.Name = "treePMA"; - this.GtkScrolledWindow3.Add(this.treePMA); - this.GtkAlignment22.Add(this.GtkScrolledWindow3); - this.frmPMA.Add(this.GtkAlignment22); - this.GtkLabel22 = new global::Gtk.Label(); - this.GtkLabel22.Name = "GtkLabel22"; - this.GtkLabel22.LabelProp = global::Mono.Unix.Catalog.GetString("PMA"); - this.GtkLabel22.UseMarkup = true; - this.frmPMA.LabelWidget = this.GtkLabel22; - this.vbox33.Add(this.frmPMA); - global::Gtk.Box.BoxChild w165 = ((global::Gtk.Box.BoxChild)(this.vbox33[this.frmPMA])); - w165.Position = 3; - this.notebook1.Add(this.vbox33); - global::Gtk.Notebook.NotebookChild w166 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox33])); - w166.Position = 3; - // Notebook tab - this.label111 = new global::Gtk.Label(); - this.label111.Name = "label111"; - this.label111.LabelProp = global::Mono.Unix.Catalog.GetString("CD"); - this.notebook1.SetTabLabel(this.vbox33, this.label111); - this.label111.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox35 = new global::Gtk.VBox(); - this.vbox35.Name = "vbox35"; - this.vbox35.Spacing = 6; - // Container child vbox35.Gtk.Box+BoxChild - this.frmLeadIns = new global::Gtk.Frame(); - this.frmLeadIns.Name = "frmLeadIns"; - this.frmLeadIns.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmLeadIns.Gtk.Container+ContainerChild - this.GtkAlignment30 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment30.Name = "GtkAlignment30"; - this.GtkAlignment30.LeftPadding = ((uint)(12)); - // Container child GtkAlignment30.Gtk.Container+ContainerChild - this.GtkScrolledWindow10 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow10.Name = "GtkScrolledWindow10"; - this.GtkScrolledWindow10.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow10.Gtk.Container+ContainerChild - this.treeLeadIn = new global::Gtk.TreeView(); - this.treeLeadIn.CanFocus = true; - this.treeLeadIn.Name = "treeLeadIn"; - this.GtkScrolledWindow10.Add(this.treeLeadIn); - this.GtkAlignment30.Add(this.GtkScrolledWindow10); - this.frmLeadIns.Add(this.GtkAlignment30); - this.GtkLabel31 = new global::Gtk.Label(); - this.GtkLabel31.Name = "GtkLabel31"; - this.GtkLabel31.LabelProp = global::Mono.Unix.Catalog.GetString("Lead-Ins"); - this.GtkLabel31.UseMarkup = true; - this.frmLeadIns.LabelWidget = this.GtkLabel31; - this.vbox35.Add(this.frmLeadIns); - global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.vbox35[this.frmLeadIns])); - w170.Position = 0; - // Container child vbox35.Gtk.Box+BoxChild - this.frmLeadOuts = new global::Gtk.Frame(); - this.frmLeadOuts.Name = "frmLeadOuts"; - this.frmLeadOuts.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmLeadOuts.Gtk.Container+ContainerChild - this.GtkAlignment29 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment29.Name = "GtkAlignment29"; - this.GtkAlignment29.LeftPadding = ((uint)(12)); - // Container child GtkAlignment29.Gtk.Container+ContainerChild - this.GtkScrolledWindow11 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow11.Name = "GtkScrolledWindow11"; - this.GtkScrolledWindow11.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow11.Gtk.Container+ContainerChild - this.treeLeadOut = new global::Gtk.TreeView(); - this.treeLeadOut.CanFocus = true; - this.treeLeadOut.Name = "treeLeadOut"; - this.GtkScrolledWindow11.Add(this.treeLeadOut); - this.GtkAlignment29.Add(this.GtkScrolledWindow11); - this.frmLeadOuts.Add(this.GtkAlignment29); - this.GtkLabel19 = new global::Gtk.Label(); - this.GtkLabel19.Name = "GtkLabel19"; - this.GtkLabel19.LabelProp = global::Mono.Unix.Catalog.GetString("Lead-Outs"); - this.GtkLabel19.UseMarkup = true; - this.frmLeadOuts.LabelWidget = this.GtkLabel19; - this.vbox35.Add(this.frmLeadOuts); - global::Gtk.Box.BoxChild w174 = ((global::Gtk.Box.BoxChild)(this.vbox35[this.frmLeadOuts])); - w174.Position = 1; - this.notebook1.Add(this.vbox35); - global::Gtk.Notebook.NotebookChild w175 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox35])); - w175.Position = 4; - // Notebook tab - this.label112 = new global::Gtk.Label(); - this.label112.Name = "label112"; - this.label112.LabelProp = global::Mono.Unix.Catalog.GetString("Sessions"); - this.notebook1.SetTabLabel(this.vbox35, this.label112); - this.label112.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox34 = new global::Gtk.VBox(); - this.vbox34.Name = "vbox34"; - this.vbox34.Spacing = 6; - // Container child vbox34.Gtk.Box+BoxChild - this.frmPFI = new global::Gtk.Frame(); - this.frmPFI.Name = "frmPFI"; - this.frmPFI.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPFI.Gtk.Container+ContainerChild - this.GtkAlignment28 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment28.Name = "GtkAlignment28"; - this.GtkAlignment28.LeftPadding = ((uint)(12)); - // Container child GtkAlignment28.Gtk.Container+ContainerChild - this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; - this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild - this.treePFI = new global::Gtk.TreeView(); - this.treePFI.CanFocus = true; - this.treePFI.Name = "treePFI"; - this.GtkScrolledWindow4.Add(this.treePFI); - this.GtkAlignment28.Add(this.GtkScrolledWindow4); - this.frmPFI.Add(this.GtkAlignment28); - this.GtkLabel27 = new global::Gtk.Label(); - this.GtkLabel27.Name = "GtkLabel27"; - this.GtkLabel27.LabelProp = global::Mono.Unix.Catalog.GetString("Physical Format Information"); - this.GtkLabel27.UseMarkup = true; - this.frmPFI.LabelWidget = this.GtkLabel27; - this.vbox34.Add(this.frmPFI); - global::Gtk.Box.BoxChild w179 = ((global::Gtk.Box.BoxChild)(this.vbox34[this.frmPFI])); - w179.Position = 0; - // Container child vbox34.Gtk.Box+BoxChild - this.frmDMI = new global::Gtk.Frame(); - this.frmDMI.Name = "frmDMI"; - this.frmDMI.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmDMI.Gtk.Container+ContainerChild - this.GtkAlignment26 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment26.Name = "GtkAlignment26"; - this.GtkAlignment26.LeftPadding = ((uint)(12)); - // Container child GtkAlignment26.Gtk.Container+ContainerChild - this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; - this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild - this.treeDMI = new global::Gtk.TreeView(); - this.treeDMI.CanFocus = true; - this.treeDMI.Name = "treeDMI"; - this.GtkScrolledWindow5.Add(this.treeDMI); - this.GtkAlignment26.Add(this.GtkScrolledWindow5); - this.frmDMI.Add(this.GtkAlignment26); - this.GtkLabel25 = new global::Gtk.Label(); - this.GtkLabel25.Name = "GtkLabel25"; - this.GtkLabel25.LabelProp = global::Mono.Unix.Catalog.GetString("Disc Manufacturer Information"); - this.GtkLabel25.UseMarkup = true; - this.frmDMI.LabelWidget = this.GtkLabel25; - this.vbox34.Add(this.frmDMI); - global::Gtk.Box.BoxChild w183 = ((global::Gtk.Box.BoxChild)(this.vbox34[this.frmDMI])); - w183.Position = 1; - // Container child vbox34.Gtk.Box+BoxChild - this.frmCMI = new global::Gtk.Frame(); - this.frmCMI.Name = "frmCMI"; - this.frmCMI.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmCMI.Gtk.Container+ContainerChild - this.GtkAlignment31 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment31.Name = "GtkAlignment31"; - this.GtkAlignment31.LeftPadding = ((uint)(12)); - // Container child GtkAlignment31.Gtk.Container+ContainerChild - this.GtkScrolledWindow14 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow14.Name = "GtkScrolledWindow14"; - this.GtkScrolledWindow14.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow14.Gtk.Container+ContainerChild - this.treeCMI = new global::Gtk.TreeView(); - this.treeCMI.CanFocus = true; - this.treeCMI.Name = "treeCMI"; - this.GtkScrolledWindow14.Add(this.treeCMI); - this.GtkAlignment31.Add(this.GtkScrolledWindow14); - this.frmCMI.Add(this.GtkAlignment31); - this.GtkLabel33 = new global::Gtk.Label(); - this.GtkLabel33.Name = "GtkLabel33"; - this.GtkLabel33.LabelProp = global::Mono.Unix.Catalog.GetString("Copyright Management Information"); - this.GtkLabel33.UseMarkup = true; - this.frmCMI.LabelWidget = this.GtkLabel33; - this.vbox34.Add(this.frmCMI); - global::Gtk.Box.BoxChild w187 = ((global::Gtk.Box.BoxChild)(this.vbox34[this.frmCMI])); - w187.Position = 2; - // Container child vbox34.Gtk.Box+BoxChild - this.frmBCA = new global::Gtk.Frame(); - this.frmBCA.Name = "frmBCA"; - this.frmBCA.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmBCA.Gtk.Container+ContainerChild - this.GtkAlignment25 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment25.Name = "GtkAlignment25"; - this.GtkAlignment25.LeftPadding = ((uint)(12)); - // Container child GtkAlignment25.Gtk.Container+ContainerChild - this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; - this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild - this.treeBCA = new global::Gtk.TreeView(); - this.treeBCA.CanFocus = true; - this.treeBCA.Name = "treeBCA"; - this.GtkScrolledWindow6.Add(this.treeBCA); - this.GtkAlignment25.Add(this.GtkScrolledWindow6); - this.frmBCA.Add(this.GtkAlignment25); - this.GtkLabel24 = new global::Gtk.Label(); - this.GtkLabel24.Name = "GtkLabel24"; - this.GtkLabel24.LabelProp = global::Mono.Unix.Catalog.GetString("Burst Cutting Area"); - this.GtkLabel24.UseMarkup = true; - this.frmBCA.LabelWidget = this.GtkLabel24; - this.vbox34.Add(this.frmBCA); - global::Gtk.Box.BoxChild w191 = ((global::Gtk.Box.BoxChild)(this.vbox34[this.frmBCA])); - w191.Position = 3; - // Container child vbox34.Gtk.Box+BoxChild - this.frmDCB = new global::Gtk.Frame(); - this.frmDCB.Name = "frmDCB"; - this.frmDCB.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmDCB.Gtk.Container+ContainerChild - this.GtkAlignment23 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment23.Name = "GtkAlignment23"; - this.GtkAlignment23.LeftPadding = ((uint)(12)); - // Container child GtkAlignment23.Gtk.Container+ContainerChild - this.GtkScrolledWindow7 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow7.Name = "GtkScrolledWindow7"; - this.GtkScrolledWindow7.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow7.Gtk.Container+ContainerChild - this.treeDCB = new global::Gtk.TreeView(); - this.treeDCB.CanFocus = true; - this.treeDCB.Name = "treeDCB"; - this.GtkScrolledWindow7.Add(this.treeDCB); - this.GtkAlignment23.Add(this.GtkScrolledWindow7); - this.frmDCB.Add(this.GtkAlignment23); - this.GtkLabel23 = new global::Gtk.Label(); - this.GtkLabel23.Name = "GtkLabel23"; - this.GtkLabel23.LabelProp = global::Mono.Unix.Catalog.GetString("Disc Control Blocks"); - this.GtkLabel23.UseMarkup = true; - this.frmDCB.LabelWidget = this.GtkLabel23; - this.vbox34.Add(this.frmDCB); - global::Gtk.Box.BoxChild w195 = ((global::Gtk.Box.BoxChild)(this.vbox34[this.frmDCB])); - w195.Position = 4; - this.notebook1.Add(this.vbox34); - global::Gtk.Notebook.NotebookChild w196 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox34])); - w196.Position = 5; - // Notebook tab - this.label113 = new global::Gtk.Label(); - this.label113.Name = "label113"; - this.label113.LabelProp = global::Mono.Unix.Catalog.GetString("DVD"); - this.notebook1.SetTabLabel(this.vbox34, this.label113); - this.label113.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox36 = new global::Gtk.VBox(); - this.vbox36.Name = "vbox36"; - this.vbox36.Spacing = 6; - // Container child vbox36.Gtk.Box+BoxChild - this.frmPRI = new global::Gtk.Frame(); - this.frmPRI.Name = "frmPRI"; - this.frmPRI.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPRI.Gtk.Container+ContainerChild - this.GtkAlignment35 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment35.Name = "GtkAlignment35"; - this.GtkAlignment35.LeftPadding = ((uint)(12)); - // Container child GtkAlignment35.Gtk.Container+ContainerChild - this.GtkScrolledWindow15 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow15.Name = "GtkScrolledWindow15"; - this.GtkScrolledWindow15.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow15.Gtk.Container+ContainerChild - this.treePRI = new global::Gtk.TreeView(); - this.treePRI.CanFocus = true; - this.treePRI.Name = "treePRI"; - this.GtkScrolledWindow15.Add(this.treePRI); - this.GtkAlignment35.Add(this.GtkScrolledWindow15); - this.frmPRI.Add(this.GtkAlignment35); - this.GtkLabel37 = new global::Gtk.Label(); - this.GtkLabel37.Name = "GtkLabel37"; - this.GtkLabel37.LabelProp = global::Mono.Unix.Catalog.GetString("Pre-recorded information"); - this.GtkLabel37.UseMarkup = true; - this.frmPRI.LabelWidget = this.GtkLabel37; - this.vbox36.Add(this.frmPRI); - global::Gtk.Box.BoxChild w200 = ((global::Gtk.Box.BoxChild)(this.vbox36[this.frmPRI])); - w200.Position = 0; - // Container child vbox36.Gtk.Box+BoxChild - this.frmMediaID = new global::Gtk.Frame(); - this.frmMediaID.Name = "frmMediaID"; - this.frmMediaID.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmMediaID.Gtk.Container+ContainerChild - this.GtkAlignment34 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment34.Name = "GtkAlignment34"; - this.GtkAlignment34.LeftPadding = ((uint)(12)); - // Container child GtkAlignment34.Gtk.Container+ContainerChild - this.GtkScrolledWindow16 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow16.Name = "GtkScrolledWindow16"; - this.GtkScrolledWindow16.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow16.Gtk.Container+ContainerChild - this.treeMediaID = new global::Gtk.TreeView(); - this.treeMediaID.CanFocus = true; - this.treeMediaID.Name = "treeMediaID"; - this.GtkScrolledWindow16.Add(this.treeMediaID); - this.GtkAlignment34.Add(this.GtkScrolledWindow16); - this.frmMediaID.Add(this.GtkAlignment34); - this.GtkLabel36 = new global::Gtk.Label(); - this.GtkLabel36.Name = "GtkLabel36"; - this.GtkLabel36.LabelProp = global::Mono.Unix.Catalog.GetString("Media ID"); - this.GtkLabel36.UseMarkup = true; - this.frmMediaID.LabelWidget = this.GtkLabel36; - this.vbox36.Add(this.frmMediaID); - global::Gtk.Box.BoxChild w204 = ((global::Gtk.Box.BoxChild)(this.vbox36[this.frmMediaID])); - w204.Position = 1; - // Container child vbox36.Gtk.Box+BoxChild - this.frmPFIR = new global::Gtk.Frame(); - this.frmPFIR.Name = "frmPFIR"; - this.frmPFIR.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPFIR.Gtk.Container+ContainerChild - this.GtkAlignment33 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment33.Name = "GtkAlignment33"; - this.GtkAlignment33.LeftPadding = ((uint)(12)); - // Container child GtkAlignment33.Gtk.Container+ContainerChild - this.GtkScrolledWindow17 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow17.Name = "GtkScrolledWindow17"; - this.GtkScrolledWindow17.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow17.Gtk.Container+ContainerChild - this.treePFIR = new global::Gtk.TreeView(); - this.treePFIR.CanFocus = true; - this.treePFIR.Name = "treePFIR"; - this.GtkScrolledWindow17.Add(this.treePFIR); - this.GtkAlignment33.Add(this.GtkScrolledWindow17); - this.frmPFIR.Add(this.GtkAlignment33); - this.GtkLabel35 = new global::Gtk.Label(); - this.GtkLabel35.Name = "GtkLabel35"; - this.GtkLabel35.LabelProp = global::Mono.Unix.Catalog.GetString("Physical Format Information in Lead-In"); - this.GtkLabel35.UseMarkup = true; - this.frmPFIR.LabelWidget = this.GtkLabel35; - this.vbox36.Add(this.frmPFIR); - global::Gtk.Box.BoxChild w208 = ((global::Gtk.Box.BoxChild)(this.vbox36[this.frmPFIR])); - w208.Position = 2; - // Container child vbox36.Gtk.Box+BoxChild - this.frmLastRMD = new global::Gtk.Frame(); - this.frmLastRMD.Name = "frmLastRMD"; - this.frmLastRMD.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmLastRMD.Gtk.Container+ContainerChild - this.GtkAlignment32 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment32.Name = "GtkAlignment32"; - this.GtkAlignment32.LeftPadding = ((uint)(12)); - // Container child GtkAlignment32.Gtk.Container+ContainerChild - this.GtkScrolledWindow18 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow18.Name = "GtkScrolledWindow18"; - this.GtkScrolledWindow18.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow18.Gtk.Container+ContainerChild - this.treeLastRMD = new global::Gtk.TreeView(); - this.treeLastRMD.CanFocus = true; - this.treeLastRMD.Name = "treeLastRMD"; - this.GtkScrolledWindow18.Add(this.treeLastRMD); - this.GtkAlignment32.Add(this.GtkScrolledWindow18); - this.frmLastRMD.Add(this.GtkAlignment32); - this.GtkLabel29 = new global::Gtk.Label(); - this.GtkLabel29.Name = "GtkLabel29"; - this.GtkLabel29.LabelProp = global::Mono.Unix.Catalog.GetString("Last RMD"); - this.GtkLabel29.UseMarkup = true; - this.frmLastRMD.LabelWidget = this.GtkLabel29; - this.vbox36.Add(this.frmLastRMD); - global::Gtk.Box.BoxChild w212 = ((global::Gtk.Box.BoxChild)(this.vbox36[this.frmLastRMD])); - w212.Position = 3; - this.notebook1.Add(this.vbox36); - global::Gtk.Notebook.NotebookChild w213 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox36])); - w213.Position = 6; - // Notebook tab - this.label114 = new global::Gtk.Label(); - this.label114.Name = "label114"; - this.label114.LabelProp = global::Mono.Unix.Catalog.GetString("DVD-R"); - this.notebook1.SetTabLabel(this.vbox36, this.label114); - this.label114.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.frmADIP = new global::Gtk.Frame(); - this.frmADIP.Name = "frmADIP"; - this.frmADIP.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmADIP.Gtk.Container+ContainerChild - this.GtkAlignment36 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment36.Name = "GtkAlignment36"; - this.GtkAlignment36.LeftPadding = ((uint)(12)); - // Container child GtkAlignment36.Gtk.Container+ContainerChild - this.GtkScrolledWindow19 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow19.Name = "GtkScrolledWindow19"; - this.GtkScrolledWindow19.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow19.Gtk.Container+ContainerChild - this.treeADIP = new global::Gtk.TreeView(); - this.treeADIP.CanFocus = true; - this.treeADIP.Name = "treeADIP"; - this.GtkScrolledWindow19.Add(this.treeADIP); - this.GtkAlignment36.Add(this.GtkScrolledWindow19); - this.frmADIP.Add(this.GtkAlignment36); - this.GtkLabel39 = new global::Gtk.Label(); - this.GtkLabel39.Name = "GtkLabel39"; - this.GtkLabel39.LabelProp = global::Mono.Unix.Catalog.GetString("ADIP"); - this.GtkLabel39.UseMarkup = true; - this.frmADIP.LabelWidget = this.GtkLabel39; - this.notebook1.Add(this.frmADIP); - global::Gtk.Notebook.NotebookChild w217 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.frmADIP])); - w217.Position = 7; - // Notebook tab - this.label115 = new global::Gtk.Label(); - this.label115.Name = "label115"; - this.label115.LabelProp = global::Mono.Unix.Catalog.GetString("DVD+R"); - this.notebook1.SetTabLabel(this.frmADIP, this.label115); - this.label115.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox37 = new global::Gtk.VBox(); - this.vbox37.Name = "vbox37"; - this.vbox37.Spacing = 6; - // Container child vbox37.Gtk.Box+BoxChild - this.frmDDS = new global::Gtk.Frame(); - this.frmDDS.Name = "frmDDS"; - this.frmDDS.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmDDS.Gtk.Container+ContainerChild - this.GtkAlignment37 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment37.Name = "GtkAlignment37"; - this.GtkAlignment37.LeftPadding = ((uint)(12)); - // Container child GtkAlignment37.Gtk.Container+ContainerChild - this.GtkScrolledWindow20 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow20.Name = "GtkScrolledWindow20"; - this.GtkScrolledWindow20.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow20.Gtk.Container+ContainerChild - this.treeDDS = new global::Gtk.TreeView(); - this.treeDDS.CanFocus = true; - this.treeDDS.Name = "treeDDS"; - this.GtkScrolledWindow20.Add(this.treeDDS); - this.GtkAlignment37.Add(this.GtkScrolledWindow20); - this.frmDDS.Add(this.GtkAlignment37); - this.GtkLabel30 = new global::Gtk.Label(); - this.GtkLabel30.Name = "GtkLabel30"; - this.GtkLabel30.LabelProp = global::Mono.Unix.Catalog.GetString("Disc Definition Structure"); - this.GtkLabel30.UseMarkup = true; - this.frmDDS.LabelWidget = this.GtkLabel30; - this.vbox37.Add(this.frmDDS); - global::Gtk.Box.BoxChild w221 = ((global::Gtk.Box.BoxChild)(this.vbox37[this.frmDDS])); - w221.Position = 0; - // Container child vbox37.Gtk.Box+BoxChild - this.frmSAI = new global::Gtk.Frame(); - this.frmSAI.Name = "frmSAI"; - this.frmSAI.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmSAI.Gtk.Container+ContainerChild - this.GtkAlignment38 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment38.Name = "GtkAlignment38"; - this.GtkAlignment38.LeftPadding = ((uint)(12)); - // Container child GtkAlignment38.Gtk.Container+ContainerChild - this.GtkScrolledWindow21 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow21.Name = "GtkScrolledWindow21"; - this.GtkScrolledWindow21.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow21.Gtk.Container+ContainerChild - this.treeSAI = new global::Gtk.TreeView(); - this.treeSAI.CanFocus = true; - this.treeSAI.Name = "treeSAI"; - this.GtkScrolledWindow21.Add(this.treeSAI); - this.GtkAlignment38.Add(this.GtkScrolledWindow21); - this.frmSAI.Add(this.GtkAlignment38); - this.GtkLabel40 = new global::Gtk.Label(); - this.GtkLabel40.Name = "GtkLabel40"; - this.GtkLabel40.LabelProp = global::Mono.Unix.Catalog.GetString("Spare Area Information"); - this.GtkLabel40.UseMarkup = true; - this.frmSAI.LabelWidget = this.GtkLabel40; - this.vbox37.Add(this.frmSAI); - global::Gtk.Box.BoxChild w225 = ((global::Gtk.Box.BoxChild)(this.vbox37[this.frmSAI])); - w225.Position = 1; - this.notebook1.Add(this.vbox37); - global::Gtk.Notebook.NotebookChild w226 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox37])); - w226.Position = 8; - // Notebook tab - this.label116 = new global::Gtk.Label(); - this.label116.Name = "label116"; - this.label116.LabelProp = global::Mono.Unix.Catalog.GetString("DVD-RAM / BD-RE"); - this.notebook1.SetTabLabel(this.vbox37, this.label116); - this.label116.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox38 = new global::Gtk.VBox(); - this.vbox38.Name = "vbox38"; - this.vbox38.Spacing = 6; - // Container child vbox38.Gtk.Box+BoxChild - this.frmDI = new global::Gtk.Frame(); - this.frmDI.Name = "frmDI"; - this.frmDI.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmDI.Gtk.Container+ContainerChild - this.GtkAlignment40 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment40.Name = "GtkAlignment40"; - this.GtkAlignment40.LeftPadding = ((uint)(12)); - // Container child GtkAlignment40.Gtk.Container+ContainerChild - this.GtkScrolledWindow22 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow22.Name = "GtkScrolledWindow22"; - this.GtkScrolledWindow22.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow22.Gtk.Container+ContainerChild - this.treeDI = new global::Gtk.TreeView(); - this.treeDI.CanFocus = true; - this.treeDI.Name = "treeDI"; - this.GtkScrolledWindow22.Add(this.treeDI); - this.GtkAlignment40.Add(this.GtkScrolledWindow22); - this.frmDI.Add(this.GtkAlignment40); - this.GtkLabel44 = new global::Gtk.Label(); - this.GtkLabel44.Name = "GtkLabel44"; - this.GtkLabel44.LabelProp = global::Mono.Unix.Catalog.GetString("Disc Information"); - this.GtkLabel44.UseMarkup = true; - this.frmDI.LabelWidget = this.GtkLabel44; - this.vbox38.Add(this.frmDI); - global::Gtk.Box.BoxChild w230 = ((global::Gtk.Box.BoxChild)(this.vbox38[this.frmDI])); - w230.Position = 0; - // Container child vbox38.Gtk.Box+BoxChild - this.frmPAC = new global::Gtk.Frame(); - this.frmPAC.Name = "frmPAC"; - this.frmPAC.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPAC.Gtk.Container+ContainerChild - this.GtkAlignment39 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment39.Name = "GtkAlignment39"; - this.GtkAlignment39.LeftPadding = ((uint)(12)); - // Container child GtkAlignment39.Gtk.Container+ContainerChild - this.GtkScrolledWindow23 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow23.Name = "GtkScrolledWindow23"; - this.GtkScrolledWindow23.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow23.Gtk.Container+ContainerChild - this.treePAC = new global::Gtk.TreeView(); - this.treePAC.CanFocus = true; - this.treePAC.Name = "treePAC"; - this.GtkScrolledWindow23.Add(this.treePAC); - this.GtkAlignment39.Add(this.GtkScrolledWindow23); - this.frmPAC.Add(this.GtkAlignment39); - this.GtkLabel32 = new global::Gtk.Label(); - this.GtkLabel32.Name = "GtkLabel32"; - this.GtkLabel32.LabelProp = global::Mono.Unix.Catalog.GetString("PAC"); - this.GtkLabel32.UseMarkup = true; - this.frmPAC.LabelWidget = this.GtkLabel32; - this.vbox38.Add(this.frmPAC); - global::Gtk.Box.BoxChild w234 = ((global::Gtk.Box.BoxChild)(this.vbox38[this.frmPAC])); - w234.Position = 1; - this.notebook1.Add(this.vbox38); - global::Gtk.Notebook.NotebookChild w235 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox38])); - w235.Position = 9; - // Notebook tab - this.label117 = new global::Gtk.Label(); - this.label117.Name = "label117"; - this.label117.LabelProp = global::Mono.Unix.Catalog.GetString("Blu-ray"); - this.notebook1.SetTabLabel(this.vbox38, this.label117); - this.label117.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.frmPS3 = new global::Gtk.Frame(); - this.frmPS3.Name = "frmPS3"; - this.frmPS3.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPS3.Gtk.Container+ContainerChild - this.GtkAlignment44 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment44.Name = "GtkAlignment44"; - this.GtkAlignment44.LeftPadding = ((uint)(12)); - // Container child GtkAlignment44.Gtk.Container+ContainerChild - this.vbox40 = new global::Gtk.VBox(); - this.vbox40.Name = "vbox40"; - this.vbox40.Spacing = 6; - // Container child vbox40.Gtk.Box+BoxChild - this.hbox96 = new global::Gtk.HBox(); - this.hbox96.Name = "hbox96"; - this.hbox96.Spacing = 6; - // Container child hbox96.Gtk.Box+BoxChild - this.lblPS3Key = new global::Gtk.Label(); - this.lblPS3Key.Name = "lblPS3Key"; - this.lblPS3Key.LabelProp = global::Mono.Unix.Catalog.GetString("Key"); - this.hbox96.Add(this.lblPS3Key); - global::Gtk.Box.BoxChild w236 = ((global::Gtk.Box.BoxChild)(this.hbox96[this.lblPS3Key])); - w236.Position = 0; - w236.Expand = false; - w236.Fill = false; - // Container child hbox96.Gtk.Box+BoxChild - this.txtPS3Key = new global::Gtk.Entry(); - this.txtPS3Key.CanFocus = true; - this.txtPS3Key.Name = "txtPS3Key"; - this.txtPS3Key.IsEditable = true; - this.txtPS3Key.InvisibleChar = '●'; - this.hbox96.Add(this.txtPS3Key); - global::Gtk.Box.BoxChild w237 = ((global::Gtk.Box.BoxChild)(this.hbox96[this.txtPS3Key])); - w237.Position = 1; - this.vbox40.Add(this.hbox96); - global::Gtk.Box.BoxChild w238 = ((global::Gtk.Box.BoxChild)(this.vbox40[this.hbox96])); - w238.Position = 0; - w238.Expand = false; - w238.Fill = false; - // Container child vbox40.Gtk.Box+BoxChild - this.hbox95 = new global::Gtk.HBox(); - this.hbox95.Name = "hbox95"; - this.hbox95.Spacing = 6; - // Container child hbox95.Gtk.Box+BoxChild - this.lblPS3Serial = new global::Gtk.Label(); - this.lblPS3Serial.Name = "lblPS3Serial"; - this.lblPS3Serial.LabelProp = global::Mono.Unix.Catalog.GetString("Serial"); - this.hbox95.Add(this.lblPS3Serial); - global::Gtk.Box.BoxChild w239 = ((global::Gtk.Box.BoxChild)(this.hbox95[this.lblPS3Serial])); - w239.Position = 0; - w239.Expand = false; - w239.Fill = false; - // Container child hbox95.Gtk.Box+BoxChild - this.txtPS3Serial = new global::Gtk.Entry(); - this.txtPS3Serial.CanFocus = true; - this.txtPS3Serial.Name = "txtPS3Serial"; - this.txtPS3Serial.IsEditable = true; - this.txtPS3Serial.InvisibleChar = '●'; - this.hbox95.Add(this.txtPS3Serial); - global::Gtk.Box.BoxChild w240 = ((global::Gtk.Box.BoxChild)(this.hbox95[this.txtPS3Serial])); - w240.Position = 1; - this.vbox40.Add(this.hbox95); - global::Gtk.Box.BoxChild w241 = ((global::Gtk.Box.BoxChild)(this.vbox40[this.hbox95])); - w241.Position = 1; - w241.Expand = false; - w241.Fill = false; - this.GtkAlignment44.Add(this.vbox40); - this.frmPS3.Add(this.GtkAlignment44); - this.GtkLabel49 = new global::Gtk.Label(); - this.GtkLabel49.Name = "GtkLabel49"; - this.GtkLabel49.LabelProp = global::Mono.Unix.Catalog.GetString("PlayStation 3 Encryption Key"); - this.GtkLabel49.UseMarkup = true; - this.frmPS3.LabelWidget = this.GtkLabel49; - this.notebook1.Add(this.frmPS3); - global::Gtk.Notebook.NotebookChild w244 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.frmPS3])); - w244.Position = 10; - // Notebook tab - this.label119 = new global::Gtk.Label(); - this.label119.Name = "label119"; - this.label119.LabelProp = global::Mono.Unix.Catalog.GetString("PlayStation"); - this.notebook1.SetTabLabel(this.frmPS3, this.label119); - this.label119.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox42 = new global::Gtk.VBox(); - this.vbox42.Name = "vbox42"; - this.vbox42.Spacing = 6; - // Container child vbox42.Gtk.Box+BoxChild - this.GtkScrolledWindow25 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow25.Name = "GtkScrolledWindow25"; - this.GtkScrolledWindow25.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow25.Gtk.Container+ContainerChild - this.treeTracks = new global::Gtk.TreeView(); - this.treeTracks.CanFocus = true; - this.treeTracks.Name = "treeTracks"; - this.GtkScrolledWindow25.Add(this.treeTracks); - this.vbox42.Add(this.GtkScrolledWindow25); - global::Gtk.Box.BoxChild w246 = ((global::Gtk.Box.BoxChild)(this.vbox42[this.GtkScrolledWindow25])); - w246.Position = 0; - // Container child vbox42.Gtk.Box+BoxChild - this.hbox101 = new global::Gtk.HBox(); - this.hbox101.Name = "hbox101"; - this.hbox101.Spacing = 6; - // Container child hbox101.Gtk.Box+BoxChild - this.lblTrackStart = new global::Gtk.Label(); - this.lblTrackStart.Name = "lblTrackStart"; - this.lblTrackStart.LabelProp = global::Mono.Unix.Catalog.GetString("Start LBA"); - this.hbox101.Add(this.lblTrackStart); - global::Gtk.Box.BoxChild w247 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.lblTrackStart])); - w247.Position = 0; - w247.Expand = false; - w247.Fill = false; - // Container child hbox101.Gtk.Box+BoxChild - this.txtTrackStart = new global::Gtk.Entry(); - this.txtTrackStart.CanFocus = true; - this.txtTrackStart.Name = "txtTrackStart"; - this.txtTrackStart.IsEditable = true; - this.txtTrackStart.InvisibleChar = '●'; - this.hbox101.Add(this.txtTrackStart); - global::Gtk.Box.BoxChild w248 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.txtTrackStart])); - w248.Position = 1; - // Container child hbox101.Gtk.Box+BoxChild - this.lblTrackEnd = new global::Gtk.Label(); - this.lblTrackEnd.Name = "lblTrackEnd"; - this.lblTrackEnd.LabelProp = global::Mono.Unix.Catalog.GetString("End LBA"); - this.hbox101.Add(this.lblTrackEnd); - global::Gtk.Box.BoxChild w249 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.lblTrackEnd])); - w249.Position = 2; - w249.Expand = false; - w249.Fill = false; - // Container child hbox101.Gtk.Box+BoxChild - this.txtTrackEnd = new global::Gtk.Entry(); - this.txtTrackEnd.CanFocus = true; - this.txtTrackEnd.Name = "txtTrackEnd"; - this.txtTrackEnd.IsEditable = true; - this.txtTrackEnd.InvisibleChar = '●'; - this.hbox101.Add(this.txtTrackEnd); - global::Gtk.Box.BoxChild w250 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.txtTrackEnd])); - w250.Position = 3; - // Container child hbox101.Gtk.Box+BoxChild - this.lblMSFStart = new global::Gtk.Label(); - this.lblMSFStart.Name = "lblMSFStart"; - this.lblMSFStart.LabelProp = global::Mono.Unix.Catalog.GetString("Start MSF"); - this.hbox101.Add(this.lblMSFStart); - global::Gtk.Box.BoxChild w251 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.lblMSFStart])); - w251.Position = 4; - w251.Expand = false; - w251.Fill = false; - // Container child hbox101.Gtk.Box+BoxChild - this.txtMSFStart = new global::Gtk.Entry(); - this.txtMSFStart.CanFocus = true; - this.txtMSFStart.Name = "txtMSFStart"; - this.txtMSFStart.IsEditable = true; - this.txtMSFStart.InvisibleChar = '●'; - this.hbox101.Add(this.txtMSFStart); - global::Gtk.Box.BoxChild w252 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.txtMSFStart])); - w252.Position = 5; - // Container child hbox101.Gtk.Box+BoxChild - this.lblMSFEnd = new global::Gtk.Label(); - this.lblMSFEnd.Name = "lblMSFEnd"; - this.lblMSFEnd.LabelProp = global::Mono.Unix.Catalog.GetString("End MSF"); - this.hbox101.Add(this.lblMSFEnd); - global::Gtk.Box.BoxChild w253 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.lblMSFEnd])); - w253.Position = 6; - w253.Expand = false; - w253.Fill = false; - // Container child hbox101.Gtk.Box+BoxChild - this.txtMSFEnd = new global::Gtk.Entry(); - this.txtMSFEnd.CanFocus = true; - this.txtMSFEnd.Name = "txtMSFEnd"; - this.txtMSFEnd.IsEditable = true; - this.txtMSFEnd.InvisibleChar = '●'; - this.hbox101.Add(this.txtMSFEnd); - global::Gtk.Box.BoxChild w254 = ((global::Gtk.Box.BoxChild)(this.hbox101[this.txtMSFEnd])); - w254.Position = 7; - this.vbox42.Add(this.hbox101); - global::Gtk.Box.BoxChild w255 = ((global::Gtk.Box.BoxChild)(this.vbox42[this.hbox101])); - w255.Position = 1; - w255.Expand = false; - w255.Fill = false; - // Container child vbox42.Gtk.Box+BoxChild - this.hbox103 = new global::Gtk.HBox(); - this.hbox103.Name = "hbox103"; - this.hbox103.Spacing = 6; - // Container child hbox103.Gtk.Box+BoxChild - this.lblTrackSequence = new global::Gtk.Label(); - this.lblTrackSequence.Name = "lblTrackSequence"; - this.lblTrackSequence.LabelProp = global::Mono.Unix.Catalog.GetString("Track"); - this.hbox103.Add(this.lblTrackSequence); - global::Gtk.Box.BoxChild w256 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.lblTrackSequence])); - w256.Position = 0; - w256.Expand = false; - w256.Fill = false; - // Container child hbox103.Gtk.Box+BoxChild - this.txtTrackSequence = new global::Gtk.Entry(); - this.txtTrackSequence.CanFocus = true; - this.txtTrackSequence.Name = "txtTrackSequence"; - this.txtTrackSequence.IsEditable = true; - this.txtTrackSequence.InvisibleChar = '●'; - this.hbox103.Add(this.txtTrackSequence); - global::Gtk.Box.BoxChild w257 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.txtTrackSequence])); - w257.Position = 1; - // Container child hbox103.Gtk.Box+BoxChild - this.lblSessionSequence = new global::Gtk.Label(); - this.lblSessionSequence.Name = "lblSessionSequence"; - this.lblSessionSequence.LabelProp = global::Mono.Unix.Catalog.GetString("Session"); - this.hbox103.Add(this.lblSessionSequence); - global::Gtk.Box.BoxChild w258 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.lblSessionSequence])); - w258.Position = 2; - w258.Expand = false; - w258.Fill = false; - // Container child hbox103.Gtk.Box+BoxChild - this.txtSessionSequence = new global::Gtk.Entry(); - this.txtSessionSequence.CanFocus = true; - this.txtSessionSequence.Name = "txtSessionSequence"; - this.txtSessionSequence.IsEditable = true; - this.txtSessionSequence.InvisibleChar = '●'; - this.hbox103.Add(this.txtSessionSequence); - global::Gtk.Box.BoxChild w259 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.txtSessionSequence])); - w259.Position = 3; - // Container child hbox103.Gtk.Box+BoxChild - this.lblTrackType = new global::Gtk.Label(); - this.lblTrackType.Name = "lblTrackType"; - this.lblTrackType.LabelProp = global::Mono.Unix.Catalog.GetString("Track type"); - this.hbox103.Add(this.lblTrackType); - global::Gtk.Box.BoxChild w260 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.lblTrackType])); - w260.Position = 4; - w260.Expand = false; - w260.Fill = false; - // Container child hbox103.Gtk.Box+BoxChild - this.cmbTrackType = global::Gtk.ComboBox.NewText(); - this.cmbTrackType.Name = "cmbTrackType"; - this.hbox103.Add(this.cmbTrackType); - global::Gtk.Box.BoxChild w261 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.cmbTrackType])); - w261.Position = 5; - w261.Expand = false; - w261.Fill = false; - // Container child hbox103.Gtk.Box+BoxChild - this.txtBytesPerSector = new global::Gtk.Entry(); - this.txtBytesPerSector.CanFocus = true; - this.txtBytesPerSector.Name = "txtBytesPerSector"; - this.txtBytesPerSector.IsEditable = true; - this.txtBytesPerSector.InvisibleChar = '●'; - this.hbox103.Add(this.txtBytesPerSector); - global::Gtk.Box.BoxChild w262 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.txtBytesPerSector])); - w262.Position = 6; - // Container child hbox103.Gtk.Box+BoxChild - this.lblBytesPerSector = new global::Gtk.Label(); - this.lblBytesPerSector.Name = "lblBytesPerSector"; - this.lblBytesPerSector.LabelProp = global::Mono.Unix.Catalog.GetString("bytes per sector"); - this.hbox103.Add(this.lblBytesPerSector); - global::Gtk.Box.BoxChild w263 = ((global::Gtk.Box.BoxChild)(this.hbox103[this.lblBytesPerSector])); - w263.Position = 7; - w263.Expand = false; - w263.Fill = false; - this.vbox42.Add(this.hbox103); - global::Gtk.Box.BoxChild w264 = ((global::Gtk.Box.BoxChild)(this.vbox42[this.hbox103])); - w264.Position = 2; - w264.Expand = false; - w264.Fill = false; - // Container child vbox42.Gtk.Box+BoxChild - this.hbox102 = new global::Gtk.HBox(); - this.hbox102.Name = "hbox102"; - this.hbox102.Spacing = 6; - // Container child hbox102.Gtk.Box+BoxChild - this.lblAcoustID = new global::Gtk.Label(); - this.lblAcoustID.Name = "lblAcoustID"; - this.lblAcoustID.LabelProp = global::Mono.Unix.Catalog.GetString("Acoust ID"); - this.hbox102.Add(this.lblAcoustID); - global::Gtk.Box.BoxChild w265 = ((global::Gtk.Box.BoxChild)(this.hbox102[this.lblAcoustID])); - w265.Position = 0; - w265.Expand = false; - w265.Fill = false; - // Container child hbox102.Gtk.Box+BoxChild - this.txtAcoustID = new global::Gtk.Entry(); - this.txtAcoustID.CanFocus = true; - this.txtAcoustID.Name = "txtAcoustID"; - this.txtAcoustID.IsEditable = true; - this.txtAcoustID.InvisibleChar = '●'; - this.hbox102.Add(this.txtAcoustID); - global::Gtk.Box.BoxChild w266 = ((global::Gtk.Box.BoxChild)(this.hbox102[this.txtAcoustID])); - w266.Position = 1; - this.vbox42.Add(this.hbox102); - global::Gtk.Box.BoxChild w267 = ((global::Gtk.Box.BoxChild)(this.vbox42[this.hbox102])); - w267.Position = 3; - w267.Expand = false; - w267.Fill = false; - // Container child vbox42.Gtk.Box+BoxChild - this.frmPartitions = new global::Gtk.Frame(); - this.frmPartitions.Name = "frmPartitions"; - this.frmPartitions.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmPartitions.Gtk.Container+ContainerChild - this.GtkAlignment17 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment17.Name = "GtkAlignment17"; - this.GtkAlignment17.LeftPadding = ((uint)(12)); - // Container child GtkAlignment17.Gtk.Container+ContainerChild - this.vbox22 = new global::Gtk.VBox(); - this.vbox22.Name = "vbox22"; - this.vbox22.Spacing = 6; - // Container child vbox22.Gtk.Box+BoxChild - this.GtkScrolledWindow12 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow12.Name = "GtkScrolledWindow12"; - this.GtkScrolledWindow12.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow12.Gtk.Container+ContainerChild - this.treePartitions = new global::Gtk.TreeView(); - this.treePartitions.CanFocus = true; - this.treePartitions.Name = "treePartitions"; - this.GtkScrolledWindow12.Add(this.treePartitions); - this.vbox22.Add(this.GtkScrolledWindow12); - global::Gtk.Box.BoxChild w269 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.GtkScrolledWindow12])); - w269.Position = 0; - // Container child vbox22.Gtk.Box+BoxChild - this.hbox62 = new global::Gtk.HBox(); - this.hbox62.Name = "hbox62"; - this.hbox62.Spacing = 6; - // Container child hbox62.Gtk.Box+BoxChild - this.btnCancelPartition = new global::Gtk.Button(); - this.btnCancelPartition.CanFocus = true; - this.btnCancelPartition.Name = "btnCancelPartition"; - this.btnCancelPartition.UseStock = true; - this.btnCancelPartition.UseUnderline = true; - this.btnCancelPartition.Label = "gtk-cancel"; - this.hbox62.Add(this.btnCancelPartition); - global::Gtk.Box.BoxChild w270 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnCancelPartition])); - w270.Position = 0; - w270.Expand = false; - w270.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnRemovePartition = new global::Gtk.Button(); - this.btnRemovePartition.CanFocus = true; - this.btnRemovePartition.Name = "btnRemovePartition"; - this.btnRemovePartition.UseStock = true; - this.btnRemovePartition.UseUnderline = true; - this.btnRemovePartition.Label = "gtk-remove"; - this.hbox62.Add(this.btnRemovePartition); - global::Gtk.Box.BoxChild w271 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnRemovePartition])); - w271.Position = 1; - w271.Expand = false; - w271.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnAddPartition = new global::Gtk.Button(); - this.btnAddPartition.CanFocus = true; - this.btnAddPartition.Name = "btnAddPartition"; - this.btnAddPartition.UseStock = true; - this.btnAddPartition.UseUnderline = true; - this.btnAddPartition.Label = "gtk-add"; - this.hbox62.Add(this.btnAddPartition); - global::Gtk.Box.BoxChild w272 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnAddPartition])); - w272.PackType = ((global::Gtk.PackType)(1)); - w272.Position = 2; - w272.Expand = false; - w272.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnApplyPartition = new global::Gtk.Button(); - this.btnApplyPartition.CanFocus = true; - this.btnApplyPartition.Name = "btnApplyPartition"; - this.btnApplyPartition.UseStock = true; - this.btnApplyPartition.UseUnderline = true; - this.btnApplyPartition.Label = "gtk-apply"; - this.hbox62.Add(this.btnApplyPartition); - global::Gtk.Box.BoxChild w273 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnApplyPartition])); - w273.PackType = ((global::Gtk.PackType)(1)); - w273.Position = 3; - w273.Expand = false; - w273.Fill = false; - // Container child hbox62.Gtk.Box+BoxChild - this.btnEditPartition = new global::Gtk.Button(); - this.btnEditPartition.CanFocus = true; - this.btnEditPartition.Name = "btnEditPartition"; - this.btnEditPartition.UseUnderline = true; - this.btnEditPartition.Label = global::Mono.Unix.Catalog.GetString("Edit"); - global::Gtk.Image w274 = new global::Gtk.Image(); - w274.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditPartition.Image = w274; - this.hbox62.Add(this.btnEditPartition); - global::Gtk.Box.BoxChild w275 = ((global::Gtk.Box.BoxChild)(this.hbox62[this.btnEditPartition])); - w275.PackType = ((global::Gtk.PackType)(1)); - w275.Position = 4; - w275.Expand = false; - w275.Fill = false; - this.vbox22.Add(this.hbox62); - global::Gtk.Box.BoxChild w276 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.hbox62])); - w276.Position = 1; - w276.Expand = false; - w276.Fill = false; - // Container child vbox22.Gtk.Box+BoxChild - this.hbox63 = new global::Gtk.HBox(); - this.hbox63.Name = "hbox63"; - this.hbox63.Spacing = 6; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionSequence = new global::Gtk.Label(); - this.lblPartitionSequence.Name = "lblPartitionSequence"; - this.lblPartitionSequence.LabelProp = global::Mono.Unix.Catalog.GetString("Sequence"); - this.hbox63.Add(this.lblPartitionSequence); - global::Gtk.Box.BoxChild w277 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionSequence])); - w277.Position = 0; - w277.Expand = false; - w277.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.spPartitionSequence = new global::Gtk.SpinButton(0, 100, 1); - this.spPartitionSequence.CanFocus = true; - this.spPartitionSequence.Name = "spPartitionSequence"; - this.spPartitionSequence.Adjustment.PageIncrement = 10; - this.spPartitionSequence.ClimbRate = 1; - this.spPartitionSequence.Numeric = true; - this.hbox63.Add(this.spPartitionSequence); - global::Gtk.Box.BoxChild w278 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.spPartitionSequence])); - w278.Position = 1; - w278.Expand = false; - w278.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionStart = new global::Gtk.Label(); - this.lblPartitionStart.Name = "lblPartitionStart"; - this.lblPartitionStart.LabelProp = global::Mono.Unix.Catalog.GetString("Start block"); - this.hbox63.Add(this.lblPartitionStart); - global::Gtk.Box.BoxChild w279 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionStart])); - w279.Position = 2; - w279.Expand = false; - w279.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.txtPartitionStart = new global::Gtk.Entry(); - this.txtPartitionStart.CanFocus = true; - this.txtPartitionStart.Name = "txtPartitionStart"; - this.txtPartitionStart.IsEditable = true; - this.txtPartitionStart.InvisibleChar = '●'; - this.hbox63.Add(this.txtPartitionStart); - global::Gtk.Box.BoxChild w280 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.txtPartitionStart])); - w280.Position = 3; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionEnd = new global::Gtk.Label(); - this.lblPartitionEnd.Name = "lblPartitionEnd"; - this.lblPartitionEnd.LabelProp = global::Mono.Unix.Catalog.GetString("End block"); - this.hbox63.Add(this.lblPartitionEnd); - global::Gtk.Box.BoxChild w281 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionEnd])); - w281.Position = 4; - w281.Expand = false; - w281.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.txtPartitionEnd = new global::Gtk.Entry(); - this.txtPartitionEnd.CanFocus = true; - this.txtPartitionEnd.Name = "txtPartitionEnd"; - this.txtPartitionEnd.IsEditable = true; - this.txtPartitionEnd.InvisibleChar = '●'; - this.hbox63.Add(this.txtPartitionEnd); - global::Gtk.Box.BoxChild w282 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.txtPartitionEnd])); - w282.Position = 5; - // Container child hbox63.Gtk.Box+BoxChild - this.lblPartitionType = new global::Gtk.Label(); - this.lblPartitionType.Name = "lblPartitionType"; - this.lblPartitionType.LabelProp = global::Mono.Unix.Catalog.GetString("Type"); - this.hbox63.Add(this.lblPartitionType); - global::Gtk.Box.BoxChild w283 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.lblPartitionType])); - w283.Position = 6; - w283.Expand = false; - w283.Fill = false; - // Container child hbox63.Gtk.Box+BoxChild - this.txtPartitionType = new global::Gtk.Entry(); - this.txtPartitionType.CanFocus = true; - this.txtPartitionType.Name = "txtPartitionType"; - this.txtPartitionType.IsEditable = true; - this.txtPartitionType.InvisibleChar = '●'; - this.hbox63.Add(this.txtPartitionType); - global::Gtk.Box.BoxChild w284 = ((global::Gtk.Box.BoxChild)(this.hbox63[this.txtPartitionType])); - w284.Position = 7; - this.vbox22.Add(this.hbox63); - global::Gtk.Box.BoxChild w285 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.hbox63])); - w285.Position = 2; - w285.Expand = false; - w285.Fill = false; - // Container child vbox22.Gtk.Box+BoxChild - this.hbox64 = new global::Gtk.HBox(); - this.hbox64.Name = "hbox64"; - this.hbox64.Spacing = 6; - // Container child hbox64.Gtk.Box+BoxChild - this.lblPartitionName = new global::Gtk.Label(); - this.lblPartitionName.Name = "lblPartitionName"; - this.lblPartitionName.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); - this.hbox64.Add(this.lblPartitionName); - global::Gtk.Box.BoxChild w286 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.lblPartitionName])); - w286.Position = 0; - w286.Expand = false; - w286.Fill = false; - // Container child hbox64.Gtk.Box+BoxChild - this.txtPartitionName = new global::Gtk.Entry(); - this.txtPartitionName.CanFocus = true; - this.txtPartitionName.Name = "txtPartitionName"; - this.txtPartitionName.IsEditable = true; - this.txtPartitionName.InvisibleChar = '●'; - this.hbox64.Add(this.txtPartitionName); - global::Gtk.Box.BoxChild w287 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.txtPartitionName])); - w287.Position = 1; - // Container child hbox64.Gtk.Box+BoxChild - this.lblPartitionDescription = new global::Gtk.Label(); - this.lblPartitionDescription.Name = "lblPartitionDescription"; - this.lblPartitionDescription.LabelProp = global::Mono.Unix.Catalog.GetString("Description"); - this.hbox64.Add(this.lblPartitionDescription); - global::Gtk.Box.BoxChild w288 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.lblPartitionDescription])); - w288.Position = 2; - w288.Expand = false; - w288.Fill = false; - // Container child hbox64.Gtk.Box+BoxChild - this.txtPartitionDescription = new global::Gtk.Entry(); - this.txtPartitionDescription.CanFocus = true; - this.txtPartitionDescription.Name = "txtPartitionDescription"; - this.txtPartitionDescription.IsEditable = true; - this.txtPartitionDescription.InvisibleChar = '●'; - this.hbox64.Add(this.txtPartitionDescription); - global::Gtk.Box.BoxChild w289 = ((global::Gtk.Box.BoxChild)(this.hbox64[this.txtPartitionDescription])); - w289.Position = 3; - this.vbox22.Add(this.hbox64); - global::Gtk.Box.BoxChild w290 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.hbox64])); - w290.Position = 3; - w290.Expand = false; - w290.Fill = false; - // Container child vbox22.Gtk.Box+BoxChild - this.frmFilesystems = new global::Gtk.Frame(); - this.frmFilesystems.Name = "frmFilesystems"; - this.frmFilesystems.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmFilesystems.Gtk.Container+ContainerChild - this.GtkAlignment43 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment43.Name = "GtkAlignment43"; - this.GtkAlignment43.LeftPadding = ((uint)(12)); - // Container child GtkAlignment43.Gtk.Container+ContainerChild - this.vbox23 = new global::Gtk.VBox(); - this.vbox23.Name = "vbox23"; - this.vbox23.Spacing = 6; - // Container child vbox23.Gtk.Box+BoxChild - this.GtkScrolledWindow13 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow13.Name = "GtkScrolledWindow13"; - this.GtkScrolledWindow13.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow13.Gtk.Container+ContainerChild - this.treeFilesystems = new global::Gtk.TreeView(); - this.treeFilesystems.CanFocus = true; - this.treeFilesystems.Name = "treeFilesystems"; - this.GtkScrolledWindow13.Add(this.treeFilesystems); - this.vbox23.Add(this.GtkScrolledWindow13); - global::Gtk.Box.BoxChild w292 = ((global::Gtk.Box.BoxChild)(this.vbox23[this.GtkScrolledWindow13])); - w292.Position = 0; - // Container child vbox23.Gtk.Box+BoxChild - this.hbox65 = new global::Gtk.HBox(); - this.hbox65.Name = "hbox65"; - this.hbox65.Spacing = 6; - // Container child hbox65.Gtk.Box+BoxChild - this.btnAddFilesystem = new global::Gtk.Button(); - this.btnAddFilesystem.CanFocus = true; - this.btnAddFilesystem.Name = "btnAddFilesystem"; - this.btnAddFilesystem.UseStock = true; - this.btnAddFilesystem.UseUnderline = true; - this.btnAddFilesystem.Label = "gtk-add"; - this.hbox65.Add(this.btnAddFilesystem); - global::Gtk.Box.BoxChild w293 = ((global::Gtk.Box.BoxChild)(this.hbox65[this.btnAddFilesystem])); - w293.PackType = ((global::Gtk.PackType)(1)); - w293.Position = 0; - w293.Expand = false; - w293.Fill = false; - // Container child hbox65.Gtk.Box+BoxChild - this.btnEditFilesystem = new global::Gtk.Button(); - this.btnEditFilesystem.CanFocus = true; - this.btnEditFilesystem.Name = "btnEditFilesystem"; - this.btnEditFilesystem.UseUnderline = true; - this.btnEditFilesystem.Label = global::Mono.Unix.Catalog.GetString("_Edit"); - global::Gtk.Image w294 = new global::Gtk.Image(); - w294.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditFilesystem.Image = w294; - this.hbox65.Add(this.btnEditFilesystem); - global::Gtk.Box.BoxChild w295 = ((global::Gtk.Box.BoxChild)(this.hbox65[this.btnEditFilesystem])); - w295.PackType = ((global::Gtk.PackType)(1)); - w295.Position = 1; - w295.Expand = false; - w295.Fill = false; - // Container child hbox65.Gtk.Box+BoxChild - this.btnRemoveFilesystem = new global::Gtk.Button(); - this.btnRemoveFilesystem.CanFocus = true; - this.btnRemoveFilesystem.Name = "btnRemoveFilesystem"; - this.btnRemoveFilesystem.UseStock = true; - this.btnRemoveFilesystem.UseUnderline = true; - this.btnRemoveFilesystem.Label = "gtk-remove"; - this.hbox65.Add(this.btnRemoveFilesystem); - global::Gtk.Box.BoxChild w296 = ((global::Gtk.Box.BoxChild)(this.hbox65[this.btnRemoveFilesystem])); - w296.PackType = ((global::Gtk.PackType)(1)); - w296.Position = 2; - w296.Expand = false; - w296.Fill = false; - this.vbox23.Add(this.hbox65); - global::Gtk.Box.BoxChild w297 = ((global::Gtk.Box.BoxChild)(this.vbox23[this.hbox65])); - w297.Position = 1; - w297.Expand = false; - w297.Fill = false; - this.GtkAlignment43.Add(this.vbox23); - this.frmFilesystems.Add(this.GtkAlignment43); - this.GtkLabel52 = new global::Gtk.Label(); - this.GtkLabel52.Name = "GtkLabel52"; - this.GtkLabel52.LabelProp = global::Mono.Unix.Catalog.GetString("Filesystems"); - this.GtkLabel52.UseMarkup = true; - this.frmFilesystems.LabelWidget = this.GtkLabel52; - this.vbox22.Add(this.frmFilesystems); - global::Gtk.Box.BoxChild w300 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.frmFilesystems])); - w300.Position = 4; - this.GtkAlignment17.Add(this.vbox22); - this.frmPartitions.Add(this.GtkAlignment17); - this.GtkLabel53 = new global::Gtk.Label(); - this.GtkLabel53.Name = "GtkLabel53"; - this.GtkLabel53.LabelProp = global::Mono.Unix.Catalog.GetString("Partitions"); - this.GtkLabel53.UseMarkup = true; - this.frmPartitions.LabelWidget = this.GtkLabel53; - this.vbox42.Add(this.frmPartitions); - global::Gtk.Box.BoxChild w303 = ((global::Gtk.Box.BoxChild)(this.vbox42[this.frmPartitions])); - w303.Position = 4; - // Container child vbox42.Gtk.Box+BoxChild - this.hbox104 = new global::Gtk.HBox(); - this.hbox104.Name = "hbox104"; - this.hbox104.Spacing = 6; - // Container child hbox104.Gtk.Box+BoxChild - this.btnEditTrack = new global::Gtk.Button(); - this.btnEditTrack.CanFocus = true; - this.btnEditTrack.Name = "btnEditTrack"; - this.btnEditTrack.UseUnderline = true; - this.btnEditTrack.Label = global::Mono.Unix.Catalog.GetString("_Edit"); - global::Gtk.Image w304 = new global::Gtk.Image(); - w304.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditTrack.Image = w304; - this.hbox104.Add(this.btnEditTrack); - global::Gtk.Box.BoxChild w305 = ((global::Gtk.Box.BoxChild)(this.hbox104[this.btnEditTrack])); - w305.PackType = ((global::Gtk.PackType)(1)); - w305.Position = 0; - w305.Expand = false; - w305.Fill = false; - // Container child hbox104.Gtk.Box+BoxChild - this.btnApplyTrack = new global::Gtk.Button(); - this.btnApplyTrack.CanFocus = true; - this.btnApplyTrack.Name = "btnApplyTrack"; - this.btnApplyTrack.UseStock = true; - this.btnApplyTrack.UseUnderline = true; - this.btnApplyTrack.Label = "gtk-apply"; - this.hbox104.Add(this.btnApplyTrack); - global::Gtk.Box.BoxChild w306 = ((global::Gtk.Box.BoxChild)(this.hbox104[this.btnApplyTrack])); - w306.PackType = ((global::Gtk.PackType)(1)); - w306.Position = 1; - w306.Expand = false; - w306.Fill = false; - // Container child hbox104.Gtk.Box+BoxChild - this.btnCancelTrack = new global::Gtk.Button(); - this.btnCancelTrack.CanFocus = true; - this.btnCancelTrack.Name = "btnCancelTrack"; - this.btnCancelTrack.UseStock = true; - this.btnCancelTrack.UseUnderline = true; - this.btnCancelTrack.Label = "gtk-cancel"; - this.hbox104.Add(this.btnCancelTrack); - global::Gtk.Box.BoxChild w307 = ((global::Gtk.Box.BoxChild)(this.hbox104[this.btnCancelTrack])); - w307.PackType = ((global::Gtk.PackType)(1)); - w307.Position = 2; - w307.Expand = false; - w307.Fill = false; - this.vbox42.Add(this.hbox104); - global::Gtk.Box.BoxChild w308 = ((global::Gtk.Box.BoxChild)(this.vbox42[this.hbox104])); - w308.Position = 5; - w308.Expand = false; - w308.Fill = false; - this.notebook1.Add(this.vbox42); - global::Gtk.Notebook.NotebookChild w309 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox42])); - w309.Position = 11; - // Notebook tab - this.label125 = new global::Gtk.Label(); - this.label125.Name = "label125"; - this.label125.LabelProp = global::Mono.Unix.Catalog.GetString("Tracks"); - this.notebook1.SetTabLabel(this.vbox42, this.label125); - this.label125.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox15 = new global::Gtk.VBox(); - this.vbox15.Name = "vbox15"; - this.vbox15.Spacing = 6; - // Container child vbox15.Gtk.Box+BoxChild - this.chkDumpHardware = new global::Gtk.CheckButton(); - this.chkDumpHardware.CanFocus = true; - this.chkDumpHardware.Name = "chkDumpHardware"; - this.chkDumpHardware.Label = global::Mono.Unix.Catalog.GetString("Known dumping hardware"); - this.chkDumpHardware.DrawIndicator = true; - this.chkDumpHardware.UseUnderline = true; - this.vbox15.Add(this.chkDumpHardware); - global::Gtk.Box.BoxChild w310 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.chkDumpHardware])); - w310.Position = 0; - w310.Expand = false; - w310.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.GtkScrolledWindow8 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow8.Name = "GtkScrolledWindow8"; - this.GtkScrolledWindow8.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow8.Gtk.Container+ContainerChild - this.treeDumpHardware = new global::Gtk.TreeView(); - this.treeDumpHardware.CanFocus = true; - this.treeDumpHardware.Name = "treeDumpHardware"; - this.GtkScrolledWindow8.Add(this.treeDumpHardware); - this.vbox15.Add(this.GtkScrolledWindow8); - global::Gtk.Box.BoxChild w312 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.GtkScrolledWindow8])); - w312.Position = 1; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox39 = new global::Gtk.HBox(); - this.hbox39.Name = "hbox39"; - this.hbox39.Spacing = 6; - // Container child hbox39.Gtk.Box+BoxChild - this.btnCancelHardware = new global::Gtk.Button(); - this.btnCancelHardware.CanFocus = true; - this.btnCancelHardware.Name = "btnCancelHardware"; - this.btnCancelHardware.UseStock = true; - this.btnCancelHardware.UseUnderline = true; - this.btnCancelHardware.Label = "gtk-cancel"; - this.hbox39.Add(this.btnCancelHardware); - global::Gtk.Box.BoxChild w313 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnCancelHardware])); - w313.Position = 0; - w313.Expand = false; - w313.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnRemoveHardware = new global::Gtk.Button(); - this.btnRemoveHardware.CanFocus = true; - this.btnRemoveHardware.Name = "btnRemoveHardware"; - this.btnRemoveHardware.UseStock = true; - this.btnRemoveHardware.UseUnderline = true; - this.btnRemoveHardware.Label = "gtk-remove"; - this.hbox39.Add(this.btnRemoveHardware); - global::Gtk.Box.BoxChild w314 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnRemoveHardware])); - w314.Position = 1; - w314.Expand = false; - w314.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnAddHardware = new global::Gtk.Button(); - this.btnAddHardware.CanFocus = true; - this.btnAddHardware.Name = "btnAddHardware"; - this.btnAddHardware.UseStock = true; - this.btnAddHardware.UseUnderline = true; - this.btnAddHardware.Label = "gtk-add"; - this.hbox39.Add(this.btnAddHardware); - global::Gtk.Box.BoxChild w315 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnAddHardware])); - w315.PackType = ((global::Gtk.PackType)(1)); - w315.Position = 2; - w315.Expand = false; - w315.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnApplyHardware = new global::Gtk.Button(); - this.btnApplyHardware.CanFocus = true; - this.btnApplyHardware.Name = "btnApplyHardware"; - this.btnApplyHardware.UseStock = true; - this.btnApplyHardware.UseUnderline = true; - this.btnApplyHardware.Label = "gtk-apply"; - this.hbox39.Add(this.btnApplyHardware); - global::Gtk.Box.BoxChild w316 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnApplyHardware])); - w316.PackType = ((global::Gtk.PackType)(1)); - w316.Position = 3; - w316.Expand = false; - w316.Fill = false; - // Container child hbox39.Gtk.Box+BoxChild - this.btnEditHardware = new global::Gtk.Button(); - this.btnEditHardware.CanFocus = true; - this.btnEditHardware.Name = "btnEditHardware"; - this.btnEditHardware.UseUnderline = true; - this.btnEditHardware.Label = global::Mono.Unix.Catalog.GetString("Edit"); - global::Gtk.Image w317 = new global::Gtk.Image(); - w317.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); - this.btnEditHardware.Image = w317; - this.hbox39.Add(this.btnEditHardware); - global::Gtk.Box.BoxChild w318 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.btnEditHardware])); - w318.PackType = ((global::Gtk.PackType)(1)); - w318.Position = 4; - w318.Expand = false; - w318.Fill = false; - this.vbox15.Add(this.hbox39); - global::Gtk.Box.BoxChild w319 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox39])); - w319.Position = 2; - w319.Expand = false; - w319.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox40 = new global::Gtk.HBox(); - this.hbox40.Name = "hbox40"; - this.hbox40.Spacing = 6; - // Container child hbox40.Gtk.Box+BoxChild - this.lblHWManufacturer = new global::Gtk.Label(); - this.lblHWManufacturer.Name = "lblHWManufacturer"; - this.lblHWManufacturer.LabelProp = global::Mono.Unix.Catalog.GetString("Manufacturer"); - this.hbox40.Add(this.lblHWManufacturer); - global::Gtk.Box.BoxChild w320 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.lblHWManufacturer])); - w320.Position = 0; - w320.Expand = false; - w320.Fill = false; - // Container child hbox40.Gtk.Box+BoxChild - this.txtHWManufacturer = new global::Gtk.Entry(); - this.txtHWManufacturer.CanFocus = true; - this.txtHWManufacturer.Name = "txtHWManufacturer"; - this.txtHWManufacturer.IsEditable = true; - this.txtHWManufacturer.InvisibleChar = '●'; - this.hbox40.Add(this.txtHWManufacturer); - global::Gtk.Box.BoxChild w321 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.txtHWManufacturer])); - w321.Position = 1; - // Container child hbox40.Gtk.Box+BoxChild - this.lblHWModel = new global::Gtk.Label(); - this.lblHWModel.Name = "lblHWModel"; - this.lblHWModel.LabelProp = global::Mono.Unix.Catalog.GetString("Model"); - this.hbox40.Add(this.lblHWModel); - global::Gtk.Box.BoxChild w322 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.lblHWModel])); - w322.Position = 2; - w322.Expand = false; - w322.Fill = false; - // Container child hbox40.Gtk.Box+BoxChild - this.txtHWModel = new global::Gtk.Entry(); - this.txtHWModel.CanFocus = true; - this.txtHWModel.Name = "txtHWModel"; - this.txtHWModel.IsEditable = true; - this.txtHWModel.InvisibleChar = '●'; - this.hbox40.Add(this.txtHWModel); - global::Gtk.Box.BoxChild w323 = ((global::Gtk.Box.BoxChild)(this.hbox40[this.txtHWModel])); - w323.Position = 3; - this.vbox15.Add(this.hbox40); - global::Gtk.Box.BoxChild w324 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox40])); - w324.Position = 3; - w324.Expand = false; - w324.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox41 = new global::Gtk.HBox(); - this.hbox41.Name = "hbox41"; - this.hbox41.Spacing = 6; - // Container child hbox41.Gtk.Box+BoxChild - this.lblHWRevision = new global::Gtk.Label(); - this.lblHWRevision.Name = "lblHWRevision"; - this.lblHWRevision.LabelProp = global::Mono.Unix.Catalog.GetString("Revision"); - this.hbox41.Add(this.lblHWRevision); - global::Gtk.Box.BoxChild w325 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.lblHWRevision])); - w325.Position = 0; - w325.Expand = false; - w325.Fill = false; - // Container child hbox41.Gtk.Box+BoxChild - this.txtHWRevision = new global::Gtk.Entry(); - this.txtHWRevision.CanFocus = true; - this.txtHWRevision.Name = "txtHWRevision"; - this.txtHWRevision.IsEditable = true; - this.txtHWRevision.InvisibleChar = '●'; - this.hbox41.Add(this.txtHWRevision); - global::Gtk.Box.BoxChild w326 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.txtHWRevision])); - w326.Position = 1; - // Container child hbox41.Gtk.Box+BoxChild - this.lblHWFirmware = new global::Gtk.Label(); - this.lblHWFirmware.Name = "lblHWFirmware"; - this.lblHWFirmware.LabelProp = global::Mono.Unix.Catalog.GetString("Firmware"); - this.hbox41.Add(this.lblHWFirmware); - global::Gtk.Box.BoxChild w327 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.lblHWFirmware])); - w327.Position = 2; - w327.Expand = false; - w327.Fill = false; - // Container child hbox41.Gtk.Box+BoxChild - this.txtHWFirmware = new global::Gtk.Entry(); - this.txtHWFirmware.CanFocus = true; - this.txtHWFirmware.Name = "txtHWFirmware"; - this.txtHWFirmware.IsEditable = true; - this.txtHWFirmware.InvisibleChar = '●'; - this.hbox41.Add(this.txtHWFirmware); - global::Gtk.Box.BoxChild w328 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.txtHWFirmware])); - w328.Position = 3; - this.vbox15.Add(this.hbox41); - global::Gtk.Box.BoxChild w329 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox41])); - w329.Position = 4; - w329.Expand = false; - w329.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hbox44 = new global::Gtk.HBox(); - this.hbox44.Name = "hbox44"; - this.hbox44.Spacing = 6; - // Container child hbox44.Gtk.Box+BoxChild - this.lblHWSerial = new global::Gtk.Label(); - this.lblHWSerial.Name = "lblHWSerial"; - this.lblHWSerial.LabelProp = global::Mono.Unix.Catalog.GetString("Serial number"); - this.hbox44.Add(this.lblHWSerial); - global::Gtk.Box.BoxChild w330 = ((global::Gtk.Box.BoxChild)(this.hbox44[this.lblHWSerial])); - w330.Position = 0; - w330.Expand = false; - w330.Fill = false; - // Container child hbox44.Gtk.Box+BoxChild - this.txtHWSerial = new global::Gtk.Entry(); - this.txtHWSerial.CanFocus = true; - this.txtHWSerial.Name = "txtHWSerial"; - this.txtHWSerial.IsEditable = true; - this.txtHWSerial.InvisibleChar = '●'; - this.hbox44.Add(this.txtHWSerial); - global::Gtk.Box.BoxChild w331 = ((global::Gtk.Box.BoxChild)(this.hbox44[this.txtHWSerial])); - w331.Position = 1; - this.vbox15.Add(this.hbox44); - global::Gtk.Box.BoxChild w332 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox44])); - w332.Position = 5; - w332.Expand = false; - w332.Fill = false; - // Container child vbox15.Gtk.Box+BoxChild - this.hpaned1 = new global::Gtk.HPaned(); - this.hpaned1.CanFocus = true; - this.hpaned1.Name = "hpaned1"; - this.hpaned1.Position = 363; - // Container child hpaned1.Gtk.Paned+PanedChild - this.frmExtents = new global::Gtk.Frame(); - this.frmExtents.Name = "frmExtents"; - this.frmExtents.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmExtents.Gtk.Container+ContainerChild - this.GtkAlignment62 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment62.Name = "GtkAlignment62"; - this.GtkAlignment62.LeftPadding = ((uint)(12)); - // Container child GtkAlignment62.Gtk.Container+ContainerChild - this.vbox21 = new global::Gtk.VBox(); - this.vbox21.Name = "vbox21"; - this.vbox21.Spacing = 6; - // Container child vbox21.Gtk.Box+BoxChild - this.GtkScrolledWindow9 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow9.Name = "GtkScrolledWindow9"; - this.GtkScrolledWindow9.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow9.Gtk.Container+ContainerChild - this.treeExtents = new global::Gtk.TreeView(); - this.treeExtents.CanFocus = true; - this.treeExtents.Name = "treeExtents"; - this.GtkScrolledWindow9.Add(this.treeExtents); - this.vbox21.Add(this.GtkScrolledWindow9); - global::Gtk.Box.BoxChild w334 = ((global::Gtk.Box.BoxChild)(this.vbox21[this.GtkScrolledWindow9])); - w334.Position = 0; - // Container child vbox21.Gtk.Box+BoxChild - this.hbox58 = new global::Gtk.HBox(); - this.hbox58.Name = "hbox58"; - this.hbox58.Spacing = 6; - // Container child hbox58.Gtk.Box+BoxChild - this.btnRemoveExtent = new global::Gtk.Button(); - this.btnRemoveExtent.CanFocus = true; - this.btnRemoveExtent.Name = "btnRemoveExtent"; - this.btnRemoveExtent.UseStock = true; - this.btnRemoveExtent.UseUnderline = true; - this.btnRemoveExtent.Label = "gtk-remove"; - this.hbox58.Add(this.btnRemoveExtent); - global::Gtk.Box.BoxChild w335 = ((global::Gtk.Box.BoxChild)(this.hbox58[this.btnRemoveExtent])); - w335.Position = 0; - w335.Expand = false; - w335.Fill = false; - // Container child hbox58.Gtk.Box+BoxChild - this.btnAddExtent = new global::Gtk.Button(); - this.btnAddExtent.CanFocus = true; - this.btnAddExtent.Name = "btnAddExtent"; - this.btnAddExtent.UseStock = true; - this.btnAddExtent.UseUnderline = true; - this.btnAddExtent.Label = "gtk-add"; - this.hbox58.Add(this.btnAddExtent); - global::Gtk.Box.BoxChild w336 = ((global::Gtk.Box.BoxChild)(this.hbox58[this.btnAddExtent])); - w336.PackType = ((global::Gtk.PackType)(1)); - w336.Position = 1; - w336.Expand = false; - w336.Fill = false; - this.vbox21.Add(this.hbox58); - global::Gtk.Box.BoxChild w337 = ((global::Gtk.Box.BoxChild)(this.vbox21[this.hbox58])); - w337.Position = 1; - w337.Expand = false; - w337.Fill = false; - // Container child vbox21.Gtk.Box+BoxChild - this.hbox59 = new global::Gtk.HBox(); - this.hbox59.Name = "hbox59"; - this.hbox59.Spacing = 6; - // Container child hbox59.Gtk.Box+BoxChild - this.lblStartExtent = new global::Gtk.Label(); - this.lblStartExtent.Name = "lblStartExtent"; - this.lblStartExtent.LabelProp = global::Mono.Unix.Catalog.GetString("Start"); - this.hbox59.Add(this.lblStartExtent); - global::Gtk.Box.BoxChild w338 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.lblStartExtent])); - w338.Position = 0; - w338.Expand = false; - w338.Fill = false; - // Container child hbox59.Gtk.Box+BoxChild - this.spExtentStart = new global::Gtk.SpinButton(0, 100, 1); - this.spExtentStart.CanFocus = true; - this.spExtentStart.Name = "spExtentStart"; - this.spExtentStart.Adjustment.PageIncrement = 10; - this.spExtentStart.ClimbRate = 1; - this.spExtentStart.Numeric = true; - this.hbox59.Add(this.spExtentStart); - global::Gtk.Box.BoxChild w339 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.spExtentStart])); - w339.Position = 1; - w339.Expand = false; - w339.Fill = false; - // Container child hbox59.Gtk.Box+BoxChild - this.lblEndExtent = new global::Gtk.Label(); - this.lblEndExtent.Name = "lblEndExtent"; - this.lblEndExtent.LabelProp = global::Mono.Unix.Catalog.GetString("End"); - this.hbox59.Add(this.lblEndExtent); - global::Gtk.Box.BoxChild w340 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.lblEndExtent])); - w340.Position = 2; - w340.Expand = false; - w340.Fill = false; - // Container child hbox59.Gtk.Box+BoxChild - this.spExtentEnd = new global::Gtk.SpinButton(0, 100, 1); - this.spExtentEnd.CanFocus = true; - this.spExtentEnd.Name = "spExtentEnd"; - this.spExtentEnd.Adjustment.PageIncrement = 10; - this.spExtentEnd.ClimbRate = 1; - this.spExtentEnd.Numeric = true; - this.hbox59.Add(this.spExtentEnd); - global::Gtk.Box.BoxChild w341 = ((global::Gtk.Box.BoxChild)(this.hbox59[this.spExtentEnd])); - w341.Position = 3; - w341.Expand = false; - w341.Fill = false; - this.vbox21.Add(this.hbox59); - global::Gtk.Box.BoxChild w342 = ((global::Gtk.Box.BoxChild)(this.vbox21[this.hbox59])); - w342.Position = 2; - w342.Expand = false; - w342.Fill = false; - this.GtkAlignment62.Add(this.vbox21); - this.frmExtents.Add(this.GtkAlignment62); - this.GtkLabel69 = new global::Gtk.Label(); - this.GtkLabel69.Name = "GtkLabel69"; - this.GtkLabel69.LabelProp = global::Mono.Unix.Catalog.GetString("Extents"); - this.GtkLabel69.UseMarkup = true; - this.frmExtents.LabelWidget = this.GtkLabel69; - this.hpaned1.Add(this.frmExtents); - global::Gtk.Paned.PanedChild w345 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.frmExtents])); - w345.Resize = false; - // Container child hpaned1.Gtk.Paned+PanedChild - this.frmDumpSoftware = new global::Gtk.Frame(); - this.frmDumpSoftware.Name = "frmDumpSoftware"; - this.frmDumpSoftware.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmDumpSoftware.Gtk.Container+ContainerChild - this.GtkAlignment65 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment65.Name = "GtkAlignment65"; - this.GtkAlignment65.LeftPadding = ((uint)(12)); - // Container child GtkAlignment65.Gtk.Container+ContainerChild - this.vbox20 = new global::Gtk.VBox(); - this.vbox20.Name = "vbox20"; - this.vbox20.Spacing = 6; - // Container child vbox20.Gtk.Box+BoxChild - this.hbox55 = new global::Gtk.HBox(); - this.hbox55.Name = "hbox55"; - this.hbox55.Spacing = 6; - // Container child hbox55.Gtk.Box+BoxChild - this.lblSoftwareName = new global::Gtk.Label(); - this.lblSoftwareName.Name = "lblSoftwareName"; - this.lblSoftwareName.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); - this.hbox55.Add(this.lblSoftwareName); - global::Gtk.Box.BoxChild w346 = ((global::Gtk.Box.BoxChild)(this.hbox55[this.lblSoftwareName])); - w346.Position = 0; - w346.Expand = false; - w346.Fill = false; - // Container child hbox55.Gtk.Box+BoxChild - this.txtSoftwareName = new global::Gtk.Entry(); - this.txtSoftwareName.CanFocus = true; - this.txtSoftwareName.Name = "txtSoftwareName"; - this.txtSoftwareName.IsEditable = true; - this.txtSoftwareName.InvisibleChar = '●'; - this.hbox55.Add(this.txtSoftwareName); - global::Gtk.Box.BoxChild w347 = ((global::Gtk.Box.BoxChild)(this.hbox55[this.txtSoftwareName])); - w347.Position = 1; - this.vbox20.Add(this.hbox55); - global::Gtk.Box.BoxChild w348 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.hbox55])); - w348.Position = 0; - w348.Expand = false; - w348.Fill = false; - // Container child vbox20.Gtk.Box+BoxChild - this.hbox56 = new global::Gtk.HBox(); - this.hbox56.Name = "hbox56"; - this.hbox56.Spacing = 6; - // Container child hbox56.Gtk.Box+BoxChild - this.lblSoftwareVersion = new global::Gtk.Label(); - this.lblSoftwareVersion.Name = "lblSoftwareVersion"; - this.lblSoftwareVersion.LabelProp = global::Mono.Unix.Catalog.GetString("Version"); - this.hbox56.Add(this.lblSoftwareVersion); - global::Gtk.Box.BoxChild w349 = ((global::Gtk.Box.BoxChild)(this.hbox56[this.lblSoftwareVersion])); - w349.Position = 0; - w349.Expand = false; - w349.Fill = false; - // Container child hbox56.Gtk.Box+BoxChild - this.txtSoftwareVersion = new global::Gtk.Entry(); - this.txtSoftwareVersion.CanFocus = true; - this.txtSoftwareVersion.Name = "txtSoftwareVersion"; - this.txtSoftwareVersion.IsEditable = true; - this.txtSoftwareVersion.InvisibleChar = '●'; - this.hbox56.Add(this.txtSoftwareVersion); - global::Gtk.Box.BoxChild w350 = ((global::Gtk.Box.BoxChild)(this.hbox56[this.txtSoftwareVersion])); - w350.Position = 1; - this.vbox20.Add(this.hbox56); - global::Gtk.Box.BoxChild w351 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.hbox56])); - w351.Position = 1; - w351.Expand = false; - w351.Fill = false; - // Container child vbox20.Gtk.Box+BoxChild - this.hbox57 = new global::Gtk.HBox(); - this.hbox57.Name = "hbox57"; - this.hbox57.Spacing = 6; - // Container child hbox57.Gtk.Box+BoxChild - this.lblSoftwareOS = new global::Gtk.Label(); - this.lblSoftwareOS.Name = "lblSoftwareOS"; - this.lblSoftwareOS.LabelProp = global::Mono.Unix.Catalog.GetString("Operating system"); - this.hbox57.Add(this.lblSoftwareOS); - global::Gtk.Box.BoxChild w352 = ((global::Gtk.Box.BoxChild)(this.hbox57[this.lblSoftwareOS])); - w352.Position = 0; - w352.Expand = false; - w352.Fill = false; - // Container child hbox57.Gtk.Box+BoxChild - this.txtSoftwareOS = new global::Gtk.Entry(); - this.txtSoftwareOS.CanFocus = true; - this.txtSoftwareOS.Name = "txtSoftwareOS"; - this.txtSoftwareOS.IsEditable = true; - this.txtSoftwareOS.InvisibleChar = '●'; - this.hbox57.Add(this.txtSoftwareOS); - global::Gtk.Box.BoxChild w353 = ((global::Gtk.Box.BoxChild)(this.hbox57[this.txtSoftwareOS])); - w353.Position = 1; - this.vbox20.Add(this.hbox57); - global::Gtk.Box.BoxChild w354 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.hbox57])); - w354.Position = 2; - w354.Expand = false; - w354.Fill = false; - this.GtkAlignment65.Add(this.vbox20); - this.frmDumpSoftware.Add(this.GtkAlignment65); - this.GtkLabel70 = new global::Gtk.Label(); - this.GtkLabel70.Name = "GtkLabel70"; - this.GtkLabel70.LabelProp = global::Mono.Unix.Catalog.GetString("Dump software"); - this.GtkLabel70.UseMarkup = true; - this.frmDumpSoftware.LabelWidget = this.GtkLabel70; - this.hpaned1.Add(this.frmDumpSoftware); - this.vbox15.Add(this.hpaned1); - global::Gtk.Box.BoxChild w358 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hpaned1])); - w358.Position = 6; - this.notebook1.Add(this.vbox15); - global::Gtk.Notebook.NotebookChild w359 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox15])); - w359.Position = 12; - // Notebook tab - this.label11 = new global::Gtk.Label(); - this.label11.Name = "label11"; - this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Dump hardware"); - this.notebook1.SetTabLabel(this.vbox15, this.label11); - this.label11.ShowAll(); - w1.Add(this.notebook1); - global::Gtk.Box.BoxChild w360 = ((global::Gtk.Box.BoxChild)(w1[this.notebook1])); - w360.Position = 0; - // Container child dialog1_VBox.Gtk.Box+BoxChild - this.hbox15 = new global::Gtk.HBox(); - this.hbox15.Name = "hbox15"; - this.hbox15.Spacing = 6; - // Container child hbox15.Gtk.Box+BoxChild - this.btnSave = new global::Gtk.Button(); - this.btnSave.CanFocus = true; - this.btnSave.Name = "btnSave"; - this.btnSave.UseStock = true; - this.btnSave.UseUnderline = true; - this.btnSave.Label = "gtk-save"; - this.hbox15.Add(this.btnSave); - global::Gtk.Box.BoxChild w361 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.btnSave])); - w361.PackType = ((global::Gtk.PackType)(1)); - w361.Position = 0; - w361.Expand = false; - w361.Fill = false; - // Container child hbox15.Gtk.Box+BoxChild - this.btnCancel = new global::Gtk.Button(); - this.btnCancel.CanFocus = true; - this.btnCancel.Name = "btnCancel"; - this.btnCancel.UseStock = true; - this.btnCancel.UseUnderline = true; - this.btnCancel.Label = "gtk-cancel"; - this.hbox15.Add(this.btnCancel); - global::Gtk.Box.BoxChild w362 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.btnCancel])); - w362.PackType = ((global::Gtk.PackType)(1)); - w362.Position = 1; - w362.Expand = false; - w362.Fill = false; - w1.Add(this.hbox15); - global::Gtk.Box.BoxChild w363 = ((global::Gtk.Box.BoxChild)(w1[this.hbox15])); - w363.PackType = ((global::Gtk.PackType)(1)); - w363.Position = 2; - w363.Expand = false; - w363.Fill = false; - // Internal child osrepodbmgr.dlgOpticalDisc.ActionArea - global::Gtk.HButtonBox w364 = this.ActionArea; - w364.Name = "dialog1_ActionArea"; - w364.Spacing = 10; - w364.BorderWidth = ((uint)(5)); - w364.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonCancel = new global::Gtk.Button(); - this.buttonCancel.CanDefault = true; - this.buttonCancel.CanFocus = true; - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.UseStock = true; - this.buttonCancel.UseUnderline = true; - this.buttonCancel.Label = "gtk-cancel"; - this.AddActionWidget(this.buttonCancel, -6); - global::Gtk.ButtonBox.ButtonBoxChild w365 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w364[this.buttonCancel])); - w365.Expand = false; - w365.Fill = false; - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonOk = new global::Gtk.Button(); - this.buttonOk.CanDefault = true; - this.buttonOk.CanFocus = true; - this.buttonOk.Name = "buttonOk"; - this.buttonOk.UseStock = true; - this.buttonOk.UseUnderline = true; - this.buttonOk.Label = "gtk-ok"; - this.AddActionWidget(this.buttonOk, -5); - global::Gtk.ButtonBox.ButtonBoxChild w366 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w364[this.buttonOk])); - w366.Position = 1; - w366.Expand = false; - w366.Fill = false; - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 939; - this.DefaultHeight = 738; - this.lblDiscTitle.Hide(); - this.txtDiscTitle.Hide(); - this.lblSequence.Hide(); - this.spSequence.Hide(); - this.lblTotalMedia.Hide(); - this.spTotalMedia.Hide(); - this.lblSide.Hide(); - this.spSide.Hide(); - this.lblLayer.Hide(); - this.spLayer1.Hide(); - this.chkRound.Hide(); - this.lblDiameter.Hide(); - this.spDiameter.Hide(); - this.lblDiameterUnits.Hide(); - this.lblHeight.Hide(); - this.spHeight.Hide(); - this.lblHeightUnits.Hide(); - this.lblWidth.Hide(); - this.spWidth.Hide(); - this.lblWidthUnits.Hide(); - this.lblThickness.Hide(); - this.spThickness.Hide(); - this.lblThicknessUnits.Hide(); - this.frmLayers.Hide(); - this.frmTOC.Hide(); - this.frmCDText.Hide(); - this.frmATIP.Hide(); - this.frmPMA.Hide(); - this.frmLeadIns.Hide(); - this.frmLeadOuts.Hide(); - this.frmPFI.Hide(); - this.frmDMI.Hide(); - this.frmCMI.Hide(); - this.frmBCA.Hide(); - this.frmDCB.Hide(); - this.frmPRI.Hide(); - this.frmMediaID.Hide(); - this.frmPFIR.Hide(); - this.frmLastRMD.Hide(); - this.frmADIP.Hide(); - this.frmDDS.Hide(); - this.frmSAI.Hide(); - this.frmDI.Hide(); - this.frmPAC.Hide(); - this.lblTrackStart.Hide(); - this.txtTrackStart.Hide(); - this.lblTrackEnd.Hide(); - this.txtTrackEnd.Hide(); - this.lblMSFStart.Hide(); - this.txtMSFStart.Hide(); - this.lblMSFEnd.Hide(); - this.txtMSFEnd.Hide(); - this.lblTrackSequence.Hide(); - this.txtTrackSequence.Hide(); - this.lblSessionSequence.Hide(); - this.txtSessionSequence.Hide(); - this.lblTrackType.Hide(); - this.cmbTrackType.Hide(); - this.txtBytesPerSector.Hide(); - this.lblBytesPerSector.Hide(); - this.lblAcoustID.Hide(); - this.txtAcoustID.Hide(); - this.btnCancelPartition.Hide(); - this.btnApplyPartition.Hide(); - this.lblPartitionSequence.Hide(); - this.spPartitionSequence.Hide(); - this.lblPartitionStart.Hide(); - this.txtPartitionStart.Hide(); - this.lblPartitionEnd.Hide(); - this.txtPartitionEnd.Hide(); - this.lblPartitionType.Hide(); - this.txtPartitionType.Hide(); - this.frmFilesystems.Hide(); - this.frmPartitions.Hide(); - this.btnApplyTrack.Hide(); - this.btnCancelTrack.Hide(); - w364.Hide(); - this.Show(); - this.chkSequence.Toggled += new global::System.EventHandler(this.OnChkSequencedToggled); - this.chkDimensions.Toggled += new global::System.EventHandler(this.OnChkDimensionsToggled); - this.chkRound.Toggled += new global::System.EventHandler(this.OnChkRoundToggled); - this.chkLayers.Toggled += new global::System.EventHandler(this.OnChkLayersToggled); - this.btnAddLayer.Clicked += new global::System.EventHandler(this.OnBtnAddLayerClicked); - this.btnRemoveLayer.Clicked += new global::System.EventHandler(this.OnBtnRemoveLayerClicked); - this.btnAddRingCode.Clicked += new global::System.EventHandler(this.OnBtnAddRingCodeClicked); - this.btnRemoveRingCode.Clicked += new global::System.EventHandler(this.OnBtnRemoveRingCodeClicked); - this.btnAddMasteringSID.Clicked += new global::System.EventHandler(this.OnBtnAddMasteringSIDClicked); - this.btnRemoveMasteringSID.Clicked += new global::System.EventHandler(this.OnBtnRemoveMasteringSIDClicked); - this.btnAddToolstamp.Clicked += new global::System.EventHandler(this.OnBtnAddToolstampClicked); - this.btnRemoveToolstamp.Clicked += new global::System.EventHandler(this.OnBtnRemoveToolstampClicked); - this.btnAddMouldSID.Clicked += new global::System.EventHandler(this.OnBtnAddMouldSIDClicked); - this.btnRemoveMouldSID.Clicked += new global::System.EventHandler(this.OnBtnRemoveMouldSIDClicked); - this.btnAddMouldText.Clicked += new global::System.EventHandler(this.OnBtnAddMouldTextClicked); - this.btnRemoveMouldText.Clicked += new global::System.EventHandler(this.OnBtnRemoveMouldTextClicked); - this.btnCancelPartition.Clicked += new global::System.EventHandler(this.OnBtnCancelPartitionClicked); - this.btnRemovePartition.Clicked += new global::System.EventHandler(this.OnBtnRemovePartitionClicked); - this.btnEditPartition.Clicked += new global::System.EventHandler(this.OnBtnEditPartitionClicked); - this.btnApplyPartition.Clicked += new global::System.EventHandler(this.OnBtnApplyPartitionClicked); - this.btnAddPartition.Clicked += new global::System.EventHandler(this.OnBtnAddPartitionClicked); - this.btnRemoveFilesystem.Clicked += new global::System.EventHandler(this.OnBtnRemoveFilesystemClicked); - this.btnEditFilesystem.Clicked += new global::System.EventHandler(this.OnBtnEditFilesystemClicked); - this.btnAddFilesystem.Clicked += new global::System.EventHandler(this.OnBtnAddFilesystemClicked); - this.btnCancelTrack.Clicked += new global::System.EventHandler(this.OnBtnCancelTrackClicked); - this.btnApplyTrack.Clicked += new global::System.EventHandler(this.OnBtnApplyTrackClicked); - this.btnEditTrack.Clicked += new global::System.EventHandler(this.OnBtnEditTrackClicked); - this.chkDumpHardware.Toggled += new global::System.EventHandler(this.OnChkKnownDumpHWToggled); - this.btnCancelHardware.Clicked += new global::System.EventHandler(this.OnBtnCancelDumpHWClicked); - this.btnRemoveHardware.Clicked += new global::System.EventHandler(this.OnBtnRemoveDumpHWClicked); - this.btnEditHardware.Clicked += new global::System.EventHandler(this.OnBtnEditDumpHWClicked); - this.btnApplyHardware.Clicked += new global::System.EventHandler(this.OnBtnApplyDumpHWClicked); - this.btnAddHardware.Clicked += new global::System.EventHandler(this.OnBtnAddDumpHWClicked); - this.btnRemoveExtent.Clicked += new global::System.EventHandler(this.OnBtnRemoveExtentClicked); - this.btnAddExtent.Clicked += new global::System.EventHandler(this.OnBtnAddExtentClicked); - this.btnCancel.Clicked += new global::System.EventHandler(this.OnBtnCancelClicked); - this.btnSave.Clicked += new global::System.EventHandler(this.OnBtnSaveClicked); - this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); - } - } -} diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgSettings.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.dlgSettings.cs deleted file mode 100644 index a49aa78..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.dlgSettings.cs +++ /dev/null @@ -1,634 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace osrepodbmgr -{ - public partial class dlgSettings - { - private global::Gtk.HBox hbox2; - - private global::Gtk.VBox vbox3; - - private global::Gtk.HBox hbox26; - - private global::Gtk.Label lblDatabase; - - private global::Gtk.Entry txtDatabase; - - private global::Gtk.Button btnDatabase; - - private global::Gtk.HBox hbox25; - - private global::Gtk.Label lblRepository; - - private global::Gtk.Entry txtRepository; - - private global::Gtk.Button btnRepository; - - private global::Gtk.HBox hbox24; - - private global::Gtk.Label lblTmp; - - private global::Gtk.Entry txtTmp; - - private global::Gtk.Button btnTmp; - - private global::Gtk.HBox hbox23; - - private global::Gtk.Label lblUnar; - - private global::Gtk.Entry txtUnar; - - private global::Gtk.Button btnUnar; - - private global::Gtk.Label lblUnarVersion; - - private global::Gtk.HBox hbox1; - - private global::Gtk.Label lblCompAlg; - - private global::Gtk.ComboBox cmbCompAlg; - - private global::Gtk.VBox vbox4; - - private global::Gtk.CheckButton chkAntivirus; - - private global::Gtk.Frame frmClamd; - - private global::Gtk.Alignment GtkAlignment6; - - private global::Gtk.VBox vbox6; - - private global::Gtk.CheckButton chkClamd; - - private global::Gtk.HBox hbox3; - - private global::Gtk.Label lblClamdHost; - - private global::Gtk.Entry txtClamdHost; - - private global::Gtk.Label lblClamdPort; - - private global::Gtk.SpinButton spClamdPort; - - private global::Gtk.Button btnClamdTest; - - private global::Gtk.Label lblClamdVersion; - - private global::Gtk.CheckButton chkClamdIsLocal; - - private global::Gtk.Label GtkLabel8; - - private global::Gtk.Frame frmVirusTotal; - - private global::Gtk.Alignment GtkAlignment7; - - private global::Gtk.VBox vbox7; - - private global::Gtk.CheckButton chkVirusTotal; - - private global::Gtk.HBox hbox4; - - private global::Gtk.Label label6; - - private global::Gtk.Entry txtVirusTotal; - - private global::Gtk.Button btnVirusTotal; - - private global::Gtk.Label lblVirusTotal; - - private global::Gtk.Label GtkLabel12; - - private global::Gtk.HBox hbox18; - - private global::Gtk.Button btnCancel; - - private global::Gtk.Button btnApply; - - private global::Gtk.Button btnDialog; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget osrepodbmgr.dlgSettings - this.Name = "osrepodbmgr.dlgSettings"; - this.Title = global::Mono.Unix.Catalog.GetString("Settings"); - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Internal child osrepodbmgr.dlgSettings.VBox - global::Gtk.VBox w1 = this.VBox; - w1.Name = "vbox5"; - w1.Spacing = 6; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox(); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.vbox3 = new global::Gtk.VBox(); - this.vbox3.Name = "vbox3"; - this.vbox3.Spacing = 6; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox26 = new global::Gtk.HBox(); - this.hbox26.Name = "hbox26"; - this.hbox26.Spacing = 6; - // Container child hbox26.Gtk.Box+BoxChild - this.lblDatabase = new global::Gtk.Label(); - this.lblDatabase.Name = "lblDatabase"; - this.lblDatabase.LabelProp = global::Mono.Unix.Catalog.GetString("Database file"); - this.hbox26.Add(this.lblDatabase); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.lblDatabase])); - w2.Position = 0; - w2.Expand = false; - w2.Fill = false; - // Container child hbox26.Gtk.Box+BoxChild - this.txtDatabase = new global::Gtk.Entry(); - this.txtDatabase.CanFocus = true; - this.txtDatabase.Name = "txtDatabase"; - this.txtDatabase.IsEditable = true; - this.txtDatabase.InvisibleChar = '●'; - this.hbox26.Add(this.txtDatabase); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.txtDatabase])); - w3.Position = 1; - // Container child hbox26.Gtk.Box+BoxChild - this.btnDatabase = new global::Gtk.Button(); - this.btnDatabase.CanFocus = true; - this.btnDatabase.Name = "btnDatabase"; - this.btnDatabase.UseUnderline = true; - this.btnDatabase.Label = global::Mono.Unix.Catalog.GetString("Choose"); - global::Gtk.Image w4 = new global::Gtk.Image(); - w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); - this.btnDatabase.Image = w4; - this.hbox26.Add(this.btnDatabase); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox26[this.btnDatabase])); - w5.Position = 2; - w5.Expand = false; - w5.Fill = false; - this.vbox3.Add(this.hbox26); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox26])); - w6.Position = 0; - w6.Expand = false; - w6.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox25 = new global::Gtk.HBox(); - this.hbox25.Name = "hbox25"; - this.hbox25.Spacing = 6; - // Container child hbox25.Gtk.Box+BoxChild - this.lblRepository = new global::Gtk.Label(); - this.lblRepository.Name = "lblRepository"; - this.lblRepository.LabelProp = global::Mono.Unix.Catalog.GetString("Repository folder"); - this.hbox25.Add(this.lblRepository); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.lblRepository])); - w7.Position = 0; - w7.Expand = false; - w7.Fill = false; - // Container child hbox25.Gtk.Box+BoxChild - this.txtRepository = new global::Gtk.Entry(); - this.txtRepository.CanFocus = true; - this.txtRepository.Name = "txtRepository"; - this.txtRepository.IsEditable = true; - this.txtRepository.InvisibleChar = '●'; - this.hbox25.Add(this.txtRepository); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.txtRepository])); - w8.Position = 1; - // Container child hbox25.Gtk.Box+BoxChild - this.btnRepository = new global::Gtk.Button(); - this.btnRepository.CanFocus = true; - this.btnRepository.Name = "btnRepository"; - this.btnRepository.UseUnderline = true; - this.btnRepository.Label = global::Mono.Unix.Catalog.GetString("Choose"); - global::Gtk.Image w9 = new global::Gtk.Image(); - w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); - this.btnRepository.Image = w9; - this.hbox25.Add(this.btnRepository); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox25[this.btnRepository])); - w10.Position = 2; - w10.Expand = false; - w10.Fill = false; - this.vbox3.Add(this.hbox25); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox25])); - w11.Position = 1; - w11.Expand = false; - w11.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox24 = new global::Gtk.HBox(); - this.hbox24.Name = "hbox24"; - this.hbox24.Spacing = 6; - // Container child hbox24.Gtk.Box+BoxChild - this.lblTmp = new global::Gtk.Label(); - this.lblTmp.Name = "lblTmp"; - this.lblTmp.LabelProp = global::Mono.Unix.Catalog.GetString("Temporary folder"); - this.hbox24.Add(this.lblTmp); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox24[this.lblTmp])); - w12.Position = 0; - w12.Expand = false; - w12.Fill = false; - // Container child hbox24.Gtk.Box+BoxChild - this.txtTmp = new global::Gtk.Entry(); - this.txtTmp.CanFocus = true; - this.txtTmp.Name = "txtTmp"; - this.txtTmp.IsEditable = true; - this.txtTmp.InvisibleChar = '●'; - this.hbox24.Add(this.txtTmp); - global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox24[this.txtTmp])); - w13.Position = 1; - // Container child hbox24.Gtk.Box+BoxChild - this.btnTmp = new global::Gtk.Button(); - this.btnTmp.CanFocus = true; - this.btnTmp.Name = "btnTmp"; - this.btnTmp.UseUnderline = true; - this.btnTmp.Label = global::Mono.Unix.Catalog.GetString("Choose"); - global::Gtk.Image w14 = new global::Gtk.Image(); - w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); - this.btnTmp.Image = w14; - this.hbox24.Add(this.btnTmp); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox24[this.btnTmp])); - w15.Position = 2; - w15.Expand = false; - w15.Fill = false; - this.vbox3.Add(this.hbox24); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox24])); - w16.Position = 2; - w16.Expand = false; - w16.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox23 = new global::Gtk.HBox(); - this.hbox23.Name = "hbox23"; - this.hbox23.Spacing = 6; - // Container child hbox23.Gtk.Box+BoxChild - this.lblUnar = new global::Gtk.Label(); - this.lblUnar.Name = "lblUnar"; - this.lblUnar.LabelProp = global::Mono.Unix.Catalog.GetString("Path to unar"); - this.hbox23.Add(this.lblUnar); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.lblUnar])); - w17.Position = 0; - w17.Expand = false; - w17.Fill = false; - // Container child hbox23.Gtk.Box+BoxChild - this.txtUnar = new global::Gtk.Entry(); - this.txtUnar.CanFocus = true; - this.txtUnar.Name = "txtUnar"; - this.txtUnar.IsEditable = true; - this.txtUnar.InvisibleChar = '●'; - this.hbox23.Add(this.txtUnar); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.txtUnar])); - w18.Position = 1; - // Container child hbox23.Gtk.Box+BoxChild - this.btnUnar = new global::Gtk.Button(); - this.btnUnar.CanFocus = true; - this.btnUnar.Name = "btnUnar"; - this.btnUnar.UseUnderline = true; - this.btnUnar.Label = global::Mono.Unix.Catalog.GetString("Choose"); - global::Gtk.Image w19 = new global::Gtk.Image(); - w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); - this.btnUnar.Image = w19; - this.hbox23.Add(this.btnUnar); - global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.btnUnar])); - w20.Position = 2; - w20.Expand = false; - w20.Fill = false; - this.vbox3.Add(this.hbox23); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox23])); - w21.Position = 3; - w21.Expand = false; - w21.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.lblUnarVersion = new global::Gtk.Label(); - this.lblUnarVersion.Name = "lblUnarVersion"; - this.lblUnarVersion.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); - this.vbox3.Add(this.lblUnarVersion); - global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblUnarVersion])); - w22.Position = 4; - w22.Expand = false; - w22.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox(); - this.hbox1.Name = "hbox1"; - this.hbox1.Spacing = 6; - // Container child hbox1.Gtk.Box+BoxChild - this.lblCompAlg = new global::Gtk.Label(); - this.lblCompAlg.Name = "lblCompAlg"; - this.lblCompAlg.LabelProp = global::Mono.Unix.Catalog.GetString("Compression algorithm"); - this.hbox1.Add(this.lblCompAlg); - global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblCompAlg])); - w23.Position = 0; - w23.Expand = false; - w23.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.cmbCompAlg = global::Gtk.ComboBox.NewText(); - this.cmbCompAlg.Name = "cmbCompAlg"; - this.hbox1.Add(this.cmbCompAlg); - global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cmbCompAlg])); - w24.Position = 1; - w24.Expand = false; - w24.Fill = false; - this.vbox3.Add(this.hbox1); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); - w25.Position = 5; - w25.Expand = false; - w25.Fill = false; - this.hbox2.Add(this.vbox3); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); - w26.Position = 0; - w26.Expand = false; - w26.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.vbox4 = new global::Gtk.VBox(); - this.vbox4.Name = "vbox4"; - this.vbox4.Spacing = 6; - // Container child vbox4.Gtk.Box+BoxChild - this.chkAntivirus = new global::Gtk.CheckButton(); - this.chkAntivirus.CanFocus = true; - this.chkAntivirus.Name = "chkAntivirus"; - this.chkAntivirus.Label = global::Mono.Unix.Catalog.GetString("Use antivirus?"); - this.chkAntivirus.DrawIndicator = true; - this.chkAntivirus.UseUnderline = true; - this.vbox4.Add(this.chkAntivirus); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.chkAntivirus])); - w27.Position = 0; - w27.Expand = false; - w27.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.frmClamd = new global::Gtk.Frame(); - this.frmClamd.Name = "frmClamd"; - this.frmClamd.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmClamd.Gtk.Container+ContainerChild - this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment6.Name = "GtkAlignment6"; - this.GtkAlignment6.LeftPadding = ((uint)(12)); - // Container child GtkAlignment6.Gtk.Container+ContainerChild - this.vbox6 = new global::Gtk.VBox(); - this.vbox6.Name = "vbox6"; - this.vbox6.Spacing = 6; - // Container child vbox6.Gtk.Box+BoxChild - this.chkClamd = new global::Gtk.CheckButton(); - this.chkClamd.CanFocus = true; - this.chkClamd.Name = "chkClamd"; - this.chkClamd.Label = global::Mono.Unix.Catalog.GetString("Use clamd?"); - this.chkClamd.DrawIndicator = true; - this.chkClamd.UseUnderline = true; - this.vbox6.Add(this.chkClamd); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.chkClamd])); - w28.Position = 0; - w28.Expand = false; - w28.Fill = false; - // Container child vbox6.Gtk.Box+BoxChild - this.hbox3 = new global::Gtk.HBox(); - this.hbox3.Name = "hbox3"; - this.hbox3.Spacing = 6; - // Container child hbox3.Gtk.Box+BoxChild - this.lblClamdHost = new global::Gtk.Label(); - this.lblClamdHost.Name = "lblClamdHost"; - this.lblClamdHost.LabelProp = global::Mono.Unix.Catalog.GetString("Host"); - this.hbox3.Add(this.lblClamdHost); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lblClamdHost])); - w29.Position = 0; - w29.Expand = false; - w29.Fill = false; - // Container child hbox3.Gtk.Box+BoxChild - this.txtClamdHost = new global::Gtk.Entry(); - this.txtClamdHost.Sensitive = false; - this.txtClamdHost.CanFocus = true; - this.txtClamdHost.Name = "txtClamdHost"; - this.txtClamdHost.IsEditable = true; - this.txtClamdHost.InvisibleChar = '●'; - this.hbox3.Add(this.txtClamdHost); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtClamdHost])); - w30.Position = 1; - // Container child hbox3.Gtk.Box+BoxChild - this.lblClamdPort = new global::Gtk.Label(); - this.lblClamdPort.Name = "lblClamdPort"; - this.lblClamdPort.LabelProp = global::Mono.Unix.Catalog.GetString("port"); - this.hbox3.Add(this.lblClamdPort); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lblClamdPort])); - w31.Position = 2; - w31.Expand = false; - w31.Fill = false; - // Container child hbox3.Gtk.Box+BoxChild - this.spClamdPort = new global::Gtk.SpinButton(1, 65535, 1); - this.spClamdPort.Sensitive = false; - this.spClamdPort.CanFocus = true; - this.spClamdPort.Name = "spClamdPort"; - this.spClamdPort.Adjustment.PageIncrement = 10; - this.spClamdPort.ClimbRate = 1; - this.spClamdPort.Numeric = true; - this.spClamdPort.Value = 3310; - this.hbox3.Add(this.spClamdPort); - global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spClamdPort])); - w32.Position = 3; - w32.Expand = false; - w32.Fill = false; - // Container child hbox3.Gtk.Box+BoxChild - this.btnClamdTest = new global::Gtk.Button(); - this.btnClamdTest.Sensitive = false; - this.btnClamdTest.CanFocus = true; - this.btnClamdTest.Name = "btnClamdTest"; - this.btnClamdTest.UseUnderline = true; - this.btnClamdTest.Label = global::Mono.Unix.Catalog.GetString("Test"); - this.hbox3.Add(this.btnClamdTest); - global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnClamdTest])); - w33.Position = 4; - w33.Expand = false; - w33.Fill = false; - this.vbox6.Add(this.hbox3); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox3])); - w34.Position = 1; - w34.Expand = false; - w34.Fill = false; - // Container child vbox6.Gtk.Box+BoxChild - this.lblClamdVersion = new global::Gtk.Label(); - this.lblClamdVersion.Name = "lblClamdVersion"; - this.lblClamdVersion.LabelProp = global::Mono.Unix.Catalog.GetString("label4"); - this.vbox6.Add(this.lblClamdVersion); - global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.lblClamdVersion])); - w35.Position = 2; - w35.Expand = false; - w35.Fill = false; - // Container child vbox6.Gtk.Box+BoxChild - this.chkClamdIsLocal = new global::Gtk.CheckButton(); - this.chkClamdIsLocal.Sensitive = false; - this.chkClamdIsLocal.CanFocus = true; - this.chkClamdIsLocal.Name = "chkClamdIsLocal"; - this.chkClamdIsLocal.Label = global::Mono.Unix.Catalog.GetString("Clamd is local?"); - this.chkClamdIsLocal.DrawIndicator = true; - this.chkClamdIsLocal.UseUnderline = true; - this.vbox6.Add(this.chkClamdIsLocal); - global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.chkClamdIsLocal])); - w36.Position = 3; - w36.Expand = false; - w36.Fill = false; - this.GtkAlignment6.Add(this.vbox6); - this.frmClamd.Add(this.GtkAlignment6); - this.GtkLabel8 = new global::Gtk.Label(); - this.GtkLabel8.Name = "GtkLabel8"; - this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("clamd"); - this.GtkLabel8.UseMarkup = true; - this.frmClamd.LabelWidget = this.GtkLabel8; - this.vbox4.Add(this.frmClamd); - global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frmClamd])); - w39.Position = 1; - w39.Expand = false; - w39.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.frmVirusTotal = new global::Gtk.Frame(); - this.frmVirusTotal.Name = "frmVirusTotal"; - this.frmVirusTotal.ShadowType = ((global::Gtk.ShadowType)(0)); - // Container child frmVirusTotal.Gtk.Container+ContainerChild - this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); - this.GtkAlignment7.Name = "GtkAlignment7"; - this.GtkAlignment7.LeftPadding = ((uint)(12)); - // Container child GtkAlignment7.Gtk.Container+ContainerChild - this.vbox7 = new global::Gtk.VBox(); - this.vbox7.Name = "vbox7"; - this.vbox7.Spacing = 6; - // Container child vbox7.Gtk.Box+BoxChild - this.chkVirusTotal = new global::Gtk.CheckButton(); - this.chkVirusTotal.CanFocus = true; - this.chkVirusTotal.Name = "chkVirusTotal"; - this.chkVirusTotal.Label = global::Mono.Unix.Catalog.GetString("Use VirusTotal?"); - this.chkVirusTotal.DrawIndicator = true; - this.chkVirusTotal.UseUnderline = true; - this.vbox7.Add(this.chkVirusTotal); - global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.chkVirusTotal])); - w40.Position = 0; - w40.Expand = false; - w40.Fill = false; - // Container child vbox7.Gtk.Box+BoxChild - this.hbox4 = new global::Gtk.HBox(); - this.hbox4.Name = "hbox4"; - this.hbox4.Spacing = 6; - // Container child hbox4.Gtk.Box+BoxChild - this.label6 = new global::Gtk.Label(); - this.label6.Name = "label6"; - this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("API Key"); - this.hbox4.Add(this.label6); - global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label6])); - w41.Position = 0; - w41.Expand = false; - w41.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.txtVirusTotal = new global::Gtk.Entry(); - this.txtVirusTotal.Sensitive = false; - this.txtVirusTotal.CanFocus = true; - this.txtVirusTotal.Name = "txtVirusTotal"; - this.txtVirusTotal.IsEditable = true; - this.txtVirusTotal.InvisibleChar = '●'; - this.hbox4.Add(this.txtVirusTotal); - global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtVirusTotal])); - w42.Position = 1; - // Container child hbox4.Gtk.Box+BoxChild - this.btnVirusTotal = new global::Gtk.Button(); - this.btnVirusTotal.Sensitive = false; - this.btnVirusTotal.CanFocus = true; - this.btnVirusTotal.Name = "btnVirusTotal"; - this.btnVirusTotal.UseUnderline = true; - this.btnVirusTotal.Label = global::Mono.Unix.Catalog.GetString("Test"); - this.hbox4.Add(this.btnVirusTotal); - global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnVirusTotal])); - w43.Position = 2; - w43.Expand = false; - w43.Fill = false; - this.vbox7.Add(this.hbox4); - global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox4])); - w44.Position = 1; - w44.Expand = false; - w44.Fill = false; - // Container child vbox7.Gtk.Box+BoxChild - this.lblVirusTotal = new global::Gtk.Label(); - this.lblVirusTotal.Name = "lblVirusTotal"; - this.lblVirusTotal.LabelProp = global::Mono.Unix.Catalog.GetString("label5"); - this.vbox7.Add(this.lblVirusTotal); - global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.lblVirusTotal])); - w45.Position = 2; - w45.Expand = false; - w45.Fill = false; - this.GtkAlignment7.Add(this.vbox7); - this.frmVirusTotal.Add(this.GtkAlignment7); - this.GtkLabel12 = new global::Gtk.Label(); - this.GtkLabel12.Name = "GtkLabel12"; - this.GtkLabel12.LabelProp = global::Mono.Unix.Catalog.GetString("VirusTotal"); - this.GtkLabel12.UseMarkup = true; - this.frmVirusTotal.LabelWidget = this.GtkLabel12; - this.vbox4.Add(this.frmVirusTotal); - global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frmVirusTotal])); - w48.Position = 2; - w48.Expand = false; - w48.Fill = false; - this.hbox2.Add(this.vbox4); - global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox4])); - w49.Position = 1; - w49.Expand = false; - w49.Fill = false; - w1.Add(this.hbox2); - global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2])); - w50.Position = 0; - w50.Expand = false; - w50.Fill = false; - // Container child vbox5.Gtk.Box+BoxChild - this.hbox18 = new global::Gtk.HBox(); - this.hbox18.Name = "hbox18"; - this.hbox18.Spacing = 6; - // Container child hbox18.Gtk.Box+BoxChild - this.btnCancel = new global::Gtk.Button(); - this.btnCancel.CanFocus = true; - this.btnCancel.Name = "btnCancel"; - this.btnCancel.UseStock = true; - this.btnCancel.UseUnderline = true; - this.btnCancel.Label = "gtk-cancel"; - this.hbox18.Add(this.btnCancel); - global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.btnCancel])); - w51.Position = 0; - w51.Expand = false; - w51.Fill = false; - // Container child hbox18.Gtk.Box+BoxChild - this.btnApply = new global::Gtk.Button(); - this.btnApply.CanFocus = true; - this.btnApply.Name = "btnApply"; - this.btnApply.UseStock = true; - this.btnApply.UseUnderline = true; - this.btnApply.Label = "gtk-apply"; - this.hbox18.Add(this.btnApply); - global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.btnApply])); - w52.PackType = ((global::Gtk.PackType)(1)); - w52.Position = 1; - w52.Expand = false; - w52.Fill = false; - w1.Add(this.hbox18); - global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(w1[this.hbox18])); - w53.Position = 1; - w53.Expand = false; - w53.Fill = false; - // Internal child osrepodbmgr.dlgSettings.ActionArea - global::Gtk.HButtonBox w54 = this.ActionArea; - w54.Name = "__gtksharp_108_Stetic_TopLevelDialog_ActionArea"; - // Container child __gtksharp_108_Stetic_TopLevelDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.btnDialog = new global::Gtk.Button(); - this.btnDialog.CanFocus = true; - this.btnDialog.Name = "btnDialog"; - this.btnDialog.UseUnderline = true; - this.btnDialog.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); - this.AddActionWidget(this.btnDialog, 0); - global::Gtk.ButtonBox.ButtonBoxChild w55 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w54[this.btnDialog])); - w55.Expand = false; - w55.Fill = false; - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 680; - this.DefaultHeight = 320; - this.lblUnarVersion.Hide(); - this.lblVirusTotal.Hide(); - w54.Hide(); - this.Show(); - this.btnDatabase.Clicked += new global::System.EventHandler(this.OnBtnDatabaseClicked); - this.btnRepository.Clicked += new global::System.EventHandler(this.OnBtnRepositoryClicked); - this.btnTmp.Clicked += new global::System.EventHandler(this.OnBtnTmpClicked); - this.btnUnar.Clicked += new global::System.EventHandler(this.OnBtnUnarClicked); - this.chkAntivirus.Toggled += new global::System.EventHandler(this.OnChkAntivirusToggled); - this.chkClamd.Toggled += new global::System.EventHandler(this.OnChkClamdToggled); - this.btnClamdTest.Clicked += new global::System.EventHandler(this.OnBtnClamdTestClicked); - this.chkVirusTotal.Toggled += new global::System.EventHandler(this.OnChkVirusTotalToggled); - this.btnVirusTotal.Clicked += new global::System.EventHandler(this.OnBtnVirusTotalClicked); - this.btnCancel.Clicked += new global::System.EventHandler(this.OnBtnCancelClicked); - this.btnApply.Clicked += new global::System.EventHandler(this.OnBtnApplyClicked); - } - } -} diff --git a/osrepodbmgr/gtk-gui/osrepodbmgr.frmMain.cs b/osrepodbmgr/gtk-gui/osrepodbmgr.frmMain.cs deleted file mode 100644 index d498091..0000000 --- a/osrepodbmgr/gtk-gui/osrepodbmgr.frmMain.cs +++ /dev/null @@ -1,529 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace osrepodbmgr -{ - public partial class frmMain - { - private global::Gtk.VBox vbox2; - - private global::Gtk.Notebook notebook1; - - private global::Gtk.VBox vbox3; - - private global::Gtk.ScrolledWindow GtkScrolledWindow; - - private global::Gtk.TreeView treeOSes; - - private global::Gtk.Label lblOSStatus; - - private global::Gtk.HBox hbox2; - - private global::Gtk.Label lblProgress; - - private global::Gtk.ProgressBar prgProgress; - - private global::Gtk.HBox hbox3; - - private global::Gtk.Label lblProgress2; - - private global::Gtk.ProgressBar prgProgress2; - - private global::Gtk.HBox hbox1; - - private global::Gtk.Button btnAdd; - - private global::Gtk.Button btnRemove; - - private global::Gtk.Button btnQuit; - - private global::Gtk.Button btnSettings; - - private global::Gtk.Button btnHelp; - - private global::Gtk.Button btnSave; - - private global::Gtk.Button btnCompress; - - private global::Gtk.Button btnStop; - - private global::Gtk.Label label1; - - private global::Gtk.VBox vbox4; - - private global::Gtk.ScrolledWindow GtkScrolledWindow1; - - private global::Gtk.TreeView treeFiles; - - private global::Gtk.Label lblFileStatus; - - private global::Gtk.HBox hbox4; - - private global::Gtk.Label lblProgressFiles1; - - private global::Gtk.ProgressBar prgProgressFiles1; - - private global::Gtk.HBox hbox5; - - private global::Gtk.Label lblProgressFiles2; - - private global::Gtk.ProgressBar prgProgressFiles2; - - private global::Gtk.HBox hbox6; - - private global::Gtk.Button btnPopulateFiles; - - private global::Gtk.Button btnCheckInVirusTotal; - - private global::Gtk.Button btnScanWithClamd; - - private global::Gtk.Button btnScanAllPending; - - private global::Gtk.Button btnToggleCrack; - - private global::Gtk.Button btnCleanFiles; - - private global::Gtk.Button btnStopFiles; - - private global::Gtk.Label label3; - - protected virtual void Build() - { - global::Stetic.Gui.Initialize(this); - // Widget osrepodbmgr.frmMain - this.Name = "osrepodbmgr.frmMain"; - this.Title = global::Mono.Unix.Catalog.GetString("OS Repository DB Manager"); - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Container child osrepodbmgr.frmMain.Gtk.Container+ContainerChild - this.vbox2 = new global::Gtk.VBox(); - this.vbox2.Name = "vbox2"; - this.vbox2.Spacing = 6; - // Container child vbox2.Gtk.Box+BoxChild - this.notebook1 = new global::Gtk.Notebook(); - this.notebook1.CanFocus = true; - this.notebook1.Name = "notebook1"; - this.notebook1.CurrentPage = 1; - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox3 = new global::Gtk.VBox(); - this.vbox3.Name = "vbox3"; - this.vbox3.Spacing = 6; - // Container child vbox3.Gtk.Box+BoxChild - this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow.Name = "GtkScrolledWindow"; - this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.treeOSes = new global::Gtk.TreeView(); - this.treeOSes.Sensitive = false; - this.treeOSes.CanFocus = true; - this.treeOSes.Name = "treeOSes"; - this.GtkScrolledWindow.Add(this.treeOSes); - this.vbox3.Add(this.GtkScrolledWindow); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); - w2.Position = 0; - // Container child vbox3.Gtk.Box+BoxChild - this.lblOSStatus = new global::Gtk.Label(); - this.lblOSStatus.Name = "lblOSStatus"; - this.lblOSStatus.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); - this.vbox3.Add(this.lblOSStatus); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblOSStatus])); - w3.Position = 1; - w3.Expand = false; - w3.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox(); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.lblProgress = new global::Gtk.Label(); - this.lblProgress.Name = "lblProgress"; - this.lblProgress.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); - this.hbox2.Add(this.lblProgress); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblProgress])); - w4.Position = 0; - w4.Expand = false; - w4.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.prgProgress = new global::Gtk.ProgressBar(); - this.prgProgress.Name = "prgProgress"; - this.hbox2.Add(this.prgProgress); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.prgProgress])); - w5.Position = 1; - this.vbox3.Add(this.hbox2); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); - w6.Position = 2; - w6.Expand = false; - w6.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox3 = new global::Gtk.HBox(); - this.hbox3.Name = "hbox3"; - this.hbox3.Spacing = 6; - // Container child hbox3.Gtk.Box+BoxChild - this.lblProgress2 = new global::Gtk.Label(); - this.lblProgress2.Name = "lblProgress2"; - this.lblProgress2.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); - this.hbox3.Add(this.lblProgress2); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lblProgress2])); - w7.Position = 0; - w7.Expand = false; - w7.Fill = false; - // Container child hbox3.Gtk.Box+BoxChild - this.prgProgress2 = new global::Gtk.ProgressBar(); - this.prgProgress2.Name = "prgProgress2"; - this.hbox3.Add(this.prgProgress2); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.prgProgress2])); - w8.Position = 1; - this.vbox3.Add(this.hbox3); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); - w9.Position = 3; - w9.Expand = false; - w9.Fill = false; - // Container child vbox3.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox(); - this.hbox1.Name = "hbox1"; - this.hbox1.Spacing = 6; - // Container child hbox1.Gtk.Box+BoxChild - this.btnAdd = new global::Gtk.Button(); - this.btnAdd.CanFocus = true; - this.btnAdd.Name = "btnAdd"; - this.btnAdd.UseStock = true; - this.btnAdd.UseUnderline = true; - this.btnAdd.Label = "gtk-add"; - this.hbox1.Add(this.btnAdd); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnAdd])); - w10.Position = 0; - w10.Expand = false; - w10.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnRemove = new global::Gtk.Button(); - this.btnRemove.CanFocus = true; - this.btnRemove.Name = "btnRemove"; - this.btnRemove.UseStock = true; - this.btnRemove.UseUnderline = true; - this.btnRemove.Label = "gtk-remove"; - this.hbox1.Add(this.btnRemove); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnRemove])); - w11.Position = 1; - w11.Expand = false; - w11.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnQuit = new global::Gtk.Button(); - this.btnQuit.CanFocus = true; - this.btnQuit.Name = "btnQuit"; - this.btnQuit.UseStock = true; - this.btnQuit.UseUnderline = true; - this.btnQuit.Label = "gtk-quit"; - this.hbox1.Add(this.btnQuit); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnQuit])); - w12.PackType = ((global::Gtk.PackType)(1)); - w12.Position = 2; - w12.Expand = false; - w12.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnSettings = new global::Gtk.Button(); - this.btnSettings.CanFocus = true; - this.btnSettings.Name = "btnSettings"; - this.btnSettings.UseUnderline = true; - this.btnSettings.Label = global::Mono.Unix.Catalog.GetString("_Settings"); - global::Gtk.Image w13 = new global::Gtk.Image(); - w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-preferences", global::Gtk.IconSize.Menu); - this.btnSettings.Image = w13; - this.hbox1.Add(this.btnSettings); - global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnSettings])); - w14.PackType = ((global::Gtk.PackType)(1)); - w14.Position = 3; - w14.Expand = false; - w14.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnHelp = new global::Gtk.Button(); - this.btnHelp.CanFocus = true; - this.btnHelp.Name = "btnHelp"; - this.btnHelp.UseStock = true; - this.btnHelp.UseUnderline = true; - this.btnHelp.Label = "gtk-help"; - this.hbox1.Add(this.btnHelp); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnHelp])); - w15.PackType = ((global::Gtk.PackType)(1)); - w15.Position = 4; - w15.Expand = false; - w15.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnSave = new global::Gtk.Button(); - this.btnSave.CanFocus = true; - this.btnSave.Name = "btnSave"; - this.btnSave.UseUnderline = true; - this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Save _As"); - global::Gtk.Image w16 = new global::Gtk.Image(); - w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-directory", global::Gtk.IconSize.Menu); - this.btnSave.Image = w16; - this.hbox1.Add(this.btnSave); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnSave])); - w17.PackType = ((global::Gtk.PackType)(1)); - w17.Position = 5; - w17.Expand = false; - w17.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnCompress = new global::Gtk.Button(); - this.btnCompress.CanFocus = true; - this.btnCompress.Name = "btnCompress"; - this.btnCompress.UseUnderline = true; - this.btnCompress.Label = global::Mono.Unix.Catalog.GetString("Compress to"); - global::Gtk.Image w18 = new global::Gtk.Image(); - w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); - this.btnCompress.Image = w18; - this.hbox1.Add(this.btnCompress); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnCompress])); - w19.PackType = ((global::Gtk.PackType)(1)); - w19.Position = 6; - w19.Expand = false; - w19.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.btnStop = new global::Gtk.Button(); - this.btnStop.CanFocus = true; - this.btnStop.Name = "btnStop"; - this.btnStop.UseStock = true; - this.btnStop.UseUnderline = true; - this.btnStop.Label = "gtk-stop"; - this.hbox1.Add(this.btnStop); - global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnStop])); - w20.PackType = ((global::Gtk.PackType)(1)); - w20.Position = 7; - w20.Expand = false; - w20.Fill = false; - this.vbox3.Add(this.hbox1); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); - w21.Position = 4; - w21.Expand = false; - w21.Fill = false; - this.notebook1.Add(this.vbox3); - // Notebook tab - this.label1 = new global::Gtk.Label(); - this.label1.Name = "label1"; - this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Operating systems"); - this.notebook1.SetTabLabel(this.vbox3, this.label1); - this.label1.ShowAll(); - // Container child notebook1.Gtk.Notebook+NotebookChild - this.vbox4 = new global::Gtk.VBox(); - this.vbox4.Name = "vbox4"; - this.vbox4.Spacing = 6; - // Container child vbox4.Gtk.Box+BoxChild - this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); - this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; - this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild - this.treeFiles = new global::Gtk.TreeView(); - this.treeFiles.Sensitive = false; - this.treeFiles.CanFocus = true; - this.treeFiles.Name = "treeFiles"; - this.GtkScrolledWindow1.Add(this.treeFiles); - this.vbox4.Add(this.GtkScrolledWindow1); - global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow1])); - w24.Position = 0; - // Container child vbox4.Gtk.Box+BoxChild - this.lblFileStatus = new global::Gtk.Label(); - this.lblFileStatus.Name = "lblFileStatus"; - this.lblFileStatus.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); - this.vbox4.Add(this.lblFileStatus); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.lblFileStatus])); - w25.Position = 1; - w25.Expand = false; - w25.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox4 = new global::Gtk.HBox(); - this.hbox4.Name = "hbox4"; - this.hbox4.Spacing = 6; - // Container child hbox4.Gtk.Box+BoxChild - this.lblProgressFiles1 = new global::Gtk.Label(); - this.lblProgressFiles1.Name = "lblProgressFiles1"; - this.lblProgressFiles1.LabelProp = global::Mono.Unix.Catalog.GetString("label4"); - this.hbox4.Add(this.lblProgressFiles1); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lblProgressFiles1])); - w26.Position = 0; - w26.Expand = false; - w26.Fill = false; - // Container child hbox4.Gtk.Box+BoxChild - this.prgProgressFiles1 = new global::Gtk.ProgressBar(); - this.prgProgressFiles1.Name = "prgProgressFiles1"; - this.hbox4.Add(this.prgProgressFiles1); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.prgProgressFiles1])); - w27.Position = 1; - this.vbox4.Add(this.hbox4); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox4])); - w28.Position = 2; - w28.Expand = false; - w28.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox5 = new global::Gtk.HBox(); - this.hbox5.Name = "hbox5"; - this.hbox5.Spacing = 6; - // Container child hbox5.Gtk.Box+BoxChild - this.lblProgressFiles2 = new global::Gtk.Label(); - this.lblProgressFiles2.Name = "lblProgressFiles2"; - this.lblProgressFiles2.LabelProp = global::Mono.Unix.Catalog.GetString("label6"); - this.hbox5.Add(this.lblProgressFiles2); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.lblProgressFiles2])); - w29.Position = 0; - w29.Expand = false; - w29.Fill = false; - // Container child hbox5.Gtk.Box+BoxChild - this.prgProgressFiles2 = new global::Gtk.ProgressBar(); - this.prgProgressFiles2.Name = "prgProgressFiles2"; - this.hbox5.Add(this.prgProgressFiles2); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.prgProgressFiles2])); - w30.Position = 1; - this.vbox4.Add(this.hbox5); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); - w31.Position = 3; - w31.Expand = false; - w31.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hbox6 = new global::Gtk.HBox(); - this.hbox6.Name = "hbox6"; - this.hbox6.Spacing = 6; - // Container child hbox6.Gtk.Box+BoxChild - this.btnPopulateFiles = new global::Gtk.Button(); - this.btnPopulateFiles.CanFocus = true; - this.btnPopulateFiles.Name = "btnPopulateFiles"; - this.btnPopulateFiles.UseUnderline = true; - this.btnPopulateFiles.Label = global::Mono.Unix.Catalog.GetString("Populate"); - this.hbox6.Add(this.btnPopulateFiles); - global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnPopulateFiles])); - w32.PackType = ((global::Gtk.PackType)(1)); - w32.Position = 0; - w32.Expand = false; - w32.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.btnCheckInVirusTotal = new global::Gtk.Button(); - this.btnCheckInVirusTotal.CanFocus = true; - this.btnCheckInVirusTotal.Name = "btnCheckInVirusTotal"; - this.btnCheckInVirusTotal.UseUnderline = true; - this.btnCheckInVirusTotal.Label = global::Mono.Unix.Catalog.GetString("Check with VirusTotal"); - this.hbox6.Add(this.btnCheckInVirusTotal); - global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnCheckInVirusTotal])); - w33.PackType = ((global::Gtk.PackType)(1)); - w33.Position = 1; - w33.Expand = false; - w33.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.btnScanWithClamd = new global::Gtk.Button(); - this.btnScanWithClamd.CanFocus = true; - this.btnScanWithClamd.Name = "btnScanWithClamd"; - this.btnScanWithClamd.UseUnderline = true; - this.btnScanWithClamd.Label = global::Mono.Unix.Catalog.GetString("Scan with clamd"); - this.hbox6.Add(this.btnScanWithClamd); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnScanWithClamd])); - w34.PackType = ((global::Gtk.PackType)(1)); - w34.Position = 2; - w34.Expand = false; - w34.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.btnScanAllPending = new global::Gtk.Button(); - this.btnScanAllPending.CanFocus = true; - this.btnScanAllPending.Name = "btnScanAllPending"; - this.btnScanAllPending.UseUnderline = true; - this.btnScanAllPending.Label = global::Mono.Unix.Catalog.GetString("Scan all with clamd"); - this.hbox6.Add(this.btnScanAllPending); - global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnScanAllPending])); - w35.PackType = ((global::Gtk.PackType)(1)); - w35.Position = 3; - w35.Expand = false; - w35.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.btnToggleCrack = new global::Gtk.Button(); - this.btnToggleCrack.CanFocus = true; - this.btnToggleCrack.Name = "btnToggleCrack"; - this.btnToggleCrack.UseUnderline = true; - this.btnToggleCrack.Label = global::Mono.Unix.Catalog.GetString("Mark as crack"); - this.hbox6.Add(this.btnToggleCrack); - global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnToggleCrack])); - w36.PackType = ((global::Gtk.PackType)(1)); - w36.Position = 4; - w36.Expand = false; - w36.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.btnCleanFiles = new global::Gtk.Button(); - this.btnCleanFiles.CanFocus = true; - this.btnCleanFiles.Name = "btnCleanFiles"; - this.btnCleanFiles.UseUnderline = true; - this.btnCleanFiles.Label = global::Mono.Unix.Catalog.GetString("Clean files"); - this.hbox6.Add(this.btnCleanFiles); - global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnCleanFiles])); - w37.PackType = ((global::Gtk.PackType)(1)); - w37.Position = 5; - w37.Expand = false; - w37.Fill = false; - // Container child hbox6.Gtk.Box+BoxChild - this.btnStopFiles = new global::Gtk.Button(); - this.btnStopFiles.CanFocus = true; - this.btnStopFiles.Name = "btnStopFiles"; - this.btnStopFiles.UseStock = true; - this.btnStopFiles.UseUnderline = true; - this.btnStopFiles.Label = "gtk-stop"; - this.hbox6.Add(this.btnStopFiles); - global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnStopFiles])); - w38.PackType = ((global::Gtk.PackType)(1)); - w38.Position = 6; - w38.Expand = false; - w38.Fill = false; - this.vbox4.Add(this.hbox6); - global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); - w39.Position = 4; - w39.Expand = false; - w39.Fill = false; - this.notebook1.Add(this.vbox4); - global::Gtk.Notebook.NotebookChild w40 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); - w40.Position = 1; - // Notebook tab - this.label3 = new global::Gtk.Label(); - this.label3.Name = "label3"; - this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Files"); - this.notebook1.SetTabLabel(this.vbox4, this.label3); - this.label3.ShowAll(); - this.vbox2.Add(this.notebook1); - global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1])); - w41.Position = 0; - this.Add(this.vbox2); - if((this.Child != null)) - { - this.Child.ShowAll(); - } - this.DefaultWidth = 686; - this.DefaultHeight = 365; - this.lblOSStatus.Hide(); - this.lblProgress2.Hide(); - this.prgProgress2.Hide(); - this.btnAdd.Hide(); - this.btnRemove.Hide(); - this.btnSettings.Hide(); - this.btnHelp.Hide(); - this.btnSave.Hide(); - this.btnStop.Hide(); - this.lblFileStatus.Hide(); - this.lblProgressFiles1.Hide(); - this.prgProgressFiles1.Hide(); - this.lblProgressFiles2.Hide(); - this.prgProgressFiles2.Hide(); - this.btnCheckInVirusTotal.Hide(); - this.btnScanWithClamd.Hide(); - this.btnScanAllPending.Hide(); - this.btnToggleCrack.Hide(); - this.btnCleanFiles.Hide(); - this.btnStopFiles.Hide(); - this.Show(); - this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); - this.btnAdd.Clicked += new global::System.EventHandler(this.OnBtnAddClicked); - this.btnRemove.Clicked += new global::System.EventHandler(this.OnBtnRemoveClicked); - this.btnStop.Clicked += new global::System.EventHandler(this.OnBtnStopClicked); - this.btnCompress.Clicked += new global::System.EventHandler(this.OnBtnCompressClicked); - this.btnSave.Clicked += new global::System.EventHandler(this.OnBtnSaveClicked); - this.btnHelp.Clicked += new global::System.EventHandler(this.OnBtnHelpClicked); - this.btnSettings.Clicked += new global::System.EventHandler(this.OnBtnSettingsClicked); - this.btnQuit.Clicked += new global::System.EventHandler(this.OnBtnQuitClicked); - this.btnStopFiles.Clicked += new global::System.EventHandler(this.OnBtnStopFilesClicked); - this.btnCleanFiles.Clicked += new global::System.EventHandler(this.OnBtnCleanFilesClicked); - this.btnToggleCrack.Clicked += new global::System.EventHandler(this.OnBtnToggleCrackClicked); - this.btnScanAllPending.Clicked += new global::System.EventHandler(this.OnBtnScanAllPendingClicked); - this.btnScanWithClamd.Clicked += new global::System.EventHandler(this.OnBtnScanWithClamdClicked); - this.btnCheckInVirusTotal.Clicked += new global::System.EventHandler(this.OnBtnCheckInVirusTotalClicked); - this.btnPopulateFiles.Clicked += new global::System.EventHandler(this.OnBtnPopulateFilesClicked); - } - } -} diff --git a/osrepodbmgr/osrepodbmgr.Gtk.csproj b/osrepodbmgr/osrepodbmgr.Gtk.csproj deleted file mode 100644 index c62ca25..0000000 --- a/osrepodbmgr/osrepodbmgr.Gtk.csproj +++ /dev/null @@ -1,100 +0,0 @@ - - - - Debug - x86 - {19FB7436-031F-42B3-87F6-8508F63EDADA} - WinExe - osrepodbmgr - osrepodbmgr - v4.5 - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - x86 - - - true - bin\Release - prompt - 4 - x86 - - - - - False - - - False - - - False - - - False - - - False - - - False - - - - - - - ..\packages\DotNetZip.1.10.1\lib\net20\DotNetZip.dll - - - ..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll - - - - - gui.stetic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {9F213318-5CB8-4066-A757-074489C9F818} - DiscImageChef.Metadata - - - {076D5C4D-9601-4164-B979-0DABACB56BB8} - osrepodbmgr.Core - - - - \ No newline at end of file diff --git a/osrepodbmgr/packages.config b/osrepodbmgr/packages.config deleted file mode 100644 index b2b894c..0000000 --- a/osrepodbmgr/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file