1999-03-19 Jonathan Blandford <jrb@redhat.com>
* gscreen.c (panel_tree_drag_motion): Dragging now automatically highlights the tree. God does it flicker... )-: * gtkdtree.h (gtk_dtree_construct): removed unused prototype. * gscreen.c (panel_tree_check_auto_expand): removed the auto-collapse of trees, as it is confusing to the user.
Этот коммит содержится в:
родитель
aec84e1075
Коммит
55615776fe
@ -1,5 +1,13 @@
|
||||
1999-03-19 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gscreen.c (panel_tree_drag_motion): Dragging now automatically
|
||||
highlights the tree. God does it flicker... )-:
|
||||
|
||||
* gtkdtree.h (gtk_dtree_construct): removed unused prototype.
|
||||
|
||||
* gscreen.c (panel_tree_check_auto_expand): removed the
|
||||
auto-collapse of trees, as it is confusing to the user.
|
||||
|
||||
* gcustom-layout.c (custom_layout_set): We don't want to let the
|
||||
user remove all of the settings.
|
||||
|
||||
|
@ -2044,6 +2044,8 @@ panel_tree_check_auto_expand (WPanel *panel, GtkCTreeNode *current)
|
||||
* so that the "current" stays the same place on the
|
||||
* screen
|
||||
*/
|
||||
#if 0
|
||||
/* This behaviour is confusing --jrb and quartic (and MS, apparently)*/
|
||||
if (tmp_list) {
|
||||
if (current) {
|
||||
row = g_list_position (clist->row_list, (GList *)current);
|
||||
@ -2074,6 +2076,7 @@ panel_tree_check_auto_expand (WPanel *panel, GtkCTreeNode *current)
|
||||
free_list->prev = NULL;
|
||||
g_list_free (free_list);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
@ -2132,7 +2135,10 @@ panel_tree_drag_motion (GtkWidget *widget, GdkDragContext *ctx, int x, int y, gu
|
||||
panel_tree_check_auto_expand (panel, current);
|
||||
} else
|
||||
panel_tree_check_auto_expand (panel, NULL);
|
||||
|
||||
GTK_DTREE (widget)->internal = TRUE;
|
||||
gtk_clist_select_row (GTK_CLIST (widget), row, 0);
|
||||
GTK_DTREE (widget)->internal = FALSE;
|
||||
|
||||
panel->timer_id = gtk_timeout_add (400, tree_drag_open_directory, data);
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -50,7 +50,6 @@ guint gtk_dtree_get_type (void);
|
||||
GtkWidget *gtk_dtree_new (void);
|
||||
void gtk_dtree_select_parent (GtkDTree *dtree,
|
||||
char *directory);
|
||||
void gtk_dtree_select_child (GtkDTree *dtree);
|
||||
void gtk_dtree_remove_dir_by_name (GtkDTree *dtree,
|
||||
char *directory);
|
||||
gboolean gtk_dtree_select_dir (GtkDTree *dtree,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user