Bring up, down, top, and bottom icons into XDG compliance

feat/lzip-support
Timothy Pearson 10 years ago
parent ebb0f11534
commit fe942d39c4

@ -44,7 +44,7 @@ KrAddBookmarkDlg::KrAddBookmarkDlg(TQWidget *parent, KURL url):
_folder->setReadOnly(true);
_createInBtn = new TQToolButton(page);
_createInBtn->setPixmap(krLoader->loadIcon("down", TDEIcon::Small));
_createInBtn->setPixmap(krLoader->loadIcon("go-down", TDEIcon::Small));
_createInBtn->setToggleButton(true);
connect(_createInBtn, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(toggleCreateIn(bool )));
layout->addWidget(_createInBtn, 2, 2);
@ -55,7 +55,7 @@ KrAddBookmarkDlg::KrAddBookmarkDlg(TQWidget *parent, KURL url):
}
void KrAddBookmarkDlg::toggleCreateIn(bool show) {
_createInBtn->setPixmap(krLoader->loadIcon(show ? "up" :"down", TDEIcon::Small));
_createInBtn->setPixmap(krLoader->loadIcon(show ? "go-up" :"go-down", TDEIcon::Small));
showButton(KDialogBase::User1, show);
setDetails(show);
}

@ -64,7 +64,7 @@ DiskUsageGUI::DiskUsageGUI( KURL openDir, TQWidget* parent, const char *name )
TQToolTip::add( btnRefresh, i18n( "Refresh" ) );
btnDirUp = new TQToolButton( duTools, "btnDirUp" );
btnDirUp->setIconSet( TQIconSet(krLoader->loadIcon("up",TDEIcon::Desktop)) );
btnDirUp->setIconSet( TQIconSet(krLoader->loadIcon("go-up",TDEIcon::Desktop)) );
TQToolTip::add( btnDirUp, i18n( "Parent directory" ) );
TQWidget * separatorWidget = new TQWidget( duTools, "separatorWidget" );

@ -279,7 +279,7 @@ void DULines::slotDirChanged( Directory *dirEntry )
if( ! ( dirEntry->parent() == 0 ) )
{
lastItem = new TQListViewItem( this, ".." );
lastItem->setPixmap( 0, FL_LOADICON( "up" ) );
lastItem->setPixmap( 0, FL_LOADICON( "go-up" ) );
lastItem->setSelectable( false );
}

@ -118,7 +118,7 @@ void DUListView::addDirectory( Directory *dirEntry, TQListViewItem *parent )
if( parent == 0 && ! ( dirEntry->parent() == 0 ) )
{
lastItem = new TQListViewItem( this, ".." );
lastItem->setPixmap( 0, FL_LOADICON( "up" ) );
lastItem->setPixmap( 0, FL_LOADICON( "go-up" ) );
lastItem->setSelectable( false );
}

@ -38,7 +38,7 @@ KrBriefViewItem::KrBriefViewItem(KrBriefView *parent, TQIconViewItem *after, vfi
setText("..");
if ( PROPS->displayIcons )
setPixmap( FL_LOADICON( "up" ) );
setPixmap( FL_LOADICON( "go-up" ) );
setSelectable( false );
setDragEnabled( false );
setDropEnabled( false );

@ -77,7 +77,7 @@ KrDetailedViewItem::KrDetailedViewItem(KrDetailedView *parent, TQListViewItem *a
setText(COLUMN(Name), "..");
setText(COLUMN(Size), i18n("<DIR>") );
if ( PROPS->displayIcons )
setPixmap( COLUMN(Name), FL_LOADICON( "up" ) );
setPixmap( COLUMN(Name), FL_LOADICON( "go-up" ) );
setSelectable( false );
#ifdef FASTER
initiated = true;

@ -589,7 +589,7 @@ void Krusader::setupActions() {
actCmdlinePopup = new TDEAction( i18n( "popup cmdline" ), 0, CTRL + Key_Slash, SLOTS,
TQT_SLOT( cmdlinePopup() ), actionCollection(), "cmdline popup" );
/* Shortcut disabled because of the Terminal Emulator bug. */
actDirUp = new TDEAction( i18n( "Up" ), "up", CTRL+Key_PageUp /*Key_Backspace*/, SLOTS, TQT_SLOT( dirUp() ), actionCollection(), "dirUp" );
actDirUp = new TDEAction( i18n( "Up" ), "go-up", CTRL+Key_PageUp /*Key_Backspace*/, SLOTS, TQT_SLOT( dirUp() ), actionCollection(), "dirUp" );
new TDEAction( i18n( "&New Text File..." ), "filenew", SHIFT + Key_F4, SLOTS, TQT_SLOT( editDlg() ), actionCollection(), "edit_new_file" );
new TDEAction( i18n( "Start &Root Mode Krusader" ), "krusader_root", ALT + Key_K, SLOTS, TQT_SLOT( rootKrusader() ), actionCollection(), "root krusader" );
@ -703,7 +703,7 @@ void Krusader::setupActions() {
SLOTS, TQT_SLOT( startKonfigurator() ), actionCollection(), "konfigurator" );
actBack = new TDEAction( i18n( "Back" ), "back", 0,
SLOTS, TQT_SLOT( back() ), actionCollection(), "back" );
actRoot = new TDEAction( i18n( "Root" ), "top", CTRL + Key_Backspace,
actRoot = new TDEAction( i18n( "Root" ), "go-top", CTRL + Key_Backspace,
SLOTS, TQT_SLOT( root() ), actionCollection(), "root" );
actSavePosition = new TDEAction( i18n( "Save &Position" ), 0,
TQT_TQOBJECT(krApp), TQT_SLOT( savePosition() ), actionCollection(), "save position" );

Loading…
Cancel
Save