diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-02-08 08:07:31 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-08 08:07:31 +0800 |
commit | 9d4d228fb605633ad54f9935bc3905fb16e50677 (patch) | |
tree | 35704ee31e1a3a35d6ab000fce2c3b7fe1e6ab19 | |
parent | 07f599e4b4e2ec6e9e9636d6efd8083a1217a97c (diff) | |
download | gsoc2013-epiphany-9d4d228fb605633ad54f9935bc3905fb16e50677.tar gsoc2013-epiphany-9d4d228fb605633ad54f9935bc3905fb16e50677.tar.gz gsoc2013-epiphany-9d4d228fb605633ad54f9935bc3905fb16e50677.tar.bz2 gsoc2013-epiphany-9d4d228fb605633ad54f9935bc3905fb16e50677.tar.lz gsoc2013-epiphany-9d4d228fb605633ad54f9935bc3905fb16e50677.tar.xz gsoc2013-epiphany-9d4d228fb605633ad54f9935bc3905fb16e50677.tar.zst gsoc2013-epiphany-9d4d228fb605633ad54f9935bc3905fb16e50677.zip |
Better toolbar appeareance. More clear buttons labels on resume dialog.
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | lib/egg/eggtoolbar.c | 4 | ||||
-rw-r--r-- | src/session.c | 3 |
3 files changed, 11 insertions, 4 deletions
@@ -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); |