12345678910111213141516171819202122232425262728293031 |
- // using Adw;
- // using Gtk;
- // namespace Publicate.Editors {
- // public class UnsupportedEditor : Box, EditorWidget {
- // private StatusPage status_page;
- // public void set_zoom_percentage (int percent) {
- // return;
- // }
- // public async void load_asset (Ppub.Publication publication, Ppub.Asset asset) {
- // status_page.description = @"Files of type '$(asset.mimetype)' cannot be displayed by this application.";
- // }
- // public UnsupportedEditor() {
- // orientation = Orientation.VERTICAL;
- // status_page = new StatusPage();
- // status_page.vexpand = true;
- // status_page.title = "Unsupported Content Type";
- // status_page.icon_name = "face-uncertain-symbolic";
- // append(status_page);
- // }
- // }
- // }
|