Update files and references in support of bug report 1446.

pull/2/head
Darrell Anderson 11 years ago
parent 6640770b32
commit c6c2468b38

@ -2,7 +2,7 @@
<head>
<title>%1</title>
<link rel="stylesheet" href="help:/common/kde-default.css" type="text/css" />
<link rel="stylesheet" href="help:/common/tde-default.css" type="text/css" />
</head>
<body>

@ -40,7 +40,7 @@ View::View( TQWidget *parentWidget, const char *widgetName,
connect( this, TQT_SIGNAL( popupMenu( const TQString &, const TQPoint& ) ),
this, TQT_SLOT( showMenu( const TQString &, const TQPoint& ) ) );
TQString css = langLookup("common/kde-default.css");
TQString css = langLookup("common/tde-default.css");
if (!css.isEmpty())
{
TQFile css_file(css);
@ -48,7 +48,7 @@ View::View( TQWidget *parentWidget, const char *widgetName,
{
TQTextStream s(&css_file);
TQString stylesheet = s.read();
preloadStyleSheet("help:/common/kde-default.css", stylesheet);
preloadStyleSheet("help:/common/tde-default.css", stylesheet);
}
}

@ -52,7 +52,7 @@ delete $ENV{CDPATH};
delete $ENV{ENV};
require $config_file; #-- configuration settings
my $STYLESHEET_KDE = "<link rel=\"stylesheet\" href=\"help:common/kde-default.css\" type=\"text/css\"/>";
my $STYLESHEET_KDE = "<link rel=\"stylesheet\" href=\"help:common/tde-default.css\" type=\"text/css\"/>";
my $LOGO_KDE = "<img src=\"help:/common/kde_logo.png\" alt=\"TDE - The Trinity Desktop Environment\" width=\"296\" height=\"79\" border=\"0\">";
# the use of a query should make sure it never conflicts with a "real" path

@ -4083,7 +4083,7 @@ static char *scan_request(char *c)
out_html( " Manpage</TITLE>\n");
out_html( "<link rel=\"stylesheet\" href=\"");
out_html(htmlPath);
out_html("/kde-default.css\" type=\"text/css\">\n" );
out_html("/tde-default.css\" type=\"text/css\">\n" );
out_html( "<meta name=\"ROFF Type\" content=\"");
if (mandoc_command)
out_html("mdoc");

@ -116,7 +116,7 @@ MANProtocol::MANProtocol(const TQCString &pool_socket, const TQCString &app_sock
{
assert(!_self);
_self = this;
const TQString common_dir = TDEGlobal::dirs()->findResourceDir( "html", "en/common/kde-common.css" );
const TQString common_dir = TDEGlobal::dirs()->findResourceDir( "html", "en/common/tde-common.css" );
const TQString strPath=TQString( "file:%1/en/common" ).arg( common_dir );
m_htmlPath=strPath.local8Bit(); // ### TODO encode for HTML
m_cssPath=strPath.local8Bit(); // ### TODO encode for CSS

Loading…
Cancel
Save