removed extra gtk_spin_button_update calls again. unblock dnd signal

Sat Jan 23 01:44:43 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
	(gtk_spin_button_get_value_as_float): removed extra
 	gtk_spin_button_update calls again.
	* gtk/gtkclist.c (gtk_clist_unmap): unblock dnd signal handler if
	neccessary
	* gtk/gtknotebook.c (gtk_notebook_button_press): grab_focus before
	switch_page
	(gtk_notebook_set_shape): don't use cur_page if it's NULL.
This commit is contained in:
Lars Hamann
1999-01-23 01:04:33 +00:00
committed by Lars Hamann
parent ad987142c1
commit f37d395c4f
10 changed files with 102 additions and 16 deletions

View File

@ -1071,8 +1071,8 @@ gtk_notebook_button_press (GtkWidget *widget,
else
{
gtk_notebook_switch_focus_tab (notebook, children);
gtk_notebook_switch_page (notebook, page, num);
gtk_widget_grab_focus (widget);
gtk_notebook_switch_page (notebook, page, num);
}
break;
}
@ -2477,7 +2477,11 @@ gtk_notebook_set_shape (GtkNotebook *notebook)
}
else
{
page = notebook->cur_page;
if (notebook->cur_page)
page = notebook->cur_page;
else
page = notebook->children->data;
if (!GTK_WIDGET_MAPPED (page->tab_label))
{
if (notebook->tab_pos == GTK_POS_LEFT)