Bring mail_forward, mail_new, mail_replyall, mail_reply, mail_send, player_pause, player_play, player_stop, player_rew, player_fwd, player_start, player_end, rotate_ccw, rotate_cw, window_fullscreen, window_nofullscreen, window_new, viewmagfit, viewmag+, viewmag1, and viewmag- icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 88d7ebff6a
commit ecc461cfc7

@ -313,7 +313,7 @@ void KopeteChatWindow::initActions(void)
createStandardStatusBarAction();
chatSend = new TDEAction( i18n( "&Send Message" ), TQString::fromLatin1( "mail_send" ), TQKeySequence(Key_Return) ,
chatSend = new TDEAction( i18n( "&Send Message" ), TQString::fromLatin1( "mail-send" ), TQKeySequence(Key_Return) ,
TQT_TQOBJECT(this), TQT_SLOT( slotSendMessage() ), coll, "chat_send" );
chatSend->setEnabled( false );

@ -206,7 +206,7 @@ void KopeteEmailWindow::initActions(void)
{
TDEActionCollection *coll = actionCollection();
d->chatSend = new TDEAction( i18n( "&Send Message" ), TQString::fromLatin1( "mail_send" ), 0,
d->chatSend = new TDEAction( i18n( "&Send Message" ), TQString::fromLatin1( "mail-send" ), 0,
TQT_TQOBJECT(this), TQT_SLOT( slotReplySend() ), coll, "chat_send" );
//Default to 'Return' for sending messages
d->chatSend->setShortcut( TQKeySequence( Key_Return ) );

@ -140,12 +140,12 @@ TDEPopupMenu *KPixmapRegionSelectorWidget::createPopupMenu()
TDEPopupMenu *popup=new TDEPopupMenu(this, "PixmapRegionSelectorPopup");
popup->insertTitle(i18n("Image Operations"));
TDEAction *action = new TDEAction(i18n("&Rotate Clockwise"), "rotate_cw",
TDEAction *action = new TDEAction(i18n("&Rotate Clockwise"), "object-rotate-right",
0, this, TQT_SLOT(rotateClockwise()),
popup, "rotateclockwise");
action->plug(popup);
action = new TDEAction(i18n("Rotate &Counterclockwise"), "rotate_ccw",
action = new TDEAction(i18n("Rotate &Counterclockwise"), "object-rotate-left",
0, this, TQT_SLOT(rotateCounterclockwise()),
popup, "rotatecounterclockwise");
action->plug(popup);

@ -115,12 +115,12 @@ TDEAction * KopeteStdAction::changeAlias( const TQObject *recvr, const char *slo
TDEAction * KopeteStdAction::blockContact( const TQObject *recvr, const char *slot, TQObject* parent, const char *name )
{
return new TDEAction( i18n( "&Block Contact" ), TQString::fromLatin1( "player_pause" ), 0, recvr, slot, parent, name );
return new TDEAction( i18n( "&Block Contact" ), TQString::fromLatin1( "media-playback-pause" ), 0, recvr, slot, parent, name );
}
TDEAction * KopeteStdAction::unblockContact( const TQObject *recvr, const char *slot, TQObject* parent, const char *name )
{
return new TDEAction( i18n( "Un&block Contact" ), TQString::fromLatin1( "player_play" ), 0, recvr, slot, parent, name );
return new TDEAction( i18n( "Un&block Contact" ), TQString::fromLatin1( "media-playback-start" ), 0, recvr, slot, parent, name );
}
#include "kopetestdaction.moc"

@ -194,7 +194,7 @@ TDEActionMenu *JabberAccount::actionMenu ()
action->setEnabled( isConnected() );
m_actionMenu->insert ( action );
action = new TDEAction ( i18n ("Send Raw Packet to Server..."), "mail_new", 0,
action = new TDEAction ( i18n ("Send Raw Packet to Server..."), "mail-message-new", 0,
this, TQT_SLOT ( slotSendRaw () ), this, "actionJabberSendRaw") ;
action->setEnabled( isConnected() );
m_actionMenu->insert ( action );

@ -136,12 +136,12 @@ TQPtrList<TDEAction> *JabberContact::customContextMenuActions ()
TDEAction *resendAuthAction, *requestAuthAction, *removeAuthAction;
resendAuthAction = new TDEAction (i18n ("(Re)send Authorization To"), "mail_forward", 0,
resendAuthAction = new TDEAction (i18n ("(Re)send Authorization To"), "mail-forward", 0,
this, TQT_SLOT (slotSendAuth ()), actionAuthorization, "actionSendAuth");
resendAuthAction->setEnabled( mRosterItem.subscription().type() == XMPP::Subscription::To || mRosterItem.subscription().type() == XMPP::Subscription::None );
actionAuthorization->insert(resendAuthAction);
requestAuthAction = new TDEAction (i18n ("(Re)request Authorization From"), "mail_reply", 0,
requestAuthAction = new TDEAction (i18n ("(Re)request Authorization From"), "mail-reply-sender", 0,
this, TQT_SLOT (slotRequestAuth ()), actionAuthorization, "actionRequestAuth");
requestAuthAction->setEnabled( mRosterItem.subscription().type() == XMPP::Subscription::From || mRosterItem.subscription().type() == XMPP::Subscription::None );
actionAuthorization->insert(requestAuthAction);

@ -152,7 +152,7 @@ TDEActionMenu *JabberTransport::actionMenu ()
m_actionMenu->insert ( new TDEAction ( i18n ("Services..."), "jabber_serv_on", 0,
this, TQT_SLOT ( slotGetServices () ), this, "actionJabberServices") );
m_actionMenu->insert ( new TDEAction ( i18n ("Send Raw Packet to Server..."), "mail_new", 0,
m_actionMenu->insert ( new TDEAction ( i18n ("Send Raw Packet to Server..."), "mail-message-new", 0,
this, TQT_SLOT ( slotSendRaw () ), this, "actionJabberSendRaw") );
m_actionMenu->insert ( new TDEAction ( i18n ("Edit User Info..."), "identity", 0,

@ -687,9 +687,9 @@ TQPtrList<TDEAction> *ICQContact::customContextMenuActions()
actionReadAwayMessage = new TDEAction(awTxt, awIcn, 0,
this, TQT_SLOT(slotReadAwayMessage()), this, "actionReadAwayMessage");
*/
actionRequestAuth = new TDEAction(i18n("&Request Authorization"), "mail_reply", 0,
actionRequestAuth = new TDEAction(i18n("&Request Authorization"), "mail-reply-sender", 0,
this, TQT_SLOT(slotRequestAuth()), this, "actionRequestAuth");
actionSendAuth = new TDEAction(i18n("&Grant Authorization"), "mail_forward", 0,
actionSendAuth = new TDEAction(i18n("&Grant Authorization"), "mail-forward", 0,
this, TQT_SLOT(slotSendAuth()), this, "actionSendAuth");
/*
}

@ -87,7 +87,7 @@ namespace KPF
(SmallIcon("reload"), i18n("Restart"), Restart, Restart);
popup_->insertItem
(SmallIcon("player_pause"), i18n("Pause"), Pause, Pause);
(SmallIcon("media-playback-pause"), i18n("Pause"), Pause, Pause);
monitorWindow_ = new ActiveMonitorWindow(server_);
@ -176,7 +176,7 @@ namespace KPF
(Pause, SmallIcon("1rightarrow"), i18n("Unpause"));
else
popup_->changeItem
(Pause, SmallIcon("player_pause"), i18n("Pause"));
(Pause, SmallIcon("media-playback-pause"), i18n("Pause"));
switch (popup_->exec(TQCursor::pos()))
{

@ -314,7 +314,7 @@ namespace KPF
{
if (server_->paused())
{
overlayPixmap_ = SmallIcon("player_pause");
overlayPixmap_ = SmallIcon("media-playback-pause");
}
else
{

@ -492,7 +492,7 @@ void KRDC::switchToFullscreen(bool scaling)
t->setToggle(FS_AUTOHIDE_ID);
t->addConnection(FS_AUTOHIDE_ID, TQT_SIGNAL(toggled(bool)), TQT_TQOBJECT(this), TQT_SLOT(setFsToolbarAutoHide(bool)));
t->insertButton("window_nofullscreen", FS_FULLSCREEN_ID);
t->insertButton("view-restore", FS_FULLSCREEN_ID);
TDEToolBarButton *fullscreenButton = t->getButton(FS_FULLSCREEN_ID);
TQToolTip::add(fullscreenButton, i18n("Fullscreen"));
t->setToggle(FS_FULLSCREEN_ID);
@ -512,7 +512,7 @@ void KRDC::switchToFullscreen(bool scaling)
t->setItemAutoSized(FS_HOSTLABEL_ID, true);
if (scalingPossible) {
t->insertButton("viewmagfit", FS_SCALE_ID);
t->insertButton("zoom-fit-best", FS_SCALE_ID);
TDEToolBarButton *scaleButton = t->getButton(FS_SCALE_ID);
TQToolTip::add(scaleButton, i18n("Scale view"));
t->setToggle(FS_SCALE_ID);
@ -592,7 +592,7 @@ void KRDC::switchToNormal(bool scaling)
m_toolbar = t;
t->setIconText(TDEToolBar::IconTextRight);
connect(t, TQT_SIGNAL(placeChanged(TQDockWindow::Place)), TQT_SLOT(toolbarChanged()));
t->insertButton("window_fullscreen", 0, true, i18n("Fullscreen"));
t->insertButton("view-fullscreen", 0, true, i18n("Fullscreen"));
TDEToolBarButton *fullscreenButton = t->getButton(0);
TQToolTip::add(fullscreenButton, i18n("Fullscreen"));
TQWhatsThis::add(fullscreenButton, i18n("Switches to full screen. If the remote desktop has a different screen resolution, Remote Desktop Connection will automatically switch to the nearest resolution."));
@ -601,7 +601,7 @@ void KRDC::switchToNormal(bool scaling)
t->addConnection(0, TQT_SIGNAL(toggled(bool)), TQT_TQOBJECT(this), TQT_SLOT(enableFullscreen(bool)));
if (m_view->supportsScaling()) {
t->insertButton("viewmagfit", 1, true, i18n("Scale"));
t->insertButton("zoom-fit-best", 1, true, i18n("Scale"));
TDEToolBarButton *scaleButton = t->getButton(1);
TQToolTip::add(scaleButton, i18n("Scale view"));
TQWhatsThis::add(scaleButton, i18n("This option scales the remote screen to fit your window size."));

Loading…
Cancel
Save