1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
5
<widget class="GtkWindow" id="recCardDisplay">
6
<property name="title">Recipe Card</property>
7
<property name="default_width">730</property>
8
<property name="default_height">550</property>
9
<signal name="delete_event" handler="rcHide"/>
11
<widget class="GtkVBox" id="recipeDisplayMain">
12
<property name="width_request">600</property>
13
<property name="visible">True</property>
15
<widget class="GtkHBox" id="recipeDisplayTopBox">
16
<property name="visible">True</property>
18
<widget class="GtkLabel" id="titleDisplay">
19
<property name="visible">True</property>
20
<property name="xpad">12</property>
21
<property name="label"><b>An long example: </b></property>
22
<property name="use_markup">True</property>
23
<property name="use_underline">True</property>
24
<property name="wrap">True</property>
25
<property name="mnemonic_widget">titleDisplay</property>
29
<widget class="GtkButton" id="AddToShoppingListButton">
30
<property name="visible">True</property>
31
<property name="can_focus">True</property>
32
<property name="relief">GTK_RELIEF_HALF</property>
33
<property name="response_id">0</property>
34
<signal name="clicked" handler="shop_for_recipe"/>
36
<widget class="GtkAlignment" id="alignment37">
37
<property name="visible">True</property>
38
<property name="xscale">0</property>
39
<property name="yscale">0</property>
41
<widget class="GtkHBox" id="hbox41">
42
<property name="visible">True</property>
43
<property name="spacing">2</property>
45
<widget class="GtkImage" id="image1263">
46
<property name="visible">True</property>
47
<property name="stock">add-to-shopping-list</property>
50
<property name="expand">False</property>
51
<property name="fill">False</property>
55
<widget class="GtkLabel" id="label82">
56
<property name="visible">True</property>
57
<property name="label" translatable="yes">_Shop</property>
58
<property name="use_underline">True</property>
61
<property name="expand">False</property>
62
<property name="fill">False</property>
63
<property name="position">1</property>
72
<property name="expand">False</property>
73
<property name="fill">False</property>
74
<property name="pack_type">GTK_PACK_END</property>
75
<property name="position">1</property>
80
<property name="expand">False</property>
84
<widget class="GtkHBox" id="displayPanes">
85
<property name="visible">True</property>
87
<widget class="GtkNotebook" id="recipeDisplayLeftNotebook">
88
<property name="width_request">400</property>
89
<property name="visible">True</property>
90
<property name="can_focus">True</property>
91
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
92
<property name="show_tabs">False</property>
93
<property name="show_border">False</property>
94
<property name="tab_hborder">1</property>
96
<widget class="GtkScrolledWindow" id="recipeBodyDisplay">
97
<property name="width_request">400</property>
98
<property name="visible">True</property>
99
<property name="can_focus">True</property>
100
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
101
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
103
<widget class="GtkViewport" id="viewport10">
104
<property name="visible">True</property>
106
<widget class="GtkVBox" id="vbox29">
107
<property name="visible">True</property>
108
<property name="border_width">12</property>
109
<property name="spacing">6</property>
111
<widget class="GtkHBox" id="hbox32">
112
<property name="width_request">370</property>
113
<property name="visible">True</property>
114
<property name="spacing">6</property>
116
<widget class="GtkAlignment" id="alignment33">
117
<property name="visible">True</property>
118
<property name="yalign">1</property>
119
<property name="left_padding">6</property>
121
<widget class="GtkButton" id="button383502">
122
<property name="visible">True</property>
123
<property name="can_focus">True</property>
124
<property name="label" translatable="yes">Edit _description</property>
125
<property name="relief">GTK_RELIEF_NONE</property>
126
<property name="use_underline">True</property>
127
<property name="response_id">0</property>
128
<signal name="clicked" handler="edit_details"/>
133
<property name="expand">False</property>
134
<property name="fill">False</property>
135
<property name="pack_type">GTK_PACK_END</property>
140
<property name="expand">False</property>
141
<property name="fill">False</property>
145
<widget class="GtkImage" id="imageDisplay">
146
<property name="visible">True</property>
147
<property name="stock">gtk-missing-image</property>
150
<property name="expand">False</property>
151
<property name="fill">False</property>
152
<property name="position">1</property>
156
<widget class="GtkAlignment" id="alignment19">
157
<property name="visible">True</property>
159
<widget class="GtkHBox" id="hbox29">
160
<property name="visible">True</property>
162
<widget class="GtkTable" id="table4">
163
<property name="width_request">0</property>
164
<property name="height_request">0</property>
165
<property name="visible">True</property>
166
<property name="n_rows">10</property>
167
<property name="n_columns">2</property>
168
<property name="column_spacing">6</property>
169
<property name="row_spacing">6</property>
177
<widget class="GtkAlignment" id="alignment34">
178
<property name="visible">True</property>
179
<property name="xalign">0</property>
180
<property name="xscale">0</property>
182
<widget class="Custom" id="ratingDisplay">
183
<property name="visible">True</property>
184
<property name="creation_function">makeStarImage</property>
189
<property name="left_attach">1</property>
190
<property name="right_attach">2</property>
191
<property name="top_attach">3</property>
192
<property name="bottom_attach">4</property>
193
<property name="x_options">GTK_SHRINK | GTK_FILL</property>
194
<property name="y_options"></property>
198
<widget class="GtkHBox" id="servingsDisplay">
199
<property name="visible">True</property>
201
<widget class="GtkSpinButton" id="servingsDisplaySpin">
202
<property name="visible">True</property>
203
<property name="can_focus">True</property>
204
<property name="can_default">True</property>
205
<property name="adjustment">1 0.25 10000 0.25 10 10</property>
206
<property name="climb_rate">0.5</property>
207
<property name="digits">2</property>
210
<property name="expand">False</property>
214
<widget class="GtkLabel" id="multiplyByLabel">
215
<property name="visible">True</property>
216
<property name="xpad">12</property>
219
<property name="expand">False</property>
220
<property name="fill">False</property>
221
<property name="position">1</property>
226
<property name="left_attach">1</property>
227
<property name="right_attach">2</property>
228
<property name="x_options">GTK_FILL</property>
229
<property name="y_options"></property>
233
<widget class="GtkHBox" id="hbox27">
234
<property name="visible">True</property>
236
<widget class="GtkSpinButton" id="multiplyByDisplaySpin">
237
<property name="visible">True</property>
238
<property name="can_focus">True</property>
239
<property name="adjustment">1 0.050000000745099998 10000 0.5 10 10</property>
240
<property name="climb_rate">0.10000000149</property>
241
<property name="digits">2</property>
244
<property name="expand">False</property>
245
<property name="fill">False</property>
250
<property name="left_attach">1</property>
251
<property name="right_attach">2</property>
252
<property name="top_attach">1</property>
253
<property name="bottom_attach">2</property>
254
<property name="x_options">GTK_FILL</property>
255
<property name="y_options"></property>
259
<widget class="GtkLabel" id="cooktimeDisplayLabel">
260
<property name="visible">True</property>
261
<property name="can_focus">True</property>
262
<property name="xalign">0</property>
263
<property name="label" translatable="yes"><b>Cooking Time:</b></property>
264
<property name="use_markup">True</property>
265
<property name="wrap">True</property>
266
<property name="selectable">True</property>
269
<property name="top_attach">9</property>
270
<property name="bottom_attach">10</property>
271
<property name="x_options">GTK_FILL</property>
272
<property name="y_options">GTK_FILL</property>
276
<widget class="GtkLabel" id="preptimeDisplayLabel">
277
<property name="visible">True</property>
278
<property name="can_focus">True</property>
279
<property name="xalign">0</property>
280
<property name="label" translatable="yes"><b>Preparation Time:</b></property>
281
<property name="use_markup">True</property>
282
<property name="wrap">True</property>
283
<property name="selectable">True</property>
286
<property name="top_attach">8</property>
287
<property name="bottom_attach">9</property>
288
<property name="x_options">GTK_FILL</property>
289
<property name="y_options">GTK_FILL</property>
293
<widget class="GtkLabel" id="cuisineDisplayLabel">
294
<property name="visible">True</property>
295
<property name="can_focus">True</property>
296
<property name="xalign">0</property>
297
<property name="label" translatable="yes"><b>Cuisine:</b></property>
298
<property name="use_markup">True</property>
299
<property name="wrap">True</property>
300
<property name="selectable">True</property>
303
<property name="top_attach">7</property>
304
<property name="bottom_attach">8</property>
305
<property name="x_options">GTK_FILL</property>
306
<property name="y_options">GTK_FILL</property>
310
<widget class="GtkLabel" id="categoryDisplayLabel">
311
<property name="visible">True</property>
312
<property name="can_focus">True</property>
313
<property name="xalign">0</property>
314
<property name="label" translatable="yes"><b>Category:</b></property>
315
<property name="use_markup">True</property>
316
<property name="wrap">True</property>
317
<property name="selectable">True</property>
320
<property name="top_attach">6</property>
321
<property name="bottom_attach">7</property>
322
<property name="x_options">GTK_FILL</property>
323
<property name="y_options">GTK_FILL</property>
327
<widget class="GtkLabel" id="linkDisplayLabel">
328
<property name="visible">True</property>
329
<property name="can_focus">True</property>
330
<property name="xalign">0</property>
331
<property name="label" translatable="yes"><b>Webpage:</b></property>
332
<property name="use_markup">True</property>
333
<property name="wrap">True</property>
334
<property name="selectable">True</property>
337
<property name="top_attach">5</property>
338
<property name="bottom_attach">6</property>
339
<property name="x_options">GTK_FILL</property>
340
<property name="y_options">GTK_FILL</property>
344
<widget class="GtkLabel" id="servingsDisplayLabel">
345
<property name="visible">True</property>
346
<property name="can_focus">True</property>
347
<property name="xalign">0</property>
348
<property name="label" translatable="yes"><b>_Servings:</b></property>
349
<property name="use_markup">True</property>
350
<property name="use_underline">True</property>
351
<property name="wrap">True</property>
352
<property name="selectable">True</property>
353
<property name="mnemonic_widget">servingsDisplaySpin</property>
356
<property name="x_options">GTK_SHRINK | GTK_FILL</property>
357
<property name="y_options"></property>
361
<widget class="GtkButton" id="linkDisplayButton">
362
<property name="visible">True</property>
363
<property name="can_focus">True</property>
364
<property name="relief">GTK_RELIEF_NONE</property>
365
<property name="response_id">0</property>
367
<widget class="GtkLabel" id="linkDisplay">
368
<property name="visible">True</property>
369
<property name="can_focus">True</property>
370
<property name="xalign">0</property>
371
<property name="label" translatable="yes"><span underline="single" color="blue">Link</span></property>
372
<property name="use_markup">True</property>
373
<property name="wrap">True</property>
374
<property name="selectable">True</property>
375
<property name="ellipsize">PANGO_ELLIPSIZE_END</property>
380
<property name="left_attach">1</property>
381
<property name="right_attach">2</property>
382
<property name="top_attach">5</property>
383
<property name="bottom_attach">6</property>
384
<property name="x_options">GTK_FILL</property>
385
<property name="y_options"></property>
389
<widget class="GtkLabel" id="sourceDisplayLabel">
390
<property name="visible">True</property>
391
<property name="can_focus">True</property>
392
<property name="xalign">0</property>
393
<property name="label" translatable="yes"><b>Source:</b></property>
394
<property name="use_markup">True</property>
395
<property name="wrap">True</property>
396
<property name="selectable">True</property>
399
<property name="top_attach">4</property>
400
<property name="bottom_attach">5</property>
401
<property name="x_options">GTK_SHRINK | GTK_FILL</property>
402
<property name="y_options"></property>
406
<widget class="GtkLabel" id="ratingDisplayLabel">
407
<property name="visible">True</property>
408
<property name="can_focus">True</property>
409
<property name="xalign">0</property>
410
<property name="label" translatable="yes"><b>Rating:</b></property>
411
<property name="use_markup">True</property>
412
<property name="wrap">True</property>
413
<property name="selectable">True</property>
416
<property name="top_attach">3</property>
417
<property name="bottom_attach">4</property>
418
<property name="x_options">GTK_SHRINK | GTK_FILL</property>
419
<property name="y_options"></property>
423
<widget class="GtkLabel" id="multiplyByDisplayLabel">
424
<property name="visible">True</property>
425
<property name="can_focus">True</property>
426
<property name="xalign">0</property>
427
<property name="label" translatable="yes"><b>_Multiply by:</b></property>
428
<property name="use_markup">True</property>
429
<property name="use_underline">True</property>
430
<property name="wrap">True</property>
431
<property name="selectable">True</property>
432
<property name="mnemonic_widget">multiplyByDisplaySpin</property>
435
<property name="top_attach">1</property>
436
<property name="bottom_attach">2</property>
437
<property name="x_options">GTK_SHRINK | GTK_FILL</property>
438
<property name="y_options"></property>
442
<widget class="GtkLabel" id="cooktimeDisplay">
443
<property name="visible">True</property>
444
<property name="can_focus">True</property>
445
<property name="xalign">0</property>
446
<property name="wrap">True</property>
447
<property name="selectable">True</property>
450
<property name="left_attach">1</property>
451
<property name="right_attach">2</property>
452
<property name="top_attach">9</property>
453
<property name="bottom_attach">10</property>
457
<widget class="GtkLabel" id="preptimeDisplay">
458
<property name="visible">True</property>
459
<property name="can_focus">True</property>
460
<property name="xalign">0</property>
461
<property name="wrap">True</property>
462
<property name="selectable">True</property>
465
<property name="left_attach">1</property>
466
<property name="right_attach">2</property>
467
<property name="top_attach">8</property>
468
<property name="bottom_attach">9</property>
472
<widget class="GtkLabel" id="cuisineDisplay">
473
<property name="visible">True</property>
474
<property name="can_focus">True</property>
475
<property name="xalign">0</property>
476
<property name="wrap">True</property>
477
<property name="selectable">True</property>
480
<property name="left_attach">1</property>
481
<property name="right_attach">2</property>
482
<property name="top_attach">7</property>
483
<property name="bottom_attach">8</property>
487
<widget class="GtkLabel" id="categoryDisplay">
488
<property name="visible">True</property>
489
<property name="can_focus">True</property>
490
<property name="xalign">0</property>
491
<property name="wrap">True</property>
492
<property name="selectable">True</property>
495
<property name="left_attach">1</property>
496
<property name="right_attach">2</property>
497
<property name="top_attach">6</property>
498
<property name="bottom_attach">7</property>
502
<widget class="GtkLabel" id="sourceDisplay">
503
<property name="visible">True</property>
504
<property name="can_focus">True</property>
505
<property name="xalign">0</property>
506
<property name="wrap">True</property>
507
<property name="selectable">True</property>
510
<property name="left_attach">1</property>
511
<property name="right_attach">2</property>
512
<property name="top_attach">4</property>
513
<property name="bottom_attach">5</property>
522
<property name="expand">False</property>
523
<property name="fill">False</property>
524
<property name="padding">2</property>
525
<property name="position">2</property>
529
<widget class="GtkHSeparator" id="hseparator2">
530
<property name="width_request">385</property>
531
<property name="visible">True</property>
534
<property name="expand">False</property>
535
<property name="position">3</property>
539
<widget class="GtkHBox" id="hbox34">
540
<property name="width_request">375</property>
541
<property name="visible">True</property>
543
<widget class="GtkLabel" id="instructionsDisplayLabel">
544
<property name="visible">True</property>
545
<property name="can_focus">True</property>
546
<property name="xalign">0</property>
547
<property name="ypad">6</property>
548
<property name="label" translatable="yes"><b>Instructions</b></property>
549
<property name="use_markup">True</property>
550
<property name="wrap">True</property>
551
<property name="selectable">True</property>
554
<property name="expand">False</property>
555
<property name="fill">False</property>
559
<widget class="GtkButton" id="editInstructionsButton">
560
<property name="visible">True</property>
561
<property name="can_focus">True</property>
562
<property name="label" translatable="yes">Edit _instructions</property>
563
<property name="relief">GTK_RELIEF_NONE</property>
564
<property name="use_underline">True</property>
565
<property name="response_id">0</property>
566
<signal name="clicked" handler="edit_instructions"/>
569
<property name="expand">False</property>
570
<property name="fill">False</property>
571
<property name="pack_type">GTK_PACK_END</property>
572
<property name="position">1</property>
577
<property name="expand">False</property>
578
<property name="fill">False</property>
579
<property name="position">4</property>
583
<widget class="GtkAlignment" id="alignment35">
584
<property name="visible">True</property>
585
<property name="left_padding">6</property>
586
<property name="right_padding">6</property>
588
<widget class="Custom" id="instructionsDisplay">
589
<property name="visible">True</property>
590
<property name="creation_function">makeLinkedTimeView</property>
595
<property name="position">5</property>
599
<widget class="GtkHBox" id="hbox36">
600
<property name="width_request">375</property>
601
<property name="visible">True</property>
603
<widget class="GtkLabel" id="modificationsDisplayLabel">
604
<property name="visible">True</property>
605
<property name="can_focus">True</property>
606
<property name="xalign">0</property>
607
<property name="ypad">6</property>
608
<property name="label" translatable="yes"><b>Notes</b></property>
609
<property name="use_markup">True</property>
610
<property name="wrap">True</property>
611
<property name="selectable">True</property>
614
<property name="expand">False</property>
615
<property name="fill">False</property>
619
<widget class="GtkButton" id="editModificationsButton">
620
<property name="visible">True</property>
621
<property name="can_focus">True</property>
622
<property name="label" translatable="yes">Edit _notes</property>
623
<property name="relief">GTK_RELIEF_NONE</property>
624
<property name="use_underline">True</property>
625
<property name="response_id">0</property>
626
<signal name="clicked" handler="edit_modifications"/>
629
<property name="expand">False</property>
630
<property name="fill">False</property>
631
<property name="pack_type">GTK_PACK_END</property>
632
<property name="position">1</property>
637
<property name="expand">False</property>
638
<property name="fill">False</property>
639
<property name="position">6</property>
643
<widget class="GtkAlignment" id="alignment36">
644
<property name="visible">True</property>
645
<property name="left_padding">6</property>
646
<property name="right_padding">6</property>
648
<widget class="Custom" id="modificationsDisplay">
649
<property name="visible">True</property>
650
<property name="creation_function">makeLinkedTimeView</property>
655
<property name="position">7</property>
671
<widget class="GtkLabel" id="r">
672
<property name="visible">True</property>
673
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
674
<property name="label" translatable="yes">Recipe</property>
675
<property name="use_underline">True</property>
678
<property name="type">tab</property>
679
<property name="tab_fill">False</property>
685
<widget class="GtkVSeparator" id="vseparator1">
686
<property name="visible">True</property>
689
<property name="expand">False</property>
690
<property name="position">1</property>
694
<widget class="GtkVBox" id="recipeDisplayRightBox">
695
<property name="width_request">200</property>
696
<property name="visible">True</property>
697
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
699
<widget class="GtkScrolledWindow" id="ingredientsDisplay">
700
<property name="width_request">250</property>
701
<property name="visible">True</property>
702
<property name="can_focus">True</property>
703
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
704
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
706
<widget class="GtkViewport" id="viewport9">
707
<property name="visible">True</property>
709
<widget class="GtkVBox" id="vbox34">
710
<property name="visible">True</property>
711
<property name="border_width">9</property>
713
<widget class="GtkHBox" id="hbox37">
714
<property name="width_request">225</property>
715
<property name="visible">True</property>
717
<widget class="GtkLabel" id="ingredientsDisplayLabel">
718
<property name="visible">True</property>
719
<property name="label" translatable="yes"><b>Ingredients</b></property>
720
<property name="use_markup">True</property>
723
<property name="expand">False</property>
724
<property name="fill">False</property>
728
<widget class="GtkButton" id="button383503">
729
<property name="visible">True</property>
730
<property name="can_focus">True</property>
731
<property name="label" translatable="yes">Edit _ingredients</property>
732
<property name="relief">GTK_RELIEF_NONE</property>
733
<property name="use_underline">True</property>
734
<property name="response_id">0</property>
735
<signal name="clicked" handler="edit_ingredients"/>
738
<property name="expand">False</property>
739
<property name="fill">False</property>
740
<property name="pack_type">GTK_PACK_END</property>
741
<property name="position">1</property>
746
<property name="expand">False</property>
747
<property name="fill">False</property>
751
<widget class="GtkAlignment" id="alignment29">
752
<property name="visible">True</property>
753
<property name="left_padding">12</property>
755
<widget class="Custom" id="ingredientsDisplay">
756
<property name="visible">True</property>
757
<property name="creation_function">makeLinkedTextView</property>
762
<property name="expand">False</property>
763
<property name="fill">False</property>
764
<property name="position">1</property>
775
<property name="position">2</property>
780
<property name="position">1</property>