From: <cod...@go...> - 2008-09-03 03:16:28
|
Author: m0e.lnx Date: Tue Sep 2 20:14:26 2008 New Revision: 161 Modified: branches/iVL/.lang/#project.pot branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/.project branches/iVL/FMain.class branches/iVL/FrmRootPass.form branches/iVL/FrmUserAdd.class branches/iVL/FrmUserAdd.form branches/iVL/FrmZoneSet.class branches/iVL/FrmZoneSet.form Log: - Added code to reposition objects on FrmZoneSet_resize - Moved Button1's click event code to Fmain.btnext to avoid more buttons on the forms - Moved objects into a frame in FrmZoneSet Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/.project +# /home/remote/area-51/projects/installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/ClsGlobal.class +# /home/remote/area-51/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/ClsPartSel.class +# /home/remote/area-51/projects/installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/ClsWinDrives.class +# /home/remote/area-51/projects/installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FMain.class +# /home/remote/area-51/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.class:316 +#: FMain.class:328 msgid "Process Overview" msgstr "" -#: FMain.class:336 +#: FMain.class:348 msgid "Next" msgstr "" -#: FMain.class:342 +#: FMain.class:354 msgid "Back" msgstr "" -#: FMain.class:348 +#: FMain.class:360 msgid "Exit" msgstr "" Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmDiskPart.class +# /home/remote/area-51/projects/installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmLicense.class +# /home/remote/area-51/projects/installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmPartScheme.class +# /home/remote/area-51/projects/installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmPartSel.class +# /home/remote/area-51/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmPkgSel.class +# /home/remote/area-51/projects/installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmSelISO.class +# /home/remote/area-51/projects/installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmSummary.class +# /home/remote/area-51/projects/installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmWinDrives.class +# /home/remote/area-51/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlCore.module +# /home/remote/area-51/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlDiskPart.module +# /home/remote/area-51/projects/installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlObjSizer.module +# /home/remote/area-51/projects/installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlPartSel.module +# /home/remote/area-51/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlPkgSel.module +# /home/remote/area-51/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlSetup.module +# /home/remote/area-51/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlSummarize.module +# /home/remote/area-51/projects/installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlWinDrives.module +# /home/remote/area-51/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Tue Sep 2 20:14:26 2008 @@ -1,6 +1,6 @@ # Gambas Project File 2.0 Title=VectorLinux Installer -Startup=MdlCore +Startup=FrmUserAdd Version=0.0.54 Library=gb.gtk Library=gb.form Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Tue Sep 2 20:14:26 2008 @@ -257,6 +257,8 @@ CASE "FrmZoneSet" 'MdlZoneSet.TIME_ZONES() + MdlZoneSet.SET_ZONE(Trim(FrmZoneSet.lbTmZone.text)) + MdlZoneSet.WRITE_CONF() frmNext = FrmRootPass CASE "FrmRootPass" Modified: branches/iVL/FrmRootPass.form ============================================================================== --- branches/iVL/FrmRootPass.form (original) +++ branches/iVL/FrmRootPass.form Tue Sep 2 20:14:26 2008 @@ -1,7 +1,7 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,64,64) + MoveScaled(0,0,74,44) Text = ("") { Frame1 Frame MoveScaled(1,1,62,31) @@ -15,7 +15,7 @@ Text = ("Choose a password for the root account. You must enter the Root Password twice to ensure accuracy.") } { TextLabel3 TextLabel - MoveScaled(35,11,14,2) + MoveScaled(35,9,14,2) Text = ("Re-Enter Password") } { tbPasswd1 TextBox @@ -24,11 +24,11 @@ Password = True } { tbPasswd2 TextBox - MoveScaled(35,14,21,2) + MoveScaled(35,12,21,2) Text = ("") } { Button1 Button - MoveScaled(44,22,11,2) + MoveScaled(50,28,11,2) Text = ("Set Password") } } Modified: branches/iVL/FrmUserAdd.class ============================================================================== --- branches/iVL/FrmUserAdd.class (original) +++ branches/iVL/FrmUserAdd.class Tue Sep 2 20:14:26 2008 @@ -60,3 +60,29 @@ SHELL "reboot" END + +PUBLIC SUB Form_Resize() + + WITH ME + .Frame1.Move(4, 4, .ClientWidth - (.Frame1.left * 2), .ClientHeight - (.Frame1.Height * 2)) + .TextLabel1.Move(4, 12, .Frame1.Width - (.TextLabel1.Left * 2)) + + .TextLabel2.Move(4, .TextLabel1.top + .TextLabel1.Height + 16, 130) + .tbUsername.Move(.TextLabel2.Left + .TextLabel2.Width + 4, .TextLabel2.top, 150) + '.tbUsername.Move(.tTextLabel2.left + .TextLabel2.Width + 4, .TextLabel2.top, 150) + + .TextLabel3.Move(4, .tbPasswd1.top + .tbPasswd1.Height + 4, 130) + .tbPasswd1.Move(.TextLabel3.Left + .TextLabel3.Width + 4, .TextLabel3.Top) + .tbPasswd2.Move(.tbPasswd1.left, .TextLabel3.top, .tbPasswd1.Width) + .TextLabel4.Move(4, .tbPasswd2.top + .tbPasswd2.Height + 4, .TextLabel1.Width) + + + END WITH + +END + +PUBLIC SUB tbUsername_KeyPress() + + + +END Modified: branches/iVL/FrmUserAdd.form ============================================================================== --- branches/iVL/FrmUserAdd.form (original) +++ branches/iVL/FrmUserAdd.form Tue Sep 2 20:14:26 2008 @@ -1,43 +1,43 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,64,64) + MoveScaled(0,0,72,47) Text = ("") { Frame1 Frame - MoveScaled(1,1,62,37) + MoveScaled(1,2,62,37) Text = ("Add Users") { TextLabel1 TextLabel - MoveScaled(2,2,29,18) + MoveScaled(2,2,55,8) Text = ("Choose a unique name for each user. Enter the password for twice for accuracy. You can make as many users as you want, and when you are finished click next to continue.") } { TextLabel2 TextLabel - MoveScaled(36,2,12,2) + MoveScaled(2,17,12,2) Text = ("Username") } { tbUsername TextBox - MoveScaled(36,5,15,2) + MoveScaled(14,17,15,2) Text = ("") } { TextLabel3 TextLabel - MoveScaled(36,10,16,2) + MoveScaled(2,20,16,2) Text = ("Enter Password") } { tbPasswd1 TextBox - MoveScaled(36,14,16,2) + MoveScaled(16,20,16,2) Text = ("") Password = True } { TextLabel4 TextLabel - MoveScaled(36,18,14,2) + MoveScaled(2,23,14,2) Text = ("ReEnter Password") } { tbPasswd2 TextBox - MoveScaled(36,21,16,2) + MoveScaled(16,23,16,2) Text = ("") Password = True } { Button1 Button - MoveScaled(38,27,14,1) + MoveScaled(45,29,14,1) Text = ("Create User") } } Modified: branches/iVL/FrmZoneSet.class ============================================================================== --- branches/iVL/FrmZoneSet.class (original) +++ branches/iVL/FrmZoneSet.class Tue Sep 2 20:14:26 2008 @@ -17,9 +17,31 @@ END PUBLIC SUB Button1_Click() +' THis is not necessary, since the next button on the main window handles this MdlZoneSet.SET_ZONE(ME.lbTmZone.Text) MdlZoneSet.WRITE_CONF() Message("TimeZone " & ME.lbTmZone.Text & " Was set.") +END + +PUBLIC SUB Form_Resize() + + WITH ME + .Frame1.Move(4, 4, .ClientWidth - (.Frame1.left * 2), .ClientHeight - (.Frame1.top * 2)) + .TextLabel1.Move(4, 18, .Frame1.Width - (.TextLabel1.Left * 2)) + .cbHwClock.Move(.TextLabel1.left, .TextLabel1.top + .TextLabel1.Height + 4, (.TextLabel1.width / 2)) + .TextLabel2.Move(4, .cbHwClock.top + cbHwClock.Height + 8, .TextLabel1.Width) + .lbTmZone.Move(4, .TextLabel2.top + .TextLabel2.Height + 4, .cbHwClock.Width) + + + .TextLabel1.Adjust() + END WITH + +END + +PUBLIC SUB cbHwClock_Click() + + + END Modified: branches/iVL/FrmZoneSet.form ============================================================================== --- branches/iVL/FrmZoneSet.form (original) +++ branches/iVL/FrmZoneSet.form Tue Sep 2 20:14:26 2008 @@ -4,27 +4,28 @@ MoveScaled(0,0,81,55) Text = ("") { Frame1 Frame - MoveScaled(1,1,79,53) - Text = ("Set Hardware Clock and TimeZone") - } - { TextLabel1 TextLabel - MoveScaled(3,5,34,11) - Text = ("Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way.") - } - { TextLabel2 TextLabel - MoveScaled(3,21,23,13) - Text = ("Choose the correct timezone for the area in which you live.") - } - { Button1 Button - MoveScaled(49,50,12,3) - Text = ("Set TimeZone") - } - { lbTmZone ListBox - MoveScaled(29,18,32,23) - } - { cbHwClock ComboBox - MoveScaled(40,8,21,2) - Text = ("ComboBox1") - List = [("LocalTime"), ("UTC")] + MoveScaled(1,2,78,52) + Text = ("") + { TextLabel1 TextLabel + MoveScaled(1,2,74,8) + Text = ("Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way.") + } + { TextLabel2 TextLabel + MoveScaled(1,15,41,3) + Text = ("Choose the correct timezone for the area in which you live.") + } + { lbTmZone ListBox + MoveScaled(1,19,32,23) + } + { cbHwClock ComboBox + MoveScaled(1,11,34,3) + Text = ("ComboBox1") + List = [("LocalTime"), ("UTC")] + } + { Button1 Button + MoveScaled(47,47,12,3) + Visible = False + Text = ("Set TimeZone") + } } } |