Browse Source

Add a couple of missing icons.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/4/head
gregory guy 2 months ago
parent
commit
a25a38afa5
No known key found for this signature in database GPG Key ID: 3BCCA0F7AB4536F4
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/app/mainWindow.cpp
  2. +3
    -3
      src/app/playDialog.cpp

+ 1
- 1
src/app/mainWindow.cpp View File

@@ -257,7 +257,7 @@ MainWindow::setupActions()

new TDEAction( i18n("Reset Video Scale"), "viewmag1", Key_Equal, videoWindow(), SLOT(resetZoom()), ac, "reset_zoom" );
new TDEAction( i18n("Media Information"), "messagebox_info", Key_I, this, SLOT(streamInformation()), ac, "information" );
new TDEAction( i18n("Menu Toggle"), "dvd_unmount", Key_R, engine(), SLOT(toggleDVDMenu()), ac, "toggle_dvd_menu" );
new TDEAction( i18n("Menu Toggle"), "media-optical-dvd-unmounted", Key_R, engine(), SLOT(toggleDVDMenu()), ac, "media-optical-dvd-unmounted" );
new TDEAction( i18n("&Capture Frame"), "frame_image", Key_C, this, SLOT(captureFrame()), ac, "capture_frame" );

new TDEAction( i18n("Video Settings..."), "configure", Key_V, this, SLOT(configure()), ac, "video_settings" );


+ 3
- 3
src/app/playDialog.cpp View File

@@ -36,15 +36,15 @@ PlayDialog::PlayDialog( TQWidget *parent, bool be_welcome_dialog )
TQGridLayout *grid = new TQGridLayout( vbox, 1, 3, 20 );

//TODO use the kguiItems from the actions
mapper->setMapping( o = new KPushButton( KGuiItem( i18n("Play File..."), "fileopen" ), this ), FILE );
mapper->setMapping( o = new KPushButton( KGuiItem( i18n("Play File..."), "folder" ), this ), FILE );
connect( o, SIGNAL(clicked()), mapper, SLOT(map()) );
grid->TQLayout::add( o );

mapper->setMapping( o = new KPushButton( KGuiItem( i18n("Play VCD"), "cdaudio_unmount" ), this ), VCD );
mapper->setMapping( o = new KPushButton( KGuiItem( i18n("Play VCD"), "media-optical-cdaudio-unmounted" ), this ), VCD );
connect( o, SIGNAL(clicked()), mapper, SLOT(map()) );
grid->TQLayout::add( o );

mapper->setMapping( o = new KPushButton( KGuiItem( i18n("Play DVD"), "dvd_unmount" ), this ), DVD );
mapper->setMapping( o = new KPushButton( KGuiItem( i18n("Play DVD"), "media-optical-dvd-unmounted" ), this ), DVD );
connect( o, SIGNAL(clicked()), mapper, SLOT(map()) );
grid->TQLayout::add( o );



Loading…
Cancel
Save