Merge lp:~kalikiana/midori/hideblank into lp:midori

Proposed by Cris Dywan
Status: Merged
Approved by: Paweł Forysiuk
Approved revision: 6232
Merged at revision: 6234
Proposed branch: lp:~kalikiana/midori/hideblank
Merge into: lp:midori
Diff against target: 15 lines (+5/-0)
1 file modified
midori/midori-viewcompletion.vala (+5/-0)
To merge this branch: bzr merge lp:~kalikiana/midori/hideblank
Reviewer Review Type Date Requested Status
Paweł Forysiuk Approve
Review via email: mp+171385@code.launchpad.net

Commit message

Omit speed dial and blank pages from view completion

Description of the change

Omit speed dial and blank pages from view completion

To post a comment you must log in.
Revision history for this message
Paweł Forysiuk (tuxator) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'midori/midori-viewcompletion.vala'
2--- midori/midori-viewcompletion.vala 2013-05-19 09:43:05 +0000
3+++ midori/midori-viewcompletion.vala 2013-06-25 18:25:30 +0000
4@@ -53,6 +53,11 @@
5 string? uri, title;
6 item.get ("uri", out uri);
7 item.get ("name", out title);
8+
9+ /* Omit speed dial and blank pages */
10+ if (uri == "about:dial" || uri == "about:blank")
11+ continue;
12+
13 if (uri == null) {
14 warning ("item.uri != null");
15 continue;

Subscribers

People subscribed via source and target branches

to all changes: