Skip to content

Commit

Permalink
gtk: Make the "Cancel" and "Create" buttons have the same size on the…
Browse files Browse the repository at this point in the history
… AppShortcuts dialog.

BUG=77465
TEST=see bug

R=tony@chromium.org,phajdan.jr@chromium.org

Review URL: http://codereview.chromium.org/6726046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79589 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tfarina@chromium.org committed Mar 28, 2011
1 parent b22171b commit 8eeb3e4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ void CreateApplicationShortcutsDialogGtk::CreateDialogBox(GtkWindow* parent) {
l10n_util::GetStringUTF8(IDS_CREATE_SHORTCUTS_TITLE).c_str(),
parent,
(GtkDialogFlags) (GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR),
GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT,
NULL);
gtk_widget_realize(create_dialog_);
gtk_window_set_resizable(GTK_WINDOW(create_dialog_), false);
gtk_util::AddButtonToDialog(create_dialog_,
l10n_util::GetStringUTF8(IDS_CANCEL).c_str(),
GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT);
gtk_util::AddButtonToDialog(create_dialog_,
l10n_util::GetStringUTF8(IDS_CREATE_SHORTCUTS_COMMIT).c_str(),
GTK_STOCK_APPLY, GTK_RESPONSE_ACCEPT);
Expand Down

0 comments on commit 8eeb3e4

Please sign in to comment.