Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > a6bc312ce50b5c8d0c51736e58ac32bc > files > 250

kdebase-3.4.2-55mdk.src.rpm

--- kdebase-3.2/kdesktop/kdiconview.cc.default_devices_on_desktop	2004-02-20 10:42:41.000000000 +0100
+++ kdebase-3.2/kdesktop/kdiconview.cc	2004-02-20 12:02:41.000000000 +0100
@@ -218,8 +218,8 @@ void KDIconView::initConfig( bool init )
     m_itemsAlwaysFirst = config->readListEntry("AlwaysFirstItems"); // Distributor plug-in
 
     config->setGroup( "Devices" );
-    m_enableDevices=config->readBoolEntry("enabled",false);
-    QString tmpList=config->readEntry("exclude","kdedevice/hdd_mounted,kdedevice/hdd_unmounted,kdedevice/floppy_unmounted,kdedevice/cdrom_unmounted,kdedevice/floppy5_unmounted");
+    m_enableDevices=config->readBoolEntry("enabled",true);
+    QString tmpList=config->readEntry("exclude","kdedevice/cdrom_unmounted,kdedevice/floppy5_unmounted,kdedevice/floppy_unmounted,kdedevice/cdwriter_unmounted,kdedevice/hdd_unmounted");
     kdDebug(1204)<<"m_excludeList"<<tmpList<<endl;
     m_excludedDevices=QStringList::split(",",tmpList,false);
     kdDebug(1204)<<" m_excludeList / item count:" <<m_excludedDevices.count()<<endl;
--- kdebase-3.2/kcontrol/konq/desktopbehavior_impl.cpp--	2004-02-20 16:38:25.000000000 +0100
+++ kdebase-3.2/kcontrol/konq/desktopbehavior_impl.cpp	2004-02-20 16:39:12.000000000 +0100
@@ -227,8 +227,8 @@ void DesktopBehavior::fillDevicesListVie
     KMimeType::List mimetypes = KMimeType::allMimeTypes();
     QValueListIterator<KMimeType::Ptr> it2(mimetypes.begin());
     g_pConfig->setGroup( "Devices" );
-    enableDevicesBox->setChecked(g_pConfig->readBoolEntry("enabled",false));
-    QString excludedDevices=g_pConfig->readEntry("exclude","kdedevice/hdd_mounted,kdedevice/hdd_unmounted,kdedevice/floppy_unmounted,kdedevice/cdrom_unmounted,kdedevice/floppy5_unmounted");
+    enableDevicesBox->setChecked(g_pConfig->readBoolEntry("enabled",true));
+    QString excludedDevices=g_pConfig->readEntry("exclude","kdedevice/cdrom_unmounted,kdedevice/floppy5_unmounted,kdedevice/floppy_unmounted,kdedevice/cdwriter_unmounted,kdedevice/hdd_unmounted");
     for (; it2 != mimetypes.end(); ++it2) {
        if ( ((*it2)->name().startsWith("kdedevice/")) ||
           ((*it2)->name()=="print/printer") )