nautilus-file-name-dialog.ui 3.27 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.14"/>
4
  <object class="GtkDialog" id="file_name_dialog">
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
    <property name="resizable">False</property>
    <property name="modal">True</property>
    <property name="window_position">center-on-parent</property>
    <property name="destroy_with_parent">True</property>
    <property name="type_hint">dialog</property>
    <property name="use-header-bar">1</property>
    <property name="width_request">450</property>
    <child internal-child="vbox">
      <object class="GtkBox" id="vbox">
        <property name="orientation">vertical</property>
        <property name="margin_top">16</property>
        <property name="margin_bottom">12</property>
        <property name="margin_start">24</property>
        <property name="margin_end">24</property>
        <property name="spacing">12</property>
        <child>
21
          <object class="GtkLabel" id="name_label">
22 23 24 25 26 27 28 29 30 31 32 33 34
            <property name="visible">True</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkEntry" id="name_entry">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
35 36
            <signal name="notify::text" handler="nautilus_view_file_name_dialog_entry_on_validate" swapped="no" />
            <signal name="activate" handler="nautilus_view_file_name_dialog_entry_on_activate" swapped="no" />
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="error_label">
            <property name="visible">True</property>
            <property name="xalign">0</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
        </child>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="cancel_button">
        <property name="label" translatable="yes">Cancel</property>
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
      </object>
    </child>
    <child type="action">
69
      <object class="GtkButton" id="ok_button">
70 71 72 73 74 75 76 77
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="can_default">True</property>
        <property name="receives_default">True</property>
        <property name="sensitive">False</property>
      </object>
    </child>
    <action-widgets>
78
      <action-widget response="ok" default="true">ok_button</action-widget>
79 80 81 82
      <action-widget response="cancel">cancel_button</action-widget>
    </action-widgets>
  </object>
</interface>