Added battery icon
[gregoa/zavai.git] / src / app.vala
index 8219534fa283936efa2b43d0f49cf8aaaebd646d..43802f3e92bbef28f7f6abaad0bc3abbeb2339e1 100644 (file)
@@ -66,6 +66,17 @@ public class Zavai : Gtk.Window, zavai.Resource
                }
        }
 
+       public void ensure_visible()
+       {
+               if (!visibility)
+               {
+                       visible = true;
+                       present();
+                       set_skip_pager_hint(true);
+                       set_skip_taskbar_hint(true);
+               }
+       }
+
        public void show_applet(string name)
        {
                zavai.Applet applet = zavai.registry.geta(name);