Skip to content

Use notification if we open the wrong file type

Rip out the whole ErrorInfoBar stuff which was only used for this single purpose (opening a wrong file type) and use Gio.Notifications. Because these belong to the main_window and not an UnlockedDatabase, put the send_notifications() method there.

The old ErrorInfoBar has never really worked as it relied on the "first_start_grid" to be available, which it not always is. (For instance, when in an unlocked database hit Ctrl-o and open a PDF file)

Merge request reports