Commit e05de45
committed
2010-02-09 Thomas M. Hinkle <tom@grenville>
* src/lib/GourmetRecipeManager.py (RecGui): Make
delete-key-deletes-recipe behavior a callback on keypresses only
in treeview. This prevents users using the delete key in the
search box from accidentally deleting recipes. Also, let backspace
delete recipes as well for convenience.
* src/lib/backends/db.py (RecData.get_criteria): Make sure search
strings are proper unicode objects. Fixes bug #2948135.1 parent b5c6b31 commit e05de45
3 files changed
Lines changed: 36 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
1 | 12 | | |
2 | 13 | | |
3 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| 577 | + | |
577 | 578 | | |
578 | 579 | | |
579 | 580 | | |
| |||
1019 | 1020 | | |
1020 | 1021 | | |
1021 | 1022 | | |
| 1023 | + | |
1022 | 1024 | | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1023 | 1029 | | |
1024 | 1030 | | |
1025 | 1031 | | |
| |||
1035 | 1041 | | |
1036 | 1042 | | |
1037 | 1043 | | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1038 | 1047 | | |
1039 | | - | |
| 1048 | + | |
1040 | 1049 | | |
1041 | 1050 | | |
1042 | 1051 | | |
| |||
1166 | 1175 | | |
1167 | 1176 | | |
1168 | 1177 | | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
1169 | 1185 | | |
1170 | | - | |
| 1186 | + | |
1171 | 1187 | | |
1172 | 1188 | | |
1173 | 1189 | | |
1174 | 1190 | | |
1175 | 1191 | | |
1176 | | - | |
| 1192 | + | |
1177 | 1193 | | |
1178 | 1194 | | |
1179 | 1195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
752 | 756 | | |
753 | 757 | | |
754 | 758 | | |
| |||
759 | 763 | | |
760 | 764 | | |
761 | 765 | | |
| 766 | + | |
762 | 767 | | |
763 | 768 | | |
764 | 769 | | |
| |||
773 | 778 | | |
774 | 779 | | |
775 | 780 | | |
| 781 | + | |
776 | 782 | | |
777 | 783 | | |
778 | 784 | | |
| |||
785 | 791 | | |
786 | 792 | | |
787 | 793 | | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | 794 | | |
796 | 795 | | |
797 | 796 | | |
| |||
0 commit comments