Bug 398527 - "Downloads should have icons on Linux" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=sdwilsh a1.9=mconnor]

This commit is contained in:
reed@reedloden.com 2007-10-13 12:17:32 -07:00
parent 1cecbb3fd6
commit cd49568e87
2 changed files with 1 additions and 27 deletions

View File

@ -40,16 +40,6 @@
# #
# ***** END LICENSE BLOCK ***** # ***** END LICENSE BLOCK *****
#ifdef XP_WIN
#define SHOW_ICONS
#endif
#ifdef XP_BEOS
#define SHOW_ICONS
#endif
#ifdef XP_MACOSX
#define SHOW_ICONS
#endif
<!DOCTYPE bindings [ <!DOCTYPE bindings [
<!ENTITY % downloadDTD SYSTEM "chrome://mozapps/locale/downloads/downloads.dtd" > <!ENTITY % downloadDTD SYSTEM "chrome://mozapps/locale/downloads/downloads.dtd" >
%downloadDTD; %downloadDTD;
@ -120,12 +110,10 @@
<binding id="download-starting" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-starting" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1"> <xul:hbox flex="1">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon" validate="always" <xul:image class="downloadTypeIcon" validate="always"
xbl:inherits="src=image"/> xbl:inherits="src=image"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox pack="start" flex="1"> <xul:vbox pack="start" flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" class="name"/> crop="center" class="name"/>
@ -145,12 +133,10 @@
<binding id="download-downloading" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-downloading" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1" class="downloadContentBox"> <xul:hbox flex="1" class="downloadContentBox">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon" validate="always" <xul:image class="downloadTypeIcon" validate="always"
xbl:inherits="src=image"/> xbl:inherits="src=image"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox flex="1"> <xul:vbox flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" flex="2" class="name"/> crop="center" flex="2" class="name"/>
@ -176,12 +162,10 @@
<binding id="download-paused" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-paused" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1"> <xul:hbox flex="1">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon" validate="always" <xul:image class="downloadTypeIcon" validate="always"
xbl:inherits="src=image"/> xbl:inherits="src=image"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox flex="1"> <xul:vbox flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" flex="2" class="name"/> crop="center" flex="2" class="name"/>
@ -207,12 +191,10 @@
<binding id="download-done" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-done" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1"> <xul:hbox flex="1">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon" validate="always" <xul:image class="downloadTypeIcon" validate="always"
xbl:inherits="src=image"/> xbl:inherits="src=image"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox pack="start" flex="1"> <xul:vbox pack="start" flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" class="name"/> crop="center" class="name"/>
@ -235,12 +217,10 @@
<binding id="download-canceled" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-canceled" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1"> <xul:hbox flex="1">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon" validate="always" <xul:image class="downloadTypeIcon" validate="always"
xbl:inherits="src=image"/> xbl:inherits="src=image"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox pack="start" flex="1"> <xul:vbox pack="start" flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" class="name"/> crop="center" class="name"/>
@ -263,12 +243,10 @@
<binding id="download-failed" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-failed" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1"> <xul:hbox flex="1">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon" validate="always" <xul:image class="downloadTypeIcon" validate="always"
xbl:inherits="src=image"/> xbl:inherits="src=image"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox pack="start" flex="1"> <xul:vbox pack="start" flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" class="name"/> crop="center" class="name"/>
@ -291,11 +269,9 @@
<binding id="download-blocked" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-blocked" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1"> <xul:hbox flex="1">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon blockedIcon"/> <xul:image class="downloadTypeIcon blockedIcon"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox pack="start" flex="1"> <xul:vbox pack="start" flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" class="name"/> crop="center" class="name"/>
@ -318,12 +294,10 @@
<binding id="download-scanning" extends="chrome://mozapps/content/downloads/download.xml#download-base"> <binding id="download-scanning" extends="chrome://mozapps/content/downloads/download.xml#download-base">
<content> <content>
<xul:hbox flex="1"> <xul:hbox flex="1">
#ifdef SHOW_ICONS
<xul:vbox pack="start"> <xul:vbox pack="start">
<xul:image class="downloadTypeIcon" validate="always" <xul:image class="downloadTypeIcon" validate="always"
xbl:inherits="src=image"/> xbl:inherits="src=image"/>
</xul:vbox> </xul:vbox>
#endif
<xul:vbox pack="start" flex="1"> <xul:vbox pack="start" flex="1">
<xul:label xbl:inherits="value=target,tooltiptext=target" <xul:label xbl:inherits="value=target,tooltiptext=target"
crop="center" flex="2" class="name"/> crop="center" flex="2" class="name"/>

View File

@ -7,7 +7,7 @@ toolkit.jar:
* content/mozapps/downloads/downloads.js (downloads/content/downloads.js) * content/mozapps/downloads/downloads.js (downloads/content/downloads.js)
* content/mozapps/downloads/DownloadProgressListener.js (downloads/content/DownloadProgressListener.js) * content/mozapps/downloads/DownloadProgressListener.js (downloads/content/DownloadProgressListener.js)
content/mozapps/downloads/downloads.css (downloads/content/downloads.css) content/mozapps/downloads/downloads.css (downloads/content/downloads.css)
* content/mozapps/downloads/download.xml (downloads/content/download.xml) content/mozapps/downloads/download.xml (downloads/content/download.xml)
* content/mozapps/preferences/ocsp.js (preferences/ocsp.js) * content/mozapps/preferences/ocsp.js (preferences/ocsp.js)
* content/mozapps/preferences/ocsp.xul (preferences/ocsp.xul) * content/mozapps/preferences/ocsp.xul (preferences/ocsp.xul)
* content/mozapps/preferences/fontbuilder.js (preferences/fontbuilder.js) * content/mozapps/preferences/fontbuilder.js (preferences/fontbuilder.js)