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.  
  12.  
  13. public partial class MainWindow {
  14.  
  15. private Gtk.VBox vbox1;
  16.  
  17. private Gtk.Notebook notebook1;
  18.  
  19. private Gtk.VBox vbox3;
  20.  
  21. private Gtk.Table table1;
  22.  
  23. private Gtk.Button button1;
  24.  
  25. private Gtk.Label label4;
  26.  
  27. private Gtk.Label label6;
  28.  
  29. private Gtk.Entry searchBox;
  30.  
  31. private Gtk.Entry searchUserBox;
  32.  
  33. private Gtk.ComboBox typeBox;
  34.  
  35. private Gtk.ScrolledWindow GtkScrolledWindow;
  36.  
  37. private Gtk.TreeView filelist;
  38.  
  39. private Gtk.Label label1;
  40.  
  41. private Gtk.VBox vbox2;
  42.  
  43. private Gtk.ScrolledWindow GtkScrolledWindow1;
  44.  
  45. private Gtk.TreeView tasklist;
  46.  
  47. private Gtk.HBox hbox2;
  48.  
  49. private Gtk.Label label2;
  50.  
  51. private Gtk.FileChooserButton downloadpathchooser;
  52.  
  53. private Gtk.Label label3;
  54.  
  55. private Gtk.Table table2;
  56.  
  57. private Gtk.Button button182;
  58.  
  59. private Gtk.Button button183;
  60.  
  61. private Gtk.Button button184;
  62.  
  63. private Gtk.FileChooserButton filechooserbutton1;
  64.  
  65. private Gtk.Label label8;
  66.  
  67. private Gtk.Label label9;
  68.  
  69. private Gtk.Label label7;
  70.  
  71. private Gtk.Statusbar dizzystatus;
  72.  
  73. protected virtual void Build() {
  74. Stetic.Gui.Initialize(this);
  75. // Widget MainWindow
  76. this.Name = "MainWindow";
  77. this.Title = Mono.Unix.Catalog.GetString("Dizzy PreRelease");
  78. this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_connect", Gtk.IconSize.Menu, 16);
  79. this.WindowPosition = ((Gtk.WindowPosition)(4));
  80. this.DefaultWidth = 640;
  81. this.DefaultHeight = 480;
  82. // Container child MainWindow.Gtk.Container+ContainerChild
  83. this.vbox1 = new Gtk.VBox();
  84. this.vbox1.Name = "vbox1";
  85. this.vbox1.Spacing = 6;
  86. this.vbox1.BorderWidth = ((uint)(5));
  87. // Container child vbox1.Gtk.Box+BoxChild
  88. this.notebook1 = new Gtk.Notebook();
  89. this.notebook1.CanFocus = true;
  90. this.notebook1.Name = "notebook1";
  91. this.notebook1.CurrentPage = 0;
  92. // Container child notebook1.Gtk.Notebook+NotebookChild
  93. this.vbox3 = new Gtk.VBox();
  94. this.vbox3.Name = "vbox3";
  95. this.vbox3.Spacing = 6;
  96. // Container child vbox3.Gtk.Box+BoxChild
  97. this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
  98. this.table1.Name = "table1";
  99. this.table1.RowSpacing = ((uint)(6));
  100. this.table1.ColumnSpacing = ((uint)(6));
  101. this.table1.BorderWidth = ((uint)(5));
  102. // Container child table1.Gtk.Table+TableChild
  103. this.button1 = new Gtk.Button();
  104. this.button1.CanFocus = true;
  105. this.button1.Name = "button1";
  106. this.button1.UseUnderline = true;
  107. this.button1.Label = Mono.Unix.Catalog.GetString("Cerca");
  108. this.table1.Add(this.button1);
  109. Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.button1]));
  110. w1.TopAttach = ((uint)(1));
  111. w1.BottomAttach = ((uint)(2));
  112. w1.LeftAttach = ((uint)(2));
  113. w1.RightAttach = ((uint)(3));
  114. w1.XOptions = ((Gtk.AttachOptions)(4));
  115. w1.YOptions = ((Gtk.AttachOptions)(4));
  116. // Container child table1.Gtk.Table+TableChild
  117. this.label4 = new Gtk.Label();
  118. this.label4.Name = "label4";
  119. this.label4.LabelProp = Mono.Unix.Catalog.GetString("Parola chiave");
  120. this.table1.Add(this.label4);
  121. Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
  122. w2.XOptions = ((Gtk.AttachOptions)(4));
  123. w2.YOptions = ((Gtk.AttachOptions)(4));
  124. // Container child table1.Gtk.Table+TableChild
  125. this.label6 = new Gtk.Label();
  126. this.label6.Name = "label6";
  127. this.label6.LabelProp = Mono.Unix.Catalog.GetString("Utente");
  128. this.table1.Add(this.label6);
  129. Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
  130. w3.TopAttach = ((uint)(1));
  131. w3.BottomAttach = ((uint)(2));
  132. w3.XOptions = ((Gtk.AttachOptions)(4));
  133. w3.YOptions = ((Gtk.AttachOptions)(4));
  134. // Container child table1.Gtk.Table+TableChild
  135. this.searchBox = new Gtk.Entry();
  136. this.searchBox.CanFocus = true;
  137. this.searchBox.Name = "searchBox";
  138. this.searchBox.IsEditable = true;
  139. this.searchBox.InvisibleChar = '•';
  140. this.table1.Add(this.searchBox);
  141. Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.searchBox]));
  142. w4.LeftAttach = ((uint)(1));
  143. w4.RightAttach = ((uint)(2));
  144. w4.YOptions = ((Gtk.AttachOptions)(4));
  145. // Container child table1.Gtk.Table+TableChild
  146. this.searchUserBox = new Gtk.Entry();
  147. this.searchUserBox.CanFocus = true;
  148. this.searchUserBox.Name = "searchUserBox";
  149. this.searchUserBox.IsEditable = true;
  150. this.searchUserBox.InvisibleChar = '•';
  151. this.table1.Add(this.searchUserBox);
  152. Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.searchUserBox]));
  153. w5.TopAttach = ((uint)(1));
  154. w5.BottomAttach = ((uint)(2));
  155. w5.LeftAttach = ((uint)(1));
  156. w5.RightAttach = ((uint)(2));
  157. w5.YOptions = ((Gtk.AttachOptions)(4));
  158. // Container child table1.Gtk.Table+TableChild
  159. this.typeBox = Gtk.ComboBox.NewText();
  160. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Qualsias"));
  161. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Audio"));
  162. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Video"));
  163. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Libro"));
  164. this.typeBox.Name = "typeBox";
  165. this.typeBox.Active = 0;
  166. this.table1.Add(this.typeBox);
  167. Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.typeBox]));
  168. w6.LeftAttach = ((uint)(2));
  169. w6.RightAttach = ((uint)(3));
  170. w6.XOptions = ((Gtk.AttachOptions)(4));
  171. w6.YOptions = ((Gtk.AttachOptions)(4));
  172. this.vbox3.Add(this.table1);
  173. Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1]));
  174. w7.Position = 0;
  175. w7.Expand = false;
  176. w7.Fill = false;
  177. // Container child vbox3.Gtk.Box+BoxChild
  178. this.GtkScrolledWindow = new Gtk.ScrolledWindow();
  179. this.GtkScrolledWindow.Name = "GtkScrolledWindow";
  180. this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
  181. // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
  182. this.filelist = new Gtk.TreeView();
  183. this.filelist.CanFocus = true;
  184. this.filelist.Name = "filelist";
  185. this.filelist.Reorderable = true;
  186. this.GtkScrolledWindow.Add(this.filelist);
  187. this.vbox3.Add(this.GtkScrolledWindow);
  188. Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
  189. w9.Position = 1;
  190. this.notebook1.Add(this.vbox3);
  191. // Notebook tab
  192. this.label1 = new Gtk.Label();
  193. this.label1.Name = "label1";
  194. this.label1.LabelProp = Mono.Unix.Catalog.GetString("Ricerca");
  195. this.notebook1.SetTabLabel(this.vbox3, this.label1);
  196. this.label1.ShowAll();
  197. // Container child notebook1.Gtk.Notebook+NotebookChild
  198. this.vbox2 = new Gtk.VBox();
  199. this.vbox2.Name = "vbox2";
  200. this.vbox2.Spacing = 6;
  201. // Container child vbox2.Gtk.Box+BoxChild
  202. this.GtkScrolledWindow1 = new Gtk.ScrolledWindow();
  203. this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
  204. this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
  205. // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
  206. this.tasklist = new Gtk.TreeView();
  207. this.tasklist.CanFocus = true;
  208. this.tasklist.Name = "tasklist";
  209. this.GtkScrolledWindow1.Add(this.tasklist);
  210. this.vbox2.Add(this.GtkScrolledWindow1);
  211. Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow1]));
  212. w12.Position = 0;
  213. // Container child vbox2.Gtk.Box+BoxChild
  214. this.hbox2 = new Gtk.HBox();
  215. this.hbox2.Name = "hbox2";
  216. this.hbox2.Spacing = 6;
  217. this.hbox2.BorderWidth = ((uint)(4));
  218. // Container child hbox2.Gtk.Box+BoxChild
  219. this.label2 = new Gtk.Label();
  220. this.label2.Name = "label2";
  221. this.label2.LabelProp = Mono.Unix.Catalog.GetString("Scarica in");
  222. this.hbox2.Add(this.label2);
  223. Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.label2]));
  224. w13.Position = 0;
  225. w13.Expand = false;
  226. w13.Fill = false;
  227. // Container child hbox2.Gtk.Box+BoxChild
  228. this.downloadpathchooser = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Seleziona una cartella"), ((Gtk.FileChooserAction)(2)));
  229. this.downloadpathchooser.Name = "downloadpathchooser";
  230. this.hbox2.Add(this.downloadpathchooser);
  231. Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.downloadpathchooser]));
  232. w14.Position = 1;
  233. this.vbox2.Add(this.hbox2);
  234. Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
  235. w15.Position = 1;
  236. w15.Expand = false;
  237. w15.Fill = false;
  238. this.notebook1.Add(this.vbox2);
  239. Gtk.Notebook.NotebookChild w16 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox2]));
  240. w16.Position = 1;
  241. // Notebook tab
  242. this.label3 = new Gtk.Label();
  243. this.label3.Name = "label3";
  244. this.label3.LabelProp = Mono.Unix.Catalog.GetString("Download");
  245. this.notebook1.SetTabLabel(this.vbox2, this.label3);
  246. this.label3.ShowAll();
  247. // Container child notebook1.Gtk.Notebook+NotebookChild
  248. this.table2 = new Gtk.Table(((uint)(4)), ((uint)(2)), false);
  249. this.table2.Name = "table2";
  250. this.table2.RowSpacing = ((uint)(6));
  251. this.table2.ColumnSpacing = ((uint)(6));
  252. this.table2.BorderWidth = ((uint)(5));
  253. // Container child table2.Gtk.Table+TableChild
  254. this.button182 = new Gtk.Button();
  255. this.button182.CanFocus = true;
  256. this.button182.Name = "button182";
  257. this.button182.UseUnderline = true;
  258. this.button182.Label = Mono.Unix.Catalog.GetString("Disconnetti");
  259. this.table2.Add(this.button182);
  260. Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table2[this.button182]));
  261. w17.TopAttach = ((uint)(1));
  262. w17.BottomAttach = ((uint)(2));
  263. w17.LeftAttach = ((uint)(1));
  264. w17.RightAttach = ((uint)(2));
  265. w17.XOptions = ((Gtk.AttachOptions)(4));
  266. w17.YOptions = ((Gtk.AttachOptions)(4));
  267. // Container child table2.Gtk.Table+TableChild
  268. this.button183 = new Gtk.Button();
  269. this.button183.CanFocus = true;
  270. this.button183.Name = "button183";
  271. this.button183.UseUnderline = true;
  272. this.button183.Label = Mono.Unix.Catalog.GetString("Aggiorna lista");
  273. this.table2.Add(this.button183);
  274. Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table2[this.button183]));
  275. w18.TopAttach = ((uint)(2));
  276. w18.BottomAttach = ((uint)(3));
  277. w18.LeftAttach = ((uint)(1));
  278. w18.RightAttach = ((uint)(2));
  279. w18.XOptions = ((Gtk.AttachOptions)(4));
  280. w18.YOptions = ((Gtk.AttachOptions)(4));
  281. // Container child table2.Gtk.Table+TableChild
  282. this.button184 = new Gtk.Button();
  283. this.button184.CanFocus = true;
  284. this.button184.Name = "button184";
  285. this.button184.UseUnderline = true;
  286. this.button184.Label = Mono.Unix.Catalog.GetString("Carica file");
  287. this.table2.Add(this.button184);
  288. Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table2[this.button184]));
  289. w19.TopAttach = ((uint)(3));
  290. w19.BottomAttach = ((uint)(4));
  291. w19.LeftAttach = ((uint)(1));
  292. w19.RightAttach = ((uint)(2));
  293. w19.XOptions = ((Gtk.AttachOptions)(4));
  294. w19.YOptions = ((Gtk.AttachOptions)(4));
  295. // Container child table2.Gtk.Table+TableChild
  296. this.filechooserbutton1 = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Seleziona un file"), ((Gtk.FileChooserAction)(0)));
  297. this.filechooserbutton1.Name = "filechooserbutton1";
  298. this.table2.Add(this.filechooserbutton1);
  299. Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.filechooserbutton1]));
  300. w20.TopAttach = ((uint)(3));
  301. w20.BottomAttach = ((uint)(4));
  302. w20.XOptions = ((Gtk.AttachOptions)(4));
  303. w20.YOptions = ((Gtk.AttachOptions)(4));
  304. // Container child table2.Gtk.Table+TableChild
  305. this.label8 = new Gtk.Label();
  306. this.label8.Name = "label8";
  307. this.label8.LabelProp = Mono.Unix.Catalog.GetString("Il programma chiederà nuovamente utente e password quando necessario");
  308. this.label8.Wrap = true;
  309. this.table2.Add(this.label8);
  310. Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.label8]));
  311. w21.TopAttach = ((uint)(1));
  312. w21.BottomAttach = ((uint)(2));
  313. w21.YOptions = ((Gtk.AttachOptions)(4));
  314. // Container child table2.Gtk.Table+TableChild
  315. this.label9 = new Gtk.Label();
  316. this.label9.Name = "label9";
  317. this.label9.LabelProp = Mono.Unix.Catalog.GetString("Aggiornare la lista permette di trovare i file più recenti. Ogni volta che il programma viene avviato cerca di farlo autonomamente. La lista sul server viene aggiornata ogni ora.");
  318. this.label9.Wrap = true;
  319. this.table2.Add(this.label9);
  320. Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table2[this.label9]));
  321. w22.TopAttach = ((uint)(2));
  322. w22.BottomAttach = ((uint)(3));
  323. w22.YOptions = ((Gtk.AttachOptions)(4));
  324. this.notebook1.Add(this.table2);
  325. Gtk.Notebook.NotebookChild w23 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table2]));
  326. w23.Position = 2;
  327. // Notebook tab
  328. this.label7 = new Gtk.Label();
  329. this.label7.Name = "label7";
  330. this.label7.LabelProp = Mono.Unix.Catalog.GetString("Strumenti");
  331. this.notebook1.SetTabLabel(this.table2, this.label7);
  332. this.label7.ShowAll();
  333. this.vbox1.Add(this.notebook1);
  334. Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
  335. w24.Position = 0;
  336. // Container child vbox1.Gtk.Box+BoxChild
  337. this.dizzystatus = new Gtk.Statusbar();
  338. this.dizzystatus.Name = "dizzystatus";
  339. this.dizzystatus.Spacing = 6;
  340. this.vbox1.Add(this.dizzystatus);
  341. Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox1[this.dizzystatus]));
  342. w25.Position = 1;
  343. w25.Expand = false;
  344. w25.Fill = false;
  345. this.Add(this.vbox1);
  346. if ((this.Child != null)) {
  347. this.Child.ShowAll();
  348. }
  349. this.Show();
  350. this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
  351. this.button1.Clicked += new System.EventHandler(this.OnSearchRequested);
  352. this.filelist.RowActivated += new Gtk.RowActivatedHandler(this.OnRowActivated);
  353. this.downloadpathchooser.SelectionChanged += new System.EventHandler(this.OnDownloadPathSelectionChanged);
  354. }
  355. }