|
@@ -275,6 +275,17 @@ public final class PreferencesDialog implements PreferencesInterface {
|
275
|
275
|
preferencesPanel.addCheckboxOption(tabName, "ui.showinlist",
|
276
|
276
|
"Show colours in nick list: ", "Show nickname colours in the nicklist",
|
277
|
277
|
Config.getOptionBool("ui", "shownickcoloursinnicklist"));
|
|
278
|
+ preferencesPanel.addComboboxOption(tabName, "ui.framemanager",
|
|
279
|
+ "Frame manager: ", "Which frame manager should be used",
|
|
280
|
+ new String[]{"treeview", "buttonbar", },
|
|
281
|
+ Config.getOption("ui", "framemanager", "treeview"), false);
|
|
282
|
+ preferencesPanel.addComboboxOption(tabName, "ui.framemanagerPosition",
|
|
283
|
+ "Frame manager position: ", "Where should the frame manager be positioned",
|
|
284
|
+ new String[]{"top", "bottom", "left", "right"},
|
|
285
|
+ Config.getOption("ui", "framemanagerPosition", "left"), false);
|
|
286
|
+ preferencesPanel.addCheckboxOption(tabName, "ui.stylelinks",
|
|
287
|
+ "Style links: ", "Style links in the textpane",
|
|
288
|
+ Config.getOptionBool("ui", "stylelinks"));
|
278
|
289
|
}
|
279
|
290
|
|
280
|
291
|
/**
|
|
@@ -339,6 +350,19 @@ public final class PreferencesDialog implements PreferencesInterface {
|
339
|
350
|
preferencesPanel.addCheckboxOption(tabName, "treeview.sortservers",
|
340
|
351
|
"Sort servers: ", "Sort servers in the treeview",
|
341
|
352
|
Config.getOptionBool("treeview", "sortservers"));
|
|
353
|
+ preferencesPanel.addCheckboxOption(tabName, "ui.treeviewActiveBold",
|
|
354
|
+ "Active node bold: ", "Show the active node in bold",
|
|
355
|
+ Config.getOptionBool("ui", "treeviewActiveBold"));
|
|
356
|
+ preferencesPanel.addOptionalColourOption(tabName, "ui.treeviewActiveForeground",
|
|
357
|
+ "Active node foreground: ", "Foreground colour of the active node",
|
|
358
|
+ Config.getOption("treeview", "treeviewActiveForeground",
|
|
359
|
+ Config.getOption("treeview", "foregroundcolour", "")),
|
|
360
|
+ false, true, true);
|
|
361
|
+ preferencesPanel.addOptionalColourOption(tabName, "ui.treeviewActiveBackground",
|
|
362
|
+ "Active node background: ", "Background colour of the active node",
|
|
363
|
+ Config.getOption("treeview", "treeviewActiveBackground",
|
|
364
|
+ Config.getOption("treeview", "backgroundcolour", "")),
|
|
365
|
+ false, true, true);
|
342
|
366
|
}
|
343
|
367
|
|
344
|
368
|
/**
|