예제 #1
0
 private Widget CreateWidgets()
 {
     EventBox widgetEventbox = new EventBox();
             widgetEventbox.ModifyBg(StateType.Normal, this.Style.Background(StateType.Normal));
                 VBox vbox = new VBox(false, 0);
                 widgetEventbox.Add(vbox);
                 KeyRecoveryPixbuf = new Gdk.Pixbuf(Util.ImagesPath("ifolder48.png"));
                 KeyRecoveryPixbuf = KeyRecoveryPixbuf.ScaleSimple(48, 48, Gdk.InterpType.Bilinear);
                 KeyRecoveryDruid = new Gnome.Druid();
                 vbox.PackStart(KeyRecoveryDruid, false,false ,0);
                 KeyRecoveryDruid.ShowHelp = true;
                 KeyRecoveryDruid.Help += new EventHandler(OnKeyRecoveryWizardHelp);
        KeyRecoveryDruid.AppendPage(CreateDomainSelectionPage());
        KeyRecoveryDruid.AppendPage(CreateEnterPassphrasePage());
        KeyRecoveryDruid.AppendPage(CreateInfoPage());
                 KeyRecoveryDruid.AppendPage(CreateSelectionPage());
                 KeyRecoveryDruid.AppendPage(CreateSingleWizPage());
        KeyRecoveryDruid.AppendPage(CreateImportKeyPage());
                KeyRecoveryDruid.AppendPage(CreateExportKeyPage());
        KeyRecoveryDruid.AppendPage(CreateEmailPage());
       KeyRecoveryDruid.AppendPage(CreateFinishPage());
                 return widgetEventbox;
 }
예제 #2
0
 private Widget CreateWidgets()
 {
     VBox vbox = new VBox(false, 0);
        AddAccountPixbuf = new Gdk.Pixbuf(Util.ImagesPath("add-account.png"));
        AddAccountPixbuf = AddAccountPixbuf.ScaleSimple(48, 48, Gdk.InterpType.Bilinear);
        AccountDruid = new Gnome.Druid();
        vbox.PackStart(AccountDruid, true, true, 0);
        AccountDruid.ShowHelp = true;
        AccountDruid.Help += new EventHandler(OnAccountWizardHelp);
        AccountDruid.AppendPage(CreateIntroductoryPage());
        AccountDruid.AppendPage(CreateServerInformationPage());
        AccountDruid.AppendPage(CreateUserInformationPage());
        AccountDruid.AppendPage(CreateConnectPage());
        AccountDruid.AppendPage(CreateSummaryPage());
        return vbox;
 }
예제 #3
0
 private Widget CreateWidgets()
 {
     EventBox widgetEventbox = new EventBox();
       widgetEventbox.ModifyBg(StateType.Normal, this.Style.Background(StateType.Normal));
        VBox vbox = new VBox(false, 0);
        widgetEventbox.Add(vbox);
        AddAccountPixbuf = new Gdk.Pixbuf(Util.ImagesPath("ifolder-add-account48.png"));
        AddAccountPixbuf = AddAccountPixbuf.ScaleSimple(48, 48, Gdk.InterpType.Bilinear);
        AccountDruid = new Gnome.Druid();
        vbox.PackStart(AccountDruid, true, true, 0);
        AccountDruid.ShowHelp = true;
        AccountDruid.Help += new EventHandler(OnAccountWizardHelp);
        AccountDruid.AppendPage(CreateIntroductoryPage());
        AccountDruid.AppendPage(CreateServerInformationPage());
        AccountDruid.AppendPage(CreateUserInformationPage());
        AccountDruid.AppendPage(CreateConnectPage());
        AccountDruid.AppendPage(CreateRAPage());
        AccountDruid.AppendPage(CreateDefaultiFolderPage());
        AccountDruid.AppendPage(CreateSummaryPage());
        AccountDruid.SetButtonsSensitive(false, true, true, true);
        return widgetEventbox;
 }