Fixes for new icons

svn path=/trunk/kdebase/kdesktop/init/Templates/; revision=44659
This commit is contained in:
Geert Jansen 2000-03-25 16:54:34 +00:00
parent f1fc862126
commit 0471c5a4b5
4 changed files with 17 additions and 5 deletions

View file

@ -1,10 +1,16 @@
[Desktop Entry]
Name=FTP URL
Name[ca]=URL d'FTP
Name[eo]=FTP-adreso
Name[fi]=FTP-linkki
Name[fr]=Adresse FTP
Name[no]=FTP-URL
Name[no_NY]=FTP-URL
Name[pt]=URL de FTP
Name[ro]=Adresă FTP
Name[sl]=Vir FTP
Name[sv]=FTP-URL
URL=ftp://ftp.kde.org/pub/kde
Icon=filesystems/ftp
Icon=ftp
Type=Link

View file

@ -1,11 +1,17 @@
[Desktop Entry]
Name=World Wide Web URL
Name[ca]=URL de la World Wide Web
Name[eo]=TTT-adreso
Name[fi]=WWW-osoite
Name[fr]=Adresse World Wide Web (HTTP)
Name[hu]=Világháló (WWW) URL
Name[no]=Verdensvev-URL
Name[no_NY]=Verdsvev-adresse
Name[pt]=URL de HTTP
Name[ro]=Adresă web (URL)
Name[sl]=Spletni vir (URL)
Name[sv]=World Wide Web-URL
URL=http://www.kde.org
Icon=filesystems/www
Icon=www
Type=Link

View file

@ -172,7 +172,7 @@ QPixmap KonqFileItem::pixmap( KIconLoader::Size _size, bool bImagePreviewAllowed
if ( S_ISDIR( m_fileMode ) )
return KGlobal::iconLoader()->loadIcon( "folder", _size );
return KGlobal::iconLoader()->loadIcon( "mimetypes/unknown", _size );
return KGlobal::iconLoader()->loadIcon( "unknown", _size );
}
if ( m_pMimeType->name().left(6) == "image/" && m_bIsLocalURL && bImagePreviewAllowed )

View file

@ -374,7 +374,7 @@ FilePropsPage::FilePropsPage( PropertiesDialog *_props )
KIconLoaderButton *iconButton = new KIconLoaderButton(KGlobal::iconLoader(), this);
iconButton->setFixedSize(50, 50);
iconButton->setIconType("apps");
iconButton->setIconType(KIcon::Desktop, KIcon::Application);
// This works for everything except Device icons on unmounted devices
// So we have to really open .desktop files
QString iconStr = KMimeType::findByURL( properties->kurl(),
@ -1633,7 +1633,7 @@ DevicePropsPage::DevicePropsPage( PropertiesDialog *_props ) : PropsPage( _props
unmounted = new KIconLoaderButton( KGlobal::iconLoader(), this );
unmounted->setFixedSize(50, 50);
unmounted->setIconType("devices");
unmounted->setIconType(KIcon::Desktop, KIcon::Device);
layout->addWidget(unmounted, 5, 0);
label = new QLabel( i18n("Unmounted Icon"), this );