Fix exec icon location and bring it into XDG compliance

pull/21/head
Timothy Pearson 10 years ago
parent eb918b697e
commit 1fbffc1c21

@ -84,7 +84,7 @@ SearchBar::SearchBar(TQWidget* parent, const char* name) : TQHBox(parent, name),
statusLabel->setText( i18n("Status:") ); statusLabel->setText( i18n("Status:") );
d->searchCombo = new KComboBox(this, "searchcombo"); d->searchCombo = new KComboBox(this, "searchcombo");
TQPixmap iconAll = TDEGlobal::iconLoader()->loadIcon("exec", TDEIcon::Small); TQPixmap iconAll = TDEGlobal::iconLoader()->loadIcon("application-x-executable", TDEIcon::Small);
TQPixmap iconNew(locate("data", "akregator/pics/kmmsgnew.png")); TQPixmap iconNew(locate("data", "akregator/pics/kmmsgnew.png"));
TQPixmap iconUnread(locate("data", "akregator/pics/kmmsgunseen.png")); TQPixmap iconUnread(locate("data", "akregator/pics/kmmsgunseen.png"));
TQPixmap iconKeep(locate("data", "akregator/pics/kmmsgflag.png")); TQPixmap iconKeep(locate("data", "akregator/pics/kmmsgflag.png"));

@ -418,7 +418,7 @@ int EventListViewItemBase::iconWidth()
{ {
mTextIcon = new TQPixmap(SmallIcon("message")); mTextIcon = new TQPixmap(SmallIcon("message"));
mFileIcon = new TQPixmap(SmallIcon("file")); mFileIcon = new TQPixmap(SmallIcon("file"));
mCommandIcon = new TQPixmap(SmallIcon("exec")); mCommandIcon = new TQPixmap(SmallIcon("application-x-executable"));
mEmailIcon = new TQPixmap(SmallIcon("mail_generic")); mEmailIcon = new TQPixmap(SmallIcon("mail_generic"));
if (mTextIcon) if (mTextIcon)
mIconWidth = mTextIcon->width(); mIconWidth = mTextIcon->width();

Loading…
Cancel
Save