viewgit/index.php:465 Only variables should be passed by reference [2048]

viewgit/index.php:466 Non-static method GeSHi::get_language_name_from_extension() should not be called statically [2048]

  1. // ------------------------------------------------------------------------------
  2. // <autogenerated>
  3. // This code was generated by a tool.
  4. //
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </autogenerated>
  9. // ------------------------------------------------------------------------------
  10.  
  11. namespace Dizzy {
  12.  
  13.  
  14. public partial class AuthDialog {
  15.  
  16. private Gtk.VBox vbox2;
  17.  
  18. private Gtk.Label label3;
  19.  
  20. private Gtk.HSeparator hseparator1;
  21.  
  22. private Gtk.Table table1;
  23.  
  24. private Gtk.Label label1;
  25.  
  26. private Gtk.Label label2;
  27.  
  28. private Gtk.Entry passwordEntry;
  29.  
  30. private Gtk.Entry userEntry;
  31.  
  32. private Gtk.Button buttonCancel;
  33.  
  34. private Gtk.Button buttonOk;
  35.  
  36. protected virtual void Build() {
  37. Stetic.Gui.Initialize(this);
  38. // Widget Dizzy.AuthDialog
  39. this.Name = "Dizzy.AuthDialog";
  40. this.Title = Mono.Unix.Catalog.GetString("Autenticazione");
  41. this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-authentication", Gtk.IconSize.Menu, 16);
  42. this.WindowPosition = ((Gtk.WindowPosition)(4));
  43. // Internal child Dizzy.AuthDialog.VBox
  44. Gtk.VBox w1 = this.VBox;
  45. w1.Name = "dialog1_VBox";
  46. w1.BorderWidth = ((uint)(2));
  47. // Container child dialog1_VBox.Gtk.Box+BoxChild
  48. this.vbox2 = new Gtk.VBox();
  49. this.vbox2.Name = "vbox2";
  50. this.vbox2.Spacing = 6;
  51. this.vbox2.BorderWidth = ((uint)(5));
  52. // Container child vbox2.Gtk.Box+BoxChild
  53. this.label3 = new Gtk.Label();
  54. this.label3.Name = "label3";
  55. this.label3.LabelProp = Mono.Unix.Catalog.GetString("L'operazione effettuata richiede l'inserimento di username e password\nper autenticarsi su <b>poisson.phc.unipi.it</b>.");
  56. this.label3.UseMarkup = true;
  57. this.vbox2.Add(this.label3);
  58. Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label3]));
  59. w2.Position = 0;
  60. w2.Expand = false;
  61. w2.Fill = false;
  62. // Container child vbox2.Gtk.Box+BoxChild
  63. this.hseparator1 = new Gtk.HSeparator();
  64. this.hseparator1.Name = "hseparator1";
  65. this.vbox2.Add(this.hseparator1);
  66. Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hseparator1]));
  67. w3.Position = 1;
  68. w3.Expand = false;
  69. w3.Fill = false;
  70. // Container child vbox2.Gtk.Box+BoxChild
  71. this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
  72. this.table1.Name = "table1";
  73. this.table1.RowSpacing = ((uint)(6));
  74. this.table1.ColumnSpacing = ((uint)(6));
  75. // Container child table1.Gtk.Table+TableChild
  76. this.label1 = new Gtk.Label();
  77. this.label1.Name = "label1";
  78. this.label1.LabelProp = Mono.Unix.Catalog.GetString("Username");
  79. this.table1.Add(this.label1);
  80. Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
  81. w4.XOptions = ((Gtk.AttachOptions)(4));
  82. w4.YOptions = ((Gtk.AttachOptions)(4));
  83. // Container child table1.Gtk.Table+TableChild
  84. this.label2 = new Gtk.Label();
  85. this.label2.Name = "label2";
  86. this.label2.LabelProp = Mono.Unix.Catalog.GetString("Password");
  87. this.table1.Add(this.label2);
  88. Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
  89. w5.TopAttach = ((uint)(1));
  90. w5.BottomAttach = ((uint)(2));
  91. w5.XOptions = ((Gtk.AttachOptions)(4));
  92. w5.YOptions = ((Gtk.AttachOptions)(4));
  93. // Container child table1.Gtk.Table+TableChild
  94. this.passwordEntry = new Gtk.Entry();
  95. this.passwordEntry.CanFocus = true;
  96. this.passwordEntry.Name = "passwordEntry";
  97. this.passwordEntry.IsEditable = true;
  98. this.passwordEntry.Visibility = false;
  99. this.passwordEntry.InvisibleChar = '•';
  100. this.table1.Add(this.passwordEntry);
  101. Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.passwordEntry]));
  102. w6.TopAttach = ((uint)(1));
  103. w6.BottomAttach = ((uint)(2));
  104. w6.LeftAttach = ((uint)(1));
  105. w6.RightAttach = ((uint)(2));
  106. w6.YOptions = ((Gtk.AttachOptions)(4));
  107. // Container child table1.Gtk.Table+TableChild
  108. this.userEntry = new Gtk.Entry();
  109. this.userEntry.CanFocus = true;
  110. this.userEntry.Name = "userEntry";
  111. this.userEntry.IsEditable = true;
  112. this.userEntry.InvisibleChar = '•';
  113. this.table1.Add(this.userEntry);
  114. Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.userEntry]));
  115. w7.LeftAttach = ((uint)(1));
  116. w7.RightAttach = ((uint)(2));
  117. w7.YOptions = ((Gtk.AttachOptions)(4));
  118. this.vbox2.Add(this.table1);
  119. Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox2[this.table1]));
  120. w8.Position = 2;
  121. w8.Expand = false;
  122. w8.Fill = false;
  123. w1.Add(this.vbox2);
  124. Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
  125. w9.Position = 0;
  126. w9.Expand = false;
  127. w9.Fill = false;
  128. // Internal child Dizzy.AuthDialog.ActionArea
  129. Gtk.HButtonBox w10 = this.ActionArea;
  130. w10.Name = "dialog1_ActionArea";
  131. w10.Spacing = 10;
  132. w10.BorderWidth = ((uint)(5));
  133. w10.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  134. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  135. this.buttonCancel = new Gtk.Button();
  136. this.buttonCancel.CanFocus = true;
  137. this.buttonCancel.Name = "buttonCancel";
  138. this.buttonCancel.UseStock = true;
  139. this.buttonCancel.UseUnderline = true;
  140. this.buttonCancel.Label = "gtk-cancel";
  141. this.AddActionWidget(this.buttonCancel, -6);
  142. Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonCancel]));
  143. w11.Expand = false;
  144. w11.Fill = false;
  145. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  146. this.buttonOk = new Gtk.Button();
  147. this.buttonOk.CanDefault = true;
  148. this.buttonOk.CanFocus = true;
  149. this.buttonOk.Name = "buttonOk";
  150. this.buttonOk.UseStock = true;
  151. this.buttonOk.UseUnderline = true;
  152. this.buttonOk.Label = "gtk-ok";
  153. this.AddActionWidget(this.buttonOk, -5);
  154. Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonOk]));
  155. w12.Position = 1;
  156. w12.Expand = false;
  157. w12.Fill = false;
  158. if ((this.Child != null)) {
  159. this.Child.ShowAll();
  160. }
  161. this.DefaultWidth = 442;
  162. this.DefaultHeight = 177;
  163. this.Show();
  164. this.userEntry.Activated += new System.EventHandler(this.OnUserEntryActivated);
  165. this.passwordEntry.Activated += new System.EventHandler(this.OnPasswordEntryActivated);
  166. this.buttonOk.Activated += new System.EventHandler(this.OnOkClicked);
  167. this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked);
  168. }
  169. }
  170. }