3 Pango = imports.gi.Pango;
4 GLib = imports.gi.GLib;
6 GObject = imports.gi.GObject;
7 GtkSource = imports.gi.GtkSource;
8 WebKit = imports.gi.WebKit;
10 console = imports.console;
11 XObject = imports.XObject.XObject;
12 StandardErrorDialog=new XObject({
13 xtype: Gtk.MessageDialog,
15 delete_event : (self, event) => {
19 response : (self, response_id) => {
24 buttons : Gtk.ButtonsType.OK,
25 message_type : Gtk.MessageType.ERROR,
28 'void:show' : (string msg) {
33 'void:show_all' : () {
37 StandardErrorDialog.init();
38 XObject.cache['/StandardErrorDialog'] = StandardErrorDialog;