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
=== modified file 'src/lingo-dictview.vala'
--- src/lingo-dictview.vala 2011-09-10 17:51:04 +0000
+++ src/lingo-dictview.vala 2011-11-18 15:39:40 +0000
@@ -15,6 +15,8 @@
15END LICENSE15END LICENSE
16***/16***/
1717
18using Gdk;
19
18namespace Lingo {20namespace Lingo {
1921
20 public class DictView : Gtk.TextView {22 public class DictView : Gtk.TextView {
@@ -38,7 +40,7 @@
38 pixels_above_lines = 7;40 pixels_above_lines = 7;
39 cursor_visible = false;41 cursor_visible = false;
40 editable = false;42 editable = false;
41 buffer = new Gtk.TextBuffer(tag_table);43 buffer = new Gtk.TextBuffer (tag_table);
4244
43 setup_tag_table();45 setup_tag_table();
44 }46 }
@@ -103,11 +105,13 @@
103 }105 }
104 }106 }
105 }107 }
108
106 update_font_size();109 update_font_size();
107 }110 }
108111
109 public void update_from_query (string query) {112 public void update_from_query (string query) {
110113
114 buffer.text = ""; //Clear the old text first
111 servant.fetch_multi(query, cb);115 servant.fetch_multi(query, cb);
112 }116 }
113117

Subscribers

People subscribed via source and target branches

to all changes: