[rhythmbox] gconf schemas: fix description for toolbar_style (bug #607538)



commit 49c00c33cd5a06660aae223d156e4f1291989215
Author: Jonathan Matthew <jonathan d14n org>
Date:   Thu Jan 21 07:08:08 2010 +1000

    gconf schemas: fix description for toolbar_style (bug #607538)
    
    The descriptions were in the order of the GtkToolbarStyle enum, but that
    isn't how we interpret the value we get from gconf.

 data/rhythmbox.schemas |    2 +-
 shell/rb-shell.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/rhythmbox.schemas b/data/rhythmbox.schemas
index be74d0b..90599b4 100644
--- a/data/rhythmbox.schemas
+++ b/data/rhythmbox.schemas
@@ -291,7 +291,7 @@
 	<default>0</default>
 	<locale name="C">
 	<short>Toolbar style</short>
-	<long>0=Gnome default, 1=Icons only, 2=Text only, 3=Text below icons, 4=Text beside icons</long>
+	<long>0=GNOME default, 1=Text below icons, 2=Text beside icons, 3=Icons only, 4=Text only</long>
 	</locale>
       </schema>
       <schema>
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index 4a13c7b..e09e3e6 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -2470,7 +2470,7 @@ rb_shell_sync_toolbar_state (RBShell *shell)
 		gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_ICONS);
 		break;
 	case 4:
-		/* test only */
+		/* text only */
 		gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_TEXT);
 		break;
 	default:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]