websiteWebsite
biblix Biblix
Biblix est une application de gestion de bibliothéque personnelle

Browse the code

Differences between 29 and 30 on /.
Number of edited files: 30 (0 added, 7 deleted and 23 modified)
Author: lordphoenix
Log message:
Date: 2009-07-02 10:30:34

Added file(s) Deleted file(s) Modified file(s)

 

Old New Code
1  
<Project name="Biblix" fileversion="2.0" DefaultNamespace="biblix" language="C#" clr-version="Net_2_0" ctype="DotNetProject">
  1
<Project name="Biblix" fileversion="2.0" language="C#" DefaultNamespace="biblix" clr-version="Net_2_0" targetFramework="2.0" ctype="DotNetProject">
2 2
  <Configurations active="Debug">
3 3
    <Configuration name="Debug" ctype="DotNetProjectConfiguration">
4 4
      <Output directory="bin/Debug" assemblyKeyFile="." assembly="Biblix" />
5 5
      <Build debugmode="True" target="Exe" />
6 6
      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_2_0" />
7  
      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" generatexmldocumentation="False" win32Icon="." langversion="ISO_2" ctype="CSharpCompilerParameters" />
  7
      <EnvironmentVariables />
  8
      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
8 9
    </Configuration>
9 10
    <Configuration name="Release" ctype="DotNetProjectConfiguration">
10 11
      <Output directory="bin/Release" assembly="Biblix" />
11 12
      <Build debugmode="False" target="Exe" />
12 13
      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_2_0" />
13  
      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" generatexmldocumentation="False" win32Icon="." langversion="ISO_2" ctype="CSharpCompilerParameters" />
  14
      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
14 15
    </Configuration>
15 16
  </Configurations>
16 17
  <Contents>
18 19
    <File name="gtk-gui/generated.cs" subtype="Code" buildaction="Compile" />
19 20
    <File name="Main.cs" subtype="Code" buildaction="Compile" />
20 21
    <File name="AssemblyInfo.cs" subtype="Code" buildaction="Compile" />
21  
    <File name="biblix.desktop" subtype="Code" buildaction="FileCopy" DeployService.TargetDirectoryId="Linux.DesktopApplications" />
  22
    <File name="biblix.desktop" subtype="Code" DeployService.TargetDirectoryId="Linux.DesktopApplications" buildaction="FileCopy" />
22 23
    <File name="winBiblix.cs" subtype="Code" buildaction="Compile" />
23 24
    <File name="gtk-gui/biblix.winBiblix.cs" subtype="Code" buildaction="Compile" />
24 25
    <File name="dlgDateSelect.cs" subtype="Code" buildaction="Compile" />
26 27
    <File name="dlgNewRefValue.cs" subtype="Code" buildaction="Compile" />
27 28
    <File name="gtk-gui/biblix.dlgNewRefValue.cs" subtype="Code" buildaction="Compile" />
28 29
    <File name="More" subtype="Directory" buildaction="Compile" />
29  
    <File name="More/AUTHORS" subtype="Code" buildaction="FileCopy" DeployService.RelativeDeployPath="./doc/biblix/AUTHORS" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" />
30  
    <File name="More/COPYING" subtype="Code" buildaction="FileCopy" DeployService.RelativeDeployPath="./doc/biblix/COPYING" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" />
31  
    <File name="More/README" subtype="Code" buildaction="FileCopy" DeployService.RelativeDeployPath="./doc/biblix/README" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" />
  30
    <File name="More/AUTHORS" subtype="Code" DeployService.RelativeDeployPath="./doc/biblix/AUTHORS" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" buildaction="FileCopy" />
  31
    <File name="More/COPYING" subtype="Code" DeployService.RelativeDeployPath="./doc/biblix/COPYING" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" buildaction="FileCopy" />
  32
    <File name="More/README" subtype="Code" DeployService.RelativeDeployPath="./doc/biblix/README" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" buildaction="FileCopy" />
32 33
    <File name="dlgAddBook.cs" subtype="Code" buildaction="Compile" />
33 34
    <File name="gtk-gui/biblix.dlgAddBook.cs" subtype="Code" buildaction="Compile" />
34  
    <File name="icons/date.png" subtype="Code" buildaction="EmbedAsResource" />
35  
    <File name="icons/book.png" subtype="Code" buildaction="EmbedAsResource" />
36  
    <File name="More/Biblix.png" subtype="Code" buildaction="FileCopy" DeployService.RelativeDeployPath="./pixmaps/Biblix.png" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" />
  35
    <File name="More/Biblix.png" subtype="Code" DeployService.RelativeDeployPath="./pixmaps/Biblix.png" DeployService.TargetDirectoryId="CommonApplicationDataRoot" Gettext.ScanForTranslations="False" buildaction="FileCopy" />
37 36
    <File name="option.cs" subtype="Code" buildaction="Compile" />
38  
    <File name="winSearch.cs" subtype="Code" buildaction="Compile" />
39  
    <File name="gtk-gui/biblix.winSearch.cs" subtype="Code" buildaction="Compile" />
  37
    <File name="dlgAddAuteur.cs" subtype="Code" buildaction="Compile" />
  38
    <File name="gtk-gui/biblix.dlgAddAuteur.cs" subtype="Code" buildaction="Compile" />
  39
    <File name="winAuteurs.cs" subtype="Code" buildaction="Compile" />
  40
    <File name="gtk-gui/biblix.winAuteurs.cs" subtype="Code" buildaction="Compile" />
40 41
  </Contents>
41 42
  <References>
42 43
    <ProjectReference type="Project" localcopy="True" refto="biblix-lib" />
46 47
    <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
47 48
    <ProjectReference type="Gac" localcopy="True" refto="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
48 49
    <ProjectReference type="Gac" localcopy="True" refto="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
49  
    <ProjectReference type="Gac" localcopy="True" refto="gnome-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
50 50
  </References>
51  
  <GtkDesignInfo gtkVersion="2.12.0" />
  51
  <LanguageParameters ApplicationIcon="." ctype="CSharpProjectParameters" />
52 52
</Project>
53 53

                                        

 

Old New Code
1 1

                                        
2  
EXTRA_DIST = 
  2
EXTRA_DIST =  
3 3

                                        
4 4
# Warning: This is an automatically generated file, do not edit!
5 5

                                        
6 6
if ENABLE_DEBUG
7 7
ASSEMBLY_COMPILER_COMMAND = gmcs
8  
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
9  
ASSEMBLY = ./bin/Debug/Biblix.exe
  8
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG
  9
ASSEMBLY = bin/Debug/Biblix.exe
10 10
ASSEMBLY_MDB = $(ASSEMBLY).mdb
11 11
COMPILE_TARGET = exe
12 12
PROJECT_REFERENCES =  \
13 13
	../biblix-lib/bin/Debug/biblix-lib.dll
14  
BUILD_DIR = ./bin/Debug
  14
BUILD_DIR = bin/Debug
15 15

                                        
16  
COPYING_SOURCE=./More/COPYING
17  
README_SOURCE=./More/README
  16
BIBLIX_DESKTOP_SOURCE=biblix.desktop
  17
AUTHORS_SOURCE=More/AUTHORS
  18
COPYING_SOURCE=More/COPYING
  19
README_SOURCE=More/README
  20
BIBLIX_PNG_SOURCE=More/Biblix.png
18 21
BIBLIX_LIB_DLL_SOURCE=../biblix-lib/bin/Debug/biblix-lib.dll
19 22
BIBLIX_LIB_DLL_MDB_SOURCE=../biblix-lib/bin/Debug/biblix-lib.dll.mdb
20 23
BIBLIX_LIB_DLL_MDB=$(BUILD_DIR)/biblix-lib.dll.mdb
21  
BIBLIX_DESKTOP_SOURCE=./biblix.desktop
22  
BIBLIX_PNG_SOURCE=./More/Biblix.png
23  
AUTHORS_SOURCE=./More/AUTHORS
  24
BIBLIX_EXE_MDB_SOURCE=bin/Debug/Biblix.exe.mdb
  25
BIBLIX_EXE_MDB=$(BUILD_DIR)/Biblix.exe.mdb
24 26

                                        
25 27
endif
26 28

                                        
27 29
if ENABLE_RELEASE
28 30
ASSEMBLY_COMPILER_COMMAND = gmcs
29  
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4
30  
ASSEMBLY = ./bin/Release/Biblix.exe
  31
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+
  32
ASSEMBLY = bin/Release/Biblix.exe
31 33
ASSEMBLY_MDB = 
32 34
COMPILE_TARGET = exe
33 35
PROJECT_REFERENCES =  \
34 36
	../biblix-lib/bin/Release/biblix-lib.dll
35  
BUILD_DIR = ./bin/Release
  37
BUILD_DIR = bin/Release
36 38

                                        
37  
COPYING_SOURCE=./More/COPYING
38  
README_SOURCE=./More/README
  39
BIBLIX_DESKTOP_SOURCE=biblix.desktop
  40
AUTHORS_SOURCE=More/AUTHORS
  41
COPYING_SOURCE=More/COPYING
  42
README_SOURCE=More/README
  43
BIBLIX_PNG_SOURCE=More/Biblix.png
39 44
BIBLIX_LIB_DLL_SOURCE=../biblix-lib/bin/Release/biblix-lib.dll
40 45
BIBLIX_LIB_DLL_MDB=
41  
BIBLIX_DESKTOP_SOURCE=./biblix.desktop
42  
BIBLIX_PNG_SOURCE=./More/Biblix.png
43  
AUTHORS_SOURCE=./More/AUTHORS
  46
BIBLIX_EXE_MDB=
44 47

                                        
45 48
endif
46 49

                                        
  50
AL=al2
  51
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
47 52

                                        
48  
COMMONAPPLICATIONDATAROOT_PIXMAPS = \
49  
	$(BIBLIX_PNG)  
  53
LINUX_DESKTOPAPPLICATIONS = \
  54
	$(BIBLIX_DESKTOP)  
50 55

                                        
51 56
COMMONAPPLICATIONDATAROOT_DOC_BIBLIX = \
  57
	$(AUTHORS) \
52 58
	$(COPYING) \
53  
	$(README) \
54  
	$(AUTHORS)  
  59
	$(README)  
55 60

                                        
  61
COMMONAPPLICATIONDATAROOT_PIXMAPS = \
  62
	$(BIBLIX_PNG)  
  63

                                    
56 64
PROGRAMFILES = \
57 65
	$(BIBLIX_LIB_DLL) \
58  
	$(BIBLIX_LIB_DLL_MDB)  
  66
	$(BIBLIX_LIB_DLL_MDB) \
  67
	$(BIBLIX_EXE_MDB)  
59 68

                                        
60  
LINUX_DESKTOPAPPLICATIONS = \
61  
	$(BIBLIX_DESKTOP)  
62  

                                    
63 69
BINARIES = \
64 70
	$(BIBLIX)  
65 71

                                        
66 72

                                        
  73
RESGEN=resgen2
67 74
	
68  
all: $(ASSEMBLY) $(COMMONAPPLICATIONDATAROOT_PIXMAPS) $(COMMONAPPLICATIONDATAROOT_DOC_BIBLIX) $(PROGRAMFILES) $(LINUX_DESKTOPAPPLICATIONS) $(BINARIES) 
  75
all: $(ASSEMBLY) $(LINUX_DESKTOPAPPLICATIONS) $(COMMONAPPLICATIONDATAROOT_DOC_BIBLIX) $(COMMONAPPLICATIONDATAROOT_PIXMAPS) $(PROGRAMFILES) $(BINARIES) 
69 76

                                        
70 77
FILES = \
71 78
	gtk-gui/generated.cs \
78 85
	dlgNewRefValue.cs \
79 86
	gtk-gui/biblix.dlgNewRefValue.cs \
80 87
	dlgAddBook.cs \
81  
	gtk-gui/biblix.dlgAddBook.cs 
  88
	gtk-gui/biblix.dlgAddBook.cs \
  89
	option.cs \
  90
	dlgAddAuteur.cs \
  91
	gtk-gui/biblix.dlgAddAuteur.cs \
  92
	winAuteurs.cs \
  93
	gtk-gui/biblix.winAuteurs.cs 
82 94

                                        
83  
DATA_FILES = \
84  
	biblix.desktop \
85  
	More/AUTHORS \
86  
	More/COPYING \
87  
	More/README \
88  
	More/Biblix.png 
  95
DATA_FILES = 
89 96

                                        
90 97
RESOURCES = \
91  
	gtk-gui/gui.stetic \
92  
	icons/date.png \
93  
	icons/book.png 
  98
	gtk-gui/gui.stetic 
94 99

                                        
95 100
EXTRAS = \
96 101
	biblix.in 
97 102

                                        
98 103
REFERENCES =  \
99  
	$(GTK_SHARP_20_LIBS) \
100  
	$(GLIB_SHARP_20_LIBS) \
101 104
	System \
102 105
	Mono.Posix \
103  
	$(GNOME_SHARP_20_LIBS)
  106
	$(GTK_SHARP_20_LIBS) \
  107
	$(GLIB_SHARP_20_LIBS)
104 108

                                        
105 109
DLL_REFERENCES = 
106 110

                                        
107  
COPYING = $(BUILD_DIR)/COPYING
108  
README = $(BUILD_DIR)/README
  111
CLEANFILES = $(LINUX_DESKTOPAPPLICATIONS) $(COMMONAPPLICATIONDATAROOT_DOC_BIBLIX) $(COMMONAPPLICATIONDATAROOT_PIXMAPS) $(PROGRAMFILES) $(BINARIES) 
  112

                                    
  113
include $(top_srcdir)/Makefile.include
  114

                                    
  115
BIBLIX_DESKTOP = $(BUILD_DIR)/biblix.desktop
  116
AUTHORS = $(BUILD_DIR)/./doc/biblix/AUTHORS
  117
COPYING = $(BUILD_DIR)/./doc/biblix/COPYING
  118
README = $(BUILD_DIR)/./doc/biblix/README
  119
BIBLIX_PNG = $(BUILD_DIR)/./pixmaps/Biblix.png
109 120
BIBLIX_LIB_DLL = $(BUILD_DIR)/biblix-lib.dll
110 121
BIBLIX = $(BUILD_DIR)/biblix
111  
BIBLIX_DESKTOP = $(BUILD_DIR)/biblix.desktop
112  
BIBLIX_PNG = $(BUILD_DIR)/Biblix.png
113  
AUTHORS = $(BUILD_DIR)/AUTHORS
114 122

                                        
115  
$(COPYING): $(COPYING_SOURCE)
116  
	mkdir -p $(BUILD_DIR)
117  
	cp '$<' '$@'
  123
$(eval $(call emit-deploy-target,BIBLIX_DESKTOP))
  124
$(eval $(call emit-deploy-target,AUTHORS))
  125
$(eval $(call emit-deploy-target,COPYING))
  126
$(eval $(call emit-deploy-target,README))
  127
$(eval $(call emit-deploy-target,BIBLIX_PNG))
  128
$(eval $(call emit-deploy-target,BIBLIX_LIB_DLL))
  129
$(eval $(call emit-deploy-target,BIBLIX_LIB_DLL_MDB))
  130
$(eval $(call emit-deploy-wrapper,BIBLIX,biblix,x))
118 131

                                        
119  
$(README): $(README_SOURCE)
120  
	mkdir -p $(BUILD_DIR)
121  
	cp '$<' '$@'
122 132

                                        
123  
$(BIBLIX_LIB_DLL): $(BIBLIX_LIB_DLL_SOURCE)
124  
	mkdir -p $(BUILD_DIR)
125  
	cp '$<' '$@'
126  

                                    
127  
$(BIBLIX_LIB_DLL_MDB): $(BIBLIX_LIB_DLL_MDB_SOURCE)
128  
	mkdir -p $(BUILD_DIR)
129  
	cp '$<' '$@'
130  

                                    
131  
$(BIBLIX): biblix
132  
	mkdir -p $(BUILD_DIR)
133  
	cp '$<' '$@'
134  

                                    
135  
$(BIBLIX_DESKTOP): $(BIBLIX_DESKTOP_SOURCE)
136  
	mkdir -p $(BUILD_DIR)
137  
	cp '$<' '$@'
138  

                                    
139  
$(BIBLIX_PNG): $(BIBLIX_PNG_SOURCE)
140  
	mkdir -p $(BUILD_DIR)
141  
	cp '$<' '$@'
142  

                                    
143  
$(AUTHORS): $(AUTHORS_SOURCE)
144  
	mkdir -p $(BUILD_DIR)
145  
	cp '$<' '$@'
146  

                                    
147  

                                    
148  

                                    
  133
$(eval $(call emit_resgen_targets))
149 134
$(build_xamlg_list): %.xaml.g.cs: %.xaml
150 135
	xamlg '$<'
151 136

                                        
152  
$(build_resx_resources) : %.resources: %.resx
153  
	resgen2 '$<' '$@'
154  

                                    
155  
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list)
156  
	mkdir -p $(dir $(ASSEMBLY))
  137
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
  138
	mkdir -p $(shell dirname $(ASSEMBLY))
157 139
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
158  

                                    
159  
include $(top_srcdir)/Makefile.include
160 140

                                        

 

Old New Code
1 1
#!/bin/sh
2 2

                                        
3  
exec mono "@prefix@/lib/@PACKAGE@/Biblix.exe" "$@"
  3
exec mono "@expanded_libdir@/@PACKAGE@/Biblix.exe" "$@"
4 4

                                        

 

Old New Code
18 18
//
19 19

                                        
20 20
using System;
  21
using Gtk;
21 22

                                        
22 23
namespace biblix
23 24
{
25 26
	
26 27
	public partial class dlgAddBook : Gtk.Dialog
27 28
	{
28  
		private booklist mybase;
  29
		private BookList mybase;
29 30
		
30  
		public book newbook;
  31
		public Book newbook;
31 32
		
32  
		public dlgAddBook(booklist workingbase)
  33
		public dlgAddBook(BookList workingbase)
33 34
		{
34 35
			this.Build();
35 36
			mybase = workingbase;
36  
			foreach(string genre in mybase.GetGenreList())
37  
				cbxGenre.AppendText(genre);
38  
			newbook = new book();
  37
			//initialisation de la liste des genres
  38
			ListStore lstListeGenre = new ListStore(typeof(int),typeof(string));
  39
			CellRendererText cellgenre = new CellRendererText();
  40
			cbxGenre.AddAttribute(cellgenre,"text",1);
  41
			cbxGenre.PackStart(cellgenre,false);
  42
			cbxGenre.Model = lstListeGenre;
  43
			foreach(Genre _genre in mybase.GetGenreList())
  44
				lstListeGenre.AppendValues(_genre.Id,_genre.Lib_genre);
  45

                                    
  46
			//initialisation de la liste des sources
  47
			ListStore lstListSource = new ListStore(typeof(int),typeof(string));
  48
			CellRendererText cellsource = new CellRendererText();
  49
			cbxSource.PackStart(cellsource,false);
  50
			cbxSource.AddAttribute(cellsource,"text",1);
  51
			cbxSource.Model = lstListSource;
  52
			foreach(Source _source in mybase.GetSourceList())
  53
				lstListSource.AppendValues(_source.Id,_source.Lib_Source);
  54
			
  55
			//initialisation de la liste des Auteurs
  56
			//Liste de référence.
  57
			ListStore lstBaseAuteur = new ListStore(typeof(Auteur),typeof(string));
  58
			CellRendererText cellauteur = new CellRendererText();
  59
			cbxAuteurs.PackStart(cellauteur,false);
  60
			cbxAuteurs.AddAttribute(cellauteur,"text",1);
  61
			cbxAuteurs.Model=lstBaseAuteur;
  62
			foreach(Auteur _auteur in mybase.GetAuteurList())
  63
				lstBaseAuteur.AppendValues(_auteur,_auteur.Nom+", "+_auteur.Prenom);
  64

                                    
  65
			ListStore lstAuteurs = new ListStore(typeof(Auteur),typeof(String),typeof(String));
  66
			trvLIstAuteur.Model = lstAuteurs;
  67
			trvLIstAuteur.AppendColumn("Nom",new CellRendererText(),"text",1);
  68
			trvLIstAuteur.AppendColumn("Prénom",new CellRendererText(),"text",2);
  69
			
  70
			newbook = new Book();
39 71
		}
40 72

                                        
41  
		protected virtual void OnBtnOKClicked (object sender, System.EventArgs e)
  73
		protected virtual void OnBtnOKClicked (object sender, System.EventArgs e){
  74
			newbook.Titre = entTitle.Text;
  75
			TreeIter iter;
  76
			if(trvLIstAuteur.Model.GetIterFirst(out iter)){
  77
				do{
  78
					newbook.Auteurs.Add((Auteur)trvLIstAuteur.Model.GetValue(iter,0));
  79
				}
  80
				while(trvLIstAuteur.Model.IterNext(ref iter));
  81
			}
  82
			newbook.Serie = entSerie.Text;
  83
			Genre _genre = new Genre();
  84
			cbxGenre.GetActiveIter(out iter);
  85
			_genre.Id = (int)cbxGenre.Model.GetValue(iter,0);
  86
			_genre.Lib_genre= (string)cbxGenre.Model.GetValue(iter,1);
  87
			newbook.Genre = _genre;
  88
			
  89
			Source _source = new Source();
  90
			cbxSource.GetActiveIter(out iter);
  91
			_source.Id = (int)cbxSource.Model.GetValue(iter,0);
  92
			_source.Lib_Source = (string)cbxSource.Model.GetValue(iter,1);
  93
			newbook.Source=_source;
  94
			
  95
			newbook.Volume = spbTome.ValueAsInt;
  96
			newbook.Note = spbNote.ValueAsInt;
  97
			newbook.Lu = ckbLu.Active;
  98
			newbook.Pret = ckbPret.Active;
  99
			newbook.PublishYear = entPublication.Text;
  100
			newbook.Buydate = cldBuyDate.Date;
  101
		}
  102
		protected virtual void OnBtnCancelClicked (object sender, System.EventArgs e){
  103
			newbook = null;
  104
		}
  105

                                    
  106
		protected virtual void OnBtnAddAuteurClicked (object sender, System.EventArgs e)
42 107
		{
43  
			newbook.titre = entTitle.Text;
44  
			newbook.auteur = entAuteur.Text;
45  
			newbook.serie = entSerie.Text;
46  
			newbook.genre = cbxGenre.ActiveText;
47  
			newbook.volume = spbTome.ValueAsInt;
48  
			newbook.note = spbNote.ValueAsInt;
49  
			newbook.lu = ckbLu.Active;
50  
			newbook.pret = ckbPret.Active;
51  
			newbook.publishyear = entPublication.Text;
  108
			TreeIter iter;
  109
			cbxAuteurs.GetActiveIter(out iter);
  110
			Auteur _auteur = (Auteur)cbxAuteurs.Model.GetValue(iter,0);
  111
			(trvLIstAuteur.Model as ListStore).AppendValues(_auteur,_auteur.Nom,_auteur.Prenom);
52 112
		}
53 113

                                        
54  
		protected virtual void OnBtnCancelClicked (object sender, System.EventArgs e)
  114
		protected virtual void OnBtnDeleteAuteurClicked (object sender, System.EventArgs e)
55 115
		{
56  
			newbook = null;
  116
			TreeIter iter;
  117
			trvLIstAuteur.Selection.GetSelected(out iter);
  118
			(trvLIstAuteur.Model as ListStore).Remove(ref iter);
57 119
		}
58  

                                    
59 120
	}
60 121
}
61 122

                                        

 

Old New Code
1 1
// ------------------------------------------------------------------------------
2 2
//  <autogenerated>
3 3
//      This code was generated by a tool.
4  
//      Mono Runtime Version: 2.0.50727.42
  4
//      
5 5
// 
6 6
//      Changes to this file may cause incorrect behavior and will be lost if 
7 7
//      the code is regenerated.
13 13
    
14 14
    public partial class dlgAddBook {
15 15
        
16  
        private Gtk.VBox vbox2;
17  
        
18  
        private Gtk.Label label1;
19  
        
20 16
        private Gtk.Alignment alignment1;
21 17
        
22  
        private Gtk.VBox vbox6;
  18
        private Gtk.Table table1;
23 19
        
24  
        private Gtk.HBox hbox3;
  20
        private Gtk.ComboBox cbxAuteurs;
25 21
        
26  
        private Gtk.Label label4;
  22
        private Gtk.ComboBox cbxGenre;
27 23
        
28  
        private Gtk.Alignment alignment2;
  24
        private Gtk.ComboBox cbxSource;
29 25
        
30  
        private Gtk.Entry entTitle;
  26
        private Gtk.CheckButton ckbLu;
31 27
        
32  
        private Gtk.HBox hbox4;
  28
        private Gtk.CheckButton ckbPret;
33 29
        
34  
        private Gtk.Label label5;
  30
        private Gtk.Calendar cldBuyDate;
35 31
        
36  
        private Gtk.Entry entAuteur;
  32
        private Gtk.Entry entPublication;
37 33
        
38  
        private Gtk.HBox hbox8;
  34
        private Gtk.Entry entSerie;
39 35
        
40  
        private Gtk.Label label9;
  36
        private Gtk.Entry entTitle;
41 37
        
42  
        private Gtk.Alignment alignment4;
  38
        private Gtk.ScrolledWindow GtkScrolledWindow;
43 39
        
44  
        private Gtk.Entry entSerie;
  40
        private Gtk.TreeView trvLIstAuteur;
45 41
        
46  
        private Gtk.Label label10;
  42
        private Gtk.HButtonBox hbuttonbox2;
47 43
        
48  
        private Gtk.SpinButton spbTome;
  44
        private Gtk.Button btnAddAuteur;
49 45
        
50  
        private Gtk.HBox hbox5;
  46
        private Gtk.Button btnDeleteAuteur;
51 47
        
52  
        private Gtk.Label label6;
  48
        private Gtk.Label label1;
53 49
        
54  
        private Gtk.Alignment alignment3;
  50
        private Gtk.Label label10;
55 51
        
56  
        private Gtk.ComboBox cbxGenre;
57  
        
58 52
        private Gtk.Label label11;
59 53
        
60  
        private Gtk.SpinButton spbNote;
  54
        private Gtk.Label label12;
61 55
        
62  
        private Gtk.Alignment alignment6;
  56
        private Gtk.Label label2;
63 57
        
64  
        private Gtk.CheckButton ckbLu;
  58
        private Gtk.Label label3;
65 59
        
66  
        private Gtk.HBox hbox6;
  60
        private Gtk.Label label4;
67 61
        
68  
        private Gtk.Label label12;
  62
        private Gtk.Label label5;
69 63
        
70  
        private Gtk.Entry entPublication;
  64
        private Gtk.Label label6;
71 65
        
72  
        private Gtk.Alignment alignment5;
  66
        private Gtk.Label label9;
73 67
        
74  
        private Gtk.CheckButton ckbPret;
  68
        private Gtk.SpinButton spbNote;
75 69
        
  70
        private Gtk.SpinButton spbTome;
  71
        
76 72
        private Gtk.Button btnCancel;
77 73
        
78 74
        private Gtk.Button btnOK;
93 89
            w1.Name = "dialog1_VBox";
94 90
            w1.BorderWidth = ((uint)(2));
95 91
            // Container child dialog1_VBox.Gtk.Box+BoxChild
96  
            this.vbox2 = new Gtk.VBox();
97  
            this.vbox2.Name = "vbox2";
98  
            this.vbox2.Spacing = 6;
99  
            // Container child vbox2.Gtk.Box+BoxChild
100  
            this.label1 = new Gtk.Label();
101  
            this.label1.Name = "label1";
102  
            this.label1.Xalign = 0F;
103  
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("<b>Détails du livre</b>");
104  
            this.label1.UseMarkup = true;
105  
            this.vbox2.Add(this.label1);
106  
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1]));
107  
            w2.Position = 0;
108  
            w2.Expand = false;
109  
            w2.Fill = false;
110  
            // Container child vbox2.Gtk.Box+BoxChild
111 92
            this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
112 93
            this.alignment1.Name = "alignment1";
113  
            this.alignment1.LeftPadding = ((uint)(12));
  94
            this.alignment1.LeftPadding = ((uint)(10));
114 95
            // Container child alignment1.Gtk.Container+ContainerChild
115  
            this.vbox6 = new Gtk.VBox();
116  
            this.vbox6.Name = "vbox6";
117  
            this.vbox6.Spacing = 6;
118  
            // Container child vbox6.Gtk.Box+BoxChild
119  
            this.hbox3 = new Gtk.HBox();
120  
            this.hbox3.Name = "hbox3";
121  
            this.hbox3.Spacing = 6;
122  
            // Container child hbox3.Gtk.Box+BoxChild
123  
            this.label4 = new Gtk.Label();
124  
            this.label4.Name = "label4";
125  
            this.label4.LabelProp = Mono.Unix.Catalog.GetString("Titre");
126  
            this.hbox3.Add(this.label4);
127  
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox3[this.label4]));
128  
            w3.Position = 0;
129  
            w3.Expand = false;
130  
            w3.Fill = false;
131  
            // Container child hbox3.Gtk.Box+BoxChild
132  
            this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
133  
            this.alignment2.Name = "alignment2";
134  
            this.alignment2.LeftPadding = ((uint)(14));
135  
            // Container child alignment2.Gtk.Container+ContainerChild
  96
            this.table1 = new Gtk.Table(((uint)(12)), ((uint)(3)), false);
  97
            this.table1.Name = "table1";
  98
            this.table1.RowSpacing = ((uint)(6));
  99
            this.table1.ColumnSpacing = ((uint)(6));
  100
            // Container child table1.Gtk.Table+TableChild
  101
            this.cbxAuteurs = new Gtk.ComboBox();
  102
            this.cbxAuteurs.Name = "cbxAuteurs";
  103
            this.table1.Add(this.cbxAuteurs);
  104
            Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.cbxAuteurs]));
  105
            w2.TopAttach = ((uint)(3));
  106
            w2.BottomAttach = ((uint)(4));
  107
            w2.LeftAttach = ((uint)(1));
  108
            w2.RightAttach = ((uint)(3));
  109
            w2.XOptions = ((Gtk.AttachOptions)(4));
  110
            w2.YOptions = ((Gtk.AttachOptions)(4));
  111
            // Container child table1.Gtk.Table+TableChild
  112
            this.cbxGenre = Gtk.ComboBox.NewText();
  113
            this.cbxGenre.Name = "cbxGenre";
  114
            this.table1.Add(this.cbxGenre);
  115
            Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.cbxGenre]));
  116
            w3.TopAttach = ((uint)(7));
  117
            w3.BottomAttach = ((uint)(8));
  118
            w3.LeftAttach = ((uint)(1));
  119
            w3.RightAttach = ((uint)(2));
  120
            w3.XOptions = ((Gtk.AttachOptions)(4));
  121
            w3.YOptions = ((Gtk.AttachOptions)(4));
  122
            // Container child table1.Gtk.Table+TableChild
  123
            this.cbxSource = new Gtk.ComboBox();
  124
            this.cbxSource.CanFocus = true;
  125
            this.cbxSource.Name = "cbxSource";
  126
            this.table1.Add(this.cbxSource);
  127
            Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.cbxSource]));
  128
            w4.TopAttach = ((uint)(8));
  129
            w4.BottomAttach = ((uint)(9));
  130
            w4.LeftAttach = ((uint)(1));
  131
            w4.RightAttach = ((uint)(2));
  132
            w4.XOptions = ((Gtk.AttachOptions)(4));
  133
            w4.YOptions = ((Gtk.AttachOptions)(4));
  134
            // Container child table1.Gtk.Table+TableChild
  135
            this.ckbLu = new Gtk.CheckButton();
  136
            this.ckbLu.CanFocus = true;
  137
            this.ckbLu.Name = "ckbLu";
  138
            this.ckbLu.Label = Mono.Unix.Catalog.GetString("Lu");
  139
            this.ckbLu.DrawIndicator = true;
  140
            this.ckbLu.UseUnderline = true;
  141
            this.table1.Add(this.ckbLu);
  142
            Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.ckbLu]));
  143
            w5.TopAttach = ((uint)(9));
  144
            w5.BottomAttach = ((uint)(10));
  145
            w5.XOptions = ((Gtk.AttachOptions)(4));
  146
            w5.YOptions = ((Gtk.AttachOptions)(4));
  147
            // Container child table1.Gtk.Table+TableChild
  148
            this.ckbPret = new Gtk.CheckButton();
  149
            this.ckbPret.CanFocus = true;
  150
            this.ckbPret.Name = "ckbPret";
  151
            this.ckbPret.Label = Mono.Unix.Catalog.GetString("Prété");
  152
            this.ckbPret.DrawIndicator = true;
  153
            this.ckbPret.UseUnderline = true;
  154
            this.ckbPret.Xalign = 1F;
  155
            this.table1.Add(this.ckbPret);
  156
            Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.ckbPret]));
  157
            w6.TopAttach = ((uint)(9));
  158
            w6.BottomAttach = ((uint)(10));
  159
            w6.LeftAttach = ((uint)(1));
  160
            w6.RightAttach = ((uint)(2));
  161
            w6.XOptions = ((Gtk.AttachOptions)(4));
  162
            w6.YOptions = ((Gtk.AttachOptions)(4));
  163
            // Container child table1.Gtk.Table+TableChild
  164
            this.cldBuyDate = new Gtk.Calendar();
  165
            this.cldBuyDate.CanFocus = true;
  166
            this.cldBuyDate.Name = "cldBuyDate";
  167
            this.cldBuyDate.DisplayOptions = ((Gtk.CalendarDisplayOptions)(35));
  168
            this.table1.Add(this.cldBuyDate);
  169
            Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.cldBuyDate]));
  170
            w7.TopAttach = ((uint)(6));
  171
            w7.BottomAttach = ((uint)(12));
  172
            w7.LeftAttach = ((uint)(2));
  173
            w7.RightAttach = ((uint)(3));
  174
            w7.XOptions = ((Gtk.AttachOptions)(4));
  175
            w7.YOptions = ((Gtk.AttachOptions)(4));
  176
            // Container child table1.Gtk.Table+TableChild
  177
            this.entPublication = new Gtk.Entry();
  178
            this.entPublication.CanFocus = true;
  179
            this.entPublication.Name = "entPublication";
  180
            this.entPublication.IsEditable = true;
  181
            this.entPublication.WidthChars = 4;
  182
            this.entPublication.MaxLength = 4;
  183
            this.entPublication.InvisibleChar = '●';
  184
            this.table1.Add(this.entPublication);
  185
            Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.entPublication]));
  186
            w8.TopAttach = ((uint)(11));
  187
            w8.BottomAttach = ((uint)(12));
  188
            w8.LeftAttach = ((uint)(1));
  189
            w8.RightAttach = ((uint)(2));
  190
            w8.XOptions = ((Gtk.AttachOptions)(4));
  191
            w8.YOptions = ((Gtk.AttachOptions)(4));
  192
            // Container child table1.Gtk.Table+TableChild
  193
            this.entSerie = new Gtk.Entry();
  194
            this.entSerie.CanFocus = true;
  195
            this.entSerie.Name = "entSerie";
  196
            this.entSerie.IsEditable = true;
  197
            this.entSerie.InvisibleChar = '●';
  198
            this.table1.Add(this.entSerie);
  199
            Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.entSerie]));
  200
            w9.TopAttach = ((uint)(5));
  201
            w9.BottomAttach = ((uint)(6));
  202
            w9.LeftAttach = ((uint)(1));
  203
            w9.RightAttach = ((uint)(2));
  204
            w9.XOptions = ((Gtk.AttachOptions)(4));
  205
            w9.YOptions = ((Gtk.AttachOptions)(4));
  206
            // Container child table1.Gtk.Table+TableChild
136 207
            this.entTitle = new Gtk.Entry();
137 208
            this.entTitle.CanFocus = true;
138 209
            this.entTitle.Name = "entTitle";
139 210
            this.entTitle.IsEditable = true;
140 211
            this.entTitle.InvisibleChar = '●';
141  
            this.alignment2.Add(this.entTitle);
142  
            this.hbox3.Add(this.alignment2);
143  
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox3[this.alignment2]));
144  
            w5.Position = 1;
145  
            this.vbox6.Add(this.hbox3);
146  
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox3]));
147  
            w6.Position = 0;
148  
            w6.Expand = false;
149  
            w6.Fill = false;
150  
            // Container child vbox6.Gtk.Box+BoxChild
151  
            this.hbox4 = new Gtk.HBox();
152  
            this.hbox4.Name = "hbox4";
153  
            this.hbox4.Spacing = 6;
154  
            // Container child hbox4.Gtk.Box+BoxChild
155  
            this.label5 = new Gtk.Label();
156  
            this.label5.Name = "label5";
157  
            this.label5.LabelProp = Mono.Unix.Catalog.GetString("Auteur");
158  
            this.hbox4.Add(this.label5);
159  
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox4[this.label5]));
160  
            w7.Position = 0;
161  
            w7.Expand = false;
162  
            w7.Fill = false;
163  
            // Container child hbox4.Gtk.Box+BoxChild
164  
            this.entAuteur = new Gtk.Entry();
165  
            this.entAuteur.CanFocus = true;
166  
            this.entAuteur.Name = "entAuteur";
167  
            this.entAuteur.IsEditable = true;
168  
            this.entAuteur.InvisibleChar = '●';
169  
            this.hbox4.Add(this.entAuteur);
170  
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox4[this.entAuteur]));
171  
            w8.Position = 1;
172  
            this.vbox6.Add(this.hbox4);
173  
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox4]));
174  
            w9.Position = 1;
175  
            w9.Expand = false;
176  
            w9.Fill = false;
177  
            // Container child vbox6.Gtk.Box+BoxChild
178  
            this.hbox8 = new Gtk.HBox();
179  
            this.hbox8.Name = "hbox8";
180  
            this.hbox8.Spacing = 6;
181  
            // Container child hbox8.Gtk.Box+BoxChild
182  
            this.label9 = new Gtk.Label();
183  
            this.label9.Name = "label9";
184  
            this.label9.LabelProp = Mono.Unix.Catalog.GetString("Série");
185  
            this.hbox8.Add(this.label9);
186  
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox8[this.label9]));
187  
            w10.Position = 0;
188  
            w10.Expand = false;
189  
            w10.Fill = false;
190  
            // Container child hbox8.Gtk.Box+BoxChild
191  
            this.alignment4 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
192  
            this.alignment4.Name = "alignment4";
193  
            this.alignment4.LeftPadding = ((uint)(11));
194  
            // Container child alignment4.Gtk.Container+ContainerChild
195  
            this.entSerie = new Gtk.Entry();
196  
            this.entSerie.CanFocus = true;
197  
            this.entSerie.Name = "entSerie";
198  
            this.entSerie.IsEditable = true;
199  
            this.entSerie.InvisibleChar = '●';
200  
            this.alignment4.Add(this.entSerie);
201  
            this.hbox8.Add(this.alignment4);
202  
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox8[this.alignment4]));
203  
            w12.Position = 1;
204  
            // Container child hbox8.Gtk.Box+BoxChild
205  
            this.label10 = new Gtk.Label();
206  
            this.label10.Name = "label10";
207  
            this.label10.LabelProp = Mono.Unix.Catalog.GetString("Tome");
208  
            this.hbox8.Add(this.label10);
209  
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox8[this.label10]));
210  
            w13.Position = 2;
  212
            this.table1.Add(this.entTitle);
  213
            Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.entTitle]));
  214
            w10.TopAttach = ((uint)(1));
  215
            w10.BottomAttach = ((uint)(2));
  216
            w10.LeftAttach = ((uint)(1));
  217
            w10.RightAttach = ((uint)(3));
  218
            w10.YOptions = ((Gtk.AttachOptions)(4));
  219
            // Container child table1.Gtk.Table+TableChild
  220
            this.GtkScrolledWindow = new Gtk.ScrolledWindow();
  221
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
  222
            this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
  223
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
  224
            this.trvLIstAuteur = new Gtk.TreeView();
  225
            this.trvLIstAuteur.CanFocus = true;
  226
            this.trvLIstAuteur.Name = "trvLIstAuteur";
  227
            this.GtkScrolledWindow.Add(this.trvLIstAuteur);
  228
            this.table1.Add(this.GtkScrolledWindow);
  229
            Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
  230
            w12.TopAttach = ((uint)(2));
  231
            w12.BottomAttach = ((uint)(3));
  232
            w12.LeftAttach = ((uint)(1));
  233
            w12.RightAttach = ((uint)(3));
  234
            w12.XOptions = ((Gtk.AttachOptions)(4));
  235
            w12.YOptions = ((Gtk.AttachOptions)(4));
  236
            // Container child table1.Gtk.Table+TableChild
  237
            this.hbuttonbox2 = new Gtk.HButtonBox();
  238
            this.hbuttonbox2.Name = "hbuttonbox2";
  239
            this.hbuttonbox2.LayoutStyle = ((Gtk.ButtonBoxStyle)(1));
  240
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
  241
            this.btnAddAuteur = new Gtk.Button();
  242
            this.btnAddAuteur.CanFocus = true;
  243
            this.btnAddAuteur.Name = "btnAddAuteur";
  244
            this.btnAddAuteur.UseStock = true;
  245
            this.btnAddAuteur.UseUnderline = true;
  246
            this.btnAddAuteur.Label = "gtk-add";
  247
            this.hbuttonbox2.Add(this.btnAddAuteur);
  248
            Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnAddAuteur]));
211 249
            w13.Expand = false;
212 250
            w13.Fill = false;
213  
            // Container child hbox8.Gtk.Box+BoxChild
214  
            this.spbTome = new Gtk.SpinButton(0, 20, 1);
215  
            this.spbTome.CanFocus = true;
216  
            this.spbTome.Name = "spbTome";
217  
            this.spbTome.Adjustment.PageIncrement = 10;
218  
            this.spbTome.ClimbRate = 1;
219  
            this.spbTome.Numeric = true;
220  
            this.hbox8.Add(this.spbTome);
221  
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox8[this.spbTome]));
222  
            w14.Position = 3;
  251
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
  252
            this.btnDeleteAuteur = new Gtk.Button();
  253
            this.btnDeleteAuteur.CanFocus = true;
  254
            this.btnDeleteAuteur.Name = "btnDeleteAuteur";
  255
            this.btnDeleteAuteur.UseStock = true;
  256
            this.btnDeleteAuteur.UseUnderline = true;
  257
            this.btnDeleteAuteur.Label = "gtk-delete";
  258
            this.hbuttonbox2.Add(this.btnDeleteAuteur);
  259
            Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnDeleteAuteur]));
  260
            w14.Position = 1;
223 261
            w14.Expand = false;
224 262
            w14.Fill = false;
225  
            this.vbox6.Add(this.hbox8);
226  
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox8]));
227  
            w15.Position = 2;
228  
            w15.Expand = false;
229  
            w15.Fill = false;
230  
            // Container child vbox6.Gtk.Box+BoxChild
231  
            this.hbox5 = new Gtk.HBox();
232  
            this.hbox5.Name = "hbox5";
233  
            this.hbox5.Spacing = 6;
234  
            // Container child hbox5.Gtk.Box+BoxChild
  263
            this.table1.Add(this.hbuttonbox2);
  264
            Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.hbuttonbox2]));
  265
            w15.TopAttach = ((uint)(4));
  266
            w15.BottomAttach = ((uint)(5));
  267
            w15.LeftAttach = ((uint)(1));
  268
            w15.RightAttach = ((uint)(3));
  269
            w15.XOptions = ((Gtk.AttachOptions)(4));
  270
            w15.YOptions = ((Gtk.AttachOptions)(4));
  271
            // Container child table1.Gtk.Table+TableChild
  272
            this.label1 = new Gtk.Label();
  273
            this.label1.Name = "label1";
  274
            this.label1.Xalign = 0F;
  275
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Acheté/emprunté/lu le : ");
  276
            this.table1.Add(this.label1);
  277
            Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
  278
            w16.TopAttach = ((uint)(5));
  279
            w16.BottomAttach = ((uint)(6));
  280
            w16.LeftAttach = ((uint)(2));
  281
            w16.RightAttach = ((uint)(3));
  282
            w16.XOptions = ((Gtk.AttachOptions)(4));
  283
            w16.YOptions = ((Gtk.AttachOptions)(4));
  284
            // Container child table1.Gtk.Table+TableChild
  285
            this.label10 = new Gtk.Label();
  286
            this.label10.Name = "label10";
  287
            this.label10.Xalign = 0F;
  288
            this.label10.LabelProp = Mono.Unix.Catalog.GetString("Tome");
  289
            this.table1.Add(this.label10);
  290
            Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.label10]));
  291
            w17.TopAttach = ((uint)(6));
  292
            w17.BottomAttach = ((uint)(7));
  293
            w17.XOptions = ((Gtk.AttachOptions)(4));
  294
            w17.YOptions = ((Gtk.AttachOptions)(4));
  295
            // Container child table1.Gtk.Table+TableChild
  296
            this.label11 = new Gtk.Label();
  297
            this.label11.Name = "label11";
  298
            this.label11.Xalign = 0F;
  299
            this.label11.LabelProp = Mono.Unix.Catalog.GetString("Note");
  300
            this.table1.Add(this.label11);
  301
            Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.label11]));
  302
            w18.TopAttach = ((uint)(10));
  303
            w18.BottomAttach = ((uint)(11));
  304
            w18.XOptions = ((Gtk.AttachOptions)(4));
  305
            w18.YOptions = ((Gtk.AttachOptions)(4));
  306
            // Container child table1.Gtk.Table+TableChild
  307
            this.label12 = new Gtk.Label();
  308
            this.label12.Name = "label12";
  309
            this.label12.Xalign = 0F;
  310
            this.label12.LabelProp = Mono.Unix.Catalog.GetString("Publié en");
  311
            this.table1.Add(this.label12);
  312
            Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.label12]));
  313
            w19.TopAttach = ((uint)(11));
  314
            w19.BottomAttach = ((uint)(12));
  315
            w19.XOptions = ((Gtk.AttachOptions)(4));
  316
            w19.YOptions = ((Gtk.AttachOptions)(4));
  317
            // Container child table1.Gtk.Table+TableChild
  318
            this.label2 = new Gtk.Label();
  319
            this.label2.Name = "label2";
  320
            this.label2.Xalign = 0F;
  321
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("<b>Détails du livre</b>");
  322
            this.label2.UseMarkup = true;
  323
            this.table1.Add(this.label2);
  324
            Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
  325
            w20.RightAttach = ((uint)(3));
  326
            w20.XOptions = ((Gtk.AttachOptions)(4));
  327
            w20.YOptions = ((Gtk.AttachOptions)(4));
  328
            // Container child table1.Gtk.Table+TableChild
  329
            this.label3 = new Gtk.Label();
  330
            this.label3.Name = "label3";
  331
            this.label3.Xalign = 0F;
  332
            this.label3.LabelProp = Mono.Unix.Catalog.GetString("Source");
  333
            this.table1.Add(this.label3);
  334
            Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
  335
            w21.TopAttach = ((uint)(8));
  336
            w21.BottomAttach = ((uint)(9));
  337
            w21.XOptions = ((Gtk.AttachOptions)(4));
  338
            w21.YOptions = ((Gtk.AttachOptions)(4));
  339
            // Container child table1.Gtk.Table+TableChild
  340
            this.label4 = new Gtk.Label();
  341
            this.label4.Name = "label4";
  342
            this.label4.Xalign = 0F;
  343
            this.label4.LabelProp = Mono.Unix.Catalog.GetString("Titre");
  344
            this.table1.Add(this.label4);
  345
            Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
  346
            w22.TopAttach = ((uint)(1));
  347
            w22.BottomAttach = ((uint)(2));
  348
            w22.XOptions = ((Gtk.AttachOptions)(4));
  349
            w22.YOptions = ((Gtk.AttachOptions)(4));
  350
            // Container child table1.Gtk.Table+TableChild
  351
            this.label5 = new Gtk.Label();
  352
            this.label5.Name = "label5";
  353
            this.label5.Xalign = 0F;
  354
            this.label5.Yalign = 0F;
  355
            this.label5.LabelProp = Mono.Unix.Catalog.GetString("Auteurs");
  356
            this.table1.Add(this.label5);
  357
            Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label5]));
  358
            w23.TopAttach = ((uint)(2));
  359
            w23.BottomAttach = ((uint)(5));
  360
            w23.XOptions = ((Gtk.AttachOptions)(4));
  361
            w23.YOptions = ((Gtk.AttachOptions)(4));
  362
            // Container child table1.Gtk.Table+TableChild
235 363
            this.label6 = new Gtk.Label();
236 364
            this.label6.Name = "label6";
  365
            this.label6.Xalign = 0F;
237 366
            this.label6.LabelProp = Mono.Unix.Catalog.GetString("Genre");
238  
            this.hbox5.Add(this.label6);
239  
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox5[this.label6]));
240  
            w16.Position = 0;
241  
            w16.Expand = false;
242  
            w16.Fill = false;
243  
            // Container child hbox5.Gtk.Box+BoxChild
244  
            this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
245  
            this.alignment3.Name = "alignment3";
246  
            this.alignment3.LeftPadding = ((uint)(5));
247  
            // Container child alignment3.Gtk.Container+ContainerChild
248  
            this.cbxGenre = Gtk.ComboBox.NewText();
249  
            this.cbxGenre.Name = "cbxGenre";
250  
            this.alignment3.Add(this.cbxGenre);
251  
            this.hbox5.Add(this.alignment3);
252  
            Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment3]));
253  
            w18.Position = 1;
254  
            // Container child hbox5.Gtk.Box+BoxChild
255  
            this.label11 = new Gtk.Label();
256  
            this.label11.Name = "label11";
257  
            this.label11.Xalign = 1F;
258  
            this.label11.LabelProp = Mono.Unix.Catalog.GetString("Note");
259  
            this.hbox5.Add(this.label11);
260  
            Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox5[this.label11]));
261  
            w19.Position = 2;
262  
            // Container child hbox5.Gtk.Box+BoxChild
  367
            this.table1.Add(this.label6);
  368
            Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
  369
            w24.TopAttach = ((uint)(7));
  370
            w24.BottomAttach = ((uint)(8));
  371
            w24.XOptions = ((Gtk.AttachOptions)(4));
  372
            w24.YOptions = ((Gtk.AttachOptions)(4));
  373
            // Container child table1.Gtk.Table+TableChild
  374
            this.label9 = new Gtk.Label();
  375
            this.label9.Name = "label9";
  376
            this.label9.Xalign = 0F;
  377
            this.label9.LabelProp = Mono.Unix.Catalog.GetString("Série");
  378
            this.table1.Add(this.label9);
  379
            Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.label9]));
  380
            w25.TopAttach = ((uint)(5));
  381
            w25.BottomAttach = ((uint)(6));
  382
            w25.XOptions = ((Gtk.AttachOptions)(4));
  383
            w25.YOptions = ((Gtk.AttachOptions)(4));
  384
            // Container child table1.Gtk.Table+TableChild
263 385
            this.spbNote = new Gtk.SpinButton(-1, 5, 1);
264 386
            this.spbNote.CanFocus = true;
265 387
            this.spbNote.Name = "spbNote";
267 389
            this.spbNote.ClimbRate = 1;
268 390
            this.spbNote.Numeric = true;
269 391
            this.spbNote.Value = -1;
270  
            this.hbox5.Add(this.spbNote);
271  
            Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox5[this.spbNote]));
272  
            w20.Position = 3;
273  
            // Container child hbox5.Gtk.Box+BoxChild
274  
            this.alignment6 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
275  
            this.alignment6.Name = "alignment6";
276  
            this.alignment6.RightPadding = ((uint)(32));
277  
            // Container child alignment6.Gtk.Container+ContainerChild
278  
            this.ckbLu = new Gtk.CheckButton();
279  
            this.ckbLu.CanFocus = true;
280  
            this.ckbLu.Name = "ckbLu";
281  
            this.ckbLu.Label = Mono.Unix.Catalog.GetString("Lu");
282  
            this.ckbLu.DrawIndicator = true;
283  
            this.ckbLu.UseUnderline = true;
284  
            this.alignment6.Add(this.ckbLu);
285  
            this.hbox5.Add(this.alignment6);
286  
            Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment6]));
287  
            w22.Position = 4;
288  
            w22.Expand = false;
289  
            w22.Fill = false;
290  
            this.vbox6.Add(this.hbox5);
291  
            Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox5]));
292  
            w23.Position = 3;
293  
            w23.Expand = false;
294  
            w23.Fill = false;
295  
            // Container child vbox6.Gtk.Box+BoxChild
296  
            this.hbox6 = new Gtk.HBox();
297  
            this.hbox6.Name = "hbox6";
298  
            this.hbox6.Spacing = 6;
299  
            // Container child hbox6.Gtk.Box+BoxChild
300  
            this.label12 = new Gtk.Label();
301  
            this.label12.Name = "label12";
302  
            this.label12.LabelProp = Mono.Unix.Catalog.GetString("Année de publication");
303  
            this.hbox6.Add(this.label12);
304  
            Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox6[this.label12]));
305  
            w24.Position = 0;
306  
            w24.Expand = false;
307  
            w24.Fill = false;
308  
            // Container child hbox6.Gtk.Box+BoxChild
309  
            this.entPublication = new Gtk.Entry();
310  
            this.entPublication.CanFocus = true;
311  
            this.entPublication.Name = "entPublication";
312  
            this.entPublication.IsEditable = true;
313  
            this.entPublication.WidthChars = 4;
314  
            this.entPublication.MaxLength = 4;
315  
            this.entPublication.InvisibleChar = '●';
316  
            this.hbox6.Add(this.entPublication);
317  
            Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox6[this.entPublication]));
318  
            w25.Position = 1;
319  
            // Container child hbox6.Gtk.Box+BoxChild
320  
            this.alignment5 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
321  
            this.alignment5.Name = "alignment5";
322  
            this.alignment5.RightPadding = ((uint)(13));
323  
            // Container child alignment5.Gtk.Container+ContainerChild
324  
            this.ckbPret = new Gtk.CheckButton();
325  
            this.ckbPret.CanFocus = true;
326  
            this.ckbPret.Name = "ckbPret";
327  
            this.ckbPret.Label = Mono.Unix.Catalog.GetString("Prété");
328  
            this.ckbPret.DrawIndicator = true;
329  
            this.ckbPret.UseUnderline = true;
330  
            this.ckbPret.Xalign = 1F;
331  
            this.alignment5.Add(this.ckbPret);
332  
            this.hbox6.Add(this.alignment5);
333  
            Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox6[this.alignment5]));
334  
            w27.Position = 3;
335  
            w27.Expand = false;
336  
            w27.Fill = false;
337  
            this.vbox6.Add(this.hbox6);
338  
            Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox6]));
339  
            w28.Position = 4;
340  
            w28.Expand = false;
341  
            w28.Fill = false;
342  
            this.alignment1.Add(this.vbox6);
343  
            this.vbox2.Add(this.alignment1);
344  
            Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
345  
            w30.Position = 1;
346  
            w30.Expand = false;
347  
            w30.Fill = false;
348  
            w1.Add(this.vbox2);
349  
            Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
350  
            w31.Position = 0;
351  
            w31.Expand = false;
352  
            w31.Fill = false;
  392
            this.table1.Add(this.spbNote);
  393
            Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.spbNote]));
  394
            w26.TopAttach = ((uint)(10));
  395
            w26.BottomAttach = ((uint)(11));
  396
            w26.LeftAttach = ((uint)(1));
  397
            w26.RightAttach = ((uint)(2));
  398
            w26.XOptions = ((Gtk.AttachOptions)(4));
  399
            w26.YOptions = ((Gtk.AttachOptions)(4));
  400
            // Container child table1.Gtk.Table+TableChild
  401
            this.spbTome = new Gtk.SpinButton(0, 20, 1);
  402
            this.spbTome.CanFocus = true;
  403
            this.spbTome.Name = "spbTome";
  404
            this.spbTome.Adjustment.PageIncrement = 10;
  405
            this.spbTome.ClimbRate = 1;
  406
            this.spbTome.Numeric = true;
  407
            this.table1.Add(this.spbTome);
  408
            Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.spbTome]));
  409
            w27.TopAttach = ((uint)(6));
  410
            w27.BottomAttach = ((uint)(7));
  411
            w27.LeftAttach = ((uint)(1));
  412
            w27.RightAttach = ((uint)(2));
  413
            w27.XOptions = ((Gtk.AttachOptions)(4));
  414
            w27.YOptions = ((Gtk.AttachOptions)(4));
  415
            this.alignment1.Add(this.table1);
  416
            w1.Add(this.alignment1);
  417
            Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(w1[this.alignment1]));
  418
            w29.Position = 0;
  419
            w29.Expand = false;
  420
            w29.Fill = false;
353 421
            // Internal child biblix.dlgAddBook.ActionArea
354  
            Gtk.HButtonBox w32 = this.ActionArea;
355  
            w32.Name = "dialog1_ActionArea";
356  
            w32.Spacing = 6;
357  
            w32.BorderWidth = ((uint)(5));
358  
            w32.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  422
            Gtk.HButtonBox w30 = this.ActionArea;
  423
            w30.Name = "dialog1_ActionArea";
  424
            w30.Spacing = 6;
  425
            w30.BorderWidth = ((uint)(5));
  426
            w30.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
359 427
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
360 428
            this.btnCancel = new Gtk.Button();
361 429
            this.btnCancel.CanDefault = true;
365 433
            this.btnCancel.UseUnderline = true;
366 434
            this.btnCancel.Label = "gtk-cancel";
367 435
            this.AddActionWidget(this.btnCancel, -6);
368  
            Gtk.ButtonBox.ButtonBoxChild w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w32[this.btnCancel]));
369  
            w33.Expand = false;
370  
            w33.Fill = false;
  436
            Gtk.ButtonBox.ButtonBoxChild w31 = ((Gtk.ButtonBox.ButtonBoxChild)(w30[this.btnCancel]));
  437
            w31.Expand = false;
  438
            w31.Fill = false;
371 439
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
372 440
            this.btnOK = new Gtk.Button();
373 441
            this.btnOK.CanFocus = true;
376 444
            this.btnOK.UseUnderline = true;
377 445
            this.btnOK.Label = "gtk-ok";
378 446
            this.AddActionWidget(this.btnOK, -5);
379  
            Gtk.ButtonBox.ButtonBoxChild w34 = ((Gtk.ButtonBox.ButtonBoxChild)(w32[this.btnOK]));
380  
            w34.Position = 1;
381  
            w34.Expand = false;
382  
            w34.Fill = false;
  447
            Gtk.ButtonBox.ButtonBoxChild w32 = ((Gtk.ButtonBox.ButtonBoxChild)(w30[this.btnOK]));
  448
            w32.Position = 1;
  449
            w32.Expand = false;
  450
            w32.Fill = false;
383 451
            if ((this.Child != null)) {
384 452
                this.Child.ShowAll();
385 453
            }
386  
            this.DefaultWidth = 486;
387  
            this.DefaultHeight = 269;
  454
            this.DefaultWidth = 564;
  455
            this.DefaultHeight = 495;
388 456
            this.Show();
  457
            this.btnAddAuteur.Clicked += new System.EventHandler(this.OnBtnAddAuteurClicked);
  458
            this.btnDeleteAuteur.Clicked += new System.EventHandler(this.OnBtnDeleteAuteurClicked);
389 459
            this.btnCancel.Clicked += new System.EventHandler(this.OnBtnCancelClicked);
390 460
            this.btnOK.Clicked += new System.EventHandler(this.OnBtnOKClicked);
391 461
        }
392 462

                                        

 

Old New Code
1 1
// ------------------------------------------------------------------------------
2 2
//  <autogenerated>
3 3
//      This code was generated by a tool.
4  
//      Mono Runtime Version: 2.0.50727.42
  4
//      
5 5
// 
6 6
//      Changes to this file may cause incorrect behavior and will be lost if 
7 7
//      the code is regenerated.
8 8

                                        

 

Old New Code
1 1
// ------------------------------------------------------------------------------
2 2
//  <autogenerated>
3 3
//      This code was generated by a tool.
4  
//      Mono Runtime Version: 2.0.50727.42
  4
//      
5 5
// 
6 6
//      Changes to this file may cause incorrect behavior and will be lost if 
7 7
//      the code is regenerated.
49 49
            // Container child vbox2.Gtk.Box+BoxChild
50 50
            this.LblPrompt = new Gtk.Label();
51 51
            this.LblPrompt.Name = "LblPrompt";
52  
            this.LblPrompt.Xalign = 0.15F;
53 52
            this.LblPrompt.LabelProp = Mono.Unix.Catalog.GetString("<b>Quel genre voulez vous ajouter :</b>");
54 53
            this.LblPrompt.UseMarkup = true;
55 54
            this.vbox2.Add(this.LblPrompt);
56 55

                                        

 

Old New Code
1 1
// ------------------------------------------------------------------------------
2 2
//  <autogenerated>
3 3
//      This code was generated by a tool.
4  
//      Mono Runtime Version: 2.0.50727.42
  4
//      
5 5
// 
6 6
//      Changes to this file may cause incorrect behavior and will be lost if 
7 7
//      the code is regenerated.
13 13
    
14 14
    public partial class winBiblix {
15 15
        
  16
        private Gtk.UIManager UIManager;
  17
        
  18
        private Gtk.Action actAddAuteur;
  19
        
  20
        private Gtk.Action actRemoveAuteur;
  21
        
16 22
        private Gtk.VBox vbox1;
17 23
        
18 24
        private Gtk.VBox mnuBox;
61 67
        
62 68
        private Gtk.Alignment alignment2;
63 69
        
64  
        private Gtk.Entry entAuthor;
  70
        private Gtk.ScrolledWindow GtkScrolledWindow;
65 71
        
  72
        private Gtk.TreeView trvAuteurs;
  73
        
  74
        private Gtk.VBox vbox4;
  75
        
  76
        private Gtk.Toolbar toolbar1;
  77
        
  78
        private Gtk.ComboBox cbxListeAuteur;
  79
        
66 80
        private Gtk.HBox hbox6;
67 81
        
68 82
        private Gtk.Label label3;
111 125
        
112 126
        private Gtk.Button btnDate;
113 127
        
114  
        private Gtk.HBox hbox14;
115  
        
116  
        private Gtk.Image image6;
117  
        
118  
        private Gtk.Label lblDate;
119  
        
120 128
        private Gtk.Alignment alignment5;
121 129
        
122 130
        private Gtk.CheckButton ckbReadBook;
156 164
        protected virtual void Build() {
157 165
            Stetic.Gui.Initialize(this);
158 166
            // Widget biblix.winBiblix
159  
            Gtk.UIManager w1 = new Gtk.UIManager();
160  
            Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
161  
            w1.InsertActionGroup(w2, 0);
162  
            this.AddAccelGroup(w1.AccelGroup);
  167
            this.UIManager = new Gtk.UIManager();
  168
            Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
  169
            this.actAddAuteur = new Gtk.Action("actAddAuteur", null, Mono.Unix.Catalog.GetString("Ajouter l'auteur"), "gtk-add");
  170
            w1.Add(this.actAddAuteur, null);
  171
            this.actRemoveAuteur = new Gtk.Action("actRemoveAuteur", null, Mono.Unix.Catalog.GetString("Supprimer l'auteur de la liste"), "gtk-remove");
  172
            w1.Add(this.actRemoveAuteur, null);
  173
            this.UIManager.InsertActionGroup(w1, 0);
  174
            this.AddAccelGroup(this.UIManager.AccelGroup);
163 175
            this.Name = "biblix.winBiblix";
164 176
            this.Title = Mono.Unix.Catalog.GetString("Biblix");
165  
            this.Icon = Gdk.Pixbuf.LoadFromResource("book.png");
  177
            this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-file", Gtk.IconSize.Menu, 16);
166 178
            this.WindowPosition = ((Gtk.WindowPosition)(4));
167 179
            // Container child biblix.winBiblix.Gtk.Container+ContainerChild
168 180
            this.vbox1 = new Gtk.VBox();
173 185
            this.mnuBox.Name = "mnuBox";
174 186
            this.mnuBox.Spacing = -2;
175 187
            this.vbox1.Add(this.mnuBox);
176  
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.mnuBox]));
177  
            w3.Position = 0;
178  
            w3.Expand = false;
  188
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.mnuBox]));
  189
            w2.Position = 0;
  190
            w2.Expand = false;
179 191
            // Container child vbox1.Gtk.Box+BoxChild
180 192
            this.hbox1 = new Gtk.HBox();
181 193
            this.hbox1.Name = "hbox1";
188 200
            this.ckbFilter.DrawIndicator = true;
189 201
            this.ckbFilter.UseUnderline = true;
190 202
            this.hbox1.Add(this.ckbFilter);
191  
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.ckbFilter]));
192  
            w4.Position = 0;
193  
            w4.Expand = false;
  203
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.ckbFilter]));
  204
            w3.Position = 0;
  205
            w3.Expand = false;
194 206
            // Container child hbox1.Gtk.Box+BoxChild
195 207
            this.cbxFilterItem = Gtk.ComboBox.NewText();
  208
            this.cbxFilterItem.AppendText(Mono.Unix.Catalog.GetString("Genre"));
  209
            this.cbxFilterItem.AppendText(Mono.Unix.Catalog.GetString("Source"));
196 210
            this.cbxFilterItem.AppendText(Mono.Unix.Catalog.GetString("Auteur"));
197  
            this.cbxFilterItem.AppendText(Mono.Unix.Catalog.GetString("Genre"));
198 211
            this.cbxFilterItem.AppendText(Mono.Unix.Catalog.GetString("Note"));
199 212
            this.cbxFilterItem.AppendText(Mono.Unix.Catalog.GetString("Lu"));
  213
            this.cbxFilterItem.AppendText(Mono.Unix.Catalog.GetString("Pret&quot;));
200 214
            this.cbxFilterItem.Sensitive = false;
201 215
            this.cbxFilterItem.Name = "cbxFilterItem";
202 216
            this.hbox1.Add(this.cbxFilterItem);
203  
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.cbxFilterItem]));
204  
            w5.Position = 1;
205  
            w5.Expand = false;
206  
            w5.Fill = false;
  217
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.cbxFilterItem]));
  218
            w4.Position = 1;
  219
            w4.Expand = false;
  220
            w4.Fill = false;
207 221
            // Container child hbox1.Gtk.Box+BoxChild
208  
            this.cbxFilterValue = Gtk.ComboBox.NewText();
  222
            this.cbxFilterValue = new Gtk.ComboBox();
209 223
            this.cbxFilterValue.Sensitive = false;
210 224
            this.cbxFilterValue.Name = "cbxFilterValue";
211 225
            this.hbox1.Add(this.cbxFilterValue);
212  
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.cbxFilterValue]));
213  
            w6.Position = 2;
  226
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.cbxFilterValue]));
  227
            w5.Position = 2;
  228
            w5.Expand = false;
  229
            w5.Fill = false;
  230
            this.vbox1.Add(this.hbox1);
  231
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
  232
            w6.Position = 1;
214 233
            w6.Expand = false;
215 234
            w6.Fill = false;
216  
            this.vbox1.Add(this.hbox1);
217  
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
218  
            w7.Position = 1;
219  
            w7.Expand = false;
220  
            w7.Fill = false;
221 235
            // Container child vbox1.Gtk.Box+BoxChild
222 236
            this.hpaned1 = new Gtk.HPaned();
223 237
            this.hpaned1.CanFocus = true;
233 247
            this.trvBooklist.CanFocus = true;
234 248
            this.trvBooklist.Name = "trvBooklist";
235 249
            this.trvBooklist.RulesHint = true;
236  
            this.trvBooklist.HeadersClickable = true;
237 250
            this.scrolledwindow1.Add(this.trvBooklist);
238 251
            this.hpaned1.Add(this.scrolledwindow1);
239  
            Gtk.Paned.PanedChild w9 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.scrolledwindow1]));
240  
            w9.Resize = false;
  252
            Gtk.Paned.PanedChild w8 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.scrolledwindow1]));
  253
            w8.Resize = false;
241 254
            // Container child hpaned1.Gtk.Paned+PanedChild
242 255
            this.hbox2 = new Gtk.HBox();
243 256
            this.hbox2.Name = "hbox2";
249 262
            // Container child vbox2.Gtk.Box+BoxChild
250 263
            this.label7 = new Gtk.Label();
251 264
            this.label7.Name = "label7";
252  
            this.label7.Xalign = 0.13F;
253 265
            this.label7.LabelProp = Mono.Unix.Catalog.GetString("<b>Détail du livre</b>");
254 266
            this.label7.UseMarkup = true;
255 267
            this.vbox2.Add(this.label7);
256  
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox2[this.label7]));
257  
            w10.Position = 0;
258  
            w10.Expand = false;
259  
            w10.Fill = false;
  268
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.label7]));
  269
            w9.Position = 0;
  270
            w9.Expand = false;
  271
            w9.Fill = false;
260 272
            // Container child vbox2.Gtk.Box+BoxChild
261 273
            this.hbox3 = new Gtk.HBox();
262 274
            this.hbox3.Name = "hbox3";
284 296
            this.label1.Xalign = 1F;
285 297
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Titre");
286 298
            this.hbox4.Add(this.label1);
287  
            Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox4[this.label1]));
288  
            w11.Position = 0;
289  
            w11.Expand = false;
  299
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox4[this.label1]));
  300
            w10.Position = 0;
  301
            w10.Expand = false;
290 302
            // Container child hbox4.Gtk.Box+BoxChild
291 303
            this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
292 304
            this.alignment1.Name = "alignment1";
300 312
            this.entTitle.InvisibleChar = '●';
301 313
            this.alignment1.Add(this.entTitle);
302 314
            this.hbox4.Add(this.alignment1);
303  
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.alignment1]));
304  
            w13.Position = 1;
  315
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.alignment1]));
  316
            w12.Position = 1;
305 317
            // Container child hbox4.Gtk.Box+BoxChild
306 318
            this.label12 = new Gtk.Label();
307 319
            this.label12.Name = "label12";
308 320
            this.label12.Xalign = 1F;
309 321
            this.label12.LabelProp = Mono.Unix.Catalog.GetString("Année de publication : ");
310 322
            this.hbox4.Add(this.label12);
311  
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.label12]));
312  
            w14.Position = 2;
313  
            w14.Expand = false;
314  
            w14.Fill = false;
  323
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.label12]));
  324
            w13.Position = 2;
  325
            w13.Expand = false;
  326
            w13.Fill = false;
315 327
            // Container child hbox4.Gtk.Box+BoxChild
316 328
            this.entPublishYear = new Gtk.Entry();
317 329
            this.entPublishYear.CanFocus = true;
321 333
            this.entPublishYear.MaxLength = 4;
322 334
            this.entPublishYear.InvisibleChar = '●';
323 335
            this.hbox4.Add(this.entPublishYear);
324  
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox4[this.entPublishYear]));
325  
            w15.Position = 3;
  336
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.entPublishYear]));
  337
            w14.Position = 3;
  338
            w14.Expand = false;
  339
            w14.Fill = false;
  340
            this.vbox5.Add(this.hbox4);
  341
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox4]));
  342
            w15.Position = 0;
326 343
            w15.Expand = false;
327 344
            w15.Fill = false;
328  
            this.vbox5.Add(this.hbox4);
329  
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox4]));
330  
            w16.Position = 0;
331  
            w16.Expand = false;
332  
            w16.Fill = false;
333 345
            // Container child vbox5.Gtk.Box+BoxChild
334 346
            this.hbox5 = new Gtk.HBox();
335 347
            this.hbox5.Name = "hbox5";
338 350
            this.label2 = new Gtk.Label();
339 351
            this.label2.Name = "label2";
340 352
            this.label2.Xalign = 1F;
341  
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("Auteur");
  353
            this.label2.Yalign = 0F;
  354
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("Auteurs");
342 355
            this.hbox5.Add(this.label2);
343  
            Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.label2]));
344  
            w17.Position = 0;
345  
            w17.Expand = false;
346  
            w17.Fill = false;
  356
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox5[this.label2]));
  357
            w16.Position = 0;
  358
            w16.Expand = false;
  359
            w16.Fill = false;
347 360
            // Container child hbox5.Gtk.Box+BoxChild
348 361
            this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
349 362
            this.alignment2.Name = "alignment2";
350 363
            this.alignment2.RightPadding = ((uint)(10));
351 364
            // Container child alignment2.Gtk.Container+ContainerChild
352  
            this.entAuthor = new Gtk.Entry();
353  
            this.entAuthor.CanFocus = true;
354  
            this.entAuthor.Name = "entAuthor";
355  
            this.entAuthor.IsEditable = true;
356  
            this.entAuthor.InvisibleChar = '●';
357  
            this.alignment2.Add(this.entAuthor);
  365
            this.GtkScrolledWindow = new Gtk.ScrolledWindow();
  366
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
  367
            this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
  368
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
  369
            this.trvAuteurs = new Gtk.TreeView();
  370
            this.trvAuteurs.CanFocus = true;
  371
            this.trvAuteurs.Name = "trvAuteurs";
  372
            this.trvAuteurs.EnableSearch = false;
  373
            this.GtkScrolledWindow.Add(this.trvAuteurs);
  374
            this.alignment2.Add(this.GtkScrolledWindow);
358 375
            this.hbox5.Add(this.alignment2);
359 376
            Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment2]));
360 377
            w19.Position = 1;
361  
            this.vbox5.Add(this.hbox5);
362  
            Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5]));
363  
            w20.Position = 1;
  378
            // Container child hbox5.Gtk.Box+BoxChild
  379
            this.vbox4 = new Gtk.VBox();
  380
            this.vbox4.Name = "vbox4";
  381
            this.vbox4.Spacing = 6;
  382
            // Container child vbox4.Gtk.Box+BoxChild
  383
            this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='actAddAuteur' action='actAddAuteur'/><toolitem name='actRemoveAuteur' action='actRemoveAuteur'/></toolbar></ui>");
  384
            this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
  385
            this.toolbar1.Name = "toolbar1";
  386
            this.toolbar1.ShowArrow = false;
  387
            this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
  388
            this.toolbar1.IconSize = ((Gtk.IconSize)(2));
  389
            this.vbox4.Add(this.toolbar1);
  390
            Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox4[this.toolbar1]));
  391
            w20.Position = 0;
364 392
            w20.Expand = false;
365 393
            w20.Fill = false;
  394
            // Container child vbox4.Gtk.Box+BoxChild
  395
            this.cbxListeAuteur = new Gtk.ComboBox();
  396
            this.cbxListeAuteur.Name = "cbxListeAuteur";
  397
            this.vbox4.Add(this.cbxListeAuteur);
  398
            Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox4[this.cbxListeAuteur]));
  399
            w21.Position = 1;
  400
            w21.Expand = false;
  401
            w21.Fill = false;
  402
            this.hbox5.Add(this.vbox4);
  403
            Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox5[this.vbox4]));
  404
            w22.Position = 2;
  405
            w22.Expand = false;
  406
            w22.Fill = false;
  407
            this.vbox5.Add(this.hbox5);
  408
            Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5]));
  409
            w23.Position = 1;
  410
            w23.Expand = false;
  411
            w23.Fill = false;
366 412
            // Container child vbox5.Gtk.Box+BoxChild
367 413
            this.hbox6 = new Gtk.HBox();
368 414
            this.hbox6.Name = "hbox6";
373 419
            this.label3.Xalign = 1F;
374 420
            this.label3.LabelProp = Mono.Unix.Catalog.GetString("Série");
375 421
            this.hbox6.Add(this.label3);
376  
            Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox6[this.label3]));
377  
            w21.Position = 0;
378  
            w21.Expand = false;
379  
            w21.Fill = false;
  422
            Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox6[this.label3]));
  423
            w24.Position = 0;
  424
            w24.Expand = false;
  425
            w24.Fill = false;
380 426
            // Container child hbox6.Gtk.Box+BoxChild
381 427
            this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
382 428
            this.alignment3.Name = "alignment3";
390 436
            this.entSerieTitle.InvisibleChar = '●';
391 437
            this.alignment3.Add(this.entSerieTitle);
392 438
            this.hbox6.Add(this.alignment3);
393  
            Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox6[this.alignment3]));
394  
            w23.Position = 1;
  439
            Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox6[this.alignment3]));
  440
            w26.Position = 1;
395 441
            // Container child hbox6.Gtk.Box+BoxChild
396 442
            this.label5 = new Gtk.Label();
397 443
            this.label5.Name = "label5";
398 444
            this.label5.Xalign = 1F;
399 445
            this.label5.LabelProp = Mono.Unix.Catalog.GetString("Tome");
400 446
            this.hbox6.Add(this.label5);
401  
            Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox6[this.label5]));
402  
            w24.Position = 2;
403  
            w24.Expand = false;
404  
            w24.Fill = false;
  447
            Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox6[this.label5]));
  448
            w27.Position = 2;
  449
            w27.Expand = false;
  450
            w27.Fill = false;
405 451
            // Container child hbox6.Gtk.Box+BoxChild
406 452
            this.alignment6 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
407 453
            this.alignment6.WidthRequest = 10;
416 462
            this.entVolume.InvisibleChar = '●';
417 463
            this.alignment6.Add(this.entVolume);
418 464
            this.hbox6.Add(this.alignment6);
419  
            Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox6[this.alignment6]));
420  
            w26.Position = 3;
  465
            Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox6[this.alignment6]));
  466
            w29.Position = 3;
421 467
            this.vbox5.Add(this.hbox6);
422  
            Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox6]));
423  
            w27.Position = 2;
424  
            w27.Expand = false;
425  
            w27.Fill = false;
  468
            Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox6]));
  469
            w30.Position = 2;
  470
            w30.Expand = false;
  471
            w30.Fill = false;
426 472
            // Container child vbox5.Gtk.Box+BoxChild
427 473
            this.hbox11 = new Gtk.HBox();
428 474
            this.hbox11.Name = "hbox11";
433 479
            this.label6.Xalign = 1F;
434 480
            this.label6.LabelProp = Mono.Unix.Catalog.GetString("Genre");
435 481
            this.hbox11.Add(this.label6);
436  
            Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.hbox11[this.label6]));
437  
            w28.Position = 0;
438  
            w28.Expand = false;
439  
            w28.Fill = false;
  482
            Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox11[this.label6]));
  483
            w31.Position = 0;
  484
            w31.Expand = false;
  485
            w31.Fill = false;
440 486
            // Container child hbox11.Gtk.Box+BoxChild
441 487
            this.alignment4 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
442 488
            this.alignment4.Name = "alignment4";
443 489
            this.alignment4.LeftPadding = ((uint)(4));
444 490
            // Container child alignment4.Gtk.Container+ContainerChild
445  
            this.cbxListGenre = Gtk.ComboBox.NewText();
  491
            this.cbxListGenre = new Gtk.ComboBox();
446 492
            this.cbxListGenre.Name = "cbxListGenre";
447 493
            this.alignment4.Add(this.cbxListGenre);
448 494
            this.hbox11.Add(this.alignment4);
449  
            Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox11[this.alignment4]));
450  
            w30.Position = 1;
451  
            w30.Expand = false;
452  
            w30.Fill = false;
  495
            Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.hbox11[this.alignment4]));
  496
            w33.Position = 1;
  497
            w33.Expand = false;
  498
            w33.Fill = false;
453 499
            // Container child hbox11.Gtk.Box+BoxChild
454 500
            this.btnAutreGenre = new Gtk.Button();
455 501
            this.btnAutreGenre.CanFocus = true;
456 502
            this.btnAutreGenre.Name = "btnAutreGenre";
457 503
            this.btnAutreGenre.UseUnderline = true;
458 504
            // Container child btnAutreGenre.Gtk.Container+ContainerChild
459  
            Gtk.Alignment w31 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  505
            Gtk.Alignment w34 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
460 506
            // Container child GtkAlignment.Gtk.Container+ContainerChild
461  
            Gtk.HBox w32 = new Gtk.HBox();
462  
            w32.Spacing = 2;
463  
            // Container child GtkHBox3.Gtk.Container+ContainerChild
464  
            Gtk.Image w33 = new Gtk.Image();
465  
            w33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
466  
            w32.Add(w33);
467  
            // Container child GtkHBox3.Gtk.Container+ContainerChild
468  
            Gtk.Label w35 = new Gtk.Label();
469  
            w35.LabelProp = Mono.Unix.Catalog.GetString("_Autre...");
470  
            w35.UseUnderline = true;
471  
            w32.Add(w35);
472  
            w31.Add(w32);
473  
            this.btnAutreGenre.Add(w31);
  507
            Gtk.HBox w35 = new Gtk.HBox();
  508
            w35.Spacing = 2;
  509
            // Container child GtkHBox.Gtk.Container+ContainerChild
  510
            Gtk.Image w36 = new Gtk.Image();
  511
            w36.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
  512
            w35.Add(w36);
  513
            // Container child GtkHBox.Gtk.Container+ContainerChild
  514
            Gtk.Label w38 = new Gtk.Label();
  515
            w38.LabelProp = Mono.Unix.Catalog.GetString("_Autre...");
  516
            w38.UseUnderline = true;
  517
            w35.Add(w38);
  518
            w34.Add(w35);
  519
            this.btnAutreGenre.Add(w34);
474 520
            this.hbox11.Add(this.btnAutreGenre);
475  
            Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox11[this.btnAutreGenre]));
476  
            w39.Position = 2;
477  
            w39.Expand = false;
478  
            w39.Fill = false;
  521
            Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox11[this.btnAutreGenre]));
  522
            w42.Position = 2;
  523
            w42.Expand = false;
  524
            w42.Fill = false;
479 525
            // Container child hbox11.Gtk.Box+BoxChild
480 526
            this.label4 = new Gtk.Label();
481 527
            this.label4.Name = "label4";
482 528
            this.label4.Xalign = 1F;
483 529
            this.label4.LabelProp = Mono.Unix.Catalog.GetString("Note");
484 530
            this.hbox11.Add(this.label4);
485  
            Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hbox11[this.label4]));
486  
            w40.Position = 3;
487  
            w40.Expand = false;
488  
            w40.Fill = false;
  531
            Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.hbox11[this.label4]));
  532
            w43.Position = 3;
  533
            w43.Expand = false;
  534
            w43.Fill = false;
489 535
            // Container child hbox11.Gtk.Box+BoxChild
490 536
            this.alignment8 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
491 537
            this.alignment8.WidthRequest = 80;
503 549
            this.cbxNote.AddTearoffs = true;
504 550
            this.alignment8.Add(this.cbxNote);
505 551
            this.hbox11.Add(this.alignment8);
506  
            Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox11[this.alignment8]));
507  
            w42.Position = 4;
508  
            w42.Expand = false;
509  
            w42.Fill = false;
  552
            Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox11[this.alignment8]));
  553
            w45.Position = 4;
  554
            w45.Expand = false;
  555
            w45.Fill = false;
510 556
            this.vbox5.Add(this.hbox11);
511  
            Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox11]));
512  
            w43.Position = 3;
513  
            w43.Expand = false;
514  
            w43.Fill = false;
  557
            Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox11]));
  558
            w46.Position = 3;
  559
            w46.Expand = false;
  560
            w46.Fill = false;
515 561
            // Container child vbox5.Gtk.Box+BoxChild
516 562
            this.hbox12 = new Gtk.HBox();
517 563
            this.hbox12.Name = "hbox12";
521 567
            this.label10.Name = "label10";
522 568
            this.label10.LabelProp = Mono.Unix.Catalog.GetString("Origine");
523 569
            this.hbox12.Add(this.label10);
524  
            Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.hbox12[this.label10]));
525  
            w44.Position = 0;
526  
            w44.Expand = false;
527  
            w44.Fill = false;
  570
            Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox12[this.label10]));
  571
            w47.Position = 0;
  572
            w47.Expand = false;
  573
            w47.Fill = false;
528 574
            // Container child hbox12.Gtk.Box+BoxChild
529  
            this.cbxSource = Gtk.ComboBox.NewText();
  575
            this.cbxSource = new Gtk.ComboBox();
530 576
            this.cbxSource.Name = "cbxSource";
531 577
            this.hbox12.Add(this.cbxSource);
532  
            Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox12[this.cbxSource]));
533  
            w45.Position = 1;
534  
            w45.Expand = false;
535  
            w45.Fill = false;
  578
            Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.hbox12[this.cbxSource]));
  579
            w48.Position = 1;
  580
            w48.Expand = false;
  581
            w48.Fill = false;
536 582
            // Container child hbox12.Gtk.Box+BoxChild
537 583
            this.btnAddSource = new Gtk.Button();
538 584
            this.btnAddSource.CanFocus = true;
539 585
            this.btnAddSource.Name = "btnAddSource";
540 586
            // Container child btnAddSource.Gtk.Container+ContainerChild
541  
            Gtk.Alignment w46 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
542  
            // Container child GtkAlignment1.Gtk.Container+ContainerChild
543  
            Gtk.HBox w47 = new Gtk.HBox();
544  
            w47.Spacing = 2;
545  
            // Container child GtkHBox6.Gtk.Container+ContainerChild
546  
            Gtk.Image w48 = new Gtk.Image();
547  
            w48.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
548  
            w47.Add(w48);
549  
            // Container child GtkHBox6.Gtk.Container+ContainerChild
550  
            Gtk.Label w50 = new Gtk.Label();
551  
            w50.LabelProp = Mono.Unix.Catalog.GetString("Autre...");
552  
            w47.Add(w50);
553  
            w46.Add(w47);
554  
            this.btnAddSource.Add(w46);
  587
            Gtk.Alignment w49 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  588
            // Container child GtkAlignment.Gtk.Container+ContainerChild
  589
            Gtk.HBox w50 = new Gtk.HBox();
  590
            w50.Spacing = 2;
  591
            // Container child GtkHBox.Gtk.Container+ContainerChild
  592
            Gtk.Image w51 = new Gtk.Image();
  593
            w51.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
  594
            w50.Add(w51);
  595
            // Container child GtkHBox.Gtk.Container+ContainerChild
  596
            Gtk.Label w53 = new Gtk.Label();
  597
            w53.LabelProp = Mono.Unix.Catalog.GetString("Autre...");
  598
            w50.Add(w53);
  599
            w49.Add(w50);
  600
            this.btnAddSource.Add(w49);
555 601
            this.hbox12.Add(this.btnAddSource);
556  
            Gtk.Box.BoxChild w54 = ((Gtk.Box.BoxChild)(this.hbox12[this.btnAddSource]));
557  
            w54.Position = 2;
558  
            w54.Expand = false;
559  
            w54.Fill = false;
  602
            Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.hbox12[this.btnAddSource]));
  603
            w57.Position = 2;
  604
            w57.Expand = false;
  605
            w57.Fill = false;
560 606
            // Container child hbox12.Gtk.Box+BoxChild
561 607
            this.alignment7 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
562 608
            this.alignment7.Name = "alignment7";
570 616
            this.ckbPret.UseUnderline = true;
571 617
            this.alignment7.Add(this.ckbPret);
572 618
            this.hbox12.Add(this.alignment7);
573  
            Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.hbox12[this.alignment7]));
574  
            w56.Position = 3;
  619
            Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.hbox12[this.alignment7]));
  620
            w59.Position = 3;
575 621
            this.vbox5.Add(this.hbox12);
576  
            Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox12]));
577  
            w57.Position = 4;
578  
            w57.Expand = false;
579  
            w57.Fill = false;
  622
            Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox12]));
  623
            w60.Position = 4;
  624
            w60.Expand = false;
  625
            w60.Fill = false;
580 626
            // Container child vbox5.Gtk.Box+BoxChild
581 627
            this.hbox8 = new Gtk.HBox();
582 628
            this.hbox8.Name = "hbox8";
586 632
            this.label11.Name = "label11";
587 633
            this.label11.LabelProp = Mono.Unix.Catalog.GetString("Lu/Acheté/Emprunté le : ");
588 634
            this.hbox8.Add(this.label11);
589  
            Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.hbox8[this.label11]));
590  
            w58.Position = 0;
591  
            w58.Expand = false;
592  
            w58.Fill = false;
  635
            Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(this.hbox8[this.label11]));
  636
            w61.Position = 0;
  637
            w61.Expand = false;
  638
            w61.Fill = false;
593 639
            // Container child hbox8.Gtk.Box+BoxChild
594 640
            this.btnDate = new Gtk.Button();
595 641
            this.btnDate.CanFocus = true;
596 642
            this.btnDate.Name = "btnDate";
597  
            // Container child btnDate.Gtk.Container+ContainerChild
598  
            this.hbox14 = new Gtk.HBox();
599  
            this.hbox14.Name = "hbox14";
600  
            this.hbox14.Spacing = 6;
601  
            // Container child hbox14.Gtk.Box+BoxChild
602  
            this.image6 = new Gtk.Image();
603  
            this.image6.Name = "image6";
604  
            this.image6.Pixbuf = Gdk.Pixbuf.LoadFromResource("date.png");
605  
            this.hbox14.Add(this.image6);
606  
            Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.hbox14[this.image6]));
607  
            w59.Position = 0;
608  
            w59.Expand = false;
609  
            w59.Fill = false;
610  
            // Container child hbox14.Gtk.Box+BoxChild
611  
            this.lblDate = new Gtk.Label();
612  
            this.lblDate.Name = "lblDate";
613  
            this.lblDate.LabelProp = Mono.Unix.Catalog.GetString("date...");
614  
            this.hbox14.Add(this.lblDate);
615  
            Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox14[this.lblDate]));
616  
            w60.Position = 1;
617  
            w60.Expand = false;
618  
            w60.Fill = false;
619  
            this.btnDate.Add(this.hbox14);
620  
            this.btnDate.Label = null;
  643
            this.btnDate.UseUnderline = true;
  644
            this.btnDate.Label = Mono.Unix.Catalog.GetString("date...");
621 645
            this.hbox8.Add(this.btnDate);
622 646
            Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.hbox8[this.btnDate]));
623 647
            w62.Position = 1;
762 786
            if ((this.Child != null)) {
763 787
                this.Child.ShowAll();
764 788
            }
765  
            this.DefaultWidth = 746;
766  
            this.DefaultHeight = 576;
  789
            this.DefaultWidth = 752;
  790
            this.DefaultHeight = 579;
767 791
            this.Show();
768 792
            this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
  793
            this.actAddAuteur.Activated += new System.EventHandler(this.OnActAddAuteurActivated);
769 794
            this.ckbFilter.Clicked += new System.EventHandler(this.OnCkbFilterClicked);
770 795
            this.cbxFilterItem.Changed += new System.EventHandler(this.OnCbxFilterItemChanged);
771 796
            this.cbxFilterValue.Changed += new System.EventHandler(this.OnCbxFilterValueChanged);
772 797
            this.entTitle.Changed += new System.EventHandler(this.OnEditBook);
773 798
            this.entPublishYear.Changed += new System.EventHandler(this.OnEditBook);
774  
            this.entAuthor.Changed += new System.EventHandler(this.OnEditBook);
775 799
            this.entSerieTitle.Changed += new System.EventHandler(this.OnEditBook);
776 800
            this.entVolume.Changed += new System.EventHandler(this.OnEditBook);
777 801
            this.cbxListGenre.Changed += new System.EventHandler(this.OnEditBook);
778 802

                                        

 

Old New Code
1 1
// ------------------------------------------------------------------------------
2 2
//  <autogenerated>
3 3
//      This code was generated by a tool.
4  
//      Mono Runtime Version: 2.0.50727.42
  4
//      
5 5
// 
6 6
//      Changes to this file may cause incorrect behavior and will be lost if 
7 7
//      the code is regenerated.
18 18
        internal static void Initialize(Gtk.Widget iconRenderer) {
19 19
            if ((Stetic.Gui.initialized == false)) {
20 20
                Stetic.Gui.initialized = true;
21  
                Gtk.IconFactory w1 = new Gtk.IconFactory();
22  
                Gtk.IconSet w2 = new Gtk.IconSet(Gdk.Pixbuf.LoadFromResource("book.png"));
23  
                w1.Add("app-icon", w2);
24  
                w1.AddDefault();
25 21
            }
26 22
        }
27 23
    }
28 24

                                        

 

Old New Code
2 2
<stetic-interface>
3 3
  <configuration>
4 4
    <images-root-path>..</images-root-path>
5  
    <target-gtk-version>2.12.0</target-gtk-version>
  5
    &lt;target-gtk-version>2.12&lt;/target-gtk-version>
6 6
  </configuration>
7  
  <icon-factory>
8  
    <icon-set id="app-icon">
9  
      <source>
10  
        <property name="Image">resource:book.png</property>
11  
      </source>
12  
    </icon-set>
13  
  </icon-factory>
14  
  <widget class="Gtk.Window" id="biblix.winBiblix" design-size="746 576">
15  
    <action-group name="Default" />
  7
  <import>
  8
    <widget-library name="../bin/Debug/Biblix.exe" internal="true" />
  9
  </import>
  10
  <widget class="Gtk.Window" id="biblix.winBiblix" design-size="752 579">
  11
    <action-group name="Default">
  12
      <action id="actAddAuteur">
  13
        <property name="Type">Action</property>
  14
        <property name="Label" translatable="yes" />
  15
        <property name="StockId">gtk-add</property>
  16
        <property name="Tooltip" translatable="yes">Ajouter l'auteur</property>
  17
        <signal name="Activated" handler="OnActAddAuteurActivated" />
  18
      </action>
  19
      <action id="actRemoveAuteur">
  20
        <property name="Type">Action</property>
  21
        <property name="Label" translatable="yes" />
  22
        <property name="StockId">gtk-remove</property>
  23
        <property name="Tooltip" translatable="yes">Supprimer l'auteur de la liste</property>
  24
      </action>
  25
    </action-group>
16 26
    <property name="MemberName" />
17 27
    <property name="Title" translatable="yes">Biblix</property>
18  
    <property name="Icon">resource:book.png</property>
  28
    <property name="Icon">stock:gtk-file Menu</property>
19 29
    <property name="WindowPosition">CenterOnParent</property>
20 30
    <signal name="DeleteEvent" handler="OnDeleteEvent" />
21 31
    <child>
61 71
                <property name="MemberName" />
62 72
                <property name="Sensitive">False</property>
63 73
                <property name="IsTextCombo">True</property>
64  
                <property name="Items" translatable="yes">Auteur
65  
Genre
  74
                <property name="Items" translatable="yes">Genre
  75
Source
  76
Auteur
66 77
Note
67  
Lu</property>
  78
Lu
  79
Pret</property>
68 80
                <signal name="Changed" handler="OnCbxFilterItemChanged" />
69 81
              </widget>
70 82
              <packing>
78 90
              <widget class="Gtk.ComboBox" id="cbxFilterValue">
79 91
                <property name="MemberName" />
80 92
                <property name="Sensitive">False</property>
81  
                <property name="IsTextCombo">True</property>
  93
                <property name="IsTextCombo">False</property>
82 94
                <property name="Items" translatable="yes" />
83 95
                <signal name="Changed" handler="OnCbxFilterValueChanged" />
84 96
              </widget>
112 124
                    <property name="MemberName" />
113 125
                    <property name="CanFocus">True</property>
114 126
                    <property name="RulesHint">True</property>
115  
                    <property name="HeadersClickable">True</property>
116 127
                  </widget>
117 128
                </child>
118 129
              </widget>
131 142
                    <child>
132 143
                      <widget class="Gtk.Label" id="label7">
133 144
                        <property name="MemberName" />
134  
                        <property name="Xalign">0,13</property>
135 145
                        <property name="LabelProp" translatable="yes">&lt;b&gt;Détail du livre&lt;/b&gt;</property>
136 146
                        <property name="UseMarkup">True</property>
137 147
                      </widget>
241 251
                                      <widget class="Gtk.Label" id="label2">
242 252
                                        <property name="MemberName" />
243 253
                                        <property name="Xalign">1</property>
244  
                                        <property name="LabelProp" translatable="yes">Auteur</property>
  254
                                        <property name="Yalign">0</property>
  255
                                        <property name="LabelProp" translatable="yes">Auteurs</property>
245 256
                                      </widget>
246 257
                                      <packing>
247 258
                                        <property name="Position">0</property>
255 266
                                        <property name="MemberName" />
256 267
                                        <property name="RightPadding">10</property>
257 268
                                        <child>
258  
                                          <widget class="Gtk.Entry" id="entAuthor">
  269
                                          <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
259 270
                                            <property name="MemberName" />
260  
                                            <property name="CanFocus">True</property>
261  
                                            <property name="IsEditable">True</property>
262  
                                            <property name="InvisibleChar">●</property>
263  
                                            <signal name="Changed" handler="OnEditBook" />
  271
                                            <property name="ShadowType">In</property>
  272
                                            <child>
  273
                                              <widget class="Gtk.TreeView" id="trvAuteurs">
  274
                                                <property name="MemberName" />
  275
                                                <property name="CanFocus">True</property>
  276
                                                <property name="ShowScrollbars">True</property>
  277
                                                <property name="EnableSearch">False</property>
  278
                                              </widget>
  279
                                            </child>
264 280
                                          </widget>
265 281
                                        </child>
266 282
                                      </widget>
269 285
                                        <property name="AutoSize">True</property>
270 286
                                      </packing>
271 287
                                    </child>
  288
                                    <child>
  289
                                      <widget class="Gtk.VBox" id="vbox4">
  290
                                        <property name="MemberName" />
  291
                                        <property name="Spacing">6</property>
  292
                                        <child>
  293
                                          <widget class="Gtk.Toolbar" id="toolbar1">
  294
                                            <property name="MemberName" />
  295
                                            <property name="ShowArrow">False</property>
  296
                                            <property name="ButtonStyle">Icons</property>
  297
                                            <property name="IconSize">SmallToolbar</property>
  298
                                            <node name="toolbar1" type="Toolbar">
  299
                                              <node type="Toolitem" action="actAddAuteur" />
  300
                                              <node type="Toolitem" action="actRemoveAuteur" />
  301
                                            </node>
  302
                                          </widget>
  303
                                          <packing>
  304
                                            <property name="Position">0</property>
  305
                                            <property name="AutoSize">True</property>
  306
                                            <property name="Expand">False</property>
  307
                                            <property name="Fill">False</property>
  308
                                          </packing>
  309
                                        </child>
  310
                                        <child>
  311
                                          <widget class="Gtk.ComboBox" id="cbxListeAuteur">
  312
                                            <property name="MemberName" />
  313
                                            <property name="IsTextCombo">False</property>
  314
                                            <property name="Items" translatable="yes" />
  315
                                          </widget>
  316
                                          <packing>
  317
                                            <property name="Position">1</property>
  318
                                            <property name="AutoSize">True</property>
  319
                                            <property name="Expand">False</property>
  320
                                            <property name="Fill">False</property>
  321
                                          </packing>
  322
                                        </child>
  323
                                      </widget>
  324
                                      <packing>
  325
                                        <property name="Position">2</property>
  326
                                        <property name="AutoSize">True</property>
  327
                                        <property name="Expand">False</property>
  328
                                        <property name="Fill">False</property>
  329
                                      </packing>
  330
                                    </child>
272 331
                                  </widget>
273 332
                                  <packing>
274 333
                                    <property name="Position">1</property>
380 439
                                        <child>
381 440
                                          <widget class="Gtk.ComboBox" id="cbxListGenre">
382 441
                                            <property name="MemberName" />
383  
                                            <property name="IsTextCombo">True</property>
  442
                                            <property name="IsTextCombo">False</property>
384 443
                                            <property name="Items" translatable="yes" />
385 444
                                            <signal name="Changed" handler="OnEditBook" />
386 445
                                          </widget>
477 536
                                    <child>
478 537
                                      <widget class="Gtk.ComboBox" id="cbxSource">
479 538
                                        <property name="MemberName" />
480  
                                        <property name="IsTextCombo">True</property>
  539
                                        <property name="IsTextCombo">False</property>
481 540
                                        <property name="Items" translatable="yes" />
482 541
                                        <signal name="Changed" handler="OnEditBook" />
483 542
                                      </widget>
553 612
                                      <widget class="Gtk.Button" id="btnDate">
554 613
                                        <property name="MemberName" />
555 614
                                        <property name="CanFocus">True</property>
556  
                                        <property name="Type">Custom</property>
  615
                                        <property name="Type">TextOnly</property>
  616
                                        <property name="Label" translatable="yes">date...</property>
  617
                                        <property name="UseUnderline">True</property>
557 618
                                        <signal name="Clicked" handler="OnBtnDateClicked" />
558  
                                        <child>
559  
                                          <widget class="Gtk.HBox" id="hbox14">
560  
                                            <property name="MemberName" />
561  
                                            <property name="Spacing">6</property>
562  
                                            <child>
563  
                                              <widget class="Gtk.Image" id="image6">
564  
                                                <property name="MemberName" />
565  
                                                <property name="Pixbuf">resource:date.png</property>
566  
                                              </widget>
567  
                                              <packing>
568  
                                                <property name="Position">0</property>
569  
                                                <property name="AutoSize">True</property>
570  
                                                <property name="Expand">False</property>
571  
                                                <property name="Fill">False</property>
572  
                                              </packing>
573  
                                            </child>
574  
                                            <child>
575  
                                              <widget class="Gtk.Label" id="lblDate">
576  
                                                <property name="MemberName" />
577  
                                                <property name="LabelProp" translatable="yes">date...</property>
578  
                                              </widget>
579  
                                              <packing>
580  
                                                <property name="Position">1</property>
581  
                                                <property name="AutoSize">True</property>
582  
                                                <property name="Expand">False</property>
583  
                                                <property name="Fill">False</property>
584  
                                              </packing>
585  
                                            </child>
586  
                                          </widget>
587  
                                        </child>
588 619
                                      </widget>
589 620
                                      <packing>
590 621
                                        <property name="Position">1</property>
937 968
            <child>
938 969
              <widget class="Gtk.Label" id="LblPrompt">
939 970
                <property name="MemberName" />
940  
                <property name="Xalign">0,15</property>
941 971
                <property name="LabelProp" translatable="yes">&lt;b&gt;Quel genre voulez vous ajouter :&lt;/b&gt;</property>
942 972
                <property name="UseMarkup">True</property>
943 973
              </widget>
1040 1070
      </widget>
1041 1071
    </child>
1042 1072
  </widget>
1043  
  <widget class="Gtk.Dialog" id="biblix.dlgAddBook" design-size="486 269">
  1073
  <widget class="Gtk.Dialog" id="biblix.dlgAddBook" design-size="564 495">
1044 1074
    <property name="MemberName" />
1045 1075
    <property name="Title" translatable="yes">Nouveau livre</property>
1046 1076
    <property name="TypeHint">Dialog</property>
1056 1086
        <property name="MemberName" />
1057 1087
        <property name="BorderWidth">2</property>
1058 1088
        <child>
1059  
          <widget class="Gtk.VBox" id="vbox2">
  1089
          <widget class="Gtk.Alignment" id="alignment1">
1060 1090
            <property name="MemberName" />
1061  
            <property name="Spacing">6</property>
  1091
            <property name="LeftPadding">10</property>
1062 1092
            <child>
1063  
              <widget class="Gtk.Label" id="label1">
  1093
              <widget class="Gtk.Table" id="table1">
1064 1094
                <property name="MemberName" />
1065  
                <property name="Xalign">0</property>
1066  
                <property name="LabelProp" translatable="yes">&lt;b&gt;Détails du livre&lt;/b&gt;</property>
1067  
                <property name="UseMarkup">True</property>
1068  
              </widget>
1069  
              <packing>
1070  
                <property name="Position">0</property>
1071  
                <property name="AutoSize">True</property>
1072  
                <property name="Expand">False</property>
1073  
                <property name="Fill">False</property>
1074  
              </packing>
1075  
            </child>
1076  
            <child>
1077  
              <widget class="Gtk.Alignment" id="alignment1">
1078  
                <property name="MemberName" />
1079  
                <property name="LeftPadding">12</property>
  1095
                <property name="NRows">12</property>
  1096
                <property name="NColumns">3</property>
  1097
                <property name="RowSpacing">6</property>
  1098
                <property name="ColumnSpacing">6</property>
1080 1099
                <child>
1081  
                  <widget class="Gtk.VBox" id="vbox6">
  1100
                  <widget class="Gtk.ComboBox" id="cbxAuteurs">
1082 1101
                    <property name="MemberName" />
1083  
                    <property name="Spacing">6</property>
  1102
                    <property name="IsTextCombo">False</property>
  1103
                    <property name="Items" translatable="yes" />
  1104
                  </widget>
  1105
                  <packing>
  1106
                    <property name="TopAttach">3</property>
  1107
                    <property name="BottomAttach">4</property>
  1108
                    <property name="LeftAttach">1</property>
  1109
                    <property name="RightAttach">3</property>
  1110
                    <property name="AutoSize">True</property>
  1111
                    <property name="XOptions">Fill</property>
  1112
                    <property name="YOptions">Fill</property>
  1113
                    <property name="XExpand">False</property>
  1114
                    <property name="XFill">True</property>
  1115
                    <property name="XShrink">False</property>
  1116
                    <property name="YExpand">False</property>
  1117
                    <property name="YFill">True</property>
  1118
                    <property name="YShrink">False</property>
  1119
                  </packing>
  1120
                </child>
  1121
                <child>
  1122
                  <widget class="Gtk.ComboBox" id="cbxGenre">
  1123
                    <property name="MemberName" />
  1124
                    <property name="IsTextCombo">True</property>
  1125
                    <property name="Items" translatable="yes" />
  1126
                  </widget>
  1127
                  <packing>
  1128
                    <property name="TopAttach">7</property>
  1129
                    <property name="BottomAttach">8</property>
  1130
                    <property name="LeftAttach">1</property>
  1131
                    <property name="RightAttach">2</property>
  1132
                    <property name="AutoSize">True</property>
  1133
                    <property name="XOptions">Fill</property>
  1134
                    <property name="YOptions">Fill</property>
  1135
                    <property name="XExpand">False</property>
  1136
                    <property name="XFill">True</property>
  1137
                    <property name="XShrink">False</property>
  1138
                    <property name="YExpand">False</property>
  1139
                    <property name="YFill">True</property>
  1140
                    <property name="YShrink">False</property>
  1141
                  </packing>
  1142
                </child>
  1143
                <child>
  1144
                  <widget class="Gtk.ComboBox" id="cbxSource">
  1145
                    <property name="MemberName" />
  1146
                    <property name="CanFocus">True</property>
  1147
                    <property name="IsTextCombo">False</property>
  1148
                    <property name="Items" translatable="yes" />
  1149
                  </widget>
  1150
                  <packing>
  1151
                    <property name="TopAttach">8</property>
  1152
                    <property name="BottomAttach">9</property>
  1153
                    <property name="LeftAttach">1</property>
  1154
                    <property name="RightAttach">2</property>
  1155
                    <property name="AutoSize">False</property>
  1156
                    <property name="XOptions">Fill</property>
  1157
                    <property name="YOptions">Fill</property>
  1158
                    <property name="XExpand">False</property>
  1159
                    <property name="XFill">True</property>
  1160
                    <property name="XShrink">False</property>
  1161
                    <property name="YExpand">False</property>
  1162
                    <property name="YFill">True</property>
  1163
                    <property name="YShrink">False</property>
  1164
                  </packing>
  1165
                </child>
  1166
                <child>
  1167
                  <widget class="Gtk.CheckButton" id="ckbLu">
  1168
                    <property name="MemberName" />
  1169
                    <property name="CanFocus">True</property>
  1170
                    <property name="Label" translatable="yes">Lu</property>
  1171
                    <property name="DrawIndicator">True</property>
  1172
                    <property name="HasLabel">True</property>
  1173
                    <property name="UseUnderline">True</property>
  1174
                  </widget>
  1175
                  <packing>
  1176
                    <property name="TopAttach">9</property>
  1177
                    <property name="BottomAttach">10</property>
  1178
                    <property name="AutoSize">True</property>
  1179
                    <property name="XOptions">Fill</property>
  1180
                    <property name="YOptions">Fill</property>
  1181
                    <property name="XExpand">False</property>
  1182
                    <property name="XFill">True</property>
  1183
                    <property name="XShrink">False</property>
  1184
                    <property name="YExpand">False</property>
  1185
                    <property name="YFill">True</property>
  1186
                    <property name="YShrink">False</property>
  1187
                  </packing>
  1188
                </child>
  1189
                <child>
  1190
                  <widget class="Gtk.CheckButton" id="ckbPret">
  1191
                    <property name="MemberName" />
  1192
                    <property name="CanFocus">True</property>
  1193
                    <property name="Label" translatable="yes">Prété</property>
  1194
                    <property name="DrawIndicator">True</property>
  1195
                    <property name="HasLabel">True</property>
  1196
                    <property name="UseUnderline">True</property>
  1197
                    <property name="Xalign">1</property>
  1198
                  </widget>
  1199
                  <packing>
  1200
                    <property name="TopAttach">9</property>
  1201
                    <property name="BottomAttach">10</property>
  1202
                    <property name="LeftAttach">1</property>
  1203
                    <property name="RightAttach">2</property>
  1204
                    <property name="AutoSize">True</property>
  1205
                    <property name="XOptions">Fill</property>
  1206
                    <property name="YOptions">Fill</property>
  1207
                    <property name="XExpand">False</property>
  1208
                    <property name="XFill">True</property>
  1209
                    <property name="XShrink">False</property>
  1210
                    <property name="YExpand">False</property>
  1211
                    <property name="YFill">True</property>
  1212
                    <property name="YShrink">False</property>
  1213
                  </packing>
  1214
                </child>
  1215
                <child>
  1216
                  <widget class="Gtk.Calendar" id="cldBuyDate">
  1217
                    <property name="MemberName" />
  1218
                    <property name="CanFocus">True</property>
  1219
                    <property name="DisplayOptions">35</property>
  1220
                  </widget>
  1221
                  <packing>
  1222
                    <property name="TopAttach">6</property>
  1223
                    <property name="BottomAttach">12</property>
  1224
                    <property name="LeftAttach">2</property>
  1225
                    <property name="RightAttach">3</property>
  1226
                    <property name="AutoSize">True</property>
  1227
                    <property name="XOptions">Fill</property>
  1228
                    <property name="YOptions">Fill</property>
  1229
                    <property name="XExpand">False</property>
  1230
                    <property name="XFill">True</property>
  1231
                    <property name="XShrink">False</property>
  1232
                    <property name="YExpand">False</property>
  1233
                    <property name="YFill">True</property>
  1234
                    <property name="YShrink">False</property>
  1235
                  </packing>
  1236
                </child>
  1237
                <child>
  1238
                  <widget class="Gtk.Entry" id="entPublication">
  1239
                    <property name="MemberName" />
  1240
                    <property name="CanFocus">True</property>
  1241
                    <property name="IsEditable">True</property>
  1242
                    <property name="WidthChars">4</property>
  1243
                    <property name="MaxLength">4</property>
  1244
                    <property name="InvisibleChar">●</property>
  1245
                  </widget>
  1246
                  <packing>
  1247
                    <property name="TopAttach">11</property>
  1248
                    <property name="BottomAttach">12</property>
  1249
                    <property name="LeftAttach">1</property>
  1250
                    <property name="RightAttach">2</property>
  1251
                    <property name="AutoSize">True</property>
  1252
                    <property name="XOptions">Fill</property>
  1253
                    <property name="YOptions">Fill</property>
  1254
                    <property name="XExpand">False</property>
  1255
                    <property name="XFill">True</property>
  1256
                    <property name="XShrink">False</property>
  1257
                    <property name="YExpand">False</property>
  1258
                    <property name="YFill">True</property>
  1259
                    <property name="YShrink">False</property>
  1260
                  </packing>
  1261
                </child>
  1262
                <child>
  1263
                  <widget class="Gtk.Entry" id="entSerie">
  1264
                    <property name="MemberName" />
  1265
                    <property name="CanFocus">True</property>
  1266
                    <property name="IsEditable">True</property>
  1267
                    <property name="InvisibleChar">●</property>
  1268
                  </widget>
  1269
                  <packing>
  1270
                    <property name="TopAttach">5</property>
  1271
                    <property name="BottomAttach">6</property>
  1272
                    <property name="LeftAttach">1</property>
  1273
                    <property name="RightAttach">2</property>
  1274
                    <property name="AutoSize">True</property>
  1275
                    <property name="XOptions">Fill</property>
  1276
                    <property name="YOptions">Fill</property>
  1277
                    <property name="XExpand">False</property>
  1278
                    <property name="XFill">True</property>
  1279
                    <property name="XShrink">False</property>
  1280
                    <property name="YExpand">False</property>
  1281
                    <property name="YFill">True</property>
  1282
                    <property name="YShrink">False</property>
  1283
                  </packing>
  1284
                </child>
  1285
                <child>
  1286
                  <widget class="Gtk.Entry" id="entTitle">
  1287
                    <property name="MemberName" />
  1288
                    <property name="CanFocus">True</property>
  1289
                    <property name="IsEditable">True</property>
  1290
                    <property name="InvisibleChar">●</property>
  1291
                  </widget>
  1292
                  <packing>
  1293
                    <property name="TopAttach">1</property>
  1294
                    <property name="BottomAttach">2</property>
  1295
                    <property name="LeftAttach">1</property>
  1296
                    <property name="RightAttach">3</property>
  1297
                    <property name="AutoSize">True</property>
  1298
                    <property name="YOptions">Fill</property>
  1299
                    <property name="XExpand">True</property>
  1300
                    <property name="XFill">True</property>
  1301
                    <property name="XShrink">False</property>
  1302
                    <property name="YExpand">False</property>
  1303
                    <property name="YFill">True</property>
  1304
                    <property name="YShrink">False</property>
  1305
                  </packing>
  1306
                </child>
  1307
                <child>
  1308
                  <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
  1309
                    <property name="MemberName" />
  1310
                    <property name="ShadowType">In</property>
1084 1311
                    <child>
1085  
                      <widget class="Gtk.HBox" id="hbox3">
  1312
                      <widget class="Gtk.TreeView" id="trvLIstAuteur">
1086 1313
                        <property name="MemberName" />
1087  
                        <property name="Spacing">6</property>
1088  
                        <child>
1089  
                          <widget class="Gtk.Label" id="label4">
1090  
                            <property name="MemberName" />
1091  
                            <property name="LabelProp" translatable="yes">Titre</property>
1092  
                          </widget>
1093  
                          <packing>
1094  
                            <property name="Position">0</property>
1095  
                            <property name="AutoSize">True</property>
1096  
                            <property name="Expand">False</property>
1097  
                            <property name="Fill">False</property>
1098  
                          </packing>
1099  
                        </child>
1100  
                        <child>
1101  
                          <widget class="Gtk.Alignment" id="alignment2">
1102  
                            <property name="MemberName" />
1103  
                            <property name="LeftPadding">14</property>
1104  
                            <child>
1105  
                              <widget class="Gtk.Entry" id="entTitle">
1106  
                                <property name="MemberName" />
1107  
                                <property name="CanFocus">True</property>
1108  
                                <property name="IsEditable">True</property>
1109  
                                <property name="InvisibleChar">●</property>
1110  
                              </widget>
1111  
                            </child>
1112  
                          </widget>
1113  
                          <packing>
1114  
                            <property name="Position">1</property>
1115  
                            <property name="AutoSize">True</property>
1116  
                          </packing>
1117  
                        </child>
  1314
                        <property name="CanFocus">True</property>
  1315
                        <property name="ShowScrollbars">True</property>
1118 1316
                      </widget>
1119  
                      <packing>
1120  
                        <property name="Position">0</property>
1121  
                        <property name="AutoSize">True</property>
1122  
                        <property name="Expand">False</property>
1123  
                        <property name="Fill">False</property>
1124  
                      </packing>
1125 1317
                    </child>
  1318
                  </widget>
  1319
                  <packing>
  1320
                    <property name="TopAttach">2</property>
  1321
                    <property name="BottomAttach">3</property>
  1322
                    <property name="LeftAttach">1</property>
  1323
                    <property name="RightAttach">3</property>
  1324
                    <property name="AutoSize">True</property>
  1325
                    <property name="XOptions">Fill</property>
  1326
                    <property name="YOptions">Fill</property>
  1327
                    <property name="XExpand">False</property>
  1328
                    <property name="XFill">True</property>
  1329
                    <property name="XShrink">False</property>
  1330
                    <property name="YExpand">False</property>
  1331
                    <property name="YFill">True</property>
  1332
                    <property name="YShrink">False</property>
  1333
                  </packing>
  1334
                </child>
  1335
                <child>
  1336
                  <widget class="Gtk.HButtonBox" id="hbuttonbox2">
  1337
                    <property name="MemberName" />
  1338
                    <property name="Size">2</property>
  1339
                    <property name="LayoutStyle">Spread</property>
1126 1340
                    <child>
1127  
                      <widget class="Gtk.HBox" id="hbox4">
  1341
                      <widget class="Gtk.Button" id="btnAddAuteur">
1128 1342
                        <property name="MemberName" />
1129  
                        <property name="Spacing">6</property>
1130  
                        <child>
1131  
                          <widget class="Gtk.Label" id="label5">
1132  
                            <property name="MemberName" />
1133  
                            <property name="LabelProp" translatable="yes">Auteur</property>
1134  
                          </widget>
1135  
                          <packing>
1136  
                            <property name="Position">0</property>
1137  
                            <property name="AutoSize">True</property>
1138  
                            <property name="Expand">False</property>
1139  
                            <property name="Fill">False</property>
1140  
                          </packing>
1141  
                        </child>
1142  
                        <child>
1143  
                          <widget class="Gtk.Entry" id="entAuteur">
1144  
                            <property name="MemberName" />
1145  
                            <property name="CanFocus">True</property>
1146  
                            <property name="IsEditable">True</property>
1147  
                            <property name="InvisibleChar">●</property>
1148  
                          </widget>
1149  
                          <packing>
1150  
                            <property name="Position">1</property>
1151  
                            <property name="AutoSize">True</property>
1152  
                          </packing>
1153  
                        </child>
  1343
                        <property name="CanFocus">True</property>
  1344
                        <property name="UseStock">True</property>
  1345
                        <property name="Type">StockItem</property>
  1346
                        <property name="StockId">gtk-add</property>
  1347
                        <signal name="Clicked" handler="OnBtnAddAuteurClicked" />
  1348
                        <property name="label">gtk-add</property>
1154 1349
                      </widget>
1155 1350
                      <packing>
1156  
                        <property name="Position">1</property>
1157  
                        <property name="AutoSize">True</property>
1158 1351
                        <property name="Expand">False</property>
1159 1352
                        <property name="Fill">False</property>
1160 1353
                      </packing>
1161 1354
                    </child>
1162 1355
                    <child>
1163  
                      <widget class="Gtk.HBox" id="hbox8">
  1356
                      <widget class="Gtk.Button" id="btnDeleteAuteur">
1164 1357
                        <property name="MemberName" />
1165  
                        <property name="Spacing">6</property>
1166  
                        <child>
1167  
                          <widget class="Gtk.Label" id="label9">
1168  
                            <property name="MemberName" />
1169  
                            <property name="LabelProp" translatable="yes">Série</property>
1170  
                          </widget>
1171  
                          <packing>
1172  
                            <property name="Position">0</property>
1173  
                            <property name="AutoSize">True</property>
1174  
                            <property name="Expand">False</property>
1175  
                            <property name="Fill">False</property>
1176  
                          </packing>
1177  
                        </child>
1178  
                        <child>
1179  
                          <widget class="Gtk.Alignment" id="alignment4">
1180  
                            <property name="MemberName" />
1181  
                            <property name="LeftPadding">11</property>
1182  
                            <child>
1183  
                              <widget class="Gtk.Entry" id="entSerie">
1184  
                                <property name="MemberName" />
1185  
                                <property name="CanFocus">True</property>
1186  
                                <property name="IsEditable">True</property>
1187  
                                <property name="InvisibleChar">●</property>
1188  
                              </widget>
1189  
                            </child>
1190  
                          </widget>
1191  
                          <packing>
1192  
                            <property name="Position">1</property>
1193  
                            <property name="AutoSize">True</property>
1194  
                          </packing>
1195  
                        </child>
1196  
                        <child>
1197  
                          <widget class="Gtk.Label" id="label10">
1198  
                            <property name="MemberName" />
1199  
                            <property name="LabelProp" translatable="yes">Tome</property>
1200  
                          </widget>
1201  
                          <packing>
1202  
                            <property name="Position">2</property>
1203  
                            <property name="AutoSize">True</property>
1204  
                            <property name="Expand">False</property>
1205  
                            <property name="Fill">False</property>
1206  
                          </packing>
1207  
                        </child>
1208  
                        <child>
1209  
                          <widget class="Gtk.SpinButton" id="spbTome">
1210  
                            <property name="MemberName" />
1211  
                            <property name="CanFocus">True</property>
1212  
                            <property name="Upper">20</property>
1213  
                            <property name="PageIncrement">10</property>
1214  
                            <property name="StepIncrement">1</property>
1215  
                            <property name="ClimbRate">1</property>
1216  
                            <property name="Numeric">True</property>
1217  
                          </widget>
1218  
                          <packing>
1219  
                            <property name="Position">3</property>
1220  
                            <property name="AutoSize">True</property>
1221  
                            <property name="Expand">False</property>
1222  
                            <property name="Fill">False</property>
1223  
                          </packing>
1224  
                        </child>
  1358
                        <property name="CanFocus">True</property>
  1359
                        <property name="UseStock">True</property>
  1360
                        <property name="Type">StockItem</property>
  1361
                        <property name="StockId">gtk-delete</property>
  1362
                        <signal name="Clicked" handler="OnBtnDeleteAuteurClicked" />
  1363
                        <property name="label">gtk-delete</property>
1225 1364
                      </widget>
1226 1365
                      <packing>
1227  
                        <property name="Position">2</property>
1228  
                        <property name="AutoSize">True</property>
  1366
                        <property name="Position">1<;/property>
1229 1367
                        <property name="Expand">False</property>
1230 1368
                        <property name="Fill">False</property>
1231 1369
                      </packing>
1232 1370
                    </child>
1233  
                    <child>
1234  
                      <widget class="Gtk.HBox" id="hbox5">
1235  
                        <property name="MemberName" />
1236  
                        <property name="Spacing">6</property>
1237  
                        <child>
1238  
                          <widget class="Gtk.Label" id="label6">
1239  
                            <property name="MemberName" />
1240  
                            <property name="LabelProp" translatable="yes">Genre</property>
1241  
                          </widget>
1242  
                          <packing>
1243  
                            <property name="Position">0</property>
1244  
                            <property name="AutoSize">True</property>
1245  
                            <property name="Expand">False</property>
1246  
                            <property name="Fill">False</property>
1247  
                          </packing>
1248  
                        </child>
1249  
                        <child>
1250  
                          <widget class="Gtk.Alignment" id="alignment3">
1251  
                            <property name="MemberName" />
1252  
                            <property name="LeftPadding">5</property>
1253  
                            <child>
1254  
                              <widget class="Gtk.ComboBox" id="cbxGenre">
1255  
                                <property name="MemberName" />
1256  
                                <property name="IsTextCombo">True</property>
1257  
                                <property name="Items" translatable="yes" />
1258  
                              </widget>
1259  
                            </child>
1260  
                          </widget>
1261  
                          <packing>
1262  
                            <property name="Position">1</property>
1263  
                            <property name="AutoSize">False</property>
1264  
                          </packing>
1265  
                        </child>
1266  
                        <child>
1267  
                          <widget class="Gtk.Label" id="label11">
1268  
                            <property name="MemberName" />
1269  
                            <property name="Xalign">1</property>
1270  
                            <property name="LabelProp" translatable="yes">Note</property>
1271  
                          </widget>
1272  
                          <packing>
1273  
                            <property name="Position">2</property>
1274  
                            <property name="AutoSize">False</property>
1275  
                          </packing>
1276  
                        </child>
1277  
                        <child>
1278  
                          <widget class="Gtk.SpinButton" id="spbNote">
1279  
                            <property name="MemberName" />
1280  
                            <property name="CanFocus">True</property>
1281  
                            <property name="Lower">-1</property>
1282  
                            <property name="Upper">5</property>
1283  
                            <property name="PageIncrement">10</property>
1284  
                            <property name="StepIncrement">1</property>
1285  
                            <property name="ClimbRate">1</property>
1286  
                            <property name="Numeric">True</property>
1287  
                            <property name="Value">-1</property>
1288  
                          </widget>
1289  
                          <packing>
1290  
                            <property name="Position">3</property>
1291  
                            <property name="AutoSize">False</property>
1292  
                          </packing>
1293  
                        </child>
1294  
                        <child>
1295  
                          <widget class="Gtk.Alignment" id="alignment6">
1296  
                            <property name="MemberName" />
1297  
                            <property name="RightPadding">32</property>
1298  
                            <child>
1299  
                              <widget class="Gtk.CheckButton" id="ckbLu">
1300  
                                <property name="MemberName" />
1301  
                                <property name="CanFocus">True</property>
1302  
                                <property name="Label" translatable="yes">Lu</property>
1303  
                                <property name="DrawIndicator">True</property>
1304  
                                <property name="HasLabel">True</property>
1305  
                                <property name="UseUnderline">True</property>
1306  
                              </widget>
1307  
                            </child>
1308  
                          </widget>
1309  
                          <packing>
1310  
                            <property name="Position">4</property>
1311  
                            <property name="AutoSize">False</property>
1312  
                            <property name="Expand">False</property>
1313  
                            <property name="Fill">False</property>
1314  
                          </packing>
1315  
                        </child>
1316  
                      </widget>
1317  
                      <packing>
1318  
                        <property name="Position">3</property>
1319  
                        <property name="AutoSize">True</property>
1320  
                        <property name="Expand">False</property>
1321  
                        <property name="Fill">False</property>
1322  
                      </packing>
1323  
                    </child>
1324  
                    <child>
1325  
                      <widget class="Gtk.HBox" id="hbox6">
1326  
                        <property name="MemberName" />
1327  
                        <property name="Spacing">6</property>
1328  
                        <child>
1329  
                          <widget class="Gtk.Label" id="label12">
1330  
                            <property name="MemberName" />
1331  
                            <property name="LabelProp" translatable="yes">Année de publication</property>
1332  
                          </widget>
1333  
                          <packing>
1334  
                            <property name="Position">0</property>
1335  
                            <property name="AutoSize">True</property>
1336  
                            <property name="Expand">False</property>
1337  
                            <property name="Fill">False</property>
1338  
                          </packing>
1339  
                        </child>
1340  
                        <child>
1341  
                          <widget class="Gtk.Entry" id="entPublication">
1342  
                            <property name="MemberName" />
1343  
                            <property name="CanFocus">True</property>
1344  
                            <property name="IsEditable">True</property>
1345  
                            <property name="WidthChars">4</property>
1346  
                            <property name="MaxLength">4</property>
1347  
                            <property name="InvisibleChar">●</property>
1348  
                          </widget>
1349  
                          <packing>
1350  
                            <property name="Position">1</property>
1351  
                            <property name="AutoSize">True</property>
1352  
                          </packing>
1353  
                        </child>
1354  
                        <child>
1355  
                          <placeholder />
1356  
                        </child>
1357  
                        <child>
1358  
                          <widget class="Gtk.Alignment" id="alignment5">
1359  
                            <property name="MemberName" />
1360  
                            <property name="RightPadding">13</property>
1361  
                            <child>
1362  
                              <widget class="Gtk.CheckButton" id="ckbPret">
1363  
                                <property name="MemberName" />
1364  
                                <property name="CanFocus">True</property>
1365  
                                <property name="Label" translatable="yes">Prété</property>
1366  
                                <property name="DrawIndicator">True</property>
1367  
                                <property name="HasLabel">True</property>
1368  
                                <property name="UseUnderline">True</property>
1369  
                                <property name="Xalign">1</property>
1370  
                              </widget>
1371  
                            </child>
1372  
                          </widget>
1373  
                          <packing>
1374  
                            <property name="Position">3</property>
1375  
                            <property name="AutoSize">False</property>
1376  
                            <property name="Expand">False</property>
1377  
                            <property name="Fill">False</property>
1378  
                          </packing>
1379  
                        </child>
1380  
                      </widget>
1381  
                      <packing>
1382  
                        <property name="Position">4</property>
1383  
                        <property name="AutoSize">True</property>
1384  
                        <property name="Expand">False</property>
1385  
                        <property name="Fill">False</property>
1386  
                      </packing>
1387  
                    </child>
1388 1371
                  </widget>
  1372
                  <packing&gt;
  1373
                    <property name="TopAttach">4</property>
  1374
                    <property name="BottomAttach">5</property>
  1375
                    <property name="LeftAttach">1</property>
  1376
                    <property name="RightAttach">3</property>
  1377
                    <property name="AutoSize">True</property>
  1378
                    <property name="XOptions">Fill</property>
  1379
                    <property name="YOptions">Fill</property>
  1380
                    <property name="XExpand">False</property>
  1381
                    <property name="XFill">True</property>
  1382
                    <property name="XShrink">False</property>
  1383
                    <property name="YExpand">False</property>
  1384
                    <property name="YFill">True</property>
  1385
                    <property name="YShrink">False</property>
  1386
                  </packing>
1389 1387
                </child>
  1388
                <child>
  1389
                  <widget class="Gtk.Label" id="label1">
  1390
                    <property name="MemberName" />
  1391
                    <property name="Xalign">0</property>
  1392
                    <property name="LabelProp" translatable="yes">Acheté/emprunté/lu le : </property>
  1393
                  </widget>
  1394
                  <packing>
  1395
                    <property name="TopAttach">5</property>
  1396
                    <property name="BottomAttach">6</property>
  1397
                    <property name="LeftAttach">2</property>
  1398
                    <property name="RightAttach">3</property>
  1399
                    <property name="AutoSize">True</property>
  1400
                    <property name="XOptions">Fill</property>
  1401
                    <property name="YOptions">Fill</property>
  1402
                    <property name="XExpand">False</property>
  1403
                    <property name="XFill">True</property>
  1404
                    <property name="XShrink">False</property>
  1405
                    <property name="YExpand">False</property>
  1406
                    <property name="YFill">True</property>
  1407
                    <property name="YShrink">False</property>
  1408
                  </packing>
  1409
                </child>
  1410
                <child>
  1411
                  <widget class="Gtk.Label" id="label10">
  1412
                    <property name="MemberName" />
  1413
                    <property name="Xalign">0</property>
  1414
                    <property name="LabelProp" translatable="yes">Tome</property>
  1415
                  </widget>
  1416
                  <packing>
  1417
                    <property name="TopAttach">6</property>
  1418
                    <property name="BottomAttach">7</property>
  1419
                    <property name="AutoSize">True</property>
  1420
                    <property name="XOptions">Fill</property>
  1421
                    <property name="YOptions">Fill</property>
  1422
                    <property name="XExpand">False</property>
  1423
                    <property name="XFill">True</property>
  1424
                    <property name="XShrink">False</property>
  1425
                    <property name="YExpand">False</property>
  1426
                    <property name="YFill">True</property>
  1427
                    <property name="YShrink">False</property>
  1428
                  </packing>
  1429
                </child>
  1430
                <child>
  1431
                  <widget class="Gtk.Label" id="label11">
  1432
                    <property name="MemberName" />
  1433
                    <property name="Xalign">0</property>
  1434
                    <property name="LabelProp" translatable="yes">Note</property>
  1435
                  </widget>
  1436
                  <packing>
  1437
                    <property name="TopAttach">10</property>
  1438
                    <property name="BottomAttach">11</property>
  1439
                    <property name="AutoSize">True</property>
  1440
                    <property name="XOptions">Fill</property>
  1441
                    <property name="YOptions">Fill</property>
  1442
                    <property name="XExpand">False</property>
  1443
                    <property name="XFill">True</property>
  1444
                    <property name="XShrink">False</property>
  1445
                    <property name="YExpand">False</property>
  1446
                    <property name="YFill">True</property>
  1447
                    <property name="YShrink">False</property>
  1448
                  </packing>
  1449
                </child>
  1450
                <child>
  1451
                  <widget class="Gtk.Label" id="label12">
  1452
                    <property name="MemberName" />
  1453
                    <property name="Xalign">0</property>
  1454
                    <property name="LabelProp" translatable="yes">Publié en</property>
  1455
                  </widget>
  1456
                  <packing>
  1457
                    <property name="TopAttach">11</property>
  1458
                    <property name="BottomAttach">12</property>
  1459
                    <property name="AutoSize">True</property>
  1460
                    <property name="XOptions">Fill</property>
  1461
                    <property name="YOptions">Fill</property>
  1462
                    <property name="XExpand">False</property>
  1463
                    <property name="XFill">True</property>
  1464
                    <property name="XShrink">False</property>
  1465
                    <property name="YExpand">False</property>
  1466
                    <property name="YFill">True</property>
  1467
                    <property name="YShrink">False</property>
  1468
                  </packing>
  1469
                </child>
  1470
                <child>
  1471
                  <widget class="Gtk.Label" id="label2">
  1472
                    <property name="MemberName" />
  1473
                    <property name="Xalign">0</property>
  1474
                    <property name="LabelProp" translatable="yes">&lt;b&gt;Détails du livre&lt;/b&gt;</property>
  1475
                    <property name="UseMarkup">True</property>
  1476
                  </widget>
  1477
                  <packing>
  1478
                    <property name="RightAttach">3</property>
  1479
                    <property name="AutoSize">True</property>
  1480
                    <property name="XOptions">Fill</property>
  1481
                    <property name="YOptions">Fill</property>
  1482
                    <property name="XExpand">False</property>
  1483
                    <property name="XFill">True</property>
  1484
                    <property name="XShrink">False</property>
  1485
                    <property name="YExpand">False</property>
  1486
                    <property name="YFill">True</property>
  1487
                    <property name="YShrink">False</property>
  1488
                  </packing>
  1489
                </child>
  1490
                <child>
  1491
                  <widget class="Gtk.Label" id="label3">
  1492
                    <property name="MemberName" />
  1493
                    <property name="Xalign">0</property>
  1494
                    <property name="LabelProp" translatable="yes">Source</property>
  1495
                  </widget>
  1496
                  <packing>
  1497
                    <property name="TopAttach">8</property>
  1498
                    <property name="BottomAttach">9</property>
  1499
                    <property name="AutoSize">True</property>
  1500
                    <property name="XOptions">Fill</property>
  1501
                    <property name="YOptions">Fill</property>
  1502
                    <property name="XExpand">False</property>
  1503
                    <property name="XFill">True</property>
  1504
                    <property name="XShrink">False</property>
  1505
                    <property name="YExpand">False</property>
  1506
                    <property name="YFill">True</property>
  1507
                    <property name="YShrink">False</property>
  1508
                  </packing>
  1509
                </child>
  1510
                <child>
  1511
                  <widget class="Gtk.Label" id="label4">
  1512
                    <property name="MemberName" />
  1513
                    <property name="Xalign">0</property>
  1514
                    <property name="LabelProp" translatable="yes">Titre</property>
  1515
                  </widget>
  1516
                  <packing>
  1517
                    <property name="TopAttach">1</property>
  1518
                    <property name="BottomAttach">2</property>
  1519
                    <property name="AutoSize">True</property>
  1520
                    <property name="XOptions">Fill</property>
  1521
                    <property name="YOptions">Fill</property>
  1522
                    <property name="XExpand">False</property>
  1523
                    <property name="XFill">True</property>
  1524
                    <property name="XShrink">False</property>
  1525
                    <property name="YExpand">False</property>
  1526
                    <property name="YFill">True</property>
  1527
                    <property name="YShrink">False</property>
  1528
                  </packing>
  1529
                </child>
  1530
                <child>
  1531
                  <widget class="Gtk.Label" id="label5">
  1532
                    <property name="MemberName" />
  1533
                    <property name="Xalign">0</property>
  1534
                    <property name="Yalign">0</property>
  1535
                    <property name="LabelProp" translatable="yes">Auteurs</property>
  1536
                  </widget>
  1537
                  <packing>
  1538
                    <property name="TopAttach">2</property>
  1539
                    <property name="BottomAttach">5</property>
  1540
                    <property name="AutoSize">True</property>
  1541
                    <property name="XOptions">Fill</property>
  1542
                    <property name="YOptions">Fill</property>
  1543
                    <property name="XExpand">False</property>
  1544
                    <property name="XFill">True</property>
  1545
                    <property name="XShrink">False</property>
  1546
                    <property name="YExpand">False</property>
  1547
                    <property name="YFill">True</property>
  1548
                    <property name="YShrink">False</property>
  1549
                  </packing>
  1550
                </child>
  1551
                <child>
  1552
                  <widget class="Gtk.Label" id="label6">
  1553
                    <property name="MemberName" />
  1554
                    <property name="Xalign">0</property>
  1555
                    <property name="LabelProp" translatable="yes">Genre</property>
  1556
                  </widget>
  1557
                  <packing>
  1558
                    <property name="TopAttach">7</property>
  1559
                    <property name="BottomAttach">8</property>
  1560
                    <property name="AutoSize">True</property>
  1561
                    <property name="XOptions">Fill</property>
  1562
                    <property name="YOptions">Fill</property>
  1563
                    <property name="XExpand">False</property>
  1564
                    <property name="XFill">True</property>
  1565
                    <property name="XShrink">False</property>
  1566
                    <property name="YExpand">False</property>
  1567
                    <property name="YFill">True</property>
  1568
                    <property name="YShrink">False</property>
  1569
                  </packing>
  1570
                </child>
  1571
                <child>
  1572
                  <widget class="Gtk.Label" id="label9">
  1573
                    <property name="MemberName" />
  1574
                    <property name="Xalign">0</property>
  1575
                    <property name="LabelProp" translatable="yes">Série</property>
  1576
                  </widget>
  1577
                  <packing>
  1578
                    <property name="TopAttach">5</property>
  1579
                    <property name="BottomAttach">6</property>
  1580
                    <property name="AutoSize">True</property>
  1581
                    <property name="XOptions">Fill</property>
  1582
                    <property name="YOptions">Fill</property>
  1583
                    <property name="XExpand">False</property>
  1584
                    <property name="XFill">True</property>
  1585
                    <property name="XShrink">False</property>
  1586
                    <property name="YExpand">False</property>
  1587
                    <property name="YFill">True</property>
  1588
                    <property name="YShrink">False</property>
  1589
                  </packing>
  1590
                </child>
  1591
                <child>
  1592
                  <widget class="Gtk.SpinButton" id="spbNote">
  1593
                    <property name="MemberName" />
  1594
                    <property name="CanFocus">True</property>
  1595
                    <property name="Lower">-1</property>
  1596
                    <property name="Upper">5</property>
  1597
                    <property name="PageIncrement">10</property>
  1598
                    <property name="StepIncrement">1</property>
  1599
                    <property name="ClimbRate">1</property>
  1600
                    <property name="Numeric">True</property>
  1601
                    <property name="Value">-1</property>
  1602
                  </widget>
  1603
                  <packing>
  1604
                    <property name="TopAttach">10</property>
  1605
                    <property name="BottomAttach">11</property>
  1606
                    <property name="LeftAttach">1</property>
  1607
                    <property name="RightAttach">2</property>
  1608
                    <property name="AutoSize">True</property>
  1609
                    <property name="XOptions">Fill</property>
  1610
                    <property name="YOptions">Fill</property>
  1611
                    <property name="XExpand">False</property>
  1612
                    <property name="XFill">True</property>
  1613
                    <property name="XShrink">False</property>
  1614
                    <property name="YExpand">False</property>
  1615
                    <property name="YFill">True</property>
  1616
                    <property name="YShrink">False</property>
  1617
                  </packing>
  1618
                </child>
  1619
                <child>
  1620
                  <widget class="Gtk.SpinButton" id="spbTome">
  1621
                    <property name="MemberName" />
  1622
                    <property name="CanFocus">True</property>
  1623
                    <property name="Upper">20</property>
  1624
                    <property name="PageIncrement">10</property>
  1625
                    <property name="StepIncrement">1</property>
  1626
                    <property name="ClimbRate">1</property>
  1627
                    <property name="Numeric">True</property>
  1628
                  </widget>
  1629
                  <packing>
  1630
                    <property name="TopAttach">6</property>
  1631
                    <property name="BottomAttach">7</property>
  1632
                    <property name="LeftAttach">1</property>
  1633
                    <property name="RightAttach">2</property>
  1634
                    <property name="AutoSize">True</property>
  1635
                    <property name="XOptions">Fill</property>
  1636
                    <property name="YOptions">Fill</property>
  1637
                    <property name="XExpand">False</property>
  1638
                    <property name="XFill">True</property>
  1639
                    <property name="XShrink">False</property>
  1640
                    <property name="YExpand">False</property>
  1641
                    <property name="YFill">True</property>
  1642
                    <property name="YShrink">False</property>
  1643
                  </packing>
  1644
                </child>
1390 1645
              </widget>
1391  
              <packing>
1392  
                <property name="Position">1</property>
1393  
                <property name="AutoSize">True</property>
1394  
                <property name="Expand">False</property>
1395  
                <property name="Fill">False</property>
1396  
              </packing>
1397 1646
            </child>
1398 1647
          </widget>
1399 1648
          <packing>
1449 1698
      </widget>
1450 1699
    </child>
1451 1700
  </widget>
1452  
  <widget class="Gtk.Window" id="biblix.winSearch" design-size="446 445">
  1701
  <widget class="Gtk.Dialog" id="biblix.dlgAddAuteur" design-size="400 142">
1453 1702
    <property name="MemberName" />
1454  
    <property name="Title" translatable="yes">winSearch</property>
  1703
    <property name="Title" translatable="yes">Ajouter un auteur</property>
  1704
    <property name="TypeHint">Dialog</property>
1455 1705
    <property name="WindowPosition">CenterOnParent</property>
1456  
    <child>
1457  
      <widget class="Gtk.VBox" id="vbox2">
  1706
    <property name="Modal">True</property>
  1707
    <property name="BorderWidth">5</property>
  1708
    <property name="Resizable">False</property>
  1709
    <property name="AllowGrow">False</property>
  1710
    <property name="Buttons">2</property>
  1711
    <property name="HelpButton">False</property>
  1712
    <property name="HasSeparator">False</property>
  1713
    <child internal-child="VBox">
  1714
      <widget class="Gtk.VBox" id="dialog1_VBox">
1458 1715
        <property name="MemberName" />
1459  
        <property name="Spacing">6</property>
  1716
        <property name="BorderWidth">2</property>
1460 1717
        <child>
1461  
          <placeholder />
1462  
        </child>
1463  
        <child>
1464  
          <widget class="Gtk.HBox" id="hbox1">
  1718
          <widget class="Gtk.Table" id="table2">
1465 1719
            <property name="MemberName" />
1466  
            <property name="Spacing">6</property>
  1720
            <property name="NRows">3&lt;/property>
  1721
            <property name="NColumns">3</property>
  1722
            <property name="RowSpacing">6</property>
  1723
            <property name="ColumnSpacing">6</property>
1467 1724
            <child>
1468  
              <widget class="Gtk.Label" id="label1">
  1725
              <placeholder />
  1726
            </child>
  1727
            <child>
  1728
              <placeholder />
  1729
            </child>
  1730
            <child>
  1731
              <placeholder />
  1732
            </child>
  1733
            <child>
  1734
              <widget class="Gtk.Entry" id="entNomAuteur">
1469 1735
                <property name="MemberName" />
1470  
                <property name="LabelProp" translatable="yes">Texte à rechercher</property>
  1736
                <property name="CanFocus">True</property>
  1737
                <property name="IsEditable">True</property>
  1738
                <property name="InvisibleChar">●</property>
1471 1739
              </widget>
1472 1740
              <packing>
1473  
                <property name="Position">0</property>
  1741
                <property name="TopAttach">1</property>
  1742
                <property name="BottomAttach">2</property>
  1743
                <property name="LeftAttach">1</property>
  1744
                <property name="RightAttach">2</property>
1474 1745
                <property name="AutoSize">True</property>
1475  
                <property name="Expand">False</property>
1476  
                <property name="Fill">False</property>
  1746
                <property name="XOptions">Fill</property>
  1747
                <property name="YOptions">Fill</property>
  1748
                <property name="XExpand">False</property>
  1749
                <property name="XFill">True</property>
  1750
                <property name="XShrink">False</property>
  1751
                <property name="YExpand">False</property>
  1752
                <property name="YFill">True</property>
  1753
                <property name="YShrink">False</property>
1477 1754
              </packing>
1478 1755
            </child>
1479 1756
            <child>
1480  
              <widget class="Gtk.Entry" id="entry1">
  1757
              <widget class="Gtk.Entry" id="entPrenomAuteur">
1481 1758
                <property name="MemberName" />
1482 1759
                <property name="CanFocus">True</property>
1483 1760
                <property name="IsEditable">True</property>
1484 1761
                <property name="InvisibleChar">●</property>
1485 1762
              </widget>
1486 1763
              <packing>
1487  
                <property name="Position">1</property>
  1764
                <property name="TopAttach">2</property>
  1765
                <property name="BottomAttach">3</property>
  1766
                <property name="LeftAttach">1</property>
  1767
                <property name="RightAttach">2</property>
1488 1768
                <property name="AutoSize">True</property>
  1769
                <property name="XOptions">Fill</property>
  1770
                <property name="YOptions">Fill</property>
  1771
                <property name="XExpand">False</property>
  1772
                <property name="XFill">True</property>
  1773
                <property name="XShrink">False</property>
  1774
                <property name="YExpand">False</property>
  1775
                <property name="YFill">True</property>
  1776
                <property name="YShrink">False</property>
1489 1777
              </packing>
1490 1778
            </child>
1491 1779
            <child>
1492  
              <placeholder />
  1780
              <widget class="Gtk.Label" id="label2">
  1781
                <property name="MemberName" />
  1782
                <property name="LabelProp" translatable="yes">&lt;b&gt;Détails sur l'auteur&lt;/b&gt;</property>
  1783
                <property name="UseMarkup">True</property>
  1784
              </widget>
  1785
              <packing>
  1786
                <property name="RightAttach">2</property>
  1787
                <property name="AutoSize">True</property>
  1788
                <property name="XOptions">Fill</property>
  1789
                <property name="YOptions">Fill</property>
  1790
                <property name="XExpand">False</property>
  1791
                <property name="XFill">True</property>
  1792
                <property name="XShrink">False</property>
  1793
                <property name="YExpand">False</property>
  1794
                <property name="YFill">True</property>
  1795
                <property name="YShrink">False</property>
  1796
              </packing>
1493 1797
            </child>
1494  
          </widget>
1495  
          <packing>
1496  
            <property name="Position">1</property>
1497  
            <property name="AutoSize">True</property>
1498  
            <property name="Expand">False</property>
1499  
            <property name="Fill">False</property>
1500  
          </packing>
1501  
        </child>
1502  
        <child>
1503  
          <placeholder />
1504  
        </child>
1505  
        <child>
1506  
          <widget class="Gtk.Frame" id="frame1">
1507  
            <property name="MemberName" />
1508  
            <property name="ShadowType">In</property>
1509 1798
            <child>
1510  
              <widget class="Gtk.Alignment" id="GtkAlignment">
  1799
              <widget class="Gtk.Label" id="label3">
1511 1800
                <property name="MemberName" />
1512 1801
                <property name="Xalign">0</property>
1513  
                <property name="Yalign">0</property>
1514  
                <property name="LeftPadding">20</property>
1515  
                <child>
1516  
                  <widget class="Gtk.VBox" id="vbox3">
1517  
                    <property name="MemberName" />
1518  
                    <property name="Spacing">6</property>
1519  
                    <child>
1520  
                      <widget class="Gtk.CheckButton" id="checkbutton1">
1521  
                        <property name="MemberName" />
1522  
                        <property name="CanFocus">True</property>
1523  
                        <property name="Label" translatable="yes">checkbutton1</property>
1524  
                        <property name="DrawIndicator">True</property>
1525  
                        <property name="HasLabel">True</property>
1526  
                        <property name="UseUnderline">True</property>
1527  
                      </widget>
1528  
                      <packing>
1529  
                        <property name="Position">0</property>
1530  
                        <property name="AutoSize">True</property>
1531  
                        <property name="Expand">False</property>
1532  
                        <property name="Fill">False</property>
1533  
                      </packing>
1534  
                    </child>
1535  
                    <child>
1536  
                      <widget class="Gtk.CheckButton" id="checkbutton2">
1537  
                        <property name="MemberName" />
1538  
                        <property name="CanFocus">True</property>
1539  
                        <property name="Label" translatable="yes">checkbutton2</property>
1540  
                        <property name="DrawIndicator">True</property>
1541  
                        <property name="HasLabel">True</property>
1542  
                        <property name="UseUnderline">True</property>
1543  
                      </widget>
1544  
                      <packing>
1545  
                        <property name="Position">1</property>
1546  
                        <property name="AutoSize">True</property>
1547  
                        <property name="Expand">False</property>
1548  
                        <property name="Fill">False</property>
1549  
                      </packing>
1550  
                    </child>
1551  
                    <child>
1552  
                      <widget class="Gtk.CheckButton" id="checkbutton3">
1553  
                        <property name="MemberName" />
1554  
                        <property name="CanFocus">True</property>
1555  
                        <property name="Label" translatable="yes">checkbutton3</property>
1556  
                        <property name="DrawIndicator">True</property>
1557  
                        <property name="HasLabel">True</property>
1558  
                        <property name="UseUnderline">True</property>
1559  
                      </widget>
1560  
                      <packing>
1561  
                        <property name="Position">2</property>
1562  
                        <property name="AutoSize">True</property>
1563  
                        <property name="Expand">False</property>
1564  
                        <property name="Fill">False</property>
1565  
                      </packing>
1566  
                    </child>
1567  
                    <child>
1568  
                      <widget class="Gtk.CheckButton" id="checkbutton4">
1569  
                        <property name="MemberName" />
1570  
                        <property name="CanFocus">True</property>
1571  
                        <property name="Label" translatable="yes">checkbutton4</property>
1572  
                        <property name="DrawIndicator">True</property>
1573  
                        <property name="HasLabel">True</property>
1574  
                        <property name="UseUnderline">True</property>
1575  
                      </widget>
1576  
                      <packing>
1577  
                        <property name="Position">3</property>
1578  
                        <property name="AutoSize">True</property>
1579  
                        <property name="Expand">False</property>
1580 &n