~umang/indicator-stickynotes/trunk

« back to all changes in this revision

Viewing changes to StickyNotes.glade

  • Committer: Umang Varma
  • Date: 2015-07-02 16:43:01 UTC
  • Revision ID: git-v1:1888c61ea392380299497ed6ff1ec6ae87673a5f
Generate Gtk.MessageDialog from code instead of Glade

Most dialogs now have parents (settings being the only exception)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<interface>
4
4
  <requires lib="gtk+" version="3.0"/>
5
5
  <requires lib="gtksourceview" version="3.0"/>
6
 
  <object class="GtkMessageDialog" id="confirmDelete">
7
 
    <property name="can_focus">False</property>
8
 
    <property name="border_width">5</property>
9
 
    <property name="title" translatable="yes">Confirm delete</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">Are you sure you want to delete this note?</property>
14
 
    <child internal-child="vbox">
15
 
      <object class="GtkBox" id="messagedialog-vbox1">
16
 
        <property name="can_focus">False</property>
17
 
        <property name="orientation">vertical</property>
18
 
        <property name="spacing">2</property>
19
 
        <child internal-child="action_area">
20
 
          <object class="GtkButtonBox" id="messagedialog-action_area1">
21
 
            <property name="can_focus">False</property>
22
 
            <property name="layout_style">end</property>
23
 
            <child>
24
 
              <object class="GtkButton" id="bCancel">
25
 
                <property name="label">gtk-cancel</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_stock">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="bDelete">
39
 
                <property name="label">gtk-delete</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
 
          </object>
52
 
          <packing>
53
 
            <property name="expand">False</property>
54
 
            <property name="fill">True</property>
55
 
            <property name="pack_type">end</property>
56
 
            <property name="position">0</property>
57
 
          </packing>
58
 
        </child>
59
 
      </object>
60
 
    </child>
61
 
    <action-widgets>
62
 
      <action-widget response="0">bCancel</action-widget>
63
 
      <action-widget response="1">bDelete</action-widget>
64
 
    </action-widgets>
65
 
  </object>
66
6
  <object class="GtkImage" id="imgAdd">
67
7
    <property name="visible">True</property>
68
8
    <property name="can_focus">False</property>