summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-19 12:51:39 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-19 12:51:39 -0500
commitb8ed19a4c246bf279217c6f6e8abc8ed26a6a973 (patch)
treedb7ccf39acfa1795dea0b325ec20b53051773fa9
parent5f4287e56dd5c1feecc08843aae1d4e4b8835d1e (diff)
parent3dacd27ea08799f126c00fc93358e0b3961a3b1a (diff)
downloadtdebase-b8ed19a4c246bf279217c6f6e8abc8ed26a6a973.tar.gz
tdebase-b8ed19a4c246bf279217c6f6e8abc8ed26a6a973.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase
m---------admin0
-rw-r--r--doc/userguide/tde-for-admins.docbook8
-rw-r--r--kcontrol/colors/colorscm.cpp2
-rw-r--r--kcontrol/fonts/fonts.cpp2
-rw-r--r--kcontrol/keys/README2
-rw-r--r--kcontrol/kthememanager/ktheme.cpp2
-rw-r--r--kdesktop/minicli_ui.ui4
-rw-r--r--khelpcenter/index.html.in2
-rw-r--r--khelpcenter/view.cpp4
-rw-r--r--kpersonalizer/kstylepage.cpp2
-rw-r--r--r14-xdg-update10
-rwxr-xr-xtdeioslave/info/kde-info2html2
-rw-r--r--tdeioslave/man/man2html.cpp2
-rw-r--r--tdeioslave/man/tdeio_man.cpp2
-rw-r--r--tdm/TODO2
15 files changed, 28 insertions, 18 deletions
diff --git a/admin b/admin
-Subproject 4027b878fb556a51ed29affd578e78aa7099748
+Subproject 307fab5fdad542247fa11a418be0e9635f4b5eb
diff --git a/doc/userguide/tde-for-admins.docbook b/doc/userguide/tde-for-admins.docbook
index 197dab390..aca6bb7d4 100644
--- a/doc/userguide/tde-for-admins.docbook
+++ b/doc/userguide/tde-for-admins.docbook
@@ -184,7 +184,7 @@ TDEDIRS='/opt/kde_staff:/opt/trinity'
class="directory">/opt/kde_staff</filename> contained additional settings
and applications for staff members. <quote>User Profiles</quote> allow you
to add this directory only for certain users and not for others. Add the
-following to <filename>/etc/kderc</filename>:</para>
+following to <filename>/etc/tderc</filename>:</para>
<programlisting>
[Directories-staff]
@@ -195,11 +195,11 @@ prefixes=/opt/kde_staff
<filename class="directory">/opt/kde_staff</filename> directory
tree. (Note that &SuSE; &Linux; uses
<filename>/etc/kde3rc</filename> instead of
-<filename>/etc/kderc</filename>. Now that we have a named profile it
+<filename>/etc/tderc</filename>. Now that we have a named profile it
can be assigned to users.</para>
<para>To map profiles to users a mapping file needs to be specified in
-<filename>/etc/kderc</filename>:</para>
+<filename>/etc/tderc</filename>:</para>
<programlisting>
[Directories]
@@ -2381,7 +2381,7 @@ Installing Software
= AutoYaST
= KickStart
Maintaining Settings
-= /etc/kderc, other settings
+= /etc/tderc, other settings
= Use rsync to copy files around
= Shared filesystem such as NFS
o store profiles themselves on NFS
diff --git a/kcontrol/colors/colorscm.cpp b/kcontrol/colors/colorscm.cpp
index 45e3932da..b1cc2616a 100644
--- a/kcontrol/colors/colorscm.cpp
+++ b/kcontrol/colors/colorscm.cpp
@@ -372,7 +372,7 @@ void KColorScheme::save()
// KDE-1.x support
KSimpleConfig *config =
- new KSimpleConfig( TQDir::homeDirPath() + "/.kderc" );
+ new KSimpleConfig( TQDir::homeDirPath() + "/.tderc" );
config->setGroup( "General" );
config->writeEntry("background", cs->back );
config->writeEntry("selectBackground", cs->select );
diff --git a/kcontrol/fonts/fonts.cpp b/kcontrol/fonts/fonts.cpp
index 2489b80c6..c5b4c3353 100644
--- a/kcontrol/fonts/fonts.cpp
+++ b/kcontrol/fonts/fonts.cpp
@@ -733,7 +733,7 @@ void TDEFonts::save()
}
// KDE-1.x support
- KSimpleConfig* config = new KSimpleConfig( TQDir::homeDirPath() + "/.kderc" );
+ KSimpleConfig* config = new KSimpleConfig( TQDir::homeDirPath() + "/.tderc" );
config->setGroup( "General" );
for ( FontUseItem* i = fontUseList.first(); i; i = fontUseList.next() ) {
if("font"==i->rcKey())
diff --git a/kcontrol/keys/README b/kcontrol/keys/README
index 63964a1fe..bbdc72537 100644
--- a/kcontrol/keys/README
+++ b/kcontrol/keys/README
@@ -2,6 +2,6 @@ CHANGES V0.2
- Global keys stored by default in ~/.trinity/share/config/kdeglobals
[Global Keys] group
- KKeyDialog checks new key choices against exising bindings for the widget
-and against entries in .kderc [Global Keys]
+and against entries in .tderc [Global Keys]
- kcmkeys now has two standard kcontrol pages - one for standard desktop
accelerators and one for global keybindings.
diff --git a/kcontrol/kthememanager/ktheme.cpp b/kcontrol/kthememanager/ktheme.cpp
index 974ad88b6..d5a593727 100644
--- a/kcontrol/kthememanager/ktheme.cpp
+++ b/kcontrol/kthememanager/ktheme.cpp
@@ -655,7 +655,7 @@ void KTheme::apply()
if ( !fontsElem.isNull() )
{
TDEConfig * fontsConf = TDEGlobal::config();
- TDEConfig * kde1xConf = new KSimpleConfig( TQDir::homeDirPath() + "/.kderc" );
+ TDEConfig * kde1xConf = new KSimpleConfig( TQDir::homeDirPath() + "/.tderc" );
kde1xConf->setGroup( "General" );
TQDomNodeList fontList = fontsElem.childNodes();
diff --git a/kdesktop/minicli_ui.ui b/kdesktop/minicli_ui.ui
index 4544ce093..daf5542e0 100644
--- a/kdesktop/minicli_ui.ui
+++ b/kdesktop/minicli_ui.ui
@@ -509,7 +509,7 @@
<cstring>cbCommand</cstring>
</property>
<property name="whatsThis" stdset="0">
- <string>Enter the command you wish to execute or the address of the resource you want to open. This can be a remote URL like "www.kde.org" or a local one like "~/.kderc".</string>
+ <string>Enter the command you wish to execute or the address of the resource you want to open. This can be a remote URL like "www.kde.org" or a local one like "~/.tderc".</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
@@ -550,7 +550,7 @@
</size>
</property>
<property name="whatsThis" stdset="0">
- <string>Enter the command you wish to execute or the address of the resource you want to open. This can be a remote URL like "www.kde.org" or a local one like "~/.kderc".</string>
+ <string>Enter the command you wish to execute or the address of the resource you want to open. This can be a remote URL like "www.kde.org" or a local one like "~/.tderc".</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
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 @@
<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>
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/kpersonalizer/kstylepage.cpp b/kpersonalizer/kstylepage.cpp
index 296131ee0..974ac0c9d 100644
--- a/kpersonalizer/kstylepage.cpp
+++ b/kpersonalizer/kstylepage.cpp
@@ -188,7 +188,7 @@ void TDEStylePage::saveColors(bool curSettings){
////////////////////////////////////////////////////
// KDE-1.x support
KSimpleConfig *tdeconfig =
- new KSimpleConfig( TQDir::homeDirPath() + "/.kderc" );
+ new KSimpleConfig( TQDir::homeDirPath() + "/.tderc" );
tdeconfig->setGroup( "General" );
tdeconfig->writeEntry("background", toSave->background );
tdeconfig->writeEntry("selectBackground", toSave->selectBackground );
diff --git a/r14-xdg-update b/r14-xdg-update
index 103d5dec3..627262ac4 100644
--- a/r14-xdg-update
+++ b/r14-xdg-update
@@ -624,6 +624,16 @@ if [ ! -f $PROFILE_DIR/share/config/tderadiorc ] && [ -f $PROFILE_DIR/share/conf
mv $PROFILE_DIR/share/config/kradiorc $PROFILE_DIR/share/config/tderadiorc 2>/dev/null
mv $PROFILE_DIR/share/apps/kradio $PROFILE_DIR/share/apps/tderadio 2>/dev/null
fi
+if [ ! -f $HOME/.tderc ] && [ -f $HOME/.kderc ]; then
+ # Do not blindly move $HOME/.kderc because that file might be from KDE4.
+ # The first test is from a Trinity .kderc and the second test is from a KDE4 .kderc.
+ if [ "`grep selectBackground $HOME/.kderc`" != "" ] && [ "`grep smallestReadableFont $HOME/.kderc`" = "" ]; then
+ # Both tests pass. Probably a Trinity .kderc.
+ Message_Prefix
+ echo " .kderc->.tderc"
+ mv $HOME/.kderc $HOME/.tderc 2>/dev/null
+ fi
+fi
# Disable some features new to R14, otherwise users will see an unfamiliar desktop.
if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "ShowDeepButtons" --default false) == "false" ]]; then
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 = "<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
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</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");
diff --git a/tdeioslave/man/tdeio_man.cpp b/tdeioslave/man/tdeio_man.cpp
index 7412077c5..d48fd9746 100644
--- a/tdeioslave/man/tdeio_man.cpp
+++ b/tdeioslave/man/tdeio_man.cpp
@@ -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
diff --git a/tdm/TODO b/tdm/TODO
index a36dd8edf..208863d9b 100644
--- a/tdm/TODO
+++ b/tdm/TODO
@@ -45,7 +45,7 @@ save these options to .dmrc?
otherwise the GUI would become insanely complex.
- make config position independent
-- parse /etc/kderc?
+- parse /etc/tderc?
- merge multiple tdmrcs in the style of tdeconfig. how to set section priorities?
- gentdmconf: treat backgroundrc as an ini file, not as a text blob
- add proper quoting and dequoting to gentdmconf ini parser & writer