gimp-gap r794 - in trunk: . vid_common



Author: wolfgangh
Date: Sat Nov  8 17:17:37 2008
New Revision: 794
URL: http://svn.gnome.org/viewvc/gimp-gap?rev=794&view=rev

Log:
fix for fix update Encoder Page labels in the video master encoder dialog

Modified:
   trunk/ChangeLog
   trunk/vid_common/gap_cme_gui.c

Modified: trunk/vid_common/gap_cme_gui.c
==============================================================================
--- trunk/vid_common/gap_cme_gui.c	(original)
+++ trunk/vid_common/gap_cme_gui.c	Sat Nov  8 17:17:37 2008
@@ -3875,6 +3875,13 @@
   {
     char *buffer;
     buffer = g_strdup_printf("%d", value);
+    /* repeat the right alingnment of the label
+     * (without this workaround my gtk version 2.10.14 shows just
+     * the highest digit of the number, probably because the size at creation time
+     * was only one character)
+     * 
+     */
+    gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
     gtk_label_set_text(GTK_LABEL(label), buffer);
     gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
     g_free(buffer);



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