Compare commits

...

98 커밋

작성자 SHA1 메시지 날짜
Michele Calgaro fdb584444b
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
2 년 전
TDE Gitea d5f736616d Reset submodule main/applications/internet/smb4k/admin to latest HEAD
2 년 전
Michele Calgaro eee4547ea3
Replaced USE_SOLARIS definition with __sun.
2 년 전
Slávek Banko 291eab0dc9
Raise the minimum required version of CMake to 3.1 in CMakeL10n rules.
2 년 전
TDE Gitea 46dba89c1d Update translation template.
3 년 전
Slávek Banko 25adf51d22
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
3 년 전
TDE Gitea 2d346d72ec Reset submodule main/applications/smb4k/cmake to latest HEAD
3 년 전
TDE Gitea f3ee1e16a3 Reset submodule main/applications/smb4k/cmake to latest HEAD
3 년 전
TDE Gitea 037279c57b Reset submodule main/applications/smb4k/admin to latest HEAD
3 년 전
TDE Gitea 0dc0540fe0 Reset submodule main/applications/smb4k/cmake to latest HEAD
3 년 전
TDE Gitea 5d9ce69ded Reset submodule main/applications/smb4k/cmake to latest HEAD
3 년 전
TDE Gitea 9c4ded39a2 Reset submodule main/applications/smb4k/admin to latest HEAD
3 년 전
TDE Gitea 5f488c5d5a Reset submodule main/applications/smb4k/cmake to latest HEAD
3 년 전
TDE Gitea 68bb5a8863 Reset submodule main/applications/smb4k/cmake to latest HEAD
3 년 전
TDE Gitea 18b0a25baa Reset submodule main/applications/smb4k/admin to latest HEAD
3 년 전
TDE Gitea 40c5073efb Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea e897c23326 Reset submodule main/applications/smb4k/admin to latest HEAD
4 년 전
TDE Gitea bbfbb1da9b Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 031d2e44b2 Reset submodule main/applications/smb4k/admin to latest HEAD
4 년 전
TDE Gitea b454b07d64 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea e54dc7e895 Reset submodule main/applications/smb4k/admin to latest HEAD
4 년 전
TDE Gitea 068038ca43 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea d4ef8ecc40 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 7e87fad3f9 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea c19dfd669d Reset submodule main/applications/smb4k/admin to latest HEAD
4 년 전
TDE Gitea 9ea2a505a0 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 96d92dd4fc Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 07cf0775cb Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 2566b240af Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 9d2484e966 Reset submodule main/applications/smb4k/admin to latest HEAD
4 년 전
TDE Gitea 057417621b Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 5b7160dce0 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea ccbaaf7e59 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
Slávek Banko 98046d4e37 Merge translation files from master branch.
4 년 전
Slávek Banko 8339d80e6a Update translation template.
4 년 전
TDE Gitea 243f01eda7 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 262d678022 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea c957ed9e26 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 8a5d8ba828 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 79ba0e6145 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
TDE Gitea 1b6886cf1b Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
Slávek Banko d248a799d4 Merge translation files from master branch.
4 년 전
Slávek Banko 371235765d Merge translation files from master branch.
4 년 전
Slávek Banko a93fbd5f1d Merge translation files from master branch.
4 년 전
TDE Gitea 0056465558 Reset submodule main/applications/smb4k/cmake to latest HEAD
4 년 전
Slávek Banko c816f2c921
Switch all submodules to https.
4 년 전
Slávek Banko 806ce54af4 Merge translation files from master branch.
4 년 전
Slávek Banko 5c91446a20 Merge translation files from master branch.
5 년 전
Michele Calgaro 9d3f2ed7e5
Removed .lsm files. lsm database is outdated and unmaintained.
5 년 전
Slávek Banko 2ce0bdf4b7 Merge translation files from master branch.
5 년 전
TDE Gitea 7eddc2c583 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea 710b19933b Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea db6e8ed598 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
Michele Calgaro bc35b35bff
Updated date and version to R14.0.6 in .lsm files.
5 년 전
TDE Gitea 6927bb16fd Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea 7a42348de5 Reset submodule main/applications/smb4k/admin to latest HEAD
5 년 전
TDE Gitea 72762bd357 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea c6aea4bede Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Weblate e4899a26bc
Update translation files
5 년 전
Slávek Banko 2277e367ae
Update translation template.
5 년 전
TDE Gitea db079948f3 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea 166acaae9d Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Weblate 258267f9b9
Update translation files
5 년 전
Slávek Banko d26fa9d1e5
Add CMakeL10n rules.
5 년 전
TDE Gitea 70dd69b995 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea f5831d0601 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea aea4e761d0 Reset submodule main/applications/smb4k/admin to latest HEAD
5 년 전
TDE Gitea 70c0efe2c8 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea efb30b50a3 Reset submodule main/applications/smb4k/cmake to latest HEAD
5 년 전
TDE Gitea d241a7ab41 Reset submodule main/applications/smb4k/admin to latest HEAD
6 년 전
Slávek Banko 35355d551c Update version numbers and date for R14.0.5 final release
6 년 전
Slávek Banko ad2f3925aa Reset submodule main/applications/smb4k/admin to latest HEAD
6 년 전
Slávek Banko 60d1e91a87 Reset submodule main/applications/smb4k/admin to latest HEAD
6 년 전
Slávek Banko d7f9aa2a7b Reset submodule main/applications/smb4k/admin to latest HEAD
6 년 전
Slávek Banko 8fbe4b87bd Reset submodule main/applications/smb4k/cmake to latest HEAD
7 년 전
Slávek Banko b446815121 Reset submodule main/applications/smb4k/cmake to latest HEAD
7 년 전
Slávek Banko 5502b0af8c Reset submodule main/applications/smb4k/cmake to latest HEAD
7 년 전
Slávek Banko 66850e96b4 Reset submodule main/applications/smb4k/cmake to latest HEAD
7 년 전
Slávek Banko f182fd5074 Reset submodule main/applications/smb4k/admin to latest HEAD
7 년 전
Slávek Banko 49137df6ad cmake: add tde_add_check_executable macro
7 년 전
Slávek Banko e261d1e241 Update version number for new target R14.0.5
8 년 전
Slávek Banko 9961958345 Update date in lsm files
8 년 전
Slávek Banko e759e055ae Reset submodule main/applications/smb4k/admin to latest HEAD
8 년 전
Timothy Pearson ea1e7ceecc Fix invalid headers in PNG files and optimize for size
8 년 전
Slávek Banko 94b295ad06 Reset submodule main/applications/smb4k/cmake to latest HEAD
8 년 전
Slávek Banko c549c35d46 Reset submodule main/applications/smb4k/cmake to latest HEAD
8 년 전
Slávek Banko e579456c0c Update version number for new target R14.0.4
8 년 전
Slávek Banko 3d1b4019b7 Update date in lsm files
8 년 전
Slávek Banko d4ebc9a930 Update version number for new target R14.0.3
9 년 전
Slávek Banko 710e936241 Update date in lsm files
9 년 전
Slávek Banko 29bac45e4e Update version number for new target R14.0.2
9 년 전
Slávek Banko 1dc57d419f Update date in lsm files
9 년 전
Slávek Banko ea1abe110f Update version in lsm files
9 년 전
Slávek Banko c559972145 Reset submodule main/applications/smb4k/cmake to latest HEAD
9 년 전
Slávek Banko 10f6b9a8bd Reset submodule main/applications/smb4k/cmake to latest HEAD
9 년 전
Slávek Banko 853ac36d82 Reset submodule main/applications/smb4k/admin to latest HEAD
9 년 전
Timothy Pearson a2c894a791 Bring printer1 icon into XDG compliance
9 년 전
Timothy Pearson 8c7d69faa0 Rename most device icons to comply with XDG standards
9 년 전

5
.gitmodules vendored

@ -1,6 +1,3 @@
[submodule "admin"]
path = admin
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin

@ -0,0 +1,22 @@
#################################################
#
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### include our cmake modules #################
include( TDEL10n )
##### create translation templates ##############
tde_l10n_create_template( "smb4k" )

@ -1 +1 @@
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af
Subproject commit a9e0c7eb508ebea59f1fc26d4a6858c4b6feea3e

@ -1 +0,0 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 985 B

After

Width:  |  Height:  |  Size: 883 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 871 B

After

Width:  |  Height:  |  Size: 844 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 963 B

After

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 34 KiB

6451
po/de.po

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

4940
po/es.po

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

5457
po/it.po

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

5483
po/ja.po

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

3639
po/sv.po

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

5059
po/uk.po

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Load Diff

@ -1,14 +0,0 @@
Begin4
Title: Smb4K
Version: R14.0.0
Entered-date: 2010-05-10
Description: An advanced network neighborhood browser
Keywords: TDE Qt Samba network browser
Author: Alexander Reinholdt <dustpuppy@mail.berlios.de>
Maintained-by: The Trinity Desktop Environment (TDE) http://www.trinitydesktop.org/
Primary-site: http://git.trinitydesktop.org/cgit/
Alternate-site:
Original-site: http://sourceforge.net/p/smb4k/home/Home/
Platforms: Linux and other Unices running TDE
Copying-policy: GPL
End

@ -163,10 +163,10 @@ 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" ), "hdd_mount", TDEShortcut( CTRL+Key_M ),
TDEAction *mount = new TDEAction( i18n( "&Mount" ), "drive-harddisk-mounted", TDEShortcut( CTRL+Key_M ),
this, TQT_SLOT( slotMount() ),
actionCollection(), "mount_action" );
@ -200,7 +200,7 @@ void Smb4KNetworkBrowserPart::setupActions()
// is also needed:
if ( m_mode == KonqPlugin )
{
TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "hdd_unmount", TDEShortcut( CTRL+Key_U ),
TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut( CTRL+Key_U ),
this, TQT_SLOT( slotUnmount() ),
actionCollection(), "konq_umount_action" );

@ -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
{

@ -161,7 +161,7 @@ Smb4TDEConfigDialog::Smb4TDEConfigDialog( Smb4KSettings *settings, TQWidget *par
// Now add the pages to the configuration dialog
addPage( interface_options, i18n( "User Interface" ), "view_choose" );
addPage( network_options, i18n( "Network" ), "network" );
addPage( share_options, i18n( "Shares" ), "hdd_mount" );
addPage( share_options, i18n( "Shares" ), "drive-harddisk-mounted" );
addPage( auth_options, i18n( "Authentication" ), "identity" );
addPage( samba_options, i18n( "Samba" ), "samba" );
addPage( rsync_options, i18n( "Synchronization" ), "go-bottom" );

@ -37,9 +37,9 @@
#include <kdebug.h>
// system includes
#if !defined(__FreeBSD__) && !defined(__solaris__) && !defined(USE_SOLARIS)
#if !defined(__FreeBSD__) && !defined(__sun)
#include <sys/statfs.h>
#elif defined(__solaris__) || defined(USE_SOLARIS)
#elif defined(__sun)
#include <sys/statvfs.h>
#elif defined(__FreeBSD__)
#include <sys/param.h>
@ -1046,13 +1046,13 @@ void Smb4KMounter::processMount()
TQString name = TQString( "//%1/%2" ).arg( m_priv->host() ).arg( m_priv->share() );
// Check file system
#if !defined(__solaris__)
#if !defined(__sun)
struct statfs filesystem;
#else
struct statvfs filesystem;
#endif
#if !defined(__solaris__) && !defined(__irix__)
#if !defined(__sun) && !defined(__irix__)
if ( statfs( m_priv->path(), &filesystem ) == -1 )
#elif defined(__irix__)
if ( statfs( m_priv->path(), &filesystem, sizeof( filesystem ), 0 ) == -1 )
@ -1079,7 +1079,7 @@ void Smb4KMounter::processMount()
}
else
{
#if !defined(__FreeBSD__) && !defined(__solaris__) && !defined(__irix__)
#if !defined(__FreeBSD__) && !defined(__sun) && !defined(__irix__)
if ( (uint)filesystem.f_type == 0xFF534D42 /* CIFS */)
{
// The user name will be send if no login was specified.
@ -1095,7 +1095,7 @@ void Smb4KMounter::processMount()
share = new Smb4KShare( name, m_priv->path(), "smbfs", (int)getuid(), (int)getgid() );
m_mounted_shares.append( share );
}
#elif defined(__solaris__)
#elif defined(__sun)
if ( (uint)filesystem.f_basetype == 0xFF534D42 /* CIFS */)
{
// The user name will be send if no login was specified.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

@ -105,11 +105,11 @@ Smb4KSharesIconViewPart::~Smb4KSharesIconViewPart()
void Smb4KSharesIconViewPart::setupActions()
{
// Create the actions:
TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "hdd_unmount", TDEShortcut( CTRL+Key_U ),
TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut( CTRL+Key_U ),
this, TQT_SLOT( slotUnmountShare() ),
actionCollection(), "unmount_action" );
#ifdef __linux__
TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "hdd_unmount", TDEShortcut( CTRL+Key_F ),
TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk", TDEShortcut( CTRL+Key_F ),
this, TQT_SLOT( slotForceUnmountShare() ),
actionCollection(), "force_unmount_action" );
#endif
@ -138,7 +138,7 @@ void Smb4KSharesIconViewPart::setupActions()
// Insert the actions into the menu:
m_menu = new TDEActionMenu( this, "SharesIconViewMenu" );
m_menu->popupMenu()->insertTitle( SmallIcon( "hdd_mount" ), i18n( "Shares" ), 0 );
m_menu->popupMenu()->insertTitle( SmallIcon( "drive-harddisk-mounted" ), i18n( "Shares" ), 0 );
m_menu->insert( unmount, -1 );
#ifdef __linux__
m_menu->insert( force, -1 );
@ -224,12 +224,12 @@ void Smb4KSharesIconViewPart::slotContextMenuRequested( TQIconViewItem *item, co
{
if ( item )
{
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "hdd_mount" ),
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "drive-harddisk-mounted" ),
static_cast<Smb4KSharesIconViewItem *>( item )->shareObject()->name() );
}
else
{
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "hdd_mount" ), i18n( "Shares" ) );
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "drive-harddisk-mounted" ), i18n( "Shares" ) );
}
m_menu->popupMenu()->exec( pos, 0 );

@ -94,7 +94,7 @@ void Smb4KSharesIconViewItem::setupItem( const Smb4KShare &share, bool mountpoin
{
TQImage over = m_loader->loadIcon( "button_cancel", TDEIcon::Desktop,
0, icon_state, 0L, false ).convertToImage();
TQImage src = m_loader->loadIcon( "hdd_mount", TDEIcon::Desktop,
TQImage src = m_loader->loadIcon( "drive-harddisk-mounted", TDEIcon::Desktop,
0, icon_state, 0L, false ).convertToImage();
TDEIconEffect e;
@ -105,7 +105,7 @@ void Smb4KSharesIconViewItem::setupItem( const Smb4KShare &share, bool mountpoin
}
else
{
m_pixmap = m_loader->loadIcon( "hdd_mount", TDEIcon::Desktop,
m_pixmap = m_loader->loadIcon( "drive-harddisk-mounted", TDEIcon::Desktop,
0, icon_state, 0L, false );
}

@ -108,11 +108,11 @@ Smb4KSharesListViewPart::~Smb4KSharesListViewPart()
void Smb4KSharesListViewPart::setupActions()
{
// Create the actions:
TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "hdd_unmount", TDEShortcut( CTRL+Key_U ),
TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut( CTRL+Key_U ),
this, TQT_SLOT( slotUnmountShare() ),
actionCollection(), "unmount_action" );
#ifdef __linux__
TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "hdd_unmount", TDEShortcut( CTRL+Key_F ),
TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk", TDEShortcut( CTRL+Key_F ),
this, TQT_SLOT( slotForceUnmountShare() ),
actionCollection(), "force_unmount_action" );
#endif
@ -141,7 +141,7 @@ void Smb4KSharesListViewPart::setupActions()
// Insert the actions into the menu:
m_menu = new TDEActionMenu( this, "SharesListViewMenu" );
m_menu->popupMenu()->insertTitle( SmallIcon( "hdd_mount" ), i18n( "Shares" ), 0 );
m_menu->popupMenu()->insertTitle( SmallIcon( "drive-harddisk-mounted" ), i18n( "Shares" ), 0 );
m_menu->insert( unmount, -1 );
#ifdef __linux__
m_menu->insert( force, -1 );
@ -338,12 +338,12 @@ void Smb4KSharesListViewPart::slotContextMenuRequested( TQListViewItem *item, co
{
if ( item )
{
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "hdd_mount" ),
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "drive-harddisk-mounted" ),
static_cast<Smb4KSharesListViewItem *>( item )->shareObject()->name() );
}
else
{
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "hdd_mount" ), i18n( "Shares" ) );
m_menu->popupMenu()->changeTitle( 0, SmallIcon( "drive-harddisk-mounted" ), i18n( "Shares" ) );
}
m_menu->popupMenu()->exec( pos, 0 );

@ -73,12 +73,12 @@ void Smb4KSharesListViewItem::setupItem( const Smb4KShare &share, bool mountpoin
{
TQImage over = m_loader->loadIcon( "button_cancel", TDEIcon::Small,
0, icon_state, 0L, false ).convertToImage();
TQImage src = m_loader->loadIcon( "hdd_mount", TDEIcon::Small,
TQImage src = m_loader->loadIcon( "drive-harddisk-mounted", TDEIcon::Small,
0, icon_state, 0L, false ).convertToImage();
TQImage over_desk = m_loader->loadIcon( "button_cancel", TDEIcon::Desktop,
0, icon_state, 0L, false ).convertToImage();
TQImage src_desk = m_loader->loadIcon( "hdd_mount", TDEIcon::Desktop,
TQImage src_desk = m_loader->loadIcon( "drive-harddisk-mounted", TDEIcon::Desktop,
0, icon_state, 0L, false ).convertToImage();
TDEIconEffect e;
@ -92,10 +92,10 @@ void Smb4KSharesListViewItem::setupItem( const Smb4KShare &share, bool mountpoin
}
else
{
pix = m_loader->loadIcon( "hdd_mount", TDEIcon::Small,
pix = m_loader->loadIcon( "drive-harddisk-mounted", TDEIcon::Small,
0, icon_state, 0L, false );
m_desktop_pixmap = m_loader->loadIcon( "hdd_mount", TDEIcon::Desktop,
m_desktop_pixmap = m_loader->loadIcon( "drive-harddisk-mounted", TDEIcon::Desktop,
0, icon_state, 0L, false );
}

@ -252,7 +252,7 @@ void Smb4KApp::setupView()
if ( m_shares_part )
{
KDockWidget *main = createDockWidget( "SharesView", SmallIcon( "hdd_mount" ), 0L );
KDockWidget *main = createDockWidget( "SharesView", SmallIcon( "drive-harddisk-mounted" ), 0L );
main->setWidget( m_shares_part->widget() );
main->setDockSite( KDockWidget::DockCorner );
main->setEnableDocking( KDockWidget::DockNone );
@ -407,7 +407,7 @@ void Smb4KApp::changeSharesView()
if ( m_shares_part )
{
KDockWidget *main = createDockWidget( "SharesView", SmallIcon( "hdd_mount" ), this );
KDockWidget *main = createDockWidget( "SharesView", SmallIcon( "drive-harddisk-mounted" ), this );
main->setWidget( m_shares_part->widget() );
main->setDockSite( KDockWidget::DockCorner );
main->setEnableDocking( KDockWidget::DockNone );

@ -64,7 +64,7 @@ Smb4KSystemTray::Smb4KSystemTray( TQWidget *parent, const char *name )
actionCollection()->setHighlightingEnabled( true );
// Set up the context menu (skeleton):
m_shares_menu = new TDEActionMenu( i18n( "Mounted Shares" ), "hdd_mount",
m_shares_menu = new TDEActionMenu( i18n( "Mounted Shares" ), "drive-harddisk-mounted",
actionCollection(), "st_mounted_shares_action_menu" );
m_bookmarks_menu = new TDEActionMenu( i18n( "Bookmarks" ), "bookmark_folder",
actionCollection(), "st_bookmark_action_menu" );
@ -763,7 +763,7 @@ void Smb4KSystemTray::slotSetupSharesMenu()
{
TQImage over = loader.loadIcon( "button_cancel", TDEIcon::Small,
0, icon_state, 0L, false ).convertToImage();
TQImage src = loader.loadIcon( "hdd_mount", TDEIcon::Small,
TQImage src = loader.loadIcon( "drive-harddisk-mounted", TDEIcon::Small,
0, icon_state, 0L, false ).convertToImage();
TDEIconEffect e;
@ -774,7 +774,7 @@ void Smb4KSystemTray::slotSetupSharesMenu()
}
else
{
pix = loader.loadIcon( "hdd_mount", TDEIcon::Small,
pix = loader.loadIcon( "drive-harddisk-mounted", TDEIcon::Small,
0, icon_state, 0L, false );
}
@ -787,11 +787,11 @@ void Smb4KSystemTray::slotSetupSharesMenu()
// Define the actions that can be performed on a share from within
// the system tray widget:
TDEAction *umount = new TDEAction( i18n( "&Unmount" ), "hdd_unmount", TDEShortcut::null(), TQT_TQOBJECT(this),
TDEAction *umount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut::null(), TQT_TQOBJECT(this),
TQT_SLOT( slotUnmountShare() ), actionCollection(), "st_[unmount]_"+(*it)->canonicalPath() );
umount->setGroup( "ShareActions" );
#ifdef __linux__
TDEAction *force_umount = new TDEAction( i18n( "&Force Unmounting" ), "hdd_unmount", TDEShortcut::null(), TQT_TQOBJECT(this),
TDEAction *force_umount = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk", TDEShortcut::null(), TQT_TQOBJECT(this),
TQT_SLOT( slotForceUnmountShare() ), actionCollection(), "st_[force]_"+(*it)->canonicalPath() );
force_umount->setGroup( "ShareActions" );
force_umount->setEnabled( Smb4KSettings::useForceUnmount() );
@ -851,7 +851,7 @@ void Smb4KSystemTray::slotSetupSharesMenu()
TQImage over = loader.loadIcon( "button_cancel", TDEIcon::Small,
0, icon_state, 0L, false ).convertToImage();
TQImage src = loader.loadIcon( "hdd_mount", TDEIcon::Small,
TQImage src = loader.loadIcon( "drive-harddisk-mounted", TDEIcon::Small,
0, icon_state, 0L, false ).convertToImage();
TDEIconEffect e;

@ -27,9 +27,9 @@
#include <config.h>
#endif
#if !defined(__FreeBSD__) && !defined(__solaris__) && !defined(USE_SOLARIS)
#if !defined(__FreeBSD__) && !defined(__sun)
#include <sys/statfs.h>
#elif defined(__solaris__) || defined(USE_SOLARIS)
#elif defined(__sun)
#include <sys/types.h>
#include <sys/statvfs.h>
#elif defined(__FreeBSD__)
@ -138,13 +138,13 @@ bool check_filesystem( const char *path, const char *fs )
{
bool ok = false;
#if !defined(__solaris__) && !defined(USE_SOLARIS)
#if !defined(__sun)
struct statfs filesystem;
#else
struct statvfs filesystem;
#endif
#if !defined(__solaris__) && !defined(USE_SOLARIS) && !defined(__irix__)
#if !defined(__sun) && !defined(__irix__)
if ( statfs( path, &filesystem ) == -1 )
#elif defined(__irix__)
if ( statfs( path, &filesystem, sizeof( filesystem ), 0 ) == -1 )
@ -168,7 +168,7 @@ bool check_filesystem( const char *path, const char *fs )
return ok;
}
#if !defined(__FreeBSD__) && !defined(__solaris__) && !defined(USE_SOLARIS) && !defined(__irix__)
#if !defined(__FreeBSD__) && !defined(__sun) && !defined(__irix__)
// First entry is for CIFS, the second for SMBFS.
if ( (uint)filesystem.f_type == 0xFF534D42 && !strncmp( fs, "cifs", strlen( fs )+1 ) )
{
@ -183,7 +183,7 @@ bool check_filesystem( const char *path, const char *fs )
{
ok = true;
}
#elif defined(__solaris__) || defined(USE_SOLARIS)
#elif defined(__sun)
if ( (uint)filesystem.f_basetype == 0xFF534D42 && !strncmp( fs, "cifs", strlen( fs )+1 ) )
{
ok = true;

불러오는 중...
취소
저장