Skip to content

Commit

Permalink
No more "Colour:", but only "Colour"
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed May 5, 2009
1 parent 7342189 commit 13316be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/font-dialog.c
Expand Up @@ -229,13 +229,11 @@ create_font_dialog(FontDialog *fd)
gtk_container_add(GTK_CONTAINER(fd->dlg->vbox), hbox);

hbox = g_object_new(GTK_TYPE_HBOX, "visible", TRUE, "spacing", 8, "border-width", 8, NULL);
str = g_strdup_printf("%s:", g_dgettext("gtk20", "Color"));
gtk_container_add_with_properties(GTK_CONTAINER(hbox),
g_object_new(GTK_TYPE_ALIGNMENT, "visible", TRUE, "xalign", 0.0, "yalign", 0.5, "xscale", 0.0, "yscale", 0.0, "child",
g_object_new(GTK_TYPE_LABEL,
"visible", TRUE, "use-underline", TRUE, "mnemonic-widget", fd->preview, "label", str, "justify", GTK_JUSTIFY_LEFT, NULL), NULL),
"visible", TRUE, "use-underline", TRUE, "mnemonic-widget", fd->preview, "label", g_dgettext("gtk20", "Color"), "justify", GTK_JUSTIFY_LEFT, NULL), NULL),
"expand", FALSE, NULL);
g_free(str);
fd->fg_clr = g_object_new(HILDON_TYPE_COLOR_BUTTON, "visible", TRUE, NULL);
gtk_container_add_with_properties(GTK_CONTAINER(hbox), font_dialog.fg_clr, "expand", FALSE, NULL);
g_signal_connect(G_OBJECT(fd->fg_clr), "notify::color", (GCallback)clr_changed, fd);
Expand Down

0 comments on commit 13316be

Please sign in to comment.