mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-12 20:41:34 +00:00
Make the column resizable again.
2000-03-16 Pavel Cisler <pavel@eazel.com> * scr/file-manager/fm-directory-view-list.c (create_flist): Make the column resizable again.
This commit is contained in:
parent
53aa5a6308
commit
6441e04bfd
|
@ -1,3 +1,11 @@
|
|||
2000-03-16 Pavel Cisler <pavel@eazel.com>
|
||||
|
||||
* scr/file-manager/fm-directory-view-list.c
|
||||
(create_flist):
|
||||
The icon column was set to the width of an icon at 100% zoom level.
|
||||
This doesn't work at higher zoom levels and when using Eazel
|
||||
theme icons. For now just make the column resizable again.
|
||||
|
||||
2000-03-16 Pavel Cisler <pavel@eazel.com>
|
||||
|
||||
First pass on making list column resizing live.
|
||||
|
@ -28,13 +36,13 @@
|
|||
Added new calls that hook up with the mouse tracking code that
|
||||
resize the tracker column.
|
||||
|
||||
* manager/fm-directory-view-list.c
|
||||
* scr/file-manager/fm-directory-view-list.c
|
||||
(get_sort_indicator), (hide_sort_indicator), (show_sort_indicator),
|
||||
(create_flist):
|
||||
Removed code that insert the sort order indicator into the list
|
||||
column - this is now done in the new column title widget.
|
||||
|
||||
* manager/fm-directory-view-list.c
|
||||
* scr/file-manager/fm-directory-view-list.c
|
||||
(create_flist):
|
||||
Added min and max column width values.
|
||||
|
||||
|
|
|
@ -286,10 +286,15 @@ create_flist (FMDirectoryViewList *list_view)
|
|||
GtkFList *flist;
|
||||
GtkCList *clist;
|
||||
|
||||
/* title setup should allow for columns not being resizable at all,
|
||||
/* FIXME:
|
||||
* title setup should allow for columns not being resizable at all,
|
||||
* justification, editable or not, type/format,
|
||||
* not being usable as a sort order criteria, etc.
|
||||
* for now just set up name, min, max and current width
|
||||
*
|
||||
* FIXME:
|
||||
* the icon column should be set to the width of an icon at a given
|
||||
* zoom level or should be resizable when using nautilus theme icons
|
||||
*/
|
||||
char *titles[] = {
|
||||
NULL,
|
||||
|
@ -316,7 +321,7 @@ create_flist (FMDirectoryViewList *list_view)
|
|||
};
|
||||
|
||||
guint max_widths[] = {
|
||||
fm_directory_view_list_get_icon_size (list_view), /* Icon */
|
||||
300, /* Icon */
|
||||
300, /* Name */
|
||||
80, /* Size */
|
||||
200, /* Type */
|
||||
|
|
Loading…
Reference in a new issue