]> git.pld-linux.org Git - packages/kdebase.git/blob - kdebase-kio_settings.patch
drop automake related build artifacts
[packages/kdebase.git] / kdebase-kio_settings.patch
1 --- kdebase-trinity-3.5.13.2/kioslave/settings/kio_settings.cc~ 2014-05-27 14:47:44.000000000 +0300
2 +++ kdebase-trinity-3.5.13.2/kioslave/settings/kio_settings.cc  2014-05-27 14:48:11.446790682 +0300
3 @@ -122,7 +122,7 @@
4  KServiceGroup::Ptr SettingsProtocol::findGroup(const TQString &relPath)
5  {
6         TQString nextPart;
7 -       TQString alreadyFound("Settings/");
8 +       TQString alreadyFound("KDE-Settings/");
9         TQStringList rest = TQStringList::split('/', relPath);
10  
11         kdDebug() << "Trying harder to find group " << relPath << endl;
12 @@ -183,7 +183,7 @@
13         servicePath.remove(0, 1); // remove starting '/'
14  
15         if ( m_runMode == SettingsMode)
16 -               servicePath = "Settings/" + servicePath;
17 +               servicePath = "KDE-Settings/" + servicePath;
18  
19         KServiceGroup::Ptr grp = KServiceGroup::group(servicePath);
20  
21 @@ -212,7 +212,7 @@
22         groupPath.remove(0, 1); // remove starting '/'
23  
24         if ( m_runMode == SettingsMode)
25 -               groupPath.prepend("Settings/");
26 +               groupPath.prepend("KDE-Settings/");
27  
28         KServiceGroup::Ptr grp = KServiceGroup::group(groupPath);
29  
30 @@ -249,7 +249,7 @@
31                         QString relPath = g->relPath();
32  
33                         // Do not display the "Settings" menu group in Programs Mode.
34 -                       if( (m_runMode == ProgramsMode) && relPath.startsWith( "Settings" ) )
35 +                       if( (m_runMode == ProgramsMode) && relPath.startsWith( "KDE-Settings" ) )
36                         {
37                                 kdDebug() << "SettingsProtocol: SKIPPING entry programs:/" << relPath << endl;
38                                 continue;
39 @@ -258,7 +258,7 @@
40                         switch( m_runMode )
41                         {
42                           case( SettingsMode ):
43 -                               relPath.remove(0, 9); // length("Settings/") ==9
44 +                               relPath.remove(0, 13); // length("KDE-Settings/") ==13
45                                 kdDebug() << "SettingsProtocol: adding entry settings:/" << relPath << endl;
46                                 createDirEntry(entry, groupCaption, "settings:/"+relPath, "inode/directory",g->icon());
47                                 break;
This page took 0.039508 seconds and 3 git commands to generate.