[maemo-commits] [maemo-commits] r19350 - in projects/haf/trunk/hildon-input-method-plugins-example: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Sep 15 13:04:49 EEST 2009
Author: jrocha
Date: 2009-09-15 13:04:47 +0300 (Tue, 15 Sep 2009)
New Revision: 19350

Modified:
   projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog
   projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-onehand-fkb.c
Log:
2009-09-15  Joaquim Rocha <jrocha at igalia.com>

    * hildon-im-onehand-fkb.c (create_sliding_key): Aligned the button
      title to the midle of the button so it looks better.

Modified: projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog	2009-09-15 09:55:47 UTC (rev 19349)
+++ projects/haf/trunk/hildon-input-method-plugins-example/ChangeLog	2009-09-15 10:04:47 UTC (rev 19350)
@@ -1,7 +1,10 @@
 2009-09-15  Joaquim Rocha <jrocha at igalia.com>
 
-	* hildon-im-onehand-fkb.c: Added a scrolled window to the one-handexample
-	  keyboard; Added support to favorite hand, for use in landscape mode.
+	* hildon-im-onehand-fkb.c (set_kb_mode): Added a scrolled window to the
+	  one-handexample keyboard; Added support to favorite hand, for use in
+	  landscape mode.	
+	* hildon-im-onehand-fkb.c (create_sliding_key): Aligned the button title
+	  to the midle of the button so it looks better.
 
 2009-09-10  Murray Cumming  <murrayc at murrayc.com>
 

Modified: projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-onehand-fkb.c
===================================================================
--- projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-onehand-fkb.c	2009-09-15 09:55:47 UTC (rev 19349)
+++ projects/haf/trunk/hildon-input-method-plugins-example/src/hildon-im-onehand-fkb.c	2009-09-15 10:04:47 UTC (rev 19350)
@@ -831,6 +831,8 @@
   hildon_button_set_value (HILDON_BUTTON (key), label);
   hildon_button_set_title (HILDON_BUTTON (key), title);
 
+  hildon_button_set_title_alignment (HILDON_BUTTON (key), 0.5, 0.5);
+
   g_signal_connect (key,
                     "clicked",
                     G_CALLBACK (sliding_key_pressed_cb),

More information about the maemo-commits mailing list