~ubuntu-app-review-contributors/ubuntu-app-reviews/cookety-app

« back to all changes in this revision

Viewing changes to data/ui/WinImprtJSON.ui

  • Committer: App Bot
  • Author(s): William Culver
  • Date: 2012-07-09 23:16:55 UTC
  • Revision ID: appbot@holba.ch-20120709231655-ie04655fgq5r3z5w
Tags: 12.07.6
New release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<interface>
 
3
  <!-- interface-requires gtk+ 3.0 -->
 
4
  <!-- interface-requires cookety_app_ui 1.0 -->
 
5
  <object class="GtkTextBuffer" id="textbuffer1">
 
6
    <property name="text" translatable="yes">{
 
7
   "recipeheader" : {
 
8
         "recipeCategory" :  1,
 
9
         "recipeTitle" :  "*TITLE*",
 
10
         "recipeDesc"  :  "*DESCRIPTION HERE*",
 
11
         "recipeURL"   :  "*URL HERE*",
 
12
         "recipeCredit":  "*CREDIT AUTHOR HERE*",
 
13
         "recipeIMG"   :  "default.jpg"
 
14
   },
 
15
   "recipeIngredients" : [
 
16
      { "name": "*NAME HERE*", "quantity" : "*QUANTITY HERE*", "units": "'*None*" }
 
17
 
 
18
   ],
 
19
   "recipeMethods"   : [
 
20
      { "desc" : "*DESCRIPTION HERE*", "time": "*TIME HERE*" }
 
21
         
 
22
   ]
 
23
}</property>
 
24
  </object>
 
25
  <object class="WinImprtJSONGtk" id="win_imprt_jsn">
 
26
    <property name="width_request">400</property>
 
27
    <property name="height_request">500</property>
 
28
    <property name="can_focus">False</property>
 
29
    <property name="border_width">5</property>
 
30
    <property name="type_hint">dialog</property>
 
31
    <child internal-child="vbox">
 
32
      <object class="GtkBox" id="dialog-vbox1">
 
33
        <property name="can_focus">False</property>
 
34
        <property name="orientation">vertical</property>
 
35
        <property name="spacing">2</property>
 
36
        <child>
 
37
          <object class="GtkBox" id="box1">
 
38
            <property name="visible">True</property>
 
39
            <property name="can_focus">False</property>
 
40
            <property name="orientation">vertical</property>
 
41
            <child>
 
42
              <object class="GtkLabel" id="label1">
 
43
                <property name="visible">True</property>
 
44
                <property name="can_focus">False</property>
 
45
                <property name="label" translatable="yes">Recipe Import (EXPERIMENTAL)
 
46
Caution: Dragons Ahead...
 
47
Directions: Edit this file and click import. Whereever you see asterisks you may remove and replace inside and including them.  
 
48
This document is in JSON format. For more information please search for 'JSON' online and make sure this is well formed.
 
49
You may add as many Ingredients and Methods elements as you wish.
 
50
</property>
 
51
                <property name="wrap">True</property>
 
52
                <attributes>
 
53
                  <attribute name="weight" value="semibold"/>
 
54
                </attributes>
 
55
              </object>
 
56
              <packing>
 
57
                <property name="expand">False</property>
 
58
                <property name="fill">True</property>
 
59
                <property name="position">0</property>
 
60
              </packing>
 
61
            </child>
 
62
            <child>
 
63
              <object class="GtkTextView" id="textview1">
 
64
                <property name="visible">True</property>
 
65
                <property name="can_focus">True</property>
 
66
                <property name="wrap_mode">word</property>
 
67
                <property name="justification">fill</property>
 
68
                <property name="buffer">textbuffer1</property>
 
69
              </object>
 
70
              <packing>
 
71
                <property name="expand">True</property>
 
72
                <property name="fill">True</property>
 
73
                <property name="position">1</property>
 
74
              </packing>
 
75
            </child>
 
76
          </object>
 
77
          <packing>
 
78
            <property name="expand">True</property>
 
79
            <property name="fill">True</property>
 
80
            <property name="position">0</property>
 
81
          </packing>
 
82
        </child>
 
83
        <child internal-child="action_area">
 
84
          <object class="GtkButtonBox" id="dialog-action_area1">
 
85
            <property name="can_focus">False</property>
 
86
            <property name="layout_style">end</property>
 
87
            <child>
 
88
              <object class="GtkButton" id="bt_import">
 
89
                <property name="label" translatable="yes">Import</property>
 
90
                <property name="use_action_appearance">False</property>
 
91
                <property name="visible">True</property>
 
92
                <property name="can_focus">True</property>
 
93
                <property name="receives_default">True</property>
 
94
                <property name="use_action_appearance">False</property>
 
95
              </object>
 
96
              <packing>
 
97
                <property name="expand">False</property>
 
98
                <property name="fill">True</property>
 
99
                <property name="position">0</property>
 
100
              </packing>
 
101
            </child>
 
102
            <child>
 
103
              <object class="GtkButton" id="bt_cancel">
 
104
                <property name="label" translatable="yes">Cancel</property>
 
105
                <property name="use_action_appearance">False</property>
 
106
                <property name="visible">True</property>
 
107
                <property name="can_focus">True</property>
 
108
                <property name="receives_default">True</property>
 
109
                <property name="use_action_appearance">False</property>
 
110
              </object>
 
111
              <packing>
 
112
                <property name="expand">False</property>
 
113
                <property name="fill">True</property>
 
114
                <property name="position">1</property>
 
115
              </packing>
 
116
            </child>
 
117
          </object>
 
118
          <packing>
 
119
            <property name="expand">False</property>
 
120
            <property name="fill">True</property>
 
121
            <property name="pack_type">end</property>
 
122
            <property name="position">0</property>
 
123
          </packing>
 
124
        </child>
 
125
      </object>
 
126
    </child>
 
127
    <action-widgets>
 
128
      <action-widget response="0">bt_import</action-widget>
 
129
      <action-widget response="0">bt_cancel</action-widget>
 
130
    </action-widgets>
 
131
  </object>
 
132
</interface>