BrowserStatusbar.js
authorChris <chris@roojs.com>
Tue, 17 Sep 2013 09:24:26 +0000 (17:24 +0800)
committerChris <chris@roojs.com>
Tue, 17 Sep 2013 09:24:26 +0000 (17:24 +0800)
Attribute Changed :BrowserStatusbar.js

BrowserStatusbar.js [new file with mode: 0644]

diff --git a/BrowserStatusbar.js b/BrowserStatusbar.js
new file mode 100644 (file)
index 0000000..3ce64d7
--- /dev/null
@@ -0,0 +1,21 @@
+Gtk = imports.gi.Gtk;
+WebKit = imports.gi.WebKit;
+
+BrowserStatusbar = new GType({
+    parent: Gtk.Statusbar.type,
+    name: "BrowserStatusbar",
+    init: function ()
+    {
+        // Private
+        var transient_status_group = this.get_context_id("transient");
+
+        // Public
+        this.set_status = function (status)
+        {
+            this.pop(transient_status_group);
+            //this.push(transient_status_group, status);
+        };
+
+        // Implementation
+    }
+});