diff --git a/capplets/background/ChangeLog b/capplets/background/ChangeLog index 7b9cbf422..6154b22df 100644 --- a/capplets/background/ChangeLog +++ b/capplets/background/ChangeLog @@ -1,3 +1,9 @@ +2003-07-17 Dennis Cranston + + * background-properties.glade, + background-properties-capplet.c: Fixes for ui-review + bug report #98916 and duplicate mnemonic fixes. + 2003-07-07 Jody Goldberg * Release 2.3.4 diff --git a/capplets/background/background-properties-capplet.c b/capplets/background/background-properties-capplet.c index 03c2118da..fd311885d 100644 --- a/capplets/background/background-properties-capplet.c +++ b/capplets/background/background-properties-capplet.c @@ -225,16 +225,16 @@ update_color_widget_labels_and_visibility (ApplierSet *set, const gchar *value_s switch (orientation) { case ORIENTATION_SOLID: /* solid */ - color1_string = _("C_olor:"); + color1_string = _("Co_lor:"); two_colors = FALSE; break; case ORIENTATION_HORIZ: /* horiz */ - color1_string = _("_Left Color:"); - color2_string = _("_Right Color:"); + color1_string = _("_Left color:"); + color2_string = _("_Right color:"); break; case ORIENTATION_VERT: /* vert */ - color1_string = _("_Top Color:"); - color2_string = _("_Bottom Color:"); + color1_string = _("Top co_lor:"); + color2_string = _("_Bottom color:"); break; default: break; @@ -395,8 +395,7 @@ create_dialog (ApplierSet *set) GladeXML *dialog; GSList *group; int i; - const gchar *labels[] = { N_("_Wallpaper"), N_("C_entered"), N_("_Scaled"), N_("Stretc_hed"), N_("_No Picture") }; - GtkWidget *label; + const gchar *labels[] = { N_("_Tile"), N_("C_enter"), N_("Sc_ale"), N_("_Stretch"), N_("_No Picture") }; /* FIXME: What the hell is domain? */ dialog = glade_xml_new (GNOMECC_DATA_DIR "/interfaces/background-properties.glade", "prefs_widget", NULL); @@ -430,13 +429,6 @@ create_dialog (ApplierSet *set) g_slist_free (group); - label = gtk_label_new_with_mnemonic (_("Select _picture:")); - gtk_frame_set_label_widget (GTK_FRAME (WID ("picture_frame")), - label); - gtk_label_set_mnemonic_widget (GTK_LABEL (label), - WID ("background_image_button")); - gtk_widget_show (label); - gtk_label_set_mnemonic_widget (GTK_LABEL (WID ("border_shading_label")), WID ("border_shading")); gtk_label_set_mnemonic_widget (GTK_LABEL (WID ("color1_label")), @@ -596,6 +588,9 @@ main (int argc, char **argv) NULL); gtk_dialog_set_default_response (GTK_DIALOG (dialog_win), GTK_RESPONSE_CLOSE); + gtk_dialog_set_has_separator (GTK_DIALOG (dialog_win), FALSE); + gtk_container_set_border_width (GTK_CONTAINER (dialog_win), 5); + gtk_window_set_resizable (GTK_WINDOW (dialog_win), FALSE); g_signal_connect (G_OBJECT (dialog_win), "response", diff --git a/capplets/background/background-properties.glade b/capplets/background/background-properties.glade index 9d4562f3b..c6468aa60 100644 --- a/capplets/background/background-properties.glade +++ b/capplets/background/background-properties.glade @@ -9,7 +9,7 @@ GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False - True + False False @@ -20,19 +20,17 @@ True GTK_POS_TOP False - 2 - 2 False + 8 True False - 0 + 18 - 10 True False 0 @@ -44,10 +42,32 @@ 15 - + True - 0 - GTK_SHADOW_NONE + False + 6 + + + + True + Select _picture: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + background_image_button + + + 0 + False + False + + @@ -55,15 +75,12 @@ To set the background picture, drop an image or click to browse. True GTK_RELIEF_NORMAL - - Background Preview - True False - 0 + 6 @@ -72,10 +89,6 @@ 0.5 0 0 - - Preview - A preview of the background picture. - 0 @@ -97,9 +110,6 @@ 0.5 0 0 - - The background picture's file name. - 0 @@ -110,6 +120,11 @@ + + 0 + True + True + @@ -172,13 +187,11 @@ True - You can drag image files -into the window to set the -background picture. + You can drag image files into the window to set the background picture. False False GTK_JUSTIFY_LEFT - False + True False 0.5 0.5 @@ -194,8 +207,8 @@ background picture. 0 - True - True + False + False @@ -222,8 +235,8 @@ background picture. 0 - True - True + False + False @@ -243,15 +256,14 @@ background picture. - 10 True False - 0 + 6 True - Background _Style: + Bac_kground style: True False GTK_JUSTIFY_LEFT @@ -261,6 +273,7 @@ background picture. 0.5 3 0 + border_shading 0 @@ -362,7 +375,7 @@ background picture. True False - 3 + 6 @@ -402,8 +415,8 @@ background picture. 0 - True - True + False + False @@ -411,7 +424,7 @@ background picture. True False - 3 + 6 @@ -452,6 +465,162 @@ background picture. 0 False + False + + + + + 0 + True + True + + + + + 0 + False + False + + + + + 0 + False + False + GTK_PACK_END + + + + + + True + False + 0 + + + + True + False + 6 + + + + True + Picture _options: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + radiobutton1 + + + 0 + False + False + + + + + + True + True + 6 + + + + True + True + radiobutton1 + True + GTK_RELIEF_NORMAL + False + False + False + + + 0 + True + True + + + + + + True + True + radiobutton2 + True + GTK_RELIEF_NORMAL + False + False + False + radiobutton1 + + + 0 + True + True + + + + + + True + True + radiobutton3 + True + GTK_RELIEF_NORMAL + False + False + False + radiobutton1 + + + 0 + True + True + + + + + + True + True + radiobutton4 + True + GTK_RELIEF_NORMAL + False + False + False + radiobutton1 + + + 0 + True + True + + + + + + True + True + radiobutton5 + True + GTK_RELIEF_NORMAL + False + False + False + radiobutton1 + + + 0 + True True @@ -472,158 +641,8 @@ background picture. 0 - True - True - GTK_PACK_END - - - - - - 10 - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - False - 2 - - - - True - True - 5 - - - - True - True - radiobutton1 - True - GTK_RELIEF_NORMAL - False - False - False - - - 0 - False - False - - - - - - True - True - radiobutton2 - True - GTK_RELIEF_NORMAL - False - False - False - radiobutton1 - - - 0 - False - False - - - - - - True - True - radiobutton3 - True - GTK_RELIEF_NORMAL - False - False - False - radiobutton1 - - - 0 - False - False - - - - - - True - True - radiobutton4 - True - GTK_RELIEF_NORMAL - False - False - False - radiobutton1 - - - 0 - False - False - - - - - - True - True - radiobutton5 - True - GTK_RELIEF_NORMAL - False - False - False - radiobutton1 - - - 0 - False - False - - - - - 0 - True - True - - - - - - - - True - Picture Options: - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - label_item - - - - - 0 - True - True + False + False GTK_PACK_END @@ -637,7 +656,7 @@ background picture. True - E-Mail + E-Mail False False GTK_JUSTIFY_CENTER