Control-Center Rewordings



I have reworded and reorganized some of the UI property sheet contents
(Application Defaults mostly, some other MDI-esque terminology
replacements), but I don't know how to change some of the option menus
to radio buttons, since I have never programmed in C before. Any
pointers?

Patch is included, BTW (I hope I got it right, I've never used diff
either:-)).

    Jim Cape
    http://www.jcinteractive.com

    "All animals are equal, some animals
     are more equal than others."
         -- George Orwell, Animal Farm
--- ui-properties.c.orig	Mon Jan  4 02:47:32 1999
+++ ui-properties.c	Mon Jan  4 02:52:46 1999
@@ -76,9 +76,9 @@
 
 /* looking for better descriptions here... */
 static const gchar * const mdi_mode_names[] = {
-  N_("Notebook"),
-  N_("Toplevel"),
-  N_("Modal")
+  N_("Multiple tabs in one window"),
+  N_("Multiple windows"),
+  N_("One window")
 };
 
 #define NUM_TAB_POSITIONS 4
@@ -218,7 +218,7 @@
 
 
 		  button = 
-    		gtk_check_button_new_with_label(_("Use statusbar instead of dialog when possible"));
+    		gtk_check_button_new_with_label(_("Use statusbar instead of dialog (when possible)"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
                               gnome_preferences_get_statusbar_dialog());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -228,7 +228,7 @@
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0);
 
 		  button = 
-		 		gtk_check_button_new_with_label(_("Place dialogs over application window when possible"));
+		 		gtk_check_button_new_with_label(_("Place dialogs over application (when possible)"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
                               gnome_preferences_get_dialog_centered());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -245,17 +245,9 @@
 		  vbox = gtk_vbox_new(FALSE, GNOME_PAD_SMALL);
 		  gtk_container_set_border_width (GTK_CONTAINER (vbox), GNOME_PAD);
 
-		  button = 
-            gtk_check_button_new_with_label(_("Can detach and move toolbars"));
-		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
-    		                          gnome_preferences_get_toolbar_detachable());
-		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
-    		                 GTK_SIGNAL_FUNC(checkbutton_cb),
-		                     gnome_preferences_set_toolbar_detachable);
-		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
 		  button = 
-    		gtk_check_button_new_with_label(_("Can detach and move menubars"));
+    		gtk_check_button_new_with_label(_("Menubars can be detached"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
     		                          gnome_preferences_get_menubar_detachable());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -263,9 +255,8 @@
 		                     gnome_preferences_set_menubar_detachable);
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
-
 		  button = 
-    		gtk_check_button_new_with_label(_("Menubars have relieved border"));
+    		gtk_check_button_new_with_label(_("Menubars have a border"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
     		                          gnome_preferences_get_menubar_relief());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -274,25 +265,25 @@
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
 		  button = 
-    		gtk_check_button_new_with_label(_("Toolbars have relieved border"));
+            gtk_check_button_new_with_label(_("Toolbars can be detached"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
-    		                          gnome_preferences_get_toolbar_relief());
+    		                          gnome_preferences_get_toolbar_detachable());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
     		                 GTK_SIGNAL_FUNC(checkbutton_cb),
-		                     gnome_preferences_set_toolbar_relief);
+		                     gnome_preferences_set_toolbar_detachable);
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
 		  button = 
-		    gtk_check_button_new_with_label(_("Toolbar buttons have relieved border"));
+    		gtk_check_button_new_with_label(_("Toolbars have a border"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
-      		                        gnome_preferences_get_toolbar_relief_btn());
+    		                          gnome_preferences_get_toolbar_relief());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
     		                 GTK_SIGNAL_FUNC(checkbutton_cb),
-        		             gnome_preferences_set_toolbar_relief_btn);
+		                     gnome_preferences_set_toolbar_relief);
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
 		  button = 
-    		gtk_check_button_new_with_label(_("Toolbars have line separators"));
+    		gtk_check_button_new_with_label(_("Toolbars separators are lines"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
         	               gnome_preferences_get_toolbar_lines());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -301,7 +292,7 @@
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
 		  button = 
-    		gtk_check_button_new_with_label(_("Toolbars have text labels"));
+    		gtk_check_button_new_with_label(_("Toolbar buttons have text labels"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
     		                          gnome_preferences_get_toolbar_labels());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -310,7 +301,16 @@
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
 		  button = 
-		    gtk_check_button_new_with_label(_("Statusbar is interactive when possible"));
+		    gtk_check_button_new_with_label(_("Popup toolbar buttons"));
+		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
+      		                        gnome_preferences_get_toolbar_relief_btn());
+		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
+    		                 GTK_SIGNAL_FUNC(checkbutton_cb),
+        		             gnome_preferences_set_toolbar_relief_btn);
+		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
+
+		  button = 
+		    gtk_check_button_new_with_label(_("Statusbar responds to your actions (when possible)"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
     		                          gnome_preferences_get_statusbar_interactive());
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -319,7 +319,7 @@
 		  gtk_box_pack_start ( GTK_BOX(vbox), button, FALSE, FALSE, 0  );
 
 		  button = 
-    		gtk_check_button_new_with_label(_("Dialog buttons have icons"));
+    		gtk_check_button_new_with_label(_("Buttons in dialogs have icons"));
 		  gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(button), 
     		                          gnome_config_get_bool("/Gnome/Icons/ButtonUseIcons=true"));
 		  gtk_signal_connect(GTK_OBJECT(button), "toggled",
@@ -344,12 +344,12 @@
 		  vbox = gtk_vbox_new(FALSE, GNOME_PAD);
 		  gtk_container_set_border_width (GTK_CONTAINER (vbox), GNOME_PAD);
 
-		  make_option_menu(vbox,_("Default MDI mode"),
+		  make_option_menu(vbox,_("Default multiple documents mode"),
     		               gnome_preferences_get_mdi_mode,
         		           mdi_mode_names, NUM_MDI_MODES,
 		                   mdi_mode_cb);
 
-		  make_option_menu(vbox,_("MDI notebook tab position"),
+		  make_option_menu(vbox,_("Tab position (if applicable)"),
     		               gnome_preferences_get_mdi_tab_pos,
         		           tab_position_names, NUM_TAB_POSITIONS,
 		                   mdi_tab_pos_cb);


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