mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 02:11:08 +00:00
filechooserentry: Remove the file column
It is not needed anymore.
This commit is contained in:
parent
5607cd9170
commit
b47b6d307e
@ -75,7 +75,6 @@ enum
|
|||||||
{
|
{
|
||||||
DISPLAY_NAME_COLUMN,
|
DISPLAY_NAME_COLUMN,
|
||||||
FULL_PATH_COLUMN,
|
FULL_PATH_COLUMN,
|
||||||
FILE_COLUMN,
|
|
||||||
N_COLUMNS
|
N_COLUMNS
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -535,9 +534,6 @@ completion_store_set (GtkFileSystemModel *model,
|
|||||||
|
|
||||||
switch (column)
|
switch (column)
|
||||||
{
|
{
|
||||||
case FILE_COLUMN:
|
|
||||||
g_value_set_object (value, file);
|
|
||||||
break;
|
|
||||||
case FULL_PATH_COLUMN:
|
case FULL_PATH_COLUMN:
|
||||||
prefix = chooser_entry->dir_part;
|
prefix = chooser_entry->dir_part;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
@ -570,8 +566,7 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
|||||||
chooser_entry,
|
chooser_entry,
|
||||||
N_COLUMNS,
|
N_COLUMNS,
|
||||||
G_TYPE_STRING,
|
G_TYPE_STRING,
|
||||||
G_TYPE_STRING,
|
G_TYPE_STRING));
|
||||||
G_TYPE_FILE));
|
|
||||||
g_signal_connect (chooser_entry->completion_store, "finished-loading",
|
g_signal_connect (chooser_entry->completion_store, "finished-loading",
|
||||||
G_CALLBACK (finished_loading_cb), chooser_entry);
|
G_CALLBACK (finished_loading_cb), chooser_entry);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user