From c6c2468b389745987f730c59b266080b42e58f93 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 18 Apr 2013 17:32:13 -0500 Subject: [PATCH] Update files and references in support of bug report 1446. --- khelpcenter/index.html.in | 2 +- khelpcenter/view.cpp | 4 ++-- tdeioslave/info/kde-info2html | 2 +- tdeioslave/man/man2html.cpp | 2 +- tdeioslave/man/tdeio_man.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/khelpcenter/index.html.in b/khelpcenter/index.html.in index 9e2a44621..45cbd3dc7 100644 --- a/khelpcenter/index.html.in +++ b/khelpcenter/index.html.in @@ -2,7 +2,7 @@ %1 - + diff --git a/khelpcenter/view.cpp b/khelpcenter/view.cpp index 3c29e039e..f0151b3df 100644 --- a/khelpcenter/view.cpp +++ b/khelpcenter/view.cpp @@ -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); } } diff --git a/tdeioslave/info/kde-info2html b/tdeioslave/info/kde-info2html index b84d984f4..9ecebfb6d 100755 --- a/tdeioslave/info/kde-info2html +++ b/tdeioslave/info/kde-info2html @@ -52,7 +52,7 @@ delete $ENV{CDPATH}; delete $ENV{ENV}; require $config_file; #-- configuration settings -my $STYLESHEET_KDE = ""; +my $STYLESHEET_KDE = ""; my $LOGO_KDE = "\"TDE"; # the use of a query should make sure it never conflicts with a "real" path diff --git a/tdeioslave/man/man2html.cpp b/tdeioslave/man/man2html.cpp index 577f7d53a..a2f8365cb 100644 --- a/tdeioslave/man/man2html.cpp +++ b/tdeioslave/man/man2html.cpp @@ -4083,7 +4083,7 @@ static char *scan_request(char *c) out_html( " Manpage\n"); out_html( "\n" ); + out_html("/tde-default.css\" type=\"text/css\">\n" ); out_html( "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