mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Make date picker in registers visible for rtl locales like hebrew, #386816.
The calendar popup starts at x=0, but in a right-to-left interface it is drawn to the left, i.e. out off the window. This can be avoided by overwriting the default direction of the surrounding horizontal box. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16098 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
12d95d5262
commit
55d98f19fc
@ -219,6 +219,7 @@ gnc_date_picker_new (GnomeCanvasGroup *parent)
|
||||
|
||||
hbox = gtk_hbox_new (FALSE, 0);
|
||||
|
||||
gtk_widget_set_direction (hbox, GTK_TEXT_DIR_LTR);
|
||||
gtk_box_pack_start (GTK_BOX(hbox), calendar, TRUE, TRUE, 0);
|
||||
|
||||
item = gnome_canvas_item_new (parent, gnc_date_picker_get_type (),
|
||||
|
Loading…
Reference in New Issue
Block a user