[ekiga/v4_0] Fix buttons direction in dialpad for RTL languages



commit eafeb732877f1322b68bad63b8737322aca1df06
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]