Skip to content

Commit

Permalink
layout-editor: Simplify UI/labels, center dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Jun 12, 2024
1 parent 41e97e6 commit 640a3ff
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions action-layout-editor/nemo-action-layout-editor.glade
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.40.0 -->
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.24"/>
<object class="GtkImage" id="image2">
Expand Down Expand Up @@ -73,13 +73,13 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">Add or remove submenus and separators.</property>
<child>
<object class="GtkMenuButton" id="new_row_button">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="focus-on-click">False</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Add a submenu or a separator</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
Expand All @@ -99,6 +99,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Remove</property>
<property name="image">image2</property>
</object>
<packing>
Expand Down Expand Up @@ -126,7 +127,6 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">You can change how an action appears in the menu by modifying its icon and label.</property>
<child>
<object class="GtkMenuButton" id="icon_selector_menu_button">
<property name="visible">True</property>
Expand All @@ -137,6 +137,7 @@
<object class="GtkImage" id="icon_selector_image">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">Icon</property>
</object>
</child>
</object>
Expand All @@ -150,13 +151,14 @@
<object class="GtkEntry" id="name_entry">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="tooltip-text" translatable="yes">Label</property>
<property name="valign">center</property>
<property name="width-chars">36</property>
<property name="secondary-icon-name">edit-delete-symbolic</property>
<property name="primary-icon-activatable">False</property>
<property name="primary-icon-sensitive">False</property>
<property name="secondary-icon-tooltip-text" translatable="yes">Restore this action's original label.</property>
<property name="secondary-icon-tooltip-markup" translatable="yes">Restore this action&amp;apos;s original label.</property>
<property name="secondary-icon-tooltip-text" translatable="yes">Restore the original label</property>
<property name="secondary-icon-tooltip-markup" translatable="yes">Restore the original label</property>
</object>
<packing>
<property name="expand">True</property>
Expand All @@ -183,7 +185,7 @@
<object class="GtkSwitch" id="action_enabled_switch">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="tooltip-text" translatable="yes">Enable or disable the current action. You can also double-click an action in the tree view.</property>
<property name="tooltip-text" translatable="yes">Enabled</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
Expand Down Expand Up @@ -247,11 +249,10 @@
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="save_button">
<property name="label" translatable="yes">Save Layout</property>
<property name="label" translatable="yes">Save</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Saves the current layout.</property>
<style>
<class name="suggested-action"/>
</style>
Expand All @@ -265,11 +266,10 @@
</child>
<child>
<object class="GtkButton" id="discard_changes_button">
<property name="label" translatable="yes">Discard changes</property>
<property name="label" translatable="yes">Cancel</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Discards any changes since the last save.</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -284,7 +284,6 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Removes all action and menu customizations.</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -310,6 +309,7 @@
<object class="GtkWindow" id="main_window">
<property name="can-focus">False</property>
<property name="border-width">10</property>
<property name="window-position">center</property>
<property name="default-width">600</property>
<property name="default-height">400</property>
<property name="icon-name">nemo</property>
Expand Down

0 comments on commit 640a3ff

Please sign in to comment.