Merge lp:~gtg-contributors/gtg/bug495246 into lp:~gtg/gtg/old-trunk
Proposed by
Joao ascenso
Status: | Rejected |
---|---|
Rejected by: | Izidor Matušov |
Proposed branch: | lp:~gtg-contributors/gtg/bug495246 |
Merge into: | lp:~gtg/gtg/old-trunk |
Diff against target: |
222 lines (+122/-13) (has conflicts) 4 files modified
AUTHORS (+4/-0) CHANGELOG (+1/-0) GTG/gtk/editor/editor.py (+45/-13) GTG/gtk/editor/taskview.py (+72/-0) Text conflict in AUTHORS |
To merge this branch: | bzr merge lp:~gtg-contributors/gtg/bug495246 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Izidor Matušov | code + running the code | Needs Resubmitting | |
Review via email: mp+56881@code.launchpad.net |
Description of the change
Fixed bug 495246
Changes the tag menu in the task editor for a check box menu. The bug also asked for ordered itens, but im my tests all itens were already ordered automatically.
To post a comment you must log in.
Unmerged revisions
- 936. By Izidor Matušov
-
Updating algorithm for removing tags
- 935. By joaoascenso <joaoascenso@seph-mint>
-
commit 2
- 934. By joaoascenso <joaoascenso@seph-mint>
-
coded a fix to bug#495246 and other possible related problems
Hi Joao,
Nobody reviews your code so far, I'll do it now :-) It looks great and also works great for adding new tags. There are just one problem which should be fixed:
Removing tags does not work well, mostly the task has more than one instance of that tag. You probably use iterators not in the way as it was meant: (I've got this error)
/home/iyo/ downloads/bug495246/GTG/gtk/ editor/ taskview. py:743: GtkWarning: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/ pixbufs/ widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators
if start.get_offset() <= offset2 <= end.get_offset():