add new equinox features to UI

parent 3431a127
......@@ -2483,7 +2483,7 @@
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">36</property>
<property name="top_attach">40</property>
</packing>
</child>
<child>
......@@ -2501,7 +2501,7 @@
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">37</property>
<property name="top_attach">41</property>
</packing>
</child>
<child>
......@@ -2513,7 +2513,7 @@
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">36</property>
<property name="top_attach">40</property>
</packing>
</child>
<child>
......@@ -2527,7 +2527,23 @@
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">37</property>
<property name="top_attach">41</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="style.label.bash44">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">4.4+</property>
<property name="angle">90</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">40</property>
<property name="height">2</property>
</packing>
</child>
<child>
......@@ -2537,6 +2553,19 @@
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">39</property>
<property name="width">3</property>
</packing>
</child>
<child>
<object class="GtkSeparator" id="separator19">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">35</property>
......@@ -2544,10 +2573,10 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="style.label.bash44">
<object class="GtkLabel" id="style.label.equinox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">4.4+</property>
<property name="label" translatable="yes">Equinox</property>
<property name="angle">90</property>
<attributes>
<attribute name="weight" value="bold"/>
......@@ -2556,7 +2585,91 @@
<packing>
<property name="left_attach">0</property>
<property name="top_attach">36</property>
<property name="height">2</property>
<property name="height">3</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="equinox_systemload">
<property name="label" translatable="yes">Display system load</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">36</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="equinox_cpuload">
<property name="label" translatable="yes">Display cpu load</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">36</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="equinox_proc">
<property name="label" translatable="yes">Display number of running jobs</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">37</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="equinox_ram">
<property name="label" translatable="yes">Display memory</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">37</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="equinox_lastcmd">
<property name="label" translatable="yes">checkbutton</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">38</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="equinox_uptime">
<property name="label" translatable="yes">Display uptime</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">38</property>
</packing>
</child>
<child>
......
......@@ -68,14 +68,6 @@ class BashStyleNG(object):
WidgetHandler.InitWidget("grep_colour", "Style", "grep_color", "combo", dicts.grep_colors)
WidgetHandler.InitWidget("colorshell", "Style", "colorshell", "bool", None)
WidgetHandler.InitWidget("colorshell_reset", "Style", "colorshell_reset", "bool", None)
WidgetHandler.InitWidget("show_files_amount", "Style", "files_amount", "bool", None)
WidgetHandler.InitWidget("show_uptime", "Style", "uptime", "bool", None)
WidgetHandler.InitWidget("show_file_size", "Style", "files_size", "bool", None)
WidgetHandler.InitWidget("show_tty", "Style", "tty", "bool", None)
WidgetHandler.InitWidget("show_processes", "Style", "processes", "bool", None)
WidgetHandler.InitWidget("show_load", "Style", "load", "bool", None)
WidgetHandler.InitWidget("show_battery", "Style", "battery_load", "bool", None)
WidgetHandler.InitWidget("show_mem", "Style", "mem", "combo", dicts.memory_types)
WidgetHandler.InitWidget("color_date", "Style", "color_date", "combo", dicts.colors)
WidgetHandler.InitWidget("color_font", "Style", "color_font", "combo", dicts.colors)
WidgetHandler.InitWidget("color_host", "Style", "color_host", "combo", dicts.colors)
......@@ -90,6 +82,22 @@ class BashStyleNG(object):
WidgetHandler.InitWidget("color_user", "Style", "color_user", "combo", dicts.colors)
WidgetHandler.InitWidget("color_wdir", "Style", "color_wdir", "combo", dicts.colors)
WidgetHandler.InitWidget("show_files_amount", "Style", "files_amount", "bool", None)
WidgetHandler.InitWidget("show_uptime", "Style", "uptime", "bool", None)
WidgetHandler.InitWidget("show_file_size", "Style", "files_size", "bool", None)
WidgetHandler.InitWidget("show_tty", "Style", "tty", "bool", None)
WidgetHandler.InitWidget("show_processes", "Style", "processes", "bool", None)
WidgetHandler.InitWidget("show_load", "Style", "load", "bool", None)
WidgetHandler.InitWidget("show_battery", "Style", "battery_load", "bool", None)
WidgetHandler.InitWidget("show_mem", "Style", "mem", "combo", dicts.memory_types)
WidgetHandler.InitWidget("equinox_systemload", "Style", "equinox_systemload", "bool", None)
WidgetHandler.InitWidget("equinox_cpuload", "Style", "equinox_cpuload", "bool", None)
WidgetHandler.InitWidget("equinox_ram", "Style", "equinox_ram", "bool", None)
WidgetHandler.InitWidget("equinox_proc", "Style", "equinox_proc", "bool", None)
WidgetHandler.InitWidget("equinox_lastcmd", "Style", "equinox_lastcmd", "bool", None)
WidgetHandler.InitWidget("equinox_uptime", "Style", "equinox_uptime", "bool", None)
####################### Aliases ####################################################
WidgetHandler.InitWidget("alias1", "Alias", "alias_one", "text", None)
WidgetHandler.InitWidget("alias2", "Alias", "alias_two", "text", None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment