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

pull/1/head
Timothy Pearson 10 years ago
parent 8a72b84ba1
commit 2762d81ca6

@ -422,11 +422,11 @@ void CatalogManager::setupActions()
// CVS submenu // CVS submenu
// Actions for PO files // Actions for PO files
(void)new TDEAction( i18n( "Update" ), "down", 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Update" ), "go-down", 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( cvsUpdate( ) ), actionCollection( ), "cvs_update" ); TQT_SLOT( cvsUpdate( ) ), actionCollection( ), "cvs_update" );
(void)new TDEAction( i18n( "Update Marked" ), 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Update Marked" ), 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( cvsUpdateMarked( ) ), actionCollection( ), "cvs_update_marked" ); TQT_SLOT( cvsUpdateMarked( ) ), actionCollection( ), "cvs_update_marked" );
(void)new TDEAction( i18n( "Commit" ), "up", 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Commit" ), "go-up", 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( cvsCommit( ) ), actionCollection( ), "cvs_commit" ); TQT_SLOT( cvsCommit( ) ), actionCollection( ), "cvs_commit" );
(void)new TDEAction( i18n( "Commit Marked" ), 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Commit Marked" ), 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( cvsCommitMarked( ) ), actionCollection( ), "cvs_commit_marked" ); TQT_SLOT( cvsCommitMarked( ) ), actionCollection( ), "cvs_commit_marked" );
@ -448,11 +448,11 @@ void CatalogManager::setupActions()
// SVN submenu // SVN submenu
// Actions for PO files // Actions for PO files
(void)new TDEAction( i18n( "Update" ), "down", 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Update" ), "go-down", 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( svnUpdate( ) ), actionCollection( ), "svn_update" ); TQT_SLOT( svnUpdate( ) ), actionCollection( ), "svn_update" );
(void)new TDEAction( i18n( "Update Marked" ), 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Update Marked" ), 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( svnUpdateMarked( ) ), actionCollection( ), "svn_update_marked" ); TQT_SLOT( svnUpdateMarked( ) ), actionCollection( ), "svn_update_marked" );
(void)new TDEAction( i18n( "Commit" ), "up", 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Commit" ), "go-up", 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( svnCommit( ) ), actionCollection( ), "svn_commit" ); TQT_SLOT( svnCommit( ) ), actionCollection( ), "svn_commit" );
(void)new TDEAction( i18n( "Commit Marked" ), 0, TQT_TQOBJECT(_catalogManager), (void)new TDEAction( i18n( "Commit Marked" ), 0, TQT_TQOBJECT(_catalogManager),
TQT_SLOT( svnCommitMarked( ) ), actionCollection( ), "svn_commit_marked" ); TQT_SLOT( svnCommitMarked( ) ), actionCollection( ), "svn_commit_marked" );

@ -66,8 +66,8 @@ TDEActionSelector::TDEActionSelector( TQWidget *parent, const char *name )
d->iconSize = SmallIcon; d->iconSize = SmallIcon;
d->addIcon = TQApplication::reverseLayout() ? "back" : "forward"; d->addIcon = TQApplication::reverseLayout() ? "back" : "forward";
d->removeIcon = TQApplication::reverseLayout() ? "forward" : "back"; d->removeIcon = TQApplication::reverseLayout() ? "forward" : "back";
d->upIcon = "up"; d->upIcon = "go-up";
d->downIcon = "down"; d->downIcon = "go-down";
d->availableInsertionPolicy = Sorted; d->availableInsertionPolicy = Sorted;
d->selectedInsertionPolicy = BelowCurrent; d->selectedInsertionPolicy = BelowCurrent;
d->showUpDownButtons = true; d->showUpDownButtons = true;

@ -699,7 +699,7 @@ void TopLevel::createMiscActions()
action->setToolTip( hint ); action->setToolTip( hint );
action->setWhatsThis( hint ); action->setWhatsThis( hint );
#else #else
_paUp = new TDEToolBarPopupAction( i18n( "&Up" ), "up", _paUp = new TDEToolBarPopupAction( i18n( "&Up" ), "go-up",
ALT+Key_Up, ALT+Key_Up,
TQT_TQOBJECT(_stackSelection), TQT_SLOT( browserUp() ), TQT_TQOBJECT(_stackSelection), TQT_SLOT( browserUp() ),
actionCollection(), "go_up" ); actionCollection(), "go_up" );

Loading…
Cancel
Save