Add Education button programmed
authorHarishankar <v.harishankar@gmail.com>
Fri, 26 Oct 2018 16:01:06 +0000 (21:31 +0530)
committerHarishankar <v.harishankar@gmail.com>
Fri, 26 Oct 2018 16:01:06 +0000 (21:31 +0530)
Add Education button is functional now.
TODO: blank the input fields after adding
for convenience

bindata.go
resources/resumebuilder.glade
resumebuilder.go

index cb62463..2ac74c5 100644 (file)
@@ -68,7 +68,7 @@ func (fi bindataFileInfo) Sys() interface{} {
        return nil
 }
 
-var _resourcesResumebuilderGlade = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5c\xdd\x6f\xe2\xba\x12\x7f\xdf\xbf\xc2\x37\xaf\x57\x94\x02\xed\x6e\x2b\x01\xab\xdb\xaf\xd5\x4a\xdd\xed\xde\xa5\xe7\x1c\xed\x13\x32\xf1\x10\x7c\x6a\xec\x1c\xdb\x69\xe1\xbf\x3f\x72\xc2\x47\x80\x7c\x43\x93\xa0\xe5\xa5\x52\x89\x67\x3c\x9e\xf9\xfd\xc6\xf1\xd8\x4e\xf7\xf3\x6c\xca\xd0\x2b\x48\x45\x05\xef\x59\xad\xb3\x73\x0b\x01\xb7\x05\xa1\xdc\xe9\x59\x7f\x3c\x3f\x34\xae\xac\xcf\xfd\x0f\xdd\xff\x34\x1a\xe8\x0b\x70\x90\x58\x03\x41\x6f\x54\x4f\x90\xc3\x30\x01\xd4\x39\x6b\xb7\xcf\x5a\xa8\xd1\xe8\x7f\xe8\x52\xae\x41\x8e\xb1\x0d\xfd\x0f\x08\x75\x25\xfc\xe3\x51\x09\x0a\x31\x3a\xea\x59\x8e\x7e\xf9\xaf\xb5\xee\xa8\x73\xd6\x3e\xb7\x9a\x7e\x3b\x31\xfa\x1b\x6c\x8d\x6c\x86\x95\xea\x59\x5f\xf4\xcb\x23\x55\x7a\xa0\x85\x04\x0b\x51\xd2\xb3\xee\x89\x67\x63\x4d\x05\x0f\x7e\x33\x32\x08\x75\x6d\xc1\xbc\x29\x57\xc1\x7f\x08\xf9\x06\x06\xbf\x35\x38\x9e\x02\xfa\xbf\x87\x19\x1d\xd3\x40\xd2\x37\x6f\xd1\x30\x68\x84\xf4\xdc\x85\x9e\xe5\xd8\x13\x2c\xb1\x94\x78\x1e\x18\x13\xa9\xea\x2b\x57\x9a\x6a\x6f\x7f\x45\xbf\x00\xcb\xa7\xf1\x0f\xac\x14\xe5\x4e\xbc\x2a\x8f\x72\x9d\xa0\xe5\x8b\xc4\x04\x7e\x80\xb4\x81\x6b\xec\x40\x0e\x93\xba\xcd\x90\xd7\xba\xcd\xc0\xf1\xd1\x31\xf8\x8b\x72\x22\xde\x82\x00\x7c\xc3\x94\x2f\xfe\x5f\xe8\x71\xa5\x70\x41\xea\x39\x32\x06\xf5\x2c\xf3\xd7\xea\xaf\x9b\x75\x9b\xcb\x06\xd1\xed\x6d\xcc\x87\x63\x61\x7b\xca\xea\x3f\x60\xa6\x20\xad\xfd\x9b\xaf\x75\xe8\x0a\x45\x4d\x10\xac\xbe\x19\x3a\xc8\x86\xe0\x0d\x17\x4b\xe0\x7a\x47\x81\x3d\xa1\x8c\xac\xdc\xe2\x32\x6c\xc3\x44\x30\x02\x72\xed\x89\x75\x8b\xad\xd6\x3b\xbe\xf8\x2e\x34\x8c\x84\x78\xb1\x96\x4d\x76\x2d\x7c\xa5\x8a\x8e\x18\x58\xfd\x67\xe9\xed\x0c\x27\xc5\x05\x59\x45\x94\x2d\x05\x63\x38\xb9\x9b\x8d\xa1\x44\x0f\xe7\x81\xce\x80\x58\xe1\x36\x05\xc6\x53\x24\xac\xf1\x46\x46\x1b\x7a\xcf\xb5\x9c\x07\x10\x7c\xa0\x52\xe9\xef\x3e\xcc\xb6\xc4\xa2\xd0\x42\xf4\x64\x68\xb2\x0f\x28\x6d\xf5\xdb\xed\xcb\x38\x43\x0a\x8f\xbc\x60\x44\xe3\x44\x29\x77\x3d\x3d\x74\x3d\xe9\x0a\x05\x56\xdf\xfc\x18\x2f\x1e\xe6\xed\xa6\x52\x6c\xbf\x50\xee\xa4\x77\x37\x33\x4e\x69\xe5\x31\x70\x6e\xf5\x5b\x09\x02\xdd\x66\x64\xdf\x1b\x24\x5b\xfd\x98\x31\xf8\x8f\x78\x04\x2c\x43\xb4\x0f\x11\xaf\x44\xb4\x46\xc9\x32\xdf\x38\xa4\x25\xe6\x8a\x61\x6d\x38\xd9\xb3\xe6\x60\x54\x19\xa0\xa2\x12\x22\xd8\xf9\x94\x37\x80\x57\xa7\x00\x66\x08\xe0\x23\xae\x69\xfc\x2e\x13\x04\xde\x23\x7e\xa1\xec\x6b\x7c\x72\x4a\xbe\xa8\xba\xe4\x7b\x79\x5e\x4f\xee\x6e\x47\xfb\x22\xcf\xb8\x26\x40\x9d\x89\x0e\x49\x27\x0c\xb2\xf6\x69\x63\x00\xb3\xba\x25\x8c\xf6\x55\x42\x38\xde\x03\x35\x3f\x31\xa1\xe2\xc6\xd3\x5a\xf0\xe5\xc2\x81\x65\xc9\x19\xf1\x5e\x35\x0a\xf2\x8c\x7a\x0b\x8f\x97\xd7\x7b\xe1\x31\x17\x9a\xab\x48\x5d\x12\x6c\xa0\xaf\xa0\x86\x04\xc6\xd8\x63\xba\x00\xa2\xb1\xad\xe9\x6b\x01\xab\x89\xc4\x6f\x43\xca\x89\x59\x60\x0b\x99\x41\x5e\x51\x87\x63\xb6\x90\xd6\xc2\x71\x18\x10\x0b\x4d\x30\x27\x0c\x64\xcf\x1a\xc0\xcc\x04\x7b\x00\x0c\x6c\x6d\x9e\xa8\x37\xec\xba\x40\x7a\x16\x17\xeb\xb5\xf0\x4a\xdb\x61\xd2\x70\xc2\x1b\x51\x0c\xa3\xda\x15\x33\xea\x01\xa6\xfb\x72\x2a\x50\xb1\x07\xab\x3e\xe5\x9a\xd2\x4f\xac\x7a\x4f\x56\x6d\xc9\x3b\x52\x78\x6e\x86\xb4\x99\x4e\xc6\x00\x25\x65\xd2\xb1\x73\x9e\x0b\x57\x55\xd3\x71\x1f\x0a\x3e\xe9\x09\xc8\x3d\x18\xf8\x71\x3f\x06\x7e\x3c\x31\x30\x56\xae\x3e\x0c\xf4\x41\x52\x2a\x01\xaf\x13\xe8\x54\x0f\x02\x1e\x69\x4d\xe1\x0e\x6b\x40\x62\x8c\x6e\xa8\xd4\x93\xba\x2d\x13\xae\x4b\xae\x2b\x84\x5f\x67\x06\xf8\x15\x0e\x90\x4f\x8d\x9a\x3d\xd2\x69\xab\x93\x6b\xe5\xb9\x9d\x4f\x3b\x47\xf8\x46\x93\xef\x75\xdd\x66\xd4\x7e\xd9\xcc\x4f\xab\xc0\xdd\x2e\x9f\x95\x90\xa0\xda\x79\xb1\x7d\x71\xdd\x29\x17\xdc\xb7\x98\x01\x27\x58\x06\xf0\x36\xbc\x7f\x1a\xfb\xac\x2f\x50\x4c\x49\x2a\xd8\xa6\xa3\xb2\x75\x55\x7a\x39\x25\xaf\xe8\x1c\xb0\xb4\xfa\xed\xf3\x7c\x03\x9d\x0a\x6e\xdc\x99\x6b\x69\x4f\xf0\x3c\x75\xe5\xb1\x81\x78\x82\xe7\x0d\xb5\x9a\x7b\x57\xb0\xbf\x13\x37\xe5\xae\x50\x73\xa5\x16\x93\xcc\x4b\x2e\xf9\x1c\xe9\x84\xfc\x3f\x42\x24\x28\x85\xc6\x42\x22\x5b\x4c\xa7\x1e\x5f\x1c\x14\xa8\xdb\xe4\xdc\x49\x7a\x59\x7f\x8f\x80\x3e\xc8\x82\x75\xfe\xbd\xa6\xd0\xf2\x73\x55\x31\x30\x0d\x67\x98\x51\x87\x5b\xfd\x5c\xf6\xaa\x09\x26\xe2\x6d\xa8\xe7\x2e\x58\x7d\x2e\x78\x72\xbf\x91\x81\x8a\x0e\xd6\xc0\x3f\x11\x00\x64\xe3\x70\xc6\xc1\xbc\x97\xe2\xc1\x22\xe2\x1b\x9e\xa0\x09\x6c\x4b\xf3\x45\xb4\x3f\x9e\x61\xa6\xff\xa4\xb0\x38\xb6\xb2\x20\x79\x8c\x5b\xf6\x76\xcd\x01\xdc\x13\xa5\x02\xdb\x36\xb8\x5a\x0d\x35\x1e\x65\x40\xe9\x42\x47\x4c\x6e\x5a\x3e\x8d\x87\x54\xac\x60\xac\x50\x10\x93\xc5\x11\xa3\x80\x14\x54\xc3\x34\xd2\xcb\x11\x07\x6f\x32\xf4\x51\xd1\xd4\xd9\xe9\x9c\x4e\x38\x64\x99\x3b\x6f\x05\xd7\xd8\xd6\xe8\xbb\x37\x1d\x25\x55\xb1\xaa\x99\x30\x2f\xda\x25\xbf\xf1\x87\xb6\xc9\x17\x9e\x09\x1c\x53\xfa\x1c\x5a\xff\x65\xe8\xd6\x4e\xbb\x3b\x49\x9c\x0a\x2b\x4a\x03\x17\xad\x84\xe2\x6a\x8d\xf6\xda\x2f\xf7\x5a\x1d\x1e\xf5\x5e\xfb\x7d\xe3\x1b\xa6\x0c\x7d\xbd\xab\x5d\xf2\xf9\x58\xf2\xf2\x2b\x94\x7c\xee\xa7\x98\x16\x39\xb2\x91\xef\x2c\xca\xd1\x27\x1d\x30\x6e\xaa\x5f\xd2\xb9\x3c\x08\x70\xa2\xac\x8f\xb6\x7c\xdb\x06\x8d\x47\xc3\x31\x65\x2c\x91\xa7\x11\x86\xec\x18\xb1\xf1\x7a\xe8\xbf\xc3\x86\x15\x64\x4a\x7e\x85\x50\x53\x34\xf3\x64\xcf\x3a\x37\x58\x51\x1b\xdd\x81\xc6\x94\xa9\x38\x07\xd5\xc4\xff\xc9\x4e\x3f\x9a\x03\xe0\x05\x8b\x11\x17\xf9\x12\xf7\xce\xdc\x98\xb4\x10\xa8\xd3\xe4\x78\xaa\x46\xd4\xbb\x1a\x21\x01\xd6\xd5\x88\xd5\x2d\xa6\x47\x6a\x40\x96\xb9\x1e\xb0\x85\xed\xce\x75\xe2\x7b\x5f\x9c\x96\xdd\x33\x00\x89\x98\x89\x53\x53\x87\x02\xc9\x54\x10\x33\x65\x6c\xde\x0a\x2b\xa2\x48\x01\x96\xf6\x64\x18\x5c\x89\x4a\x21\x51\x9c\x0e\xe0\x66\x86\x18\x3a\x92\x92\x21\xa3\xdc\xcc\x13\x23\x91\xb4\xc7\x1b\x52\x15\xcc\x94\xfe\x9d\x39\x8e\x59\xc3\xff\xd7\x58\xc5\xc0\x0e\x6e\x39\xc5\x8a\xc6\xa1\x6d\xb0\x92\x8d\xa8\xb6\xac\x44\xe3\xcb\x41\x61\xc3\xf2\xf7\x6e\xb0\x7e\x1b\x38\x73\xb1\x1c\x66\x1b\x97\xf0\x12\x07\x14\x31\x25\x52\xcd\x20\x72\x26\xde\xd0\x9a\xc5\xd5\xd9\x46\x15\x3d\xb2\x5b\x60\xec\x27\x70\x02\x12\xe4\x33\xcc\x74\x30\x36\x63\x42\x92\x93\x17\xda\xb0\xd6\x92\x8e\x3c\x0d\x2a\xad\x69\xb8\xf1\xd2\x01\xa6\x37\x03\xcb\xd5\x83\xd4\xfe\x9a\x59\x3b\x4c\x05\x41\x5a\x51\x31\x93\x92\x03\x22\x29\x74\x07\xf3\x60\x38\x0a\xe9\xac\x06\x45\x81\x01\xe5\xe0\xa8\x75\xc2\x91\xc1\xd1\x2f\xc0\x52\x2c\xaf\xe0\x1e\x0c\x49\x46\x2b\x12\x63\xb4\xd0\x5b\x0d\x9a\x8c\x11\xc6\x80\x72\xf0\xd4\x3e\xe1\xc9\xf2\x6f\x62\x3f\xc9\xf5\x5d\xec\x83\x01\xca\xd7\xdc\x5c\x2b\xae\x06\x51\xab\x9b\xe6\xe5\x40\xaa\x73\xb4\x90\x3a\x6d\xc0\xed\x14\xc1\x72\xdf\xad\x68\x9d\xce\x92\x66\x29\x43\x6d\x7e\xd7\xe2\xd9\x64\x90\xf7\x2e\x83\xe7\xbd\xad\xd8\xa9\x6e\x0b\x6e\xc3\x3b\xbe\x73\x0a\x94\xc4\xaf\xf6\xda\x5a\xa9\x5b\x49\xfc\x20\x18\x68\xe5\xbb\x4a\x67\xf8\x5c\xd3\x6d\xb4\x9a\xd1\x39\xd3\x1a\xa4\x1a\x1a\x7f\x2a\xf9\x3c\x44\x88\xc6\x21\xaf\x14\xbc\x77\x7e\xb5\x57\x09\xf8\xc4\x61\x1f\x01\x65\x6f\x67\x1e\x29\x87\x33\xaf\xfe\xaa\xe1\x71\xab\x55\xf2\xd7\x03\x42\x44\x5e\xae\x49\xa3\x17\xdb\xbf\x17\x89\x53\xf7\xa6\x09\x75\xa8\x8e\xd9\x5a\x44\xd5\x65\x81\xd6\xf9\x29\x0d\x64\x49\x03\xd9\xd7\xec\x15\xe5\x81\xcb\x92\x57\x58\xa1\x3c\xb0\x5d\x29\x39\x25\x83\x63\x4d\x06\x17\x15\x9f\x54\x59\x7f\x04\x30\x06\xff\xbf\xf7\x29\x95\xd5\xb6\xe8\xa1\x4f\xa8\xa4\xfa\xbd\xdc\x43\x2d\xd1\x85\xad\x9c\x81\xce\xa4\x64\xd3\x65\xa1\x87\xeb\x07\xdd\x66\xe8\xcb\xa7\xff\x06\x00\x00\xff\xff\xf0\x94\x85\x6e\x52\x55\x00\x00")
+var _resourcesResumebuilderGlade = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5c\x5f\x73\xda\xba\x12\x7f\xef\xa7\xd0\xf5\xeb\x1d\x42\x80\xd0\x26\x33\x40\x27\x7f\x3b\x9d\x49\x9b\xde\x26\xbd\x67\xfa\xc4\x08\x6b\x01\x9d\x08\xc9\x47\x92\x13\xf8\xf6\x67\x64\xf3\xc7\x80\x6d\x6c\x63\x6c\x33\xe5\x25\x33\xc1\xda\xf5\x6a\xf7\xb7\x2b\xed\x4a\xeb\xce\xe7\xe9\x84\xa1\x37\x90\x8a\x0a\xde\xb5\x1a\x67\xe7\x16\x02\x6e\x0b\x42\xf9\xa8\x6b\xfd\x7a\x79\xa8\x5d\x5a\x9f\x7b\x1f\x3a\xff\xa9\xd5\xd0\x17\xe0\x20\xb1\x06\x82\xde\xa9\x1e\xa3\x11\xc3\x04\x50\xeb\xac\xd9\x3c\x6b\xa0\x5a\xad\xf7\xa1\x43\xb9\x06\x39\xc4\x36\xf4\x3e\x20\xd4\x91\xf0\x8f\x4b\x25\x28\xc4\xe8\xa0\x6b\x8d\xf4\xeb\x7f\xad\xd5\x8b\x5a\x67\xcd\x73\xab\xee\x8d\x13\x83\xbf\xc1\xd6\xc8\x66\x58\xa9\xae\xf5\x45\xbf\x3e\x52\xa5\x9f\xb5\x90\x60\x21\x4a\xba\xd6\x3d\x71\x6d\xac\xa9\xe0\xfe\x6f\x86\x06\xa1\x8e\x2d\x98\x3b\xe1\xca\xff\x0f\x21\x4f\x40\xff\xb7\x1a\xc7\x13\x40\xff\x73\x31\xa3\x43\xea\x53\x7a\xe2\xcd\x07\xfa\x83\x90\x9e\x39\xd0\xb5\x46\xf6\x18\x4b\x2c\x25\x9e\xf9\xc2\x84\xb2\xfa\xca\x95\xa6\xda\xdd\x9f\xd1\x6f\xc0\xf2\x69\xf8\x03\x2b\x45\xf9\x28\x9a\x95\x4b\xb9\x8e\xe1\xf2\x45\x62\x02\x3f\x40\xda\xc0\x35\x1e\x41\x0a\x91\x3a\xf5\x80\xd6\x3a\x75\x5f\xf1\xe1\x36\xf8\x8b\x72\x22\xde\x7d\x03\x7c\xc3\x94\xcf\xff\x9f\xf3\x71\xa4\x70\x40\xea\x19\x32\x02\x75\x2d\xf3\xd7\xea\xad\x86\x75\xea\x8b\x01\xe1\xe3\x6d\xcc\xfb\x43\x61\xbb\xca\xea\x3d\x60\xa6\x60\xd7\xf8\x77\x8f\x6b\xdf\x11\x8a\x1a\x23\x58\x3d\x33\x75\x90\x35\xc1\x6b\x0e\x96\xc0\xf5\x16\x03\x7b\x4c\x19\x59\xaa\xc5\x61\xd8\x86\xb1\x60\x04\xe4\x4a\x13\xab\x11\x1b\xa3\xb7\x74\xf1\x5d\x68\x18\x08\xf1\x6a\x2d\x86\x6c\x4b\xf8\x46\x15\x1d\x30\xb0\x7a\x2f\xd2\xdd\x9a\xce\x0e\x15\x24\x25\x51\xb6\x14\x8c\xe1\xf8\xd7\xac\x4d\x25\x7c\x3a\x0f\x74\x0a\xc4\x0a\x8e\xc9\x30\x9f\x2c\x66\x8d\x16\x32\x5c\xd0\x7b\xae\xe5\xcc\x87\xe0\x03\x95\x4a\x7f\xf7\x60\xb6\x41\x16\x86\x16\xa2\xc7\x7d\x13\x7d\x40\x69\xab\xd7\x6c\xb6\xa3\x04\xc9\x3c\xf3\x8c\x16\x8d\x22\xa5\xdc\x71\x75\xdf\x71\xa5\x23\x14\x58\x3d\xf3\x63\x34\x79\xd0\x6f\xd7\x99\x62\xfb\x95\xf2\xd1\xee\xd7\x4d\x8d\x52\x1a\x69\x04\x9c\x59\xbd\x46\x0c\x41\xa7\x1e\xfa\xee\x35\x27\x5b\xfe\x98\xd0\xf8\x8f\x78\x00\x2c\x81\xb5\xf3\xb0\x57\x2c\x5a\xc3\x68\x99\x27\x1c\xd2\x12\x73\xc5\xb0\x36\x3e\xd9\xb5\x66\x60\x58\x19\xa0\xa2\x02\x2c\xd8\xfa\x94\xd6\x80\x97\x27\x03\x26\x30\xe0\x23\xae\xa8\xfd\xda\x31\x04\x87\xb0\x5f\x20\xfa\x1a\x9d\x9c\x82\x2f\x2a\x2f\xf8\xb6\xcf\xab\xe9\xbb\x9b\xd6\xbe\x48\x33\xaf\x31\xd0\xd1\x58\x07\xa8\x63\x26\x59\xf9\xb0\xf1\x0c\xd3\xaa\x05\x8c\xe6\x65\x8c\x39\x0e\x81\x9a\x9f\x98\x50\x71\xe3\x6a\x2d\xf8\x22\x71\x60\x49\x62\x46\xb4\x56\x0d\x83\x34\xb3\xde\xc0\x63\xfb\x6a\x2f\x3c\xa6\x42\x73\x19\xa1\x4b\x82\x0d\xf4\x0d\x54\x9f\xc0\x10\xbb\x4c\x67\x40\x34\xb6\x35\x7d\xcb\x20\x35\x91\xf8\xbd\x4f\x39\x31\x09\xb6\x90\x09\xe8\x15\x1d\x71\xcc\xe6\xd4\x5a\x8c\x46\x0c\x88\x85\xc6\x98\x13\x06\xb2\x6b\x3d\xc3\xd4\x18\xfb\x19\x18\xd8\xda\x3c\x51\xef\xd8\x71\x80\x74\x2d\x2e\x56\xb9\xf0\x92\x5b\x3e\x61\x38\x66\x47\x14\xe1\x51\xcd\x92\x3d\xea\x01\x26\xfb\xfa\x94\xcf\x62\x0f\xaf\xfa\x94\x6a\x49\x3f\x79\xd5\x21\xbd\x6a\x83\x7e\x24\x85\xeb\x24\x08\x9b\xbb\x9d\xd1\x47\x49\x91\xee\xd8\x3a\x4f\x85\xab\xb2\xdd\x71\x1f\x17\x7c\xd2\x63\x90\x7b\x78\xe0\xc7\xfd\x3c\xf0\xe3\xc9\x03\x23\xe9\xaa\xe3\x81\x1e\x48\x0a\x75\xc0\xab\x18\x77\xaa\x86\x03\x1e\x69\x4d\xe1\x0e\x6b\x40\x62\x88\x6e\xa8\xd4\xe3\xaa\xa5\x09\x57\x05\xd7\x15\x82\xdb\x99\x67\xfc\x06\x39\xc4\x53\xc3\x66\x8f\x70\xda\x68\xa5\xca\x3c\x37\xe3\x69\xeb\x08\x77\x34\xe9\xb6\xeb\x36\xa3\xf6\xeb\x7a\x7c\x5a\x1a\xee\x76\xf1\xac\x80\x00\xd5\x4c\x8b\xed\x8b\xab\x56\xb1\xe0\xbe\xc5\x0c\x38\xc1\xd2\x87\xb7\xf1\xfb\xa7\xa1\xe7\xf5\x19\x8a\x29\x71\x05\xdb\xdd\xa8\x6c\x5c\x16\x5e\x4e\x49\x4b\x3a\x03\x2c\xad\x5e\xf3\x3c\xdd\x44\x27\x82\x1b\x75\xa6\x4a\xed\x09\x9e\xed\xcc\x3c\xd6\x10\x4f\xf0\xac\xa6\x96\x6b\xef\x12\xf6\x77\xe2\xa6\xd8\x0c\x35\x55\x68\x31\xc1\xbc\xe0\x92\xcf\x91\x2e\xc8\xd7\x84\x48\x50\x0a\x0d\x85\x44\xb6\x98\x4c\x5c\x3e\xbf\x28\x50\xb5\xc5\xb9\x15\xb7\x59\x3f\x84\x41\x1f\x64\xc6\x3a\xff\x5e\x4b\x68\xf1\xb1\x2a\x1b\x98\xfa\x53\xcc\xe8\x88\x5b\xbd\x54\xf2\xaa\x31\x26\xe2\xbd\xaf\x67\x0e\x58\x3d\x2e\x78\xfc\x7b\x43\x0d\x15\x6e\xac\x67\xef\x46\x00\x90\xb5\xcb\x19\xb9\x69\x6f\x87\x06\xb3\x90\xaf\x69\x82\xc6\x78\xdb\x2e\x5d\x84\xeb\xe3\x05\xa6\xfa\xff\x14\xe6\xd7\x56\xe6\x4e\x1e\xa1\x96\xbd\x55\x93\x83\x7a\xc2\x58\x60\xdb\x06\x47\xab\xbe\xc6\x83\x04\x28\x9d\xf3\x88\x88\x4d\x8b\xa7\xd1\x90\x8a\x24\x8c\x24\xf2\x6d\x32\xbf\x62\xe4\x3b\x05\xd5\x30\x09\xd5\x72\xc8\xc5\x9b\x04\xef\x28\x69\xe9\x6c\xb5\x4e\x37\x1c\x92\xac\x9d\xb7\x82\x6b\x6c\x6b\xf4\xdd\x9d\x0c\xe2\xaa\x58\xe5\x2c\x98\x17\xcd\x82\x77\xfc\x81\x63\xf2\xb9\x66\x7c\xc5\x14\xbe\x86\x56\x3f\x0d\xdd\x38\x69\x77\xc6\xb1\x4b\x61\x49\x61\xe0\xa2\x11\x53\x5c\xad\xd0\x59\x7b\x7b\xaf\xec\xf0\xa8\xcf\xda\xef\x6b\xdf\x30\x65\xe8\xeb\x5d\xe5\x82\xcf\xc7\x82\xd3\xaf\x40\xf0\xb9\x9f\x60\x9a\xe5\xca\x46\xba\xbb\x28\x47\x1f\x74\xc0\xa8\xa9\x7a\x41\xa7\x9d\x0b\x70\xc2\xa4\x0f\x97\x7c\x53\x06\x8d\x07\xfd\x21\x65\x2c\xd6\x4f\x43\x04\xd9\x12\x62\x6d\x7b\xe8\xed\x61\x83\x0c\x12\x05\xbf\x4c\xa8\xc9\x1a\x79\x92\x47\x9d\x1b\xac\xa8\x8d\xee\x40\x63\xca\x54\x94\x82\x2a\xa2\xff\x78\xa5\x1f\xcd\x05\xf0\x8c\xc5\x88\x8b\x74\x81\x7b\x6b\x6d\x8c\x4b\x04\xaa\xb4\x38\x9e\xaa\x11\xd5\xae\x46\x48\x80\x55\x35\x62\xd9\xc5\xf4\x48\x0d\xc8\x12\xd7\x03\x36\xb0\xdd\xba\x8a\xdd\xf7\x45\x71\xd9\xbe\x03\x10\x8b\x99\x28\x36\x55\x28\x90\x4c\x04\x31\x4b\xc6\x7a\x57\x58\x16\x46\x0a\xb0\xb4\xc7\x7d\xbf\x25\x6a\x87\x13\x45\xf1\x00\x6e\x56\x88\xfe\x48\x52\xd2\x67\x94\x9b\x75\x62\x20\xe2\xce\x78\x03\xac\xfc\x95\xd2\xeb\x99\xe3\x98\xd5\xbc\x7f\x8d\x54\x0c\x6c\xbf\xcb\x29\x92\x34\x0a\x6d\xcf\x4b\xda\x90\x6a\xcb\x92\x34\xba\x1c\x14\x14\x2c\xfd\xdb\x0d\xd6\x6f\x7d\x65\xce\xd3\x61\xb6\xd6\x84\x17\x3b\xa1\x90\x25\x91\x6a\x06\xa1\x2b\xf1\x1a\xd7\x24\xaa\x4e\x36\xab\xf0\x99\xdd\x02\x63\x3f\x81\x13\x90\x20\x5f\x60\xaa\xfd\xb9\x19\x11\xe2\x94\x3c\xe7\x86\xb5\x96\x74\xe0\x6a\x50\xbb\x86\x06\x07\x2f\x14\x60\xde\x66\x60\xb9\x7c\xb0\xf3\x7d\xf5\xa4\x2f\xdc\x09\x82\x5d\x45\xc5\x44\x4c\x72\x44\x52\xa0\x07\x33\x37\x1c\x05\x78\x96\x83\x22\x5f\x80\x62\x70\xd4\x38\xe1\xc8\xe0\xe8\x37\x60\x29\x16\x2d\xb8\xb9\x21\xc9\x70\x45\x62\x88\xe6\x7c\xcb\x41\x93\x11\xc2\x08\x50\x0c\x9e\x9a\x27\x3c\x59\x5e\x27\xf6\x93\x5c\xf5\x62\xe7\x06\x28\x8f\x73\x7d\xc5\xb8\x1c\x44\x2d\x3b\xcd\x8b\x81\x54\xeb\x68\x21\x75\x3a\x80\xdb\x2a\x82\x35\x52\x25\xa5\xde\xf5\x9c\x8a\x16\xde\x2b\x56\xfd\x5e\xff\xb0\xc5\x8b\x09\x21\x87\xae\x83\xa7\x6d\x57\x6c\x95\x77\x06\xb7\xa6\x1d\x4f\x39\x19\x6a\xe2\x97\x7b\x9d\xad\x54\xad\x26\x9e\x8f\x3b\xa7\xeb\xa5\x33\xfe\x7c\x72\xe7\x24\xee\x9c\x28\x09\x29\xc7\x8d\x3f\x15\x7c\x21\x22\xe0\xc6\x01\xad\x64\x6c\x3c\xbf\xdc\xab\x06\x7c\xf2\x61\x0f\x01\x45\x9f\x67\x1e\xa9\x0f\x27\x4e\xff\xca\xf1\xe3\x46\xdc\x5e\xec\xc0\x8e\xbc\x48\x4a\xc3\xb3\xed\x3f\xcb\x89\x77\x1e\x4e\x13\x3a\xa2\x3a\xe2\x6c\x11\x95\x17\x05\x1a\xe7\xa7\x30\x90\x24\x0c\x24\x4f\xda\x4b\x8a\x03\xed\x82\xdb\xf5\x02\x71\x60\xb3\x54\x72\x0a\x06\xc7\x1a\x0c\x2e\x0a\x0e\x06\xc1\x7e\xc1\x6b\x42\x72\x68\x17\xbc\x26\x24\xcd\xa4\x37\x70\x98\xae\x4b\xf6\xf8\x60\x98\x7f\xb3\xe0\x35\x21\xcb\xd3\xda\x02\xdb\x05\x33\x60\x3b\xee\x70\xfd\xd0\xd8\xfe\xe5\x10\xac\xf3\xe8\x86\xf5\x19\x9d\x10\x1e\x49\x9a\x3f\xc2\x7d\x95\x97\x01\xf2\x66\x3b\xd5\xd7\x1c\xca\x06\xf9\x1d\x30\xc8\x05\xe4\x3e\xa3\x7d\x40\xbe\xd7\xb7\xca\xfe\x44\x90\xfb\x2a\x2f\x03\xe4\xad\x76\x4c\x41\xf9\x90\x20\xcf\x7e\xa1\x73\xf5\xad\xe2\x88\x5d\xfa\x9f\x7d\x99\x76\x89\xa2\xbc\x2f\xd2\xee\xd4\x7b\xb1\x77\x6f\xc3\xcf\xdf\x52\x1a\x3a\x11\x93\x75\x95\x05\x1e\xae\x1e\x74\xea\x81\x0f\xb4\xff\x1b\x00\x00\xff\xff\x6f\xfc\x3b\xa9\xf9\x5d\x00\x00")
 
 func resourcesResumebuilderGladeBytes() ([]byte, error) {
        return bindataRead(
@@ -83,7 +83,7 @@ func resourcesResumebuilderGlade() (*asset, error) {
                return nil, err
        }
 
-       info := bindataFileInfo{name: "resources/resumebuilder.glade", size: 21842, mode: os.FileMode(436), modTime: time.Unix(1540565039, 0)}
+       info := bindataFileInfo{name: "resources/resumebuilder.glade", size: 24057, mode: os.FileMode(436), modTime: time.Unix(1540568649, 0)}
        a := &asset{bytes: bytes, info: info}
        return a, nil
 }
index 79ffa72..35c48a5 100644 (file)
                 </child>
               </object>
               <packing>
-                <property name="x">8</property>
-                <property name="y">212</property>
+                <property name="x">10</property>
+                <property name="y">245</property>
               </packing>
             </child>
             <child>
                 <property name="y">144</property>
               </packing>
             </child>
+            <child>
+              <object class="GtkButton" id="AddButton">
+                <property name="label" translatable="yes">Add</property>
+                <property name="width_request">92</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <signal name="clicked" handler="AddEducationClicked" swapped="no"/>
+              </object>
+              <packing>
+                <property name="x">159</property>
+                <property name="y">198</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="UpdateButton">
+                <property name="label" translatable="yes">Update</property>
+                <property name="width_request">92</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <signal name="clicked" handler="UpdateEducationClicked" swapped="no"/>
+              </object>
+              <packing>
+                <property name="x">256</property>
+                <property name="y">198</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="DeleteButton">
+                <property name="label" translatable="yes">Delete</property>
+                <property name="width_request">94</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <signal name="clicked" handler="DeleteEducationClicked" swapped="no"/>
+              </object>
+              <packing>
+                <property name="x">353</property>
+                <property name="y">198</property>
+              </packing>
+            </child>
           </object>
           <packing>
             <property name="position">1</property>
index cdba079..3895f79 100644 (file)
@@ -3,6 +3,7 @@ package main
 import (
        "fmt"
        "os"
+       "strconv"
 
        "github.com/gotk3/gotk3/gtk"
 )
@@ -163,7 +164,8 @@ func LoadMain() {
        ui.AddFromString(string(asset))
        ui.ConnectSignals(map[string]interface{}{"SexMaleSelected": sexMaleSelected,
                "SexFemaleSelected": sexFemaleSelected, "SexOtherSelected": sexOtherSelected,
-               "SaveButtonClicked": SaveButtonClicked, "DoBSelected": doBSelected})
+               "SaveButtonClicked": saveButtonClicked, "DoBSelected": doBSelected,
+               "AddEducationClicked": addEducationClicked})
 
        wnd, err := getWindow()
        if err != nil {
@@ -202,7 +204,57 @@ func doBSelected(dob *gtk.Calendar) {
        selecteddate.Year, selecteddate.Month, selecteddate.Day = dob.GetDate()
 }
 
-func SaveButtonClicked() {
+func getEducationFields() (*Education, error) {
+       ed := new(Education)
+       qual, err := getLineText("QualificationTitle")
+       if err != nil {
+               return nil, err
+       }
+       inst, err := getLineText("InstitutionName")
+       if err != nil {
+               return nil, err
+       }
+       yearp, err := getLineText("YearPassing")
+       if err != nil {
+               return nil, err
+       }
+       year, err := strconv.Atoi(yearp)
+       if err != nil {
+               return nil, err
+       }
+       gradep, err := getLineText("GradeOrPercentag")
+       if err != nil {
+               return nil, err
+       }
+       ed.Qualification = qual
+       ed.Institution = inst
+       ed.YearOfPassing = uint(year)
+       ed.GradeOrPercentage = gradep
+
+       return ed, nil
+}
+
+func addEducationClicked() {
+       ed, err := getEducationFields()
+       if err != nil {
+               return
+       }
+       lstore, err := ui.GetObject("EducationStore")
+       if err != nil {
+               return
+       }
+       edustore, ok := lstore.(*gtk.ListStore)
+       if !ok {
+               return
+       }
+       iter := edustore.Append()
+       edustore.SetValue(iter, 0, ed.Qualification)
+       edustore.SetValue(iter, 1, ed.Institution)
+       edustore.SetValue(iter, 2, ed.YearOfPassing)
+       edustore.SetValue(iter, 3, ed.GradeOrPercentage)
+}
+
+func saveButtonClicked() {
        a, err := getBasicDetails()
        if err != nil {
                fmt.Println(err.Error())