Fix exec icon location and bring it into XDG compliance

pull/16/head
Timothy Pearson 10 years ago
parent 6111385e9a
commit 207e134713

@ -81,7 +81,7 @@ Comment[zh_CN]=桌面配置文件
Comment[zh_HK]=桌面設定檔
Comment[zh_TW]=桌面設定檔
Comment[zu]=Ifayela Lokuhlanganisela Ledesktop
Icon=exec
Icon=application-x-executable
Type=MimeType
MimeType=application/x-desktop
Patterns=*.desktop;*.kdelnk;

@ -69,7 +69,7 @@ Comment[vi]=Tập lệnh (có lẽ có khả năng thực hiện)
Comment[zh_CN]=脚本(可能可执行)
Comment[zh_HK]=Script (可能是可執行檔)
Comment[zh_TW]=文稿(可能可執行)
Icon=exec
Icon=application-x-executable
Type=MimeType
MimeType=application/x-executable-script
X-TDE-IsAlso=text/plain

@ -81,6 +81,6 @@ Comment[zh_CN]=可执行文件
Comment[zh_HK]=可執行檔
Comment[zh_TW]=可執行檔
Comment[zu]=Ifayela Eliphumelelisekayo
Icon=exec
Icon=application-x-executable
Type=MimeType
MimeType=application/x-executable

@ -79,7 +79,7 @@ Comment[zh_CN]=Windows 可执行文件
Comment[zh_HK]=Windows 可執行檔
Comment[zh_TW]=Windows 可執行檔
Comment[zu]=Ama-window Aphumelelanga
Icon=exec
Icon=application-x-executable
Type=MimeType
MimeType=application/x-msdos-program
X-TDE-IsAlso=application/x-executable

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before

Width:  |  Height:  |  Size: 912 B

After

Width:  |  Height:  |  Size: 912 B

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

@ -237,7 +237,7 @@ KNotifyWidget::KNotifyWidget( TQWidget *parent, const char *name,
m_listview->setFullWidth( true );
m_listview->setAllColumnsShowFocus( true );
TQPixmap pexec = SmallIcon("exec");
TQPixmap pexec = SmallIcon("application-x-executable");
TQPixmap pstderr = SmallIcon("terminal");
TQPixmap pmessage = SmallIcon("application-vnd.tde.info");
TQPixmap plogfile = SmallIcon("text-x-log");

@ -191,7 +191,7 @@ TQString KURIFilterData::iconName()
}
else {
// use default
m_strIconName = TQString::fromLatin1("exec");
m_strIconName = TQString::fromLatin1("application-x-executable");
}
#else // HAVE_ELFICON
// Try to find an icon with the same name as the binary (useful for non-tde apps)
@ -205,7 +205,7 @@ TQString KURIFilterData::iconName()
}
else {
// use default
m_strIconName = TQString::fromLatin1("exec");
m_strIconName = TQString::fromLatin1("application-x-executable");
}
// Try to load from elf file (if supported)
// Check for an embedded icon

@ -75,7 +75,7 @@ TQString KMJob::pixmap()
{
// special case
if (m_type == KMJob::Threaded)
return TQString::fromLatin1("exec");
return TQString::fromLatin1("application-x-executable");
// normal case
QString str("tdeprint_job");

@ -32,7 +32,7 @@ KMConfigCommand::KMConfigCommand(TQWidget *parent, const char *name)
{
setPageName(i18n("Commands"));
setPageHeader(i18n("Command Settings"));
setPagePixmap("exec");
setPagePixmap("application-x-executable");
TQGroupBox *gb = new TQGroupBox(0, Qt::Horizontal, i18n("Edit/Create Commands"), this);
TQLabel *lab = new TQLabel(i18n(

@ -32,7 +32,7 @@ KMConfigJobs::KMConfigJobs(TQWidget *parent, const char *name)
{
setPageName(i18n("Jobs"));
setPageHeader(i18n("Print Job Settings"));
setPagePixmap("exec");
setPagePixmap("application-x-executable");
TQGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("Jobs Shown"), this);

@ -88,7 +88,7 @@ void KMInstancePage::initActions()
addButton(i18n("Copy..."), "edit-copy", TQT_SLOT(slotCopy()));
addButton(i18n("Remove"), "edittrash", TQT_SLOT(slotRemove()));
m_buttons.append(0);
addButton(i18n("Set as Default"), "exec", TQT_SLOT(slotDefault()));
addButton(i18n("Set as Default"), "application-x-executable", TQT_SLOT(slotDefault()));
addButton(i18n("Settings"), "configure", TQT_SLOT(slotSettings()));
m_buttons.append(0);
addButton(i18n("Test..."), "document-print", TQT_SLOT(slotTest()));
@ -110,7 +110,7 @@ void KMInstancePage::setPrinter(KMPrinter *p)
for (;it.current();++it)
{
TQStringList pair = TQStringList::split('/',it.current()->name(),false);
m_view->insertItem(SmallIcon((it.current()->isSoftDefault() ? "exec" : "document-print")),(pair.count() > 1 ? pair[1] : i18n("(Default)")));
m_view->insertItem(SmallIcon((it.current()->isSoftDefault() ? "application-x-executable" : "document-print")),(pair.count() > 1 ? pair[1] : i18n("(Default)")));
}
m_view->sort();
}

@ -72,15 +72,15 @@ EscpWidget::EscpWidget(TQWidget *parent, const char *name)
connect(&m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), TQT_SLOT(slotReceivedStderr(TDEProcess*,char*,int)));
TQPushButton *cleanbtn = new TQPushButton(this, "-c");
cleanbtn->setPixmap(DesktopIcon("exec"));
cleanbtn->setPixmap(DesktopIcon("application-x-executable"));
TQPushButton *nozzlebtn = new TQPushButton(this, "-n");
nozzlebtn->setPixmap(DesktopIcon("exec"));
nozzlebtn->setPixmap(DesktopIcon("application-x-executable"));
TQPushButton *alignbtn = new TQPushButton(this, "-a");
alignbtn->setPixmap(DesktopIcon("exec"));
alignbtn->setPixmap(DesktopIcon("application-x-executable"));
TQPushButton *inkbtn = new TQPushButton(this, "-i");
inkbtn->setPixmap(DesktopIcon("tdeprint_inklevel"));
TQPushButton *identbtn = new TQPushButton(this, "-d");
identbtn->setPixmap(DesktopIcon("exec"));
identbtn->setPixmap(DesktopIcon("application-x-executable"));
TQFont f(font());
f.setBold(true);

Loading…
Cancel
Save