changeset 36673:1285e5ce2054

Prettify the skin browser. Use the same design as with the other similar lists (available audio and video drivers, playlist).
author ib
date Fri, 31 Jan 2014 17:08:39 +0000
parents e1e9f2ea17c9
children bdc4edf081b7
files gui/dialog/skinbrowser.c help/help_mp-de.h help/help_mp-en.h
diffstat 3 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/skinbrowser.c	Fri Jan 31 16:37:52 2014 +0000
+++ b/gui/dialog/skinbrowser.c	Fri Jan 31 17:08:39 2014 +0000
@@ -111,8 +111,6 @@
  gtkAddIcon( SkinBrowser );
 
  vbox5=gtkAddVBox( gtkAddDialogFrame( SkinBrowser ),0 );
- gtkAddLabel( MSGTR_SKIN_LABEL":",vbox5 );
- gtkAddHSeparator( vbox5 );
 
  scrolledwindow1=gtk_scrolled_window_new( NULL,NULL );
  gtk_widget_ref( scrolledwindow1 );
@@ -129,8 +127,9 @@
  gtk_container_add( GTK_CONTAINER( scrolledwindow1 ),SkinList );
  gtk_clist_set_column_width( GTK_CLIST( SkinList ),0,80 );
  gtk_clist_set_selection_mode( GTK_CLIST( SkinList ),GTK_SELECTION_SINGLE );
- gtk_clist_column_titles_hide( GTK_CLIST( SkinList ) );
+ gtk_clist_column_titles_show( GTK_CLIST( SkinList ) );
  gtk_clist_set_shadow_type( GTK_CLIST( SkinList ),GTK_SHADOW_ETCHED_OUT );
+ gtk_clist_set_column_widget( GTK_CLIST( SkinList ),0, gtkAddLabel( MSGTR_SKIN_LABEL,NULL ) );
 
  gtkAddHSeparator( vbox5 );
 
--- a/help/help_mp-de.h	Fri Jan 31 16:37:52 2014 +0000
+++ b/help/help_mp-de.h	Fri Jan 31 17:08:39 2014 +0000
@@ -832,7 +832,7 @@
 #define MSGTR_SKIN_SKINCFG_SkinNotFound "Skin '%s' nicht gefunden.\n"
 #define MSGTR_SKIN_SKINCFG_SelectedSkinNotFound "Ausgewähltes Skin '%s' nicht gefunden, es wird mit Skin 'default' versucht ...\n"
 #define MSGTR_SKIN_SKINCFG_SkinCfgError "Verarbeitungsfehler in der Konfigurationsdatei des Skins '%s'\n"
-#define MSGTR_SKIN_LABEL "Skins"
+#define MSGTR_SKIN_LABEL "Verfügbare Skins"
 
 // --- GTK-Menüs
 #define MSGTR_MENU_AboutMPlayer "Über MPlayer"
--- a/help/help_mp-en.h	Fri Jan 31 16:37:52 2014 +0000
+++ b/help/help_mp-en.h	Fri Jan 31 17:08:39 2014 +0000
@@ -627,7 +627,7 @@
 #define MSGTR_SKIN_SKINCFG_SkinNotFound "Skin '%s' not found.\n"
 #define MSGTR_SKIN_SKINCFG_SelectedSkinNotFound "Selected skin '%s' not found, trying skin 'default'...\n"
 #define MSGTR_SKIN_SKINCFG_SkinCfgError "Config file processing error with skin '%s'\n"
-#define MSGTR_SKIN_LABEL "Skins"
+#define MSGTR_SKIN_LABEL "Available skins"
 
 // --- GTK menus
 #define MSGTR_MENU_AboutMPlayer "About MPlayer"