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.Alignment alignment1;
  58.  
  59. private Gtk.Label label10;
  60.  
  61. private Gtk.Alignment alignment2;
  62.  
  63. private Gtk.Label label5;
  64.  
  65. private Gtk.Button button182;
  66.  
  67. private Gtk.Button button183;
  68.  
  69. private Gtk.Button button184;
  70.  
  71. private Gtk.FileChooserButton filechooserbutton1;
  72.  
  73. private Gtk.Label label8;
  74.  
  75. private Gtk.Label label9;
  76.  
  77. private Gtk.Label label7;
  78.  
  79. private Gtk.Statusbar dizzystatus;
  80.  
  81. protected virtual void Build() {
  82. Stetic.Gui.Initialize(this);
  83. // Widget MainWindow
  84. this.Name = "MainWindow";
  85. this.Title = Mono.Unix.Catalog.GetString("Dizzy PreRelease");
  86. this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_connect", Gtk.IconSize.Menu, 16);
  87. this.WindowPosition = ((Gtk.WindowPosition)(4));
  88. this.DefaultWidth = 640;
  89. this.DefaultHeight = 480;
  90. // Container child MainWindow.Gtk.Container+ContainerChild
  91. this.vbox1 = new Gtk.VBox();
  92. this.vbox1.Name = "vbox1";
  93. this.vbox1.Spacing = 6;
  94. this.vbox1.BorderWidth = ((uint)(5));
  95. // Container child vbox1.Gtk.Box+BoxChild
  96. this.notebook1 = new Gtk.Notebook();
  97. this.notebook1.CanFocus = true;
  98. this.notebook1.Name = "notebook1";
  99. this.notebook1.CurrentPage = 2;
  100. // Container child notebook1.Gtk.Notebook+NotebookChild
  101. this.vbox3 = new Gtk.VBox();
  102. this.vbox3.Name = "vbox3";
  103. this.vbox3.Spacing = 6;
  104. // Container child vbox3.Gtk.Box+BoxChild
  105. this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
  106. this.table1.RowSpacing = ((uint)(6));
  107. this.table1.ColumnSpacing = ((uint)(6));
  108. this.table1.BorderWidth = ((uint)(5));
  109. // Container child table1.Gtk.Table+TableChild
  110. this.button1 = new Gtk.Button();
  111. this.button1.CanFocus = true;
  112. this.button1.Name = "button1";
  113. this.button1.UseUnderline = true;
  114. this.button1.Label = Mono.Unix.Catalog.GetString("Cerca");
  115. this.table1.Add(this.button1);
  116. Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.button1]));
  117. w1.TopAttach = ((uint)(1));
  118. w1.BottomAttach = ((uint)(2));
  119. w1.LeftAttach = ((uint)(2));
  120. w1.RightAttach = ((uint)(3));
  121. w1.XOptions = ((Gtk.AttachOptions)(4));
  122. w1.YOptions = ((Gtk.AttachOptions)(4));
  123. // Container child table1.Gtk.Table+TableChild
  124. this.label4 = new Gtk.Label();
  125. this.label4.Name = "label4";
  126. this.label4.LabelProp = Mono.Unix.Catalog.GetString("Parola chiave");
  127. this.table1.Add(this.label4);
  128. Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
  129. w2.XOptions = ((Gtk.AttachOptions)(4));
  130. w2.YOptions = ((Gtk.AttachOptions)(4));
  131. // Container child table1.Gtk.Table+TableChild
  132. this.label6 = new Gtk.Label();
  133. this.label6.Name = "label6";
  134. this.label6.LabelProp = Mono.Unix.Catalog.GetString("Utente");
  135. this.table1.Add(this.label6);
  136. Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
  137. w3.TopAttach = ((uint)(1));
  138. w3.BottomAttach = ((uint)(2));
  139. w3.XOptions = ((Gtk.AttachOptions)(4));
  140. w3.YOptions = ((Gtk.AttachOptions)(4));
  141. // Container child table1.Gtk.Table+TableChild
  142. this.searchBox = new Gtk.Entry();
  143. this.searchBox.CanFocus = true;
  144. this.searchBox.Name = "searchBox";
  145. this.searchBox.IsEditable = true;
  146. this.searchBox.InvisibleChar = '•';
  147. this.table1.Add(this.searchBox);
  148. Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.searchBox]));
  149. w4.LeftAttach = ((uint)(1));
  150. w4.RightAttach = ((uint)(2));
  151. w4.YOptions = ((Gtk.AttachOptions)(4));
  152. // Container child table1.Gtk.Table+TableChild
  153. this.searchUserBox = new Gtk.Entry();
  154. this.searchUserBox.CanFocus = true;
  155. this.searchUserBox.Name = "searchUserBox";
  156. this.searchUserBox.IsEditable = true;
  157. this.searchUserBox.InvisibleChar = '•';
  158. this.table1.Add(this.searchUserBox);
  159. Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.searchUserBox]));
  160. w5.TopAttach = ((uint)(1));
  161. w5.BottomAttach = ((uint)(2));
  162. w5.LeftAttach = ((uint)(1));
  163. w5.RightAttach = ((uint)(2));
  164. w5.YOptions = ((Gtk.AttachOptions)(4));
  165. // Container child table1.Gtk.Table+TableChild
  166. this.typeBox = Gtk.ComboBox.NewText();
  167. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Qualsias"));
  168. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Audio"));
  169. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Video"));
  170. this.typeBox.AppendText(Mono.Unix.Catalog.GetString("Libro"));
  171. this.typeBox.Name = "typeBox";
  172. this.typeBox.Active = 0;
  173. this.table1.Add(this.typeBox);
  174. Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.typeBox]));
  175. w6.LeftAttach = ((uint)(2));
  176. w6.RightAttach = ((uint)(3));
  177. w6.XOptions = ((Gtk.AttachOptions)(4));
  178. w6.YOptions = ((Gtk.AttachOptions)(4));
  179. this.vbox3.Add(this.table1);
  180. Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1]));
  181. w7.Position = 0;
  182. w7.Expand = false;
  183. w7.Fill = false;
  184. // Container child vbox3.Gtk.Box+BoxChild
  185. this.GtkScrolledWindow = new Gtk.ScrolledWindow();
  186. this.GtkScrolledWindow.Name = "GtkScrolledWindow";
  187. this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
  188. // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
  189. this.filelist = new Gtk.TreeView();
  190. this.filelist.CanFocus = true;
  191. this.filelist.Name = "filelist";
  192. this.GtkScrolledWindow.Add(this.filelist);
  193. this.vbox3.Add(this.GtkScrolledWindow);
  194. Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
  195. w9.Position = 1;
  196. this.notebook1.Add(this.vbox3);
  197. // Notebook tab
  198. this.label1 = new Gtk.Label();
  199. this.label1.Name = "label1";
  200. this.label1.LabelProp = Mono.Unix.Catalog.GetString("Ricerca");
  201. this.notebook1.SetTabLabel(this.vbox3, this.label1);
  202. this.label1.ShowAll();
  203. // Container child notebook1.Gtk.Notebook+NotebookChild
  204. this.vbox2 = new Gtk.VBox();
  205. this.vbox2.Name = "vbox2";
  206. this.vbox2.Spacing = 6;
  207. // Container child vbox2.Gtk.Box+BoxChild
  208. this.GtkScrolledWindow1 = new Gtk.ScrolledWindow();
  209. this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
  210. this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
  211. // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
  212. this.tasklist = new Gtk.TreeView();
  213. this.tasklist.CanFocus = true;
  214. this.tasklist.Name = "tasklist";
  215. this.GtkScrolledWindow1.Add(this.tasklist);
  216. this.vbox2.Add(this.GtkScrolledWindow1);
  217. Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow1]));
  218. w12.Position = 0;
  219. // Container child vbox2.Gtk.Box+BoxChild
  220. this.hbox2 = new Gtk.HBox();
  221. this.hbox2.Name = "hbox2";
  222. this.hbox2.Spacing = 6;
  223. this.hbox2.BorderWidth = ((uint)(4));
  224. // Container child hbox2.Gtk.Box+BoxChild
  225. this.label2 = new Gtk.Label();
  226. this.label2.Name = "label2";
  227. this.label2.LabelProp = Mono.Unix.Catalog.GetString("Scarica in");
  228. this.hbox2.Add(this.label2);
  229. Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.label2]));
  230. w13.Position = 0;
  231. w13.Expand = false;
  232. w13.Fill = false;
  233. // Container child hbox2.Gtk.Box+BoxChild
  234. this.downloadpathchooser = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Seleziona una cartella"), ((Gtk.FileChooserAction)(2)));
  235. this.downloadpathchooser.Name = "downloadpathchooser";
  236. this.hbox2.Add(this.downloadpathchooser);
  237. Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.downloadpathchooser]));
  238. w14.Position = 1;
  239. this.vbox2.Add(this.hbox2);
  240. Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
  241. w15.Position = 1;
  242. w15.Expand = false;
  243. w15.Fill = false;
  244. this.notebook1.Add(this.vbox2);
  245. Gtk.Notebook.NotebookChild w16 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox2]));
  246. w16.Position = 1;
  247. // Notebook tab
  248. this.label3 = new Gtk.Label();
  249. this.label3.Name = "label3";
  250. this.label3.LabelProp = Mono.Unix.Catalog.GetString("Download");
  251. this.notebook1.SetTabLabel(this.vbox2, this.label3);
  252. this.label3.ShowAll();
  253. // Container child notebook1.Gtk.Notebook+NotebookChild
  254. this.table2 = new Gtk.Table(((uint)(5)), ((uint)(2)), false);
  255. this.table2.Name = "table2";
  256. this.table2.RowSpacing = ((uint)(6));
  257. this.table2.ColumnSpacing = ((uint)(6));
  258. this.table2.BorderWidth = ((uint)(5));
  259. // Container child table2.Gtk.Table+TableChild
  260. this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  261. this.alignment1.Name = "alignment1";
  262. // Container child alignment1.Gtk.Container+ContainerChild
  263. this.label10 = new Gtk.Label();
  264. this.label10.Name = "label10";
  265. this.label10.Xalign = 0F;
  266. this.label10.LabelProp = Mono.Unix.Catalog.GetString("<b>Utility</b>");
  267. this.label10.UseMarkup = true;
  268. this.alignment1.Add(this.label10);
  269. this.table2.Add(this.alignment1);
  270. Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table2[this.alignment1]));
  271. w18.TopAttach = ((uint)(3));
  272. w18.BottomAttach = ((uint)(4));
  273. w18.XOptions = ((Gtk.AttachOptions)(4));
  274. w18.YOptions = ((Gtk.AttachOptions)(4));
  275. // Container child table2.Gtk.Table+TableChild
  276. this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  277. this.alignment2.Name = "alignment2";
  278. // Container child alignment2.Gtk.Container+ContainerChild
  279. this.label5 = new Gtk.Label();
  280. this.label5.Name = "label5";
  281. this.label5.Xalign = 0F;
  282. this.label5.LabelProp = Mono.Unix.Catalog.GetString("<b>Configurazione</b>");
  283. this.label5.UseMarkup = true;
  284. this.alignment2.Add(this.label5);
  285. this.table2.Add(this.alignment2);
  286. Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.alignment2]));
  287. w20.XOptions = ((Gtk.AttachOptions)(4));
  288. w20.YOptions = ((Gtk.AttachOptions)(4));
  289. // Container child table2.Gtk.Table+TableChild
  290. this.button182 = new Gtk.Button();
  291. this.button182.CanFocus = true;
  292. this.button182.Name = "button182";
  293. this.button182.UseUnderline = true;
  294. this.button182.Label = Mono.Unix.Catalog.GetString("Disconnetti");
  295. this.table2.Add(this.button182);
  296. Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.button182]));
  297. w21.TopAttach = ((uint)(1));
  298. w21.BottomAttach = ((uint)(2));
  299. w21.LeftAttach = ((uint)(1));
  300. w21.RightAttach = ((uint)(2));
  301. w21.XOptions = ((Gtk.AttachOptions)(4));
  302. w21.YOptions = ((Gtk.AttachOptions)(4));
  303. // Container child table2.Gtk.Table+TableChild
  304. this.button183 = new Gtk.Button();
  305. this.button183.CanFocus = true;
  306. this.button183.Name = "button183";
  307. this.button183.UseUnderline = true;
  308. this.button183.Label = Mono.Unix.Catalog.GetString("Aggiorna lista");
  309. this.table2.Add(this.button183);
  310. Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table2[this.button183]));
  311. w22.TopAttach = ((uint)(2));
  312. w22.BottomAttach = ((uint)(3));
  313. w22.LeftAttach = ((uint)(1));
  314. w22.RightAttach = ((uint)(2));
  315. w22.XOptions = ((Gtk.AttachOptions)(4));
  316. w22.YOptions = ((Gtk.AttachOptions)(4));
  317. // Container child table2.Gtk.Table+TableChild
  318. this.button184 = new Gtk.Button();
  319. this.button184.CanFocus = true;
  320. this.button184.Name = "button184";
  321. this.button184.UseUnderline = true;
  322. this.button184.Label = Mono.Unix.Catalog.GetString("Carica file");
  323. this.table2.Add(this.button184);
  324. Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table2[this.button184]));
  325. w23.TopAttach = ((uint)(4));
  326. w23.BottomAttach = ((uint)(5));
  327. w23.LeftAttach = ((uint)(1));
  328. w23.RightAttach = ((uint)(2));
  329. w23.XOptions = ((Gtk.AttachOptions)(4));
  330. w23.YOptions = ((Gtk.AttachOptions)(4));
  331. // Container child table2.Gtk.Table+TableChild
  332. this.filechooserbutton1 = new Gtk.FileChooserButton(Mono.Unix.Catalog.GetString("Seleziona un file"), ((Gtk.FileChooserAction)(0)));
  333. this.filechooserbutton1.Name = "filechooserbutton1";
  334. this.table2.Add(this.filechooserbutton1);
  335. Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table2[this.filechooserbutton1]));
  336. w24.TopAttach = ((uint)(4));
  337. w24.BottomAttach = ((uint)(5));
  338. w24.XOptions = ((Gtk.AttachOptions)(4));
  339. w24.YOptions = ((Gtk.AttachOptions)(4));
  340. // Container child table2.Gtk.Table+TableChild
  341. this.label8 = new Gtk.Label();
  342. this.label8.Name = "label8";
  343. this.label8.LabelProp = Mono.Unix.Catalog.GetString("Il programma chiederà nuovamente utente e password quando necessario");
  344. this.label8.Wrap = true;
  345. this.table2.Add(this.label8);
  346. Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table2[this.label8]));
  347. w25.TopAttach = ((uint)(1));
  348. w25.BottomAttach = ((uint)(2));
  349. w25.YOptions = ((Gtk.AttachOptions)(4));
  350. // Container child table2.Gtk.Table+TableChild
  351. this.label9 = new Gtk.Label();
  352. this.label9.Name = "label9";
  353. 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.");
  354. this.label9.Wrap = true;
  355. this.table2.Add(this.label9);
  356. Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table2[this.label9]));
  357. w26.TopAttach = ((uint)(2));
  358. w26.BottomAttach = ((uint)(3));
  359. w26.YOptions = ((Gtk.AttachOptions)(4));
  360. this.notebook1.Add(this.table2);
  361. Gtk.Notebook.NotebookChild w27 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table2]));
  362. w27.Position = 2;
  363. // Notebook tab
  364. this.label7 = new Gtk.Label();
  365. this.label7.Name = "label7";
  366. this.label7.LabelProp = Mono.Unix.Catalog.GetString("Strumenti");
  367. this.notebook1.SetTabLabel(this.table2, this.label7);
  368. this.label7.ShowAll();
  369. this.vbox1.Add(this.notebook1);
  370. Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
  371. w28.Position = 0;
  372. // Container child vbox1.Gtk.Box+BoxChild
  373. this.dizzystatus = new Gtk.Statusbar();
  374. this.dizzystatus.Name = "dizzystatus";
  375. this.dizzystatus.Spacing = 6;
  376. this.vbox1.Add(this.dizzystatus);
  377. Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox1[this.dizzystatus]));
  378. w29.Position = 1;
  379. w29.Expand = false;
  380. w29.Fill = false;
  381. this.Add(this.vbox1);
  382. if ((this.Child != null)) {
  383. this.Child.ShowAll();
  384. }
  385. this.Show();
  386. this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
  387. this.button1.Clicked += new System.EventHandler(this.OnSearchRequested);
  388. this.filelist.RowActivated += new Gtk.RowActivatedHandler(this.OnRowActivated);
  389. this.downloadpathchooser.SelectionChanged += new System.EventHandler(this.OnDownloadPathSelectionChanged);
  390. this.button183.Clicked += new System.EventHandler(this.OnListUpdateRequired);
  391. this.button182.Clicked += new System.EventHandler(this.OnDisconnectionRequested);
  392. }
  393. }