[gimp/gtk3-port: 212/451] app: make the statusbar's progress label	visible again
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gimp/gtk3-port: 212/451] app: make the statusbar's progress label	visible again
- Date: Wed, 16 May 2018 01:22:06 +0000 (UTC)
commit 1b968331415b0e92b4a7b3facb7a83e04f4d7966
Author: Michael Natterer <mitch gimp org>
Date:   Sat Feb 18 14:55:57 2012 +0100
    app: make the statusbar's progress label visible again
    
    and remove setting of removed align properties. The label alignment is
    broken now until that feature comes back to gtk+.
 app/display/gimpstatusbar.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c
index bea10aa..a1cef96 100644
--- a/app/display/gimpstatusbar.c
+++ b/app/display/gimpstatusbar.c
@@ -300,9 +300,8 @@ gimp_statusbar_init (GimpStatusbar *statusbar)
                           statusbar);
 
   statusbar->progressbar = g_object_new (GTK_TYPE_PROGRESS_BAR,
-                                         "text-xalign", 0.0,
-                                         "text-yalign", 0.5,
-                                         "ellipsize",   PANGO_ELLIPSIZE_END,
+                                         "show-text", TRUE,
+                                         "ellipsize", PANGO_ELLIPSIZE_END,
                                          NULL);
   gtk_box_pack_start (GTK_BOX (hbox), statusbar->progressbar, TRUE, TRUE, 0);
   /*  don't show the progress bar  */
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]