summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-03-26 13:02:31 -0500
committerSlávek Banko <slavek.banko@axis.cz>2015-03-26 20:32:23 +0100
commita2c894a79111c3b35154273eeff74a4ddba3c995 (patch)
tree81d883659eaa6959611883d68e42d39534f51280
parent8c7d69faa0a504c9d28bb895f7fbfd22f64141c2 (diff)
downloadsmb4k-a2c894a79111c3b35154273eeff74a4ddba3c995.tar.gz
smb4k-a2c894a79111c3b35154273eeff74a4ddba3c995.zip
Bring printer1 icon into XDG compliance
(cherry picked from commit 39fa81fa7dafbfc8ab1910151d88f5d493d9455b)
-rw-r--r--smb4k/browser/smb4knetworkbrowser_part.cpp2
-rw-r--r--smb4k/browser/smb4knetworkbrowseritem.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/smb4k/browser/smb4knetworkbrowser_part.cpp b/smb4k/browser/smb4knetworkbrowser_part.cpp
index fda0808..15e3c46 100644
--- a/smb4k/browser/smb4knetworkbrowser_part.cpp
+++ b/smb4k/browser/smb4knetworkbrowser_part.cpp
@@ -163,7 +163,7 @@ void Smb4KNetworkBrowserPart::setupActions()
TDEAction *preview = new TDEAction( i18n( "Pre&view" ), "view_icon", TDEShortcut( CTRL+Key_V ),
this, TQT_SLOT( slotPreview() ),
actionCollection(), "preview_action" );
- TDEAction *print = new TDEAction( i18n( "&Print File" ), "printer1", TDEShortcut( CTRL+Key_P ),
+ TDEAction *print = new TDEAction( i18n( "&Print File" ), "printer", TDEShortcut( CTRL+Key_P ),
this, TQT_SLOT( slotPrint() ),
actionCollection(), "print_action" );
TDEAction *mount = new TDEAction( i18n( "&Mount" ), "drive-harddisk-mounted", TDEShortcut( CTRL+Key_M ),
diff --git a/smb4k/browser/smb4knetworkbrowseritem.cpp b/smb4k/browser/smb4knetworkbrowseritem.cpp
index 4153c14..1c40ba3 100644
--- a/smb4k/browser/smb4knetworkbrowseritem.cpp
+++ b/smb4k/browser/smb4knetworkbrowseritem.cpp
@@ -82,8 +82,8 @@ void Smb4KNetworkBrowserItem::setIcon()
{
if ( m_share.isPrinter() )
{
- m_desktop_icon = DesktopIcon( "printer1" );
- setPixmap( 0, SmallIcon( "printer1" ) );
+ m_desktop_icon = DesktopIcon( "printer" );
+ setPixmap( 0, SmallIcon( "printer" ) );
}
else
{