aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--lib/egg/eggtoolbar.c4
-rw-r--r--src/session.c3
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ba2389105..fcd0f4032 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org>
+
+ * lib/egg/eggtoolbar.c: (egg_toolbar_init):
+ * src/session.c: (crashed_resume_dialog):
+
+ Better toolbar appeareance. More clear
+ buttons labels on resume dialog.
+
2003-02-07 James Willcox <jwillcox@gnome.org>
* src/bookmarks/ephy-bookmarks-editor.c:
diff --git a/lib/egg/eggtoolbar.c b/lib/egg/eggtoolbar.c
index ac351194e..4f583fc14 100644
--- a/lib/egg/eggtoolbar.c
+++ b/lib/egg/eggtoolbar.c
@@ -33,7 +33,7 @@
#include <gtk/gtkradiobutton.h>
#include <gtk/gtktoolbar.h>
-#define DEFAULT_IPADDING 0
+#define DEFAULT_IPADDING 2
#define DEFAULT_SPACE_SIZE 5
#define DEFAULT_SPACE_STYLE GTK_TOOLBAR_SPACE_LINE
@@ -314,8 +314,6 @@ egg_toolbar_init (EggToolbar *toolbar)
GTK_WIDGET_SET_FLAGS (toolbar, GTK_NO_WINDOW);
GTK_WIDGET_UNSET_FLAGS (toolbar, GTK_CAN_FOCUS);
- gtk_container_set_border_width (GTK_CONTAINER (toolbar), 1);
-
priv = g_new0 (EggToolbarPrivate, 1);
g_object_set_data (G_OBJECT (toolbar), PRIVATE_KEY, priv);
diff --git a/src/session.c b/src/session.c
index 431edef02..61413bcbf 100644
--- a/src/session.c
+++ b/src/session.c
@@ -188,9 +188,10 @@ crashed_resume_dialog (Session *session)
dialog = gtk_dialog_new_with_buttons
(_("Crash Recovery"), NULL,
GTK_DIALOG_NO_SEPARATOR,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ _("_Don't Recover"), GTK_RESPONSE_CANCEL,
_("_Recover"), GTK_RESPONSE_OK,
NULL);
+ gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 12);