[vlc-devel] [PATCH 2/2] 'Open files' UI fixes. Full usage of QT4 Qpushbutton's functionalities. Suppressed duplicate 'play' action button.

Jean-Baptiste Kempf jb at videolan.org
Thu May 28 16:11:48 CEST 2009


On Thu, May 28, 2009 at 03:55:16PM +0200, Francois Cartegnie wrote :
>      /* Insert the tabs */
> -    ui.Tab->insertTab( OPEN_FILE_TAB, fileOpenPanel, qtr( "&File" ) );
> -    ui.Tab->insertTab( OPEN_DISC_TAB, discOpenPanel, qtr( "&Disc" ) );
> -    ui.Tab->insertTab( OPEN_NETWORK_TAB, netOpenPanel, qtr( "&Network" ) );
> +    ui.Tab->insertTab( OPEN_FILE_TAB, fileOpenPanel,
> +                       UI_ICON_MEDIA_FILE, qtr( "&File" ) );
> +    ui.Tab->insertTab( OPEN_DISC_TAB, discOpenPanel,
> +                       UI_ICON_MEDIA_DVD, qtr( "&Disc" ) );
> +    ui.Tab->insertTab( OPEN_NETWORK_TAB, netOpenPanel,
> +                       UI_ICON_MEDIA_NETWORK, qtr( "&Network" ) );
>      ui.Tab->insertTab( OPEN_CAPTURE_TAB, captureOpenPanel,
> -                       qtr( "Capture &Device" ) );
> +                       UI_ICON_MEDIA_CAPTURE, qtr( "Capture &Device" ) );

This should be on the previous patch.

Else, well, someone has to check on windows before application.


Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list