querysavedialog.ui 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.20.2 -->
  3. <interface domain="sfx">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkMessageDialog" id="QuerySaveDialog">
  6. <property name="can_focus">False</property>
  7. <property name="title" translatable="yes" context="querysavedialog|QuerySaveDialog">Save Document?</property>
  8. <property name="resizable">False</property>
  9. <property name="modal">True</property>
  10. <property name="type_hint">dialog</property>
  11. <property name="skip_taskbar_hint">True</property>
  12. <property name="message_type">warning</property>
  13. <property name="text" translatable="yes" context="querysavedialog|QuerySaveDialog">Save changes to document “$(DOC)” before closing?</property>
  14. <property name="secondary_text" translatable="yes" context="querysavedialog|QuerySaveDialog">Your changes will be lost if you don’t save them.</property>
  15. <child internal-child="vbox">
  16. <object class="GtkBox" id="messagedialog-vbox">
  17. <property name="can_focus">False</property>
  18. <property name="orientation">vertical</property>
  19. <property name="spacing">12</property>
  20. <child internal-child="action_area">
  21. <object class="GtkButtonBox" id="messagedialog-action_area">
  22. <property name="can_focus">False</property>
  23. <child>
  24. <object class="GtkButton" id="discard">
  25. <property name="label" translatable="yes" context="querysavedialog|discard">Do_n’t Save</property>
  26. <property name="visible">True</property>
  27. <property name="can_focus">True</property>
  28. <property name="receives_default">True</property>
  29. <property name="use_underline">True</property>
  30. </object>
  31. <packing>
  32. <property name="expand">False</property>
  33. <property name="fill">True</property>
  34. <property name="position">0</property>
  35. </packing>
  36. </child>
  37. <child>
  38. <object class="GtkButton" id="cancel">
  39. <property name="label">gtk-cancel</property>
  40. <property name="visible">True</property>
  41. <property name="can_focus">True</property>
  42. <property name="receives_default">True</property>
  43. <property name="use_stock">True</property>
  44. </object>
  45. <packing>
  46. <property name="expand">False</property>
  47. <property name="fill">True</property>
  48. <property name="position">1</property>
  49. </packing>
  50. </child>
  51. <child>
  52. <object class="GtkButton" id="save">
  53. <property name="label">gtk-save</property>
  54. <property name="visible">True</property>
  55. <property name="can_focus">True</property>
  56. <property name="can_default">True</property>
  57. <property name="has_default">True</property>
  58. <property name="receives_default">True</property>
  59. <property name="use_stock">True</property>
  60. </object>
  61. <packing>
  62. <property name="expand">False</property>
  63. <property name="fill">True</property>
  64. <property name="position">2</property>
  65. </packing>
  66. </child>
  67. </object>
  68. <packing>
  69. <property name="expand">False</property>
  70. <property name="fill">True</property>
  71. <property name="pack_type">end</property>
  72. <property name="position">0</property>
  73. </packing>
  74. </child>
  75. </object>
  76. </child>
  77. <action-widgets>
  78. <action-widget response="-9">discard</action-widget>
  79. <action-widget response="-6">cancel</action-widget>
  80. <action-widget response="-8">save</action-widget>
  81. </action-widgets>
  82. </object>
  83. </interface>