r2260 - trunk/src/target/OM-2007/applications/openmoko-dialer/src
njp at sita.openmoko.org
njp at sita.openmoko.org
Thu Jun 14 15:08:13 CEST 2007
Author: njp
Date: 2007-06-14 15:08:12 +0200 (Thu, 14 Jun 2007)
New Revision: 2260
Modified:
trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c
Log:
Fixed resize issues with label, bug #439
Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c 2007-06-14 13:05:03 UTC (rev 2259)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c 2007-06-14 13:08:12 UTC (rev 2260)
@@ -62,10 +62,11 @@
moko_dialer_status->labelStatus = gtk_label_new (""); ///<the status label
gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelStatus), 0, 0);
-// gtk_misc_set_padding(GTK_MISC (moko_dialer_status->labelStatus), 20,0);
- moko_dialer_status->labelPersonName = gtk_label_new (""); ///<the person name
- gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelPersonName), 0,
- 0);
+ gtk_label_set_width_chars (GTK_LABEL (moko_dialer_status->labelStatus), 20);
+ //gtk_misc_set_padding(GTK_MISC (moko_dialer_status->labelStatus), 20,0);
+
+ moko_dialer_status->labelPersonName = gtk_label_new (""); ///<the person name
+ gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelPersonName), 0, 0);
moko_dialer_status->labelNumber = gtk_label_new (""); ///<the number of the person
gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelNumber), 0, 0);
//private section
More information about the commitlog
mailing list