aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiers Cornwell <piers@gnome.org>2004-03-31 23:10:11 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-31 23:10:11 +0800
commitbf98956a886c826b6e07f75c91f8cd9f991e7c32 (patch)
treefa26860534ee1b2e0dce41f98cea1e1d580a3c99
parent15e89d77da6b8146ae6b53ad6f060602e4872520 (diff)
downloadgsoc2013-epiphany-bf98956a886c826b6e07f75c91f8cd9f991e7c32.tar
gsoc2013-epiphany-bf98956a886c826b6e07f75c91f8cd9f991e7c32.tar.gz
gsoc2013-epiphany-bf98956a886c826b6e07f75c91f8cd9f991e7c32.tar.bz2
gsoc2013-epiphany-bf98956a886c826b6e07f75c91f8cd9f991e7c32.tar.lz
gsoc2013-epiphany-bf98956a886c826b6e07f75c91f8cd9f991e7c32.tar.xz
gsoc2013-epiphany-bf98956a886c826b6e07f75c91f8cd9f991e7c32.tar.zst
gsoc2013-epiphany-bf98956a886c826b6e07f75c91f8cd9f991e7c32.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.
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-history-window.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1845e19ea..0e01418c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2004-03-30 Piers Cornwell <piers@gnome.org>
+
* data/glade/prefs-dialog.glade:
* embed/mozilla/mozilla-notifiers.cpp: (mozilla_font_size_notifier):
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 17e5194e8..1548c57ee 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);