Remove the check for editable. (Reported by Brent Fox)
Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_real_change_value): Remove the check for editable. (Reported by Brent Fox)
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
|
||||
Remove the check for editable. (Reported by Brent Fox)
|
||||
|
||||
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
|
||||
Remove the check for editable. (Reported by Brent Fox)
|
||||
|
||||
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
|
||||
Remove the check for editable. (Reported by Brent Fox)
|
||||
|
||||
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
|
||||
Remove the check for editable. (Reported by Brent Fox)
|
||||
|
||||
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
|
||||
Remove the check for editable. (Reported by Brent Fox)
|
||||
|
||||
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Aug 8 16:58:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
|
||||
Remove the check for editable. (Reported by Brent Fox)
|
||||
|
||||
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
|
||||
|
@ -1220,8 +1220,11 @@ static void
|
||||
gtk_spin_button_real_change_value (GtkSpinButton *spin,
|
||||
GtkScrollType scroll)
|
||||
{
|
||||
if (GTK_ENTRY (spin)->editable)
|
||||
{
|
||||
/* We don't test whether the entry is editable, since
|
||||
* this key binding conceptually corresponds to changing
|
||||
* the value with the buttons using the mouse, which
|
||||
* we allow for non-editable spin buttons.
|
||||
*/
|
||||
switch (scroll)
|
||||
{
|
||||
case GTK_SCROLL_STEP_BACKWARD:
|
||||
@ -1295,7 +1298,6 @@ gtk_spin_button_real_change_value (GtkSpinButton *spin,
|
||||
|
||||
gtk_spin_button_update (spin);
|
||||
}
|
||||
}
|
||||
|
||||
static gint
|
||||
gtk_spin_button_key_release (GtkWidget *widget,
|
||||
|
Reference in New Issue
Block a user