From 548f5e233927a1c463ceebf1cc9da507c91b6202 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 12 Nov 2010 07:01:30 +0800 Subject: [PATCH] Builder/StandardErrorDialog.js --- Builder/StandardErrorDialog.js | 38 ---------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 Builder/StandardErrorDialog.js diff --git a/Builder/StandardErrorDialog.js b/Builder/StandardErrorDialog.js deleted file mode 100644 index 53acf097e..000000000 --- a/Builder/StandardErrorDialog.js +++ /dev/null @@ -1,38 +0,0 @@ -Gtk = imports.gi.Gtk; -Gdk = imports.gi.Gdk; -Pango = imports.gi.Pango; -GLib = imports.gi.GLib; -Gio = imports.gi.Gio; -GObject = imports.gi.GObject; -GtkSource = imports.gi.GtkSource; -WebKit = imports.gi.WebKit; -Vte = imports.gi.Vte; -GtkClutter = imports.gi.GtkClutter; -console = imports.console; -XObject = imports.XObject.XObject; -StandardErrorDialog=new XObject({ - xtype: Gtk.MessageDialog, - buttons : Gtk.ButtonsType.OK, - modal : true, - message_type : Gtk.MessageType.ERROR, - text : "fixme", - use_markup : true, - show : function(msg) { - if (!this.el) { - this.init(); - } - this.el.text = msg; - this.el.show_all(); - }, - listeners : { - delete_event : function (self, event) { - this.el.hide(); - return true; - }, - response : function (self, response_id) { - this.el.hide(); - } - } -}); -StandardErrorDialog.init(); -XObject.cache['/StandardErrorDialog'] = StandardErrorDialog; -- 2.39.2