AdblockMenu.ui 5.8 KB
Newer Older
Cédric Bellegarde's avatar
Cédric Bellegarde committed
1 2 3 4 5 6 7 8 9 10 11 12
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.3 -->
<interface>
  <requires lib="gtk+" version="3.20"/>
  <object class="GtkGrid" id="menu">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <child>
      <object class="GtkModelButton">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
Cédric Bellegarde's avatar
Cédric Bellegarde committed
13
        <property name="tooltip_text" translatable="yes">Do not filter current website content</property>
Cédric Bellegarde's avatar
Cédric Bellegarde committed
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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
        <property name="action_name">win.trust-websites-adblock</property>
        <property name="text" translatable="yes" context="Trust web sites">Trust web sites</property>
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">2</property>
      </packing>
    </child>
    <child>
      <object class="GtkModelButton">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="hexpand">True</property>
        <property name="text" translatable="yes">Block ads</property>
        <property name="menu_name">main</property>
        <property name="inverted">True</property>
        <property name="centered">True</property>
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">0</property>
      </packing>
    </child>
    <child>
      <object class="GtkGrid">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="column_spacing">4</property>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Block policy</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="left_attach">1</property>
            <property name="top_attach">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkSeparator">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="valign">center</property>
            <property name="hexpand">True</property>
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkSeparator">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="valign">center</property>
            <property name="hexpand">True</property>
          </object>
          <packing>
            <property name="left_attach">2</property>
            <property name="top_attach">0</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">3</property>
      </packing>
    </child>
    <child>
      <object class="GtkModelButton">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="action_name">win.adblock</property>
Allan Nordhøy's avatar
Allan Nordhøy committed
93
        <property name="tooltip-text" translatable="yes">Enable adblocking</property>
Cédric Bellegarde's avatar
Cédric Bellegarde committed
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
        <property name="text" translatable="yes" context="Adblock">Enabled</property>
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">1</property>
      </packing>
    </child>
    <child>
      <object class="GtkModelButton">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="action_name">win.adblock_exceptions</property>
        <property name="tooltip-text" translatable="yes">Block ads</property>
        <property name="text" translatable="yes">By default</property>
        <property name="action_target">"none"</property>
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">4</property>
      </packing>
    </child>
    <child>
      <object class="GtkModelButton">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="action_name">win.adblock_exceptions</property>
        <property name="action_target">"site"</property>
123 124
        <property name="tooltip-text" translatable="yes">Do not block ads on this site</property>
        <property name="text" translatable="yes">Not on this site</property>
Cédric Bellegarde's avatar
Cédric Bellegarde committed
125 126 127 128 129 130 131 132 133 134 135 136
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">5</property>
      </packing>
    </child>
    <child>
      <object class="GtkModelButton">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="action_name">win.adblock_exceptions</property>
137
        <property name="tooltip-text" translatable="yes">Do not block ads on this page</property>
Cédric Bellegarde's avatar
Cédric Bellegarde committed
138
        <property name="action_target">"page"</property>
139
        <property name="text" translatable="yes">Not on this page</property>
Cédric Bellegarde's avatar
Cédric Bellegarde committed
140 141 142 143 144 145 146 147
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">6</property>
      </packing>
    </child>
  </object>
</interface>