]> git.sesse.net Git - vlc/commitdiff
Include missing images to dist
authorClément Stenac <zorglub@videolan.org>
Tue, 8 Feb 2005 16:38:18 +0000 (16:38 +0000)
committerClément Stenac <zorglub@videolan.org>
Tue, 8 Feb 2005 16:38:18 +0000 (16:38 +0000)
Autofocus the OK button in bookmark edit

modules/gui/wxwindows/Modules.am
modules/gui/wxwindows/bookmarks.cpp

index 874c62f602dfe7f7832e8130094d826c2c5e35f4..8b13680bed541c969b820c1598a792e9b57ae477 100644 (file)
@@ -35,4 +35,14 @@ EXTRA_DIST += \
        bitmaps/speaker.xpm \
        bitmaps/shuffle.xpm \
        bitmaps/repeat.xpm \
-       bitmaps/loop.xpm
+       bitmaps/loop.xpm \
+       bitmaps/type_afile.xpm \
+       bitmaps/type_card.xpm \
+       bitmaps/type_cdda.xpm \
+       bitmaps/type_directory.xpm \
+       bitmaps/type_disc.xpm \
+       bitmaps/type_net.xpm \
+       bitmaps/type_node.xpm \
+       bitmaps/type_playlist.xpm \
+       bitmaps/type_unknown.xpm \
+       bitmaps/type_vfile.xpm
index c3effc994ad8e066e6aaa8fb7eecb330014454b9..d1ccb003a8db3ed0351a05463b6fa1c9119d23d6 100644 (file)
@@ -164,7 +164,9 @@ BookmarkEditDialog::BookmarkEditDialog( intf_thread_t *_p_intf,
     sizer->Add( bytes_text, 0, wxEXPAND|wxRIGHT, 5);
 
     wxBoxSizer *button_sizer = new wxBoxSizer( wxHORIZONTAL );
-    button_sizer->Add( new wxButton( this, wxID_OK, wxU(_("OK") ) ) );
+    wxButton *ok_button = new wxButton( this, wxID_OK, wxU(_("OK") ) );
+    ok_button->SetDefault();
+    button_sizer->Add( ok_button );
     button_sizer->Add( new wxButton( this, wxID_CANCEL, wxU(_("Cancel") ) ) );
 
     panel_sizer->Add( sizer, 0, wxEXPAND | wxTOP|wxBOTTOM, 5 );