~midori/midori/trunk

« back to all changes in this revision

Viewing changes to midori/midori-searchcompletion.vala

  • Committer: André Auzi
  • Date: 2013-09-17 19:34:23 UTC
  • mfrom: (6402 midori)
  • mto: This revision was merged to the branch mainline in revision 6406.
  • Revision ID: aauzi@free.fr-20130917193423-j3tqi7tt4b8afu41
merge lp:midori to fix conficts

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        }
30
30
 
31
31
        public override bool can_action (string action) {
32
 
            return action == "about:search";
 
32
            return action == "complete:more/search";
33
33
        }
34
34
 
35
35
        public override async List<Suggestion>? complete (string text, string? action, Cancellable cancellable) {
54
54
 
55
55
                n++;
56
56
                if (n == 3 && action == null) {
57
 
                    suggestion = new Suggestion ("about:search", _("Search with…"), false, background);
 
57
                    suggestion = new Suggestion ("complete:more/search", _("Search with…"), false, background);
58
58
                    suggestion.action = true;
59
59
                    suggestions.append (suggestion);
60
60
                    break;