Revert "Use new icons in tdelibs". This is because krename icon is an

application icon and not an action one.

This reverts commit 71844b5188.
pull/6/head
Michele Calgaro 3 years ago
parent 71844b5188
commit d9b8fe2454

@ -51,7 +51,7 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
resize( 400, 380 );
setCaption( i18n("Progress") );
setIcon( BarIcon( "edit_rename" ) );
setIcon( BarIcon( "krename" ) );
ProgressDialogLayout = new TQVBoxLayout( this, 11, 6 );
Layout1 = new TQHBoxLayout( 0, 0, 6 );

@ -336,7 +336,7 @@ void BatchRenamer::work( ProgressDialog* p )
p->warning(i18n("%2 errors occurred!").arg(error));
p->print(i18n("Elapsed time: %1 seconds").arg( t.elapsed()/1000 ), "kalarm");
p->print(i18n("KRename finished the renaming process."), "edit_rename");
p->print(i18n("KRename finished the renaming process."), "krename");
p->print(i18n("Press close to quit!"));
p->setRenamedFiles( renamedFiles, m_files.count() );

@ -72,7 +72,7 @@ void ConfDialog::setupTab1()
void ConfDialog::setupTab2()
{
const TQString caption = i18n("KRename");
TQFrame* box = addPage( caption, caption, BarIcon("edit_rename") );
TQFrame* box = addPage( caption, caption, BarIcon("krename") );
TQVBoxLayout* layout = new TQVBoxLayout( box );
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

@ -1,8 +1,8 @@
[Desktop Entry]
Type=Application
Exec=krename -caption "%c" %i %m %U
Icon=edit_rename
MiniIcon=edit_rename
Icon=krename
MiniIcon=krename
X-DocPath=krename/index.html
Comment=A batch renamer
Terminal=false

@ -6,4 +6,4 @@ X-TDE-ServiceTypes=inode/directory
[Desktop Action Rename]
Exec=krename -r %U
Name=Rename with KRename
Icon=edit_rename
Icon=krename

@ -589,7 +589,7 @@ void KRenameImpl::setupFileTab1()
help.append("[$dirname];;" + i18n("insert name of directory") );
help.append("[$dirname.];;" + i18n("insert name of parent directory") );
help.append("[#length-0];;" + i18n("insert the length of the input filename") );
helpDialogData->add( i18n("Built-in Functions:" ), &help, SmallIcon("edit_rename"), true );
helpDialogData->add( i18n("Built-in Functions:" ), &help, SmallIcon("krename"), true );
help.clear();
help.append( "\\$;;" + i18n("Insert '$'") );
@ -601,7 +601,7 @@ void KRenameImpl::setupFileTab1()
help.append( "\\[;;" + i18n("Insert '['") );
help.append( "\\];;" + i18n("Insert ']'") );
help.append( "\\#;;" + i18n("Insert '#'") );
helpDialogData->add( i18n("Special Characters:" ), &help, SmallIcon("edit_rename") );
helpDialogData->add( i18n("Special Characters:" ), &help, SmallIcon("krename") );
/*
//TODO: FIX this tooltip

@ -8,5 +8,5 @@ X-TDE-ExcludeServiceTypes=kdedevice/*
[Desktop Action Rename]
Name=Rename with KRename
Exec=krename %F
Icon=edit_rename
Icon=krename

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

@ -36,7 +36,7 @@
tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name )
: TQDialog(parent,name)
{
setIcon( BarIcon( "edit_rename" ) );
setIcon( BarIcon( "krename" ) );
TQVBoxLayout* layout = new TQVBoxLayout( this, 6, 6 );
TQHBoxLayout* buttons = new TQHBoxLayout( 0, 6, 6 );

@ -37,7 +37,7 @@
wizard::wizard( KRenameImpl* impl, TQRect r, TQWidget* parent, const char* name )
: KWizard( parent, name )
{
setIcon( BarIcon( "edit_rename" ) );
setIcon( BarIcon( "krename" ) );
menuBar = new KMenuBar(this);
krename = impl ? impl : new KRenameImpl( this, menuBar, this->finishButton() );

Loading…
Cancel
Save