forked from AuroraMiddleware/gtk
hook up arrow buttons. Fixes #55460 reported by matthiasc@poet.de.
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow buttons. Fixes #55460 reported by matthiasc@poet.de.
This commit is contained in:
parent
1d17426bc1
commit
af921e9647
@ -1,4 +1,9 @@
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net>
|
||||
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
|
||||
buttons. Fixes #55460 reported by matthiasc@poet.de.
|
||||
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
|
||||
expansion/collapsing so it only happens in one place.
|
||||
|
@ -1,4 +1,9 @@
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net>
|
||||
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
|
||||
buttons. Fixes #55460 reported by matthiasc@poet.de.
|
||||
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
|
||||
expansion/collapsing so it only happens in one place.
|
||||
|
@ -1,4 +1,9 @@
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net>
|
||||
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
|
||||
buttons. Fixes #55460 reported by matthiasc@poet.de.
|
||||
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
|
||||
expansion/collapsing so it only happens in one place.
|
||||
|
@ -1,4 +1,9 @@
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net>
|
||||
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
|
||||
buttons. Fixes #55460 reported by matthiasc@poet.de.
|
||||
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
|
||||
expansion/collapsing so it only happens in one place.
|
||||
|
@ -1,4 +1,9 @@
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net>
|
||||
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
|
||||
buttons. Fixes #55460 reported by matthiasc@poet.de.
|
||||
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
|
||||
expansion/collapsing so it only happens in one place.
|
||||
|
@ -1,4 +1,9 @@
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net>
|
||||
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
|
||||
buttons. Fixes #55460 reported by matthiasc@poet.de.
|
||||
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
|
||||
expansion/collapsing so it only happens in one place.
|
||||
|
@ -1,4 +1,9 @@
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@webwynk.net>
|
||||
Wed Jun 6 21:59:16 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): hook up arrow
|
||||
buttons. Fixes #55460 reported by matthiasc@poet.de.
|
||||
|
||||
Wed Jun 6 21:18:54 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): centralize
|
||||
expansion/collapsing so it only happens in one place.
|
||||
|
@ -1320,7 +1320,8 @@ gtk_tree_view_size_allocate (GtkWidget *widget,
|
||||
gtk_tree_view_size_allocate_buttons (widget);
|
||||
|
||||
tree_view->priv->hadjustment->page_size = allocation->width;
|
||||
tree_view->priv->hadjustment->page_increment = allocation->width / 2;
|
||||
tree_view->priv->hadjustment->page_increment = allocation->width;
|
||||
tree_view->priv->hadjustment->step_increment = allocation->width / 10;
|
||||
tree_view->priv->hadjustment->lower = 0;
|
||||
tree_view->priv->hadjustment->upper = tree_view->priv->width;
|
||||
|
||||
@ -1329,6 +1330,7 @@ gtk_tree_view_size_allocate (GtkWidget *widget,
|
||||
gtk_signal_emit_by_name (GTK_OBJECT (tree_view->priv->hadjustment), "changed");
|
||||
|
||||
tree_view->priv->vadjustment->page_size = allocation->height - TREE_VIEW_HEADER_HEIGHT (tree_view);
|
||||
tree_view->priv->vadjustment->step_increment = (tree_view->priv->vadjustment->page_size) / 10;
|
||||
tree_view->priv->vadjustment->page_increment = (allocation->height - TREE_VIEW_HEADER_HEIGHT (tree_view)) / 2;
|
||||
tree_view->priv->vadjustment->lower = 0;
|
||||
tree_view->priv->vadjustment->upper = tree_view->priv->height;
|
||||
|
Loading…
Reference in New Issue
Block a user