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