diff options
author | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 09:01:08 +0000 |
---|---|---|
committer | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 09:01:08 +0000 |
commit | a068b8fe6850b13c9d0418ebed0fede4518c0da0 (patch) | |
tree | ab123f45d1cce86c27d8c1868b2497a2bfaa8396 /chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | |
parent | bbe916d18774ba82f892a2e770bc16a3df45e7ed (diff) | |
download | chromium_src-a068b8fe6850b13c9d0418ebed0fede4518c0da0.zip chromium_src-a068b8fe6850b13c9d0418ebed0fede4518c0da0.tar.gz chromium_src-a068b8fe6850b13c9d0418ebed0fede4518c0da0.tar.bz2 |
[Linux]Fix text justification of find bar.
BUG=34724 Text in omnibox and find bar is not right justified correct under RTL locale.
TEST=Run chrome with LTR locale, the text in find bar should always be left justified, regardless of the text's direction. With RTL locale, the text should always be right justified. It matches the behavior of windows version.
Review URL: http://codereview.chromium.org/652105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39702 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_gtk.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h index 7549c6c..0affbd8 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h @@ -303,13 +303,13 @@ class AutocompleteEditViewGtk : public AutocompleteEditView, static void HandleWidgetDirectionChangedThunk( GtkWidget* widget, GtkTextDirection previous_direction, gpointer self) { - return reinterpret_cast<AutocompleteEditViewGtk*>(self)-> + reinterpret_cast<AutocompleteEditViewGtk*>(self)-> AdjustTextJustification(); } static void HandleKeymapDirectionChangedThunk(GdkKeymap* keymap, gpointer self) { - return reinterpret_cast<AutocompleteEditViewGtk*>(self)-> + reinterpret_cast<AutocompleteEditViewGtk*>(self)-> AdjustTextJustification(); } |