diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/toolbar/ephy-tbi-zoom.c | 2 | ||||
-rw-r--r-- | lib/widgets/ephy-notebook.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/toolbar/ephy-tbi-zoom.c b/lib/toolbar/ephy-tbi-zoom.c index 216cdc473..e7846f954 100644 --- a/lib/toolbar/ephy-tbi-zoom.c +++ b/lib/toolbar/ephy-tbi-zoom.c @@ -172,7 +172,7 @@ ephy_tbi_zoom_get_widget_impl (EphyTbItem *i) if (!p->widget) { - p->widget = gtk_spin_button_new_with_range (1, 999, 10); + p->widget = gtk_spin_button_new_with_range (10, 990, 10); gtk_spin_button_set_value (GTK_SPIN_BUTTON (p->widget), 100); g_object_ref (p->widget); gtk_object_sink (GTK_OBJECT (p->widget)); diff --git a/lib/widgets/ephy-notebook.c b/lib/widgets/ephy-notebook.c index c03dc878a..45dc54958 100644 --- a/lib/widgets/ephy-notebook.c +++ b/lib/widgets/ephy-notebook.c @@ -653,7 +653,9 @@ tab_build_label (EphyNotebook *nb, GtkWidget *child) gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h); - hbox = gtk_hbox_new (FALSE, 0); + /* set hbox spacing and label padding (see below) so that there's an + * equal amount of space around the label */ + hbox = gtk_hbox_new (FALSE, 4); /* setup close button */ close_button = gtk_button_new (); |