Comment 0 for bug 235770

Revision history for this message
guoyi (whuguoyi) wrote :

OS: Ubuntu 8.04 LTS

Problem:
Create window and dialog using GTK library, and set their titles, but their title bar caption does not display on locales with bi-directional languages(bidi).

Details:
Compile the source code gtk_dialog_text.cpp below on locale of EN_US, and then change locale to Hebrew or Arabic, and run the executable file which you compiled. Title bar caption missing.

This problem does not happen on neither Redhat nor SUSE.

//file gtk_dialog_text.cpp
# include <gtk/gtk.h>

int main( int argc, char *argv[] )
{
    GtkWidget *gtkmsgDialog;

    gtk_init (&argc, &argv);

    gtkmsgDialog = gtk_dialog_new();

    gtk_window_set_title(GTK_WINDOW(gtkmsgDialog),"GTK Dialog Test");
    gtk_window_set_position(GTK_WINDOW(gtkmsgDialog), GTK_WIN_POS_CENTER);
    gtk_window_resize(GTK_WINDOW(gtkmsgDialog), 200,50);

    gtk_widget_show(gtkmsgDialog);

    gtk_main();

    return 0;
}