diff options
author | Piers Cornwell <piers@gnome.org> | 2004-03-31 06:57:11 +0800 |
---|---|---|
committer | Piers Cornwell <piers@src.gnome.org> | 2004-03-31 06:57:11 +0800 |
commit | 3cba632408077672d2cab8647efbe54b60edef7f (patch) | |
tree | a80a6f36845a3709318e8a871286b43d0587bdde /src | |
parent | 7f30205fb0e2317a721cd3e39370e247b66defc8 (diff) | |
download | gsoc2013-epiphany-3cba632408077672d2cab8647efbe54b60edef7f.tar gsoc2013-epiphany-3cba632408077672d2cab8647efbe54b60edef7f.tar.gz gsoc2013-epiphany-3cba632408077672d2cab8647efbe54b60edef7f.tar.bz2 gsoc2013-epiphany-3cba632408077672d2cab8647efbe54b60edef7f.tar.lz gsoc2013-epiphany-3cba632408077672d2cab8647efbe54b60edef7f.tar.xz gsoc2013-epiphany-3cba632408077672d2cab8647efbe54b60edef7f.tar.zst gsoc2013-epiphany-3cba632408077672d2cab8647efbe54b60edef7f.zip |
Make buttons the same size in Industrial theme and make text selectable.
2004-03-30 Piers Cornwell <piers@gnome.org>
* src/ephy-history-window.c: (confirmation_dialog_construct):
Make buttons the same size in Industrial theme and make text
selectable.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-history-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index d7d67ccbb..98914f857 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -252,9 +252,7 @@ confirmation_dialog_construct (EphyHistoryWindow *editor) gtk_container_set_border_width (GTK_CONTAINER (dialog), 6); gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 12); - button = gtk_button_new_from_stock (GTK_STOCK_CANCEL); - gtk_widget_show (button); - gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_CANCEL); + gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); button = gtk_button_new (); gtk_widget_show (button); @@ -296,6 +294,7 @@ confirmation_dialog_construct (EphyHistoryWindow *editor) gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0); label = gtk_label_new (NULL); + gtk_label_set_selectable (GTK_LABEL (label), TRUE); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); str = g_strconcat ("<b><big>", _("Clear browsing history?"), @@ -307,6 +306,7 @@ confirmation_dialog_construct (EphyHistoryWindow *editor) label = gtk_label_new (_("Clearing the browsing history will cause all" " history links to be permanently deleted.")); + gtk_label_set_selectable (GTK_LABEL (label), TRUE); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0); |