From c26d594029348dbc55d8d5c21c60bcfffd069f3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 00:12:25 -0500 Subject: [PATCH] Bring up, down, top, and bottom icons into XDG compliance --- kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp | 4 ++-- kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp | 4 ++-- kmyfirewall/installer/kmfinstallerplugin.cpp | 4 ++-- kmyfirewall/ipteditor/kmfruleedit.cpp | 4 ++-- kmyfirewall/kmfwidgets/kmflistview.cpp | 4 ++-- kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp b/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp index 8f55091..a8dd951 100644 --- a/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp +++ b/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp @@ -451,10 +451,10 @@ void KMFGenericInterfaceHost::loadIcons() { TDEIconLoader *loader = TDEGlobal:: iconLoader(); TQString icon_name; - icon_name = "up"; + icon_name = "go-up"; icon_up = loader->loadIcon( icon_name, TDEIcon::Small ); - icon_name = "down"; + icon_name = "go-down"; icon_down = loader->loadIcon( icon_name, TDEIcon::Small ); icon_name = "editdelete"; diff --git a/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp b/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp index 1d5948b..0281a9f 100644 --- a/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp +++ b/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp @@ -616,10 +616,10 @@ void KMFGenericInterfaceProtocol::loadIcons() { TDEIconLoader *loader = TDEGlobal:: iconLoader(); TQString icon_name; - icon_name = "up"; + icon_name = "go-up"; icon_up = loader->loadIcon( icon_name, TDEIcon::Small ); - icon_name = "down"; + icon_name = "go-down"; icon_down = loader->loadIcon( icon_name, TDEIcon::Small ); icon_name = "editdelete"; diff --git a/kmyfirewall/installer/kmfinstallerplugin.cpp b/kmyfirewall/installer/kmfinstallerplugin.cpp index 894edfe..8185c45 100644 --- a/kmyfirewall/installer/kmfinstallerplugin.cpp +++ b/kmyfirewall/installer/kmfinstallerplugin.cpp @@ -107,10 +107,10 @@ KMFInstallerPlugin::KMFInstallerPlugin( TQObject *parent, const char *name ) m_actionMenu->setStickyMenu( true ); actionCollection() ->insert( m_actionMenu ); - m_actionInstallFW = new TDEAction( i18n( "&Install Firewall" ), "down", + m_actionInstallFW = new TDEAction( i18n( "&Install Firewall" ), "go-down", 0 , this, TQT_SLOT( slotInstallFW() ), actionCollection(), "install_firewall" ); - m_actionUninstallFW = new TDEAction( i18n( "&Uninstall Firewall" ), "up", + m_actionUninstallFW = new TDEAction( i18n( "&Uninstall Firewall" ), "go-up", 0 , this, TQT_SLOT( slotUninstallFW() ), actionCollection(), "uninstall_firewall" ); setXMLFile( "kmfinstallerpluginui.rc" ); diff --git a/kmyfirewall/ipteditor/kmfruleedit.cpp b/kmyfirewall/ipteditor/kmfruleedit.cpp index 9ddd1ac..b332fea 100644 --- a/kmyfirewall/ipteditor/kmfruleedit.cpp +++ b/kmyfirewall/ipteditor/kmfruleedit.cpp @@ -1449,10 +1449,10 @@ void KMFRuleEdit::loadIcons() { TDEIconLoader *loader = TDEGlobal:: iconLoader(); TQString icon_name; - icon_name = "up"; + icon_name = "go-up"; icon_up = loader->loadIcon( icon_name, TDEIcon::Small ); - icon_name = "down"; + icon_name = "go-down"; icon_down = loader->loadIcon( icon_name, TDEIcon::Small ); icon_name = "editdelete"; diff --git a/kmyfirewall/kmfwidgets/kmflistview.cpp b/kmyfirewall/kmfwidgets/kmflistview.cpp index 22a87ae..e50f697 100644 --- a/kmyfirewall/kmfwidgets/kmflistview.cpp +++ b/kmyfirewall/kmfwidgets/kmflistview.cpp @@ -1065,10 +1065,10 @@ void KMFListView::loadIcons() { TDEIconLoader *loader = TDEGlobal::iconLoader(); TQString icon_name; - icon_name = "up"; + icon_name = "go-up"; icon_up = loader->loadIcon( icon_name, TDEIcon::Small ); - icon_name = "down"; + icon_name = "go-down"; icon_down = loader->loadIcon( icon_name, TDEIcon::Small ); icon_name = "ereaser"; diff --git a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp index 61097ab..ae7f1fc 100644 --- a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp @@ -516,10 +516,10 @@ void KMFMyNetworkWidget::loadIcons() { TDEIconLoader *loader = TDEGlobal:: iconLoader(); TQString icon_name; - icon_name = "up"; + icon_name = "go-up"; icon_up = loader->loadIcon( icon_name, TDEIcon::Small ); - icon_name = "down"; + icon_name = "go-down"; icon_down = loader->loadIcon( icon_name, TDEIcon::Small ); icon_name = "editdelete";