Skip to content
Browse files

This commit corresponds to version 0.2. Outcommented some incomplete …

…stuff which are scheduled for version 0.3
  • Loading branch information...
1 parent af18d0c commit 23beeacab2903400da115840bf3461dbf1ae3714 slopjong committed Mar 7, 2012
Showing with 7 additions and 4 deletions.
  1. +5 −4 chrome/content/openspace.js
  2. +2 −0 chrome/content/openspace.xul
View
9 chrome/content/openspace.js
@@ -126,32 +126,33 @@ var openspace = {
// the timeout for hiding the notification panel automatically
//var _timeout = Date.now()+3000;
//Components.utils.reportError(_timeout);
-
+
+
var notify = PopupNotifications;
var notification = notify.show(
gBrowser.selectedBrowser, /*browser*/
"OpenSpace-infopopup", /*id*/
"Your selection '"+ myspace +"' got saved to the preferences.",/*message*/
null, /* anchor ID */
null, /* mainAction */
- null, /* secondaryActions*/
+ null, /* secondaryActions*/
{close: true}//{ dismissed: false, timeout: _timeout}/* /* data */
);
+
//document.getElementById("thepanel").setAttribute("fade", "fast");
//jQuery("#thepanel").attr("fade","fast");
//*
setTimeout(function(){
notification.remove();
//alert(notification.);
//Components.utils.reportError(notification["OpenSpace-infopopup"]);
- /*
+ //*
var o = notification["options"];
Components.utils.reportError(o);
for(att in o){
Components.utils.reportError(att+ " -> "+o[att]);
}
- */
}, 3500);
//*/
},
View
2 chrome/content/openspace.xul
@@ -12,7 +12,9 @@
<!-- noautohide="true" style="-moz-appearance: none" -->
<panel id="thepanel" type="arrow" onpopupshowing="openspace.initPanel();" position="before_end">
<vbox align="stretch">
+ <!--
<hbox align="right"><label id="add-hackerspace">Add a hackerspace</label></hbox>
+ -->
<listbox id="spaces-list">
</listbox>
<hbox>

0 comments on commit 23beeac

Please sign in to comment.
Something went wrong with that request. Please try again.