Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: chrome/browser/gtk/about_chrome_dialog.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/extensions_ui.cc ('k') | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/gtk/about_chrome_dialog.h" 5 #include "chrome/browser/gtk/about_chrome_dialog.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <wchar.h> 8 #include <wchar.h>
9 9
10 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
11 #include "base/file_version_info.h" 12 #include "base/file_version_info.h"
12 #include "base/gfx/gtk_util.h" 13 #include "base/gfx/gtk_util.h"
13 #include "chrome/common/l10n_util.h"
14 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profile.h"
16 #include "grit/chromium_strings.h" 16 #include "grit/chromium_strings.h"
17 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 #include "grit/locale_settings.h" 18 #include "grit/locale_settings.h"
19 #include "grit/theme_resources.h" 19 #include "grit/theme_resources.h"
20 #include "webkit/glue/webkit_glue.h" 20 #include "webkit/glue/webkit_glue.h"
21 21
22 namespace { 22 namespace {
23 // The pixel width of the version text field. Ideally, we'd like to have the 23 // The pixel width of the version text field. Ideally, we'd like to have the
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 // Hack around Gtk's not-so-good label wrapping, as described here: 160 // Hack around Gtk's not-so-good label wrapping, as described here:
161 // http://blog.16software.com/dynamic-label-wrapping-in-gtk 161 // http://blog.16software.com/dynamic-label-wrapping-in-gtk
162 g_signal_connect(G_OBJECT(license_label), "size-allocate", 162 g_signal_connect(G_OBJECT(license_label), "size-allocate",
163 G_CALLBACK(FixLabelWrappingCallback), NULL); 163 G_CALLBACK(FixLabelWrappingCallback), NULL);
164 164
165 g_signal_connect(dialog, "response", G_CALLBACK(OnDialogResponse), NULL); 165 g_signal_connect(dialog, "response", G_CALLBACK(OnDialogResponse), NULL);
166 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); 166 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
167 gtk_widget_show_all(dialog); 167 gtk_widget_show_all(dialog);
168 } 168 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extensions_ui.cc ('k') | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698