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

application icon and not an action one.

This reverts commit 3fd5921381db2bf344aef7216415fae2d6b67e76a.

(cherry picked from commit d9b8fe2454)
r14.0.x r14.0.10
Michele Calgaro 3 years ago
parent 3fd5921381
commit a9fe8ed4fc
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -51,7 +51,7 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
resize( 400, 380 ); resize( 400, 380 );
setCaption( i18n("Progress") ); setCaption( i18n("Progress") );
setIcon( BarIcon( "edit_rename" ) ); setIcon( BarIcon( "krename" ) );
ProgressDialogLayout = new TQVBoxLayout( this, 11, 6 ); ProgressDialogLayout = new TQVBoxLayout( this, 11, 6 );
Layout1 = new TQHBoxLayout( 0, 0, 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->warning(i18n("%2 errors occurred!").arg(error));
p->print(i18n("Elapsed time: %1 seconds").arg( t.elapsed()/1000 ), "kalarm"); 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->print(i18n("Press close to quit!"));
p->setRenamedFiles( renamedFiles, m_files.count() ); p->setRenamedFiles( renamedFiles, m_files.count() );

@ -72,7 +72,7 @@ void ConfDialog::setupTab1()
void ConfDialog::setupTab2() void ConfDialog::setupTab2()
{ {
const TQString caption = i18n("KRename"); 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 ); TQVBoxLayout* layout = new TQVBoxLayout( box );
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); 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] [Desktop Entry]
Type=Application Type=Application
Exec=krename -caption "%c" %i %m %U Exec=krename -caption "%c" %i %m %U
Icon=edit_rename Icon=krename
MiniIcon=edit_rename MiniIcon=krename
X-DocPath=krename/index.html X-DocPath=krename/index.html
Comment=A batch renamer Comment=A batch renamer
Terminal=false Terminal=false

@ -6,4 +6,4 @@ X-TDE-ServiceTypes=inode/directory
[Desktop Action Rename] [Desktop Action Rename]
Exec=krename -r %U Exec=krename -r %U
Name=Rename with KRename 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 directory") );
help.append("[$dirname.];;" + i18n("insert name of parent directory") ); help.append("[$dirname.];;" + i18n("insert name of parent directory") );
help.append("[#length-0];;" + i18n("insert the length of the input filename") ); 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.clear();
help.append( "\\$;;" + i18n("Insert '$'") ); help.append( "\\$;;" + i18n("Insert '$'") );
@ -601,7 +601,7 @@ void KRenameImpl::setupFileTab1()
help.append( "\\[;;" + i18n("Insert '['") ); help.append( "\\[;;" + i18n("Insert '['") );
help.append( "\\];;" + i18n("Insert ']'") ); 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 //TODO: FIX this tooltip

@ -8,5 +8,5 @@ X-TDE-ExcludeServiceTypes=kdedevice/*
[Desktop Action Rename] [Desktop Action Rename]
Name=Rename with KRename Name=Rename with KRename
Exec=krename %F 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 ) tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name )
: TQDialog(parent,name) : TQDialog(parent,name)
{ {
setIcon( BarIcon( "edit_rename" ) ); setIcon( BarIcon( "krename" ) );
TQVBoxLayout* layout = new TQVBoxLayout( this, 6, 6 ); TQVBoxLayout* layout = new TQVBoxLayout( this, 6, 6 );
TQHBoxLayout* buttons = new TQHBoxLayout( 0, 6, 6 ); TQHBoxLayout* buttons = new TQHBoxLayout( 0, 6, 6 );

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

Loading…
Cancel
Save