fix that from UI both lscd and treecd could be enabled

parent 88623049
......@@ -41,6 +41,10 @@ given path, returns @code{1} if none found at all.
@item @code{lscd} and @code{treecd} changes:
@itemize x
@item in the user interface you could previously enable both @code{lscd} and @code{treecd},
which is of course not supported, so if both were enabled, @code{lscd} was used, always. This
is fixed now, as the user interface now only lets enable one or the other, not both.
@item nicer banner shown after cd-ing
@item truncate output if more than 35 items would be displayed, also show how many
......
......@@ -3030,36 +3030,6 @@
<property name="top_attach">7</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="customcd_mkdir">
<property name="label" translatable="yes">lscd/treecd: create directory</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">6</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="enable_treecd">
<property name="label" translatable="yes">Use treecd in favour of cd</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0.5</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">7</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="advanced.lable.histroy_size">
<property name="visible">True</property>
......@@ -3216,21 +3186,6 @@
<property name="top_attach">4</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="enable_lscd">
<property name="label" translatable="yes">Use lscd in favour of cd</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0.51999998092651367</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="advanced.label.bash44">
<property name="visible">True</property>
......@@ -3769,6 +3724,50 @@
<property name="top_attach">17</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="enable_lscd">
<property name="label" translatable="yes">Use lscd in favour of cd</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">enable_treecd</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">6</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="enable_treecd">
<property name="label" translatable="yes">Use treecd in favour of cd</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="draw_indicator">True</property>
<property name="group">enable_lscd</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">7</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="customcd_mkdir">
<property name="label" translatable="yes">lscd/treecd: create directory</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">6</property>
</packing>
</child>
<child>
<placeholder/>
</child>
......
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