forked from AuroraMiddleware/gtk
Scroll to make the current folder visible. (#152921)
2004-09-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll to make the current folder visible. (#152921)
This commit is contained in:
parent
32e685c8d4
commit
393285778f
@ -1,5 +1,8 @@
|
||||
2004-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
|
||||
to make the current folder visible. (#152921)
|
||||
|
||||
* gtk/gtkbutton.c: Revert the button state to !button_down,
|
||||
if we're missing the release event due to grab shadowing
|
||||
or insensitivation.
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
|
||||
to make the current folder visible. (#152921)
|
||||
|
||||
* gtk/gtkbutton.c: Revert the button state to !button_down,
|
||||
if we're missing the release event due to grab shadowing
|
||||
or insensitivation.
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
|
||||
to make the current folder visible. (#152921)
|
||||
|
||||
* gtk/gtkbutton.c: Revert the button state to !button_down,
|
||||
if we're missing the release event due to grab shadowing
|
||||
or insensitivation.
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
|
||||
to make the current folder visible. (#152921)
|
||||
|
||||
* gtk/gtkbutton.c: Revert the button state to !button_down,
|
||||
if we're missing the release event due to grab shadowing
|
||||
or insensitivation.
|
||||
|
@ -1165,13 +1165,13 @@ gtk_path_bar_check_parent_path (GtkPathBar *path_bar,
|
||||
BUTTON_DATA (list->data),
|
||||
(list == current_path) ? TRUE : FALSE);
|
||||
}
|
||||
#if 1
|
||||
|
||||
if (!gtk_widget_get_child_visible (BUTTON_DATA (current_path->data)->button))
|
||||
{
|
||||
path_bar->first_scrolled_button = current_path;
|
||||
gtk_widget_queue_resize (GTK_WIDGET (path_bar));
|
||||
}
|
||||
#endif
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user