alreadyexistsdialog.ui 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="sw">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkMessageDialog" id="AlreadyExistsDialog">
  6. <property name="can_focus">False</property>
  7. <property name="title" translatable="yes" context="alreadyexistsdialog|AlreadyExistsDialog">File already exists</property>
  8. <property name="default_width">0</property>
  9. <property name="default_height">0</property>
  10. <property name="type_hint">dialog</property>
  11. <property name="message_type">warning</property>
  12. <property name="text" translatable="yes" context="alreadyexistsdialog|textbuffer1">A document with the name '%1' already exists.</property>
  13. <property name="secondary_text" translatable="yes" context="alreadyexistsdialog|textbuffer2">Please save this document under a different name.</property>
  14. <child internal-child="vbox">
  15. <object class="GtkBox">
  16. <property name="can_focus">False</property>
  17. <property name="orientation">vertical</property>
  18. <property name="spacing">24</property>
  19. <child internal-child="action_area">
  20. <object class="GtkButtonBox">
  21. <property name="can_focus">False</property>
  22. <child>
  23. <object class="GtkButton" id="cancel">
  24. <property name="label">gtk-cancel</property>
  25. <property name="visible">True</property>
  26. <property name="can_focus">True</property>
  27. <property name="receives_default">False</property>
  28. <property name="use_stock">True</property>
  29. </object>
  30. <packing>
  31. <property name="expand">True</property>
  32. <property name="fill">True</property>
  33. <property name="position">0</property>
  34. </packing>
  35. </child>
  36. <child>
  37. <object class="GtkButton" id="ok">
  38. <property name="label">gtk-ok</property>
  39. <property name="visible">True</property>
  40. <property name="can_focus">True</property>
  41. <property name="can_default">True</property>
  42. <property name="has_default">True</property>
  43. <property name="receives_default">True</property>
  44. <property name="use_stock">True</property>
  45. </object>
  46. <packing>
  47. <property name="expand">True</property>
  48. <property name="fill">True</property>
  49. <property name="position">1</property>
  50. </packing>
  51. </child>
  52. </object>
  53. <packing>
  54. <property name="expand">False</property>
  55. <property name="fill">False</property>
  56. <property name="position">0</property>
  57. </packing>
  58. </child>
  59. <child>
  60. <!-- n-columns=1 n-rows=1 -->
  61. <object class="GtkGrid" id="grid">
  62. <property name="visible">True</property>
  63. <property name="can_focus">False</property>
  64. <property name="hexpand">True</property>
  65. <property name="row_spacing">7</property>
  66. <child>
  67. <object class="GtkEntry" id="edit1">
  68. <property name="visible">True</property>
  69. <property name="can_focus">True</property>
  70. <property name="hexpand">True</property>
  71. <property name="truncate-multiline">True</property>
  72. <property name="activates_default">True</property>
  73. </object>
  74. <packing>
  75. <property name="left_attach">0</property>
  76. <property name="top_attach">1</property>
  77. </packing>
  78. </child>
  79. <child>
  80. <object class="GtkLabel" id="label2">
  81. <property name="visible">True</property>
  82. <property name="can_focus">False</property>
  83. <property name="label" translatable="yes" context="alreadyexistsdialog|label1">Subject:</property>
  84. <property name="use_underline">True</property>
  85. <property name="mnemonic_widget">edit1</property>
  86. <property name="xalign">0</property>
  87. </object>
  88. <packing>
  89. <property name="left_attach">0</property>
  90. <property name="top_attach">0</property>
  91. </packing>
  92. </child>
  93. </object>
  94. <packing>
  95. <property name="expand">False</property>
  96. <property name="fill">True</property>
  97. <property name="position">2</property>
  98. </packing>
  99. </child>
  100. </object>
  101. </child>
  102. <action-widgets>
  103. <action-widget response="-6">cancel</action-widget>
  104. <action-widget response="-5">ok</action-widget>
  105. </action-widgets>
  106. </object>
  107. </interface>