Qualche modifica nell'interfaccia di login
Leonardo Robol [2010-02-03 10:39]
Qualche modifica nell'interfaccia di login
diff --git a/Main.cs b/Main.cs
index 87d8ac5..187fcf3 100644
--- a/Main.cs
+++ b/Main.cs
@@ -27,6 +27,7 @@ namespace Dizzy
{
win = new MainWindow (config.GetValue("user"), config.password);
win.ShowAll ();
+ s.Destroy ();
Application.Run ();
}
diff --git a/StartupDialog.cs b/StartupDialog.cs
index 8d4cb96..7cf5334 100644
--- a/StartupDialog.cs
+++ b/StartupDialog.cs
@@ -15,7 +15,7 @@ namespace Dizzy
{
config.InsertValue("user", entryUser.Text);
config.password = entryPassword.Text;
- this.Destroy ();
+ message.Text = "Connessione in corso...";
}
public StartupDialog (ref GlobalConfig config)
diff --git a/gtk-gui/Dizzy.StartupDialog.cs b/gtk-gui/Dizzy.StartupDialog.cs
index a4dc919..65a9bf3 100644
--- a/gtk-gui/Dizzy.StartupDialog.cs
+++ b/gtk-gui/Dizzy.StartupDialog.cs
@@ -15,7 +15,7 @@ namespace Dizzy {
private Gtk.VBox vbox2;
- private Gtk.Label label1;
+ private Gtk.Label message;
private Gtk.HSeparator hseparator1;
@@ -49,12 +49,12 @@ namespace Dizzy {
this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild
- this.label1 = new Gtk.Label();
- this.label1.Name = "label1";
- this.label1.LabelProp = Mono.Unix.Catalog.GetString("Inserire nome utente e password per autenticarsi su <b>poisson.phc.unipi.it</b>");
- this.label1.UseMarkup = true;
- this.vbox2.Add(this.label1);
- Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1]));
+ this.message = new Gtk.Label();
+ this.message.Name = "message";
+ this.message.LabelProp = Mono.Unix.Catalog.GetString("Inserire nome utente e password per autenticarsi su <b>poisson.phc.unipi.it</b>");
+ this.message.UseMarkup = true;
+ this.vbox2.Add(this.message);
+ Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.message]));
w2.Position = 0;
w2.Expand = false;
w2.Fill = false;
diff --git a/gtk-gui/gui.stetic b/gtk-gui/gui.stetic
index dead1a3..1ba0217 100644
--- a/gtk-gui/gui.stetic
+++ b/gtk-gui/gui.stetic
@@ -238,7 +238,7 @@
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.Label" id="label1">
+ <widget class="Gtk.Label" id="message">
<property name="MemberName" />
<property name="LabelProp" translatable="yes">Inserire nome utente e password per autenticarsi su <b>poisson.phc.unipi.it</b></property>
<property name="UseMarkup">True</property>