[ekiga] Fix buttons direction in dialpad for RTL languages



commit 76c9b23e23e06df55ba5e6a515cf7177de9596d4
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Mon Dec 31 18:36:52 2012 +0100

    Fix buttons direction in dialpad for RTL languages
    
    Closes bug 644916.

 lib/gui/dialpad.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/gui/dialpad.c b/lib/gui/dialpad.c
index 0232758..8b81472 100644
--- a/lib/gui/dialpad.c
+++ b/lib/gui/dialpad.c
@@ -151,6 +151,9 @@ ekiga_dialpad_init (EkigaDialpad *dialpad)
   gtk_table_set_row_spacings (GTK_TABLE (dialpad), 2);
   gtk_table_set_homogeneous (GTK_TABLE (dialpad), TRUE);
 
+  // the dialpad is LTR even for RTL languages
+  gtk_widget_set_direction (dialpad, GTK_TEXT_DIR_LTR);
+
   /* Create the buttons */
   for (i = 0; i < G_N_ELEMENTS (keys_info); i++) {
     GtkWidget *box;



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