~midori/midori/trunk

« back to all changes in this revision

Viewing changes to midori/midori-viewcompletion.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:
28
28
        }
29
29
 
30
30
        public override bool can_action (string action) {
31
 
            return action == "about:views";
 
31
            return action == "complete:more/views";
32
32
        }
33
33
 
34
34
        public override async List<Suggestion>? complete (string text, string? action, Cancellable cancellable) {
77
77
 
78
78
                    n++;
79
79
                    if (n == 3 && action == null) {
80
 
                        suggestion = new Suggestion ("about:views", _("More open tabs…"), false, background);
 
80
                        suggestion = new Suggestion ("complete:more/views", _("More open tabs…"), false, background);
81
81
                        suggestion.action = true;
82
82
                        suggestions.append (suggestion);
83
83
                        break;