summaryrefslogtreecommitdiff
path: root/ui/bookmarks-button.ui
blob: 8b5fbf2c20de6fa7224bd10772535c38a866b603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
69
70
71
72
73
74
<interface>
  <object class="GtkPopover" id="popover">
    <property name="modal">yes</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">12</property>
        <property name="margin">12</property>
        <property name="visible">yes</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">12</property>
            <property name="margin">12</property>
            <property name="visible">yes</property>
            <child>
              <object class="GtkImage">
                <property name="icon-name">bookmark-new-symbolic</property>
                <property name="use-fallback">yes</property>
                <property name="visible">yes</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Edit Bookmark</property>
                <property name="wrap">yes</property>
                <property name="max-width-chars">33</property>
                <property name="hexpand">yes</property>
                <property name="visible">yes</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkEntry" id="entry_title">
            <property name="max-width-chars">33</property>
            <property name="visible">yes</property>
          </object>
        </child>
        <child>
          <object class="GtkActionBar">
            <property name="visible">yes</property>
            <child>
              <object class="GtkButton" id="button_remove">
                <property name="label" translatable="yes">_Remove Bookmark</property>
                <property name="use-underline">yes</property>
                <property name="visible">yes</property>
                <style>
                  <class name="destructive-action"/>
                </style>
              </object>
              <packing>
                <property name="pack-type">end</property>
              </packing>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
  <template class="BookmarksButton" parent="GtkButton">
    <property name="focus-on-click">no</property>
    <property name="action-name">win.bookmark-add</property>
    <property name="tooltip-text" translatable="yes">Add a new bookmark</property>
    <property name="visible">yes</property>
    <child>
      <object class="GtkImage">
        <property name="icon-name">bookmark-new-symbolic</property>
        <property name="use-fallback">yes</property>
        <property name="visible">yes</property>
      </object>
    </child>
  </template>
</interface>