GNOME Bugzilla – Bug 702585
Set buttons arrow icons according to locale's text direction
Last modified: 2013-06-24 06:47:34 UTC
Created attachment 247191 [details] [review] Set buttons arrow icons according to locale's text direction See patch.
Review of attachment 247191 [details] [review]: ::: shell/ev-history-action-widget.c @@ +212,3 @@ + gboolean rtl; + + rtl = (gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL); Why not use gtk_widget_get_direction() on the actual widget? @@ +224,3 @@ switch (action_button) { case EV_HISTORY_ACTION_BUTTON_BACK: + icon_name = rtl ? "go-previous-rtl-symbolic" : "go-previous-symbolic"; What are those 'rtl' icon names? Why not simply use go-next-symbolic as the rtl variant for go-previous-symbolic and vv below?
Created attachment 247229 [details] [review] Set button arrow icons according to locale's text direction
(In reply to comment #1) > Review of attachment 247191 [details] [review]: > > ::: shell/ev-history-action-widget.c > @@ +212,3 @@ > + gboolean rtl; > + > + rtl = (gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL); > > Why not use gtk_widget_get_direction() on the actual widget? > > @@ +224,3 @@ > switch (action_button) { > case EV_HISTORY_ACTION_BUTTON_BACK: > + icon_name = rtl ? "go-previous-rtl-symbolic" : > "go-previous-symbolic"; > > What are those 'rtl' icon names? Why not simply use go-next-symbolic as the rtl > variant for go-previous-symbolic and vv below? Symbols 'rtl' meant exactly this bug.
Comment on attachment 247229 [details] [review] Set button arrow icons according to locale's text direction Pushed to git master, thanks!
Pleas, push also to git gnome-3-8 branch.
I guess this is not considered a UI change, no? because UI is supposed to be frozen in stable branch.
No, this is not considered a UI change.
Ok, pushed to gnome-3-8 branch too.