MozillaZine

New about dialog

Discussion of general topics about Mozilla Thunderbird
willll

User avatar
 
Posts: 2577
Joined: November 30th, 2002, 11:39 am
Location: Washington, DC

Post Posted July 3rd, 2003, 10:53 am

I made a new about dialog box so it looks more like Firebird's. I think I remember some people complaining about this a while ago. It makes it easier to compy and paste your version.
Code: Select all
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
<!--
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla Thunderbird about dialog.
#
# The Initial Developer of the Original Code is
# Blake Ross (blaker@netscape.com).
# Portions created by the Initial Developer are Copyright (C) 2002
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the LGPL or the GPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK ***** -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % aboutDialogDTD SYSTEM "chrome://messenger/locale/aboutDialog.dtd" >
%aboutDialogDTD;
]>

<dialog xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        buttons="accept"
        onload="onLoad();"
        title="&aboutDialog.title;"
        width="300" height="335">

    <script type="application/x-javascript">
      <![CDATA[
        function onLoad() {
          var userAgentField = document.getElementById("userAgent");
          userAgentField.value = navigator.userAgent;
          var versionField = document.getElementById("version");
          versionField.value = navigator.vendorSub;
        }
      ]]>
    </script>

    <vbox align="center" flex="1">
      <image src="chrome://messenger/content/about-thunderbird.png"/>
      <separator class="thin"/>
      <hbox>
        <label value="&brandShortName;" style="font-weight: bold;"/>
        <label id="version"/>
      </hbox>
      <spacer flex="1"/>
      <textbox id="userAgent" multiline="true" readonly="true" cols="60"/>
      <spacer flex="1"/>
      <html:a href="©rightLink;" style="display: block; color: blue; text-decoration: underline;">&</html:a>
      <spacer flex="1"/>
    </vbox>
    <separator class="groove"/>

</dialog>

willll

User avatar
 
Posts: 2577
Joined: November 30th, 2002, 11:39 am
Location: Washington, DC

Post Posted July 5th, 2003, 8:13 am

OK. It seems like no one cares about this anymore, but.... <a href="http://users.rcn.com/levines5/tb.png">Here</a> is a screenshot. Unless mscott likes this new dialog and checks it in, the way to get it into your own perosnal Thunderbird is to unjar mail.jar navigate to content/messenger in the place you unzipped it, replace the contents of aboutDialog.xul with the above code, then rezip mail.jar with the same directory structure.

tve
Moderator
 
Posts: 3275
Joined: November 6th, 2002, 12:07 pm
Location: Federal Republic of Germany

Post Posted July 5th, 2003, 8:20 am

willll wrote:OK. It seems like no one cares about this anymore, but....

Nah, I would prefer this over the current implementation, but am too lazy to unjar and rejar some files, just because I might have to copy & paste this string once a month... :]
<i>Latest Firefox Trunk & Thunderbird 1.0</i>

DIGITALgimpus
 
Posts: 282
Joined: November 8th, 2002, 8:12 am
Location: NJ

Post Posted July 5th, 2003, 11:22 am

me like!

mscott: possible? it's nice.

LinkTiger

User avatar
 
Posts: 92
Joined: June 30th, 2003, 6:45 am
Location: My Parents' Basement

Post Posted July 6th, 2003, 9:37 pm

I like it! I think copy/paste is one of the most important things to impliment in an about box because the version is one of the first things an expert asks for when confronted with a problem. Please implement this in the regular builds, please!
Q: How many Microsoft engineers does it take to change a lightbulb?
A: None. They just make darkness a standard!

jhirshon

User avatar
 
Posts: 762
Joined: June 11th, 2003, 3:24 pm

Post Posted July 6th, 2003, 10:09 pm

Couldn't agree more!

bijugc
 
Posts: 399
Joined: March 18th, 2003, 9:52 pm

Post Posted July 7th, 2003, 2:06 pm

tve wrote:but am too lazy to unjar and rejar some files..
I made it as extension <a href=http://quicktools.mozdev.org/index.html#b5>QuickTools TBird About</a>
8) Biju
MacroEditor | http://QuickTools.MozDev.org | Edit files inside ZIP,JAR,XPI http://7-Zip.org
Cure Cancer http://www.grid.org/about | GNOME,*nix on MSWin32 http://CyGNOME.sf.net

tve
Moderator
 
Posts: 3275
Joined: November 6th, 2002, 12:07 pm
Location: Federal Republic of Germany

Post Posted July 11th, 2003, 5:07 am

just for your information...

http://www.mozilla.org/projects/thunder ... anges.html

"Make the version string in the about thunderbird dialog be selectable."

The other changes sound great too :)
<i>Latest Firefox Trunk & Thunderbird 1.0</i>

Return to Thunderbird General


Who is online

Users browsing this forum: No registered users and 1 guest