Merge lp:~davidgomes/lingo-dictionary/fix-for-bug-892220 into lp:lingo-dictionary

Proposed by David Gomes
Status: Merged
Merged at revision: 97
Proposed branch: lp:~davidgomes/lingo-dictionary/fix-for-bug-892220
Merge into: lp:lingo-dictionary
Diff against target: 34 lines (+5/-1)
1 file modified
src/lingo-dictview.vala (+5/-1)
To merge this branch: bzr merge lp:~davidgomes/lingo-dictionary/fix-for-bug-892220
Reviewer Review Type Date Requested Status
Avi Romanoff Pending
Review via email: mp+82696@code.launchpad.net

Description of the change

Fixed bug #892220 very simply.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/lingo-dictview.vala'
2--- src/lingo-dictview.vala 2011-09-10 17:51:04 +0000
3+++ src/lingo-dictview.vala 2011-11-18 15:39:40 +0000
4@@ -15,6 +15,8 @@
5 END LICENSE
6 ***/
7
8+using Gdk;
9+
10 namespace Lingo {
11
12 public class DictView : Gtk.TextView {
13@@ -38,7 +40,7 @@
14 pixels_above_lines = 7;
15 cursor_visible = false;
16 editable = false;
17- buffer = new Gtk.TextBuffer(tag_table);
18+ buffer = new Gtk.TextBuffer (tag_table);
19
20 setup_tag_table();
21 }
22@@ -103,11 +105,13 @@
23 }
24 }
25 }
26+
27 update_font_size();
28 }
29
30 public void update_from_query (string query) {
31
32+ buffer.text = ""; //Clear the old text first
33 servant.fetch_multi(query, cb);
34 }
35

Subscribers

People subscribed via source and target branches

to all changes: