[Pkg-mozext-commits] [perspectives-extension] 13/44: Pers_statusbar - Unlock the 'About' dialog

David Prévot taffit at moszumanska.debian.org
Sat Jun 6 02:55:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository perspectives-extension.

commit e9dd2a1c06673f93ad092d24c6ec8dcf47ab6270
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Sun Nov 2 19:00:40 2014 -0700

    Pers_statusbar - Unlock the 'About' dialog
    
    It has been ready to use for a while,
    and we're no longer requiring all strings to be translated
    before unlocking new features.
---
 plugin/chrome/content/statusbar.js  | 4 ----
 plugin/chrome/content/statusbar.xul | 9 +++------
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/plugin/chrome/content/statusbar.js b/plugin/chrome/content/statusbar.js
index 363cbb5..2c74932 100644
--- a/plugin/chrome/content/statusbar.js
+++ b/plugin/chrome/content/statusbar.js
@@ -56,13 +56,9 @@ var Pers_statusbar = {
 	},
 
 	open_about_dialog: function() {
-		/* TODO: enable once all strings have been localized
 		window.openDialog(
-	// 	window.open( // for debug
 			"chrome://perspectives/content/about_dialog.xul",
-	//       	"perspectivesResults", "").focus();  // for debug
 			"perspectivesabout", "centerscreen, chrome, toolbar, resizable").focus();
-		*/
 	},
 
 
diff --git a/plugin/chrome/content/statusbar.xul b/plugin/chrome/content/statusbar.xul
index 51aad88..03e1e1d 100644
--- a/plugin/chrome/content/statusbar.xul
+++ b/plugin/chrome/content/statusbar.xul
@@ -46,9 +46,8 @@
           <menuseparator/>
           <menuitem label="&Preferences;"             oncommand="Pers_statusbar.open_preferences_dialog()"    />
 		  <menuitem label="&Help;"                    oncommand="Pers_statusbar.openHelp()"                   />
-		  <!-- TODO enable once all strings have been localized
+      <menuseparator/>
 		  <menuitem label="&About;" oncommand="Pers_statusbar.open_about_dialog()"/>
-		  -->
 		</menupopup>
 	</toolbarbutton>
  </toolbarpalette>
@@ -70,9 +69,8 @@
                 <menuseparator/>
                 <menuitem label="&Preferences;"             oncommand="Pers_statusbar.open_preferences_dialog()"    />
       			<menuitem label="&Help;"                    oncommand="Pers_statusbar.openHelp()"                   />
-      			<!-- TODO enable once all strings have been localized
+            <menuseparator/>
       			<menuitem label="&About;" oncommand="Pers_statusbar.open_about_dialog()"/>
-      			-->
 		</menupopup>
 	</menu>
  </menupopup>
@@ -94,9 +92,8 @@
                 <menuseparator/>
                 <menuitem label="&Preferences;"             oncommand="Pers_statusbar.open_preferences_dialog()"    />
       			<menuitem label="&Help;"                    oncommand="Pers_statusbar.openHelp()"                   />
-      			<!-- TODO enable once all strings have been localized
+            <menuseparator/>
       			<menuitem label="&About;" oncommand="Pers_statusbar.open_about_dialog()"/>
-      			-->
 		</menupopup>
 	</menu>
  </popup>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list