Skip to content
Commit 88cee392 authored by Carlos Soriano Sánchez's avatar Carlos Soriano Sánchez
Browse files

view: make icon getter static

We were relying on the current view to return the icon to put in the
toolbar, however that requires a view instance and also we cannot
control really what icon we want to show in which circumstances.

We want more control about that, so we need a single entry point where
we can get the icon to show depending on the known view types we
have.

So this patch converts the view property to a static method.

https://bugzilla.gnome.org/show_bug.cgi?id=771075
parent d4323bd2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment