From 74cb3624408413622c015fb8add2c90a409e27c3 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 26 Jan 2006 17:50:36 +0000 Subject: [PATCH] some finetuning to the labels. 2006-01-26 Sven Neumann * app/widgets/gimpthumbbox.c: some finetuning to the labels. --- ChangeLog | 4 ++++ app/widgets/gimpthumbbox.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 74393c897a..b973baa834 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-01-26 Sven Neumann + + * app/widgets/gimpthumbbox.c: some finetuning to the labels. + 2006-01-25 Sven Neumann * libgimp/gimpzoompreview.[ch]: added a priv pointer to the diff --git a/app/widgets/gimpthumbbox.c b/app/widgets/gimpthumbbox.c index cf69ac8a78..d515e1b16a 100644 --- a/app/widgets/gimpthumbbox.c +++ b/app/widgets/gimpthumbbox.c @@ -344,7 +344,7 @@ gimp_thumb_box_new (Gimp *gimp) G_CALLBACK (gtk_true), NULL); - vbox2 = gtk_vbox_new (FALSE, 2); + vbox2 = gtk_vbox_new (FALSE, 6); gtk_container_set_border_width (GTK_CONTAINER (vbox2), 2); gtk_container_add (GTK_CONTAINER (vbox), vbox2); gtk_widget_show (vbox2); @@ -370,7 +370,7 @@ gimp_thumb_box_new (Gimp *gimp) gimp->config->thumbnail_size + MAX (h, v), 0, FALSE); - gtk_box_pack_start (GTK_BOX (hbox), box->preview, TRUE, FALSE, 10); + gtk_box_pack_start (GTK_BOX (hbox), box->preview, TRUE, FALSE, 2); gtk_widget_show (box->preview); gtk_label_set_mnemonic_widget (GTK_LABEL (label), box->preview); @@ -382,12 +382,18 @@ gimp_thumb_box_new (Gimp *gimp) box->filename = gtk_label_new (_("No selection")); gtk_label_set_line_wrap (GTK_LABEL (box->filename), TRUE); gtk_label_set_justify (GTK_LABEL (box->filename), GTK_JUSTIFY_CENTER); + gimp_label_set_attributes (GTK_LABEL (box->filename), + PANGO_ATTR_STYLE, PANGO_STYLE_OBLIQUE, + -1); gtk_box_pack_start (GTK_BOX (vbox2), box->filename, FALSE, FALSE, 0); gtk_widget_show (box->filename); box->info = gtk_label_new (" \n \n \n "); gtk_misc_set_alignment (GTK_MISC (box->info), 0.5, 0.0); gtk_label_set_justify (GTK_LABEL (box->info), GTK_JUSTIFY_CENTER); + gimp_label_set_attributes (GTK_LABEL (box->info), + PANGO_ATTR_SCALE, PANGO_SCALE_SMALL, + -1); gtk_box_pack_start (GTK_BOX (vbox2), box->info, FALSE, FALSE, 0); gtk_widget_show (box->info);