forked from AuroraMiddleware/gtk
s/get_is_visible/iter_is_visible for clarity
Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
parent
9efa64fba5
commit
fb1a72fcb0
@ -6326,7 +6326,7 @@ show_and_select_files (GtkFileChooserDefault *impl,
|
||||
if (!_gtk_file_system_model_get_iter_for_file (fsmodel, &iter, file))
|
||||
continue;
|
||||
|
||||
if (!_gtk_file_system_model_get_is_visible (fsmodel, &iter))
|
||||
if (!_gtk_file_system_model_iter_is_visible (fsmodel, &iter))
|
||||
{
|
||||
GFileInfo *info = _gtk_file_system_model_get_info (fsmodel, &iter);
|
||||
|
||||
@ -6345,7 +6345,7 @@ show_and_select_files (GtkFileChooserDefault *impl,
|
||||
}
|
||||
}
|
||||
|
||||
if (_gtk_file_system_model_get_is_visible (fsmodel, &iter))
|
||||
if (_gtk_file_system_model_iter_is_visible (fsmodel, &iter))
|
||||
{
|
||||
gtk_tree_selection_select_iter (selection, &iter);
|
||||
selected_a_file = TRUE;
|
||||
|
@ -1485,7 +1485,7 @@ _gtk_file_system_model_get_cancellable (GtkFileSystemModel *model)
|
||||
}
|
||||
|
||||
/**
|
||||
* _gtk_file_system_model_get_is_visible:
|
||||
* _gtk_file_system_model_iter_is_visible:
|
||||
* @model: the model
|
||||
* @iter: a valid iterator
|
||||
*
|
||||
@ -1498,7 +1498,7 @@ _gtk_file_system_model_get_cancellable (GtkFileSystemModel *model)
|
||||
* Returns: %TRUE if the iterator is visible
|
||||
**/
|
||||
gboolean
|
||||
_gtk_file_system_model_get_is_visible (GtkFileSystemModel *model,
|
||||
_gtk_file_system_model_iter_is_visible (GtkFileSystemModel *model,
|
||||
GtkTreeIter *iter)
|
||||
{
|
||||
FileModelNode *node;
|
||||
@ -1652,7 +1652,7 @@ node_get_for_file (GtkFileSystemModel *model,
|
||||
* Initializes @iter to point to the row used for @file, if @file is part
|
||||
* of the model. Note that upon successful return, @iter may point to an
|
||||
* invisible row in the @model. Use
|
||||
* _gtk_file_system_model_get_is_visible() to make sure it is visible to
|
||||
* _gtk_file_system_model_iter_is_visible() to make sure it is visible to
|
||||
* the tree view.
|
||||
*
|
||||
* Returns: %TRUE if file is part of the model and @iter was initialized
|
||||
|
@ -53,7 +53,7 @@ GtkFileSystemModel *_gtk_file_system_model_new_for_directory(GFile *
|
||||
guint n_columns,
|
||||
...);
|
||||
GCancellable * _gtk_file_system_model_get_cancellable (GtkFileSystemModel *model);
|
||||
gboolean _gtk_file_system_model_get_is_visible (GtkFileSystemModel *model,
|
||||
gboolean _gtk_file_system_model_iter_is_visible (GtkFileSystemModel *model,
|
||||
GtkTreeIter *iter);
|
||||
GFileInfo * _gtk_file_system_model_get_info (GtkFileSystemModel *model,
|
||||
GtkTreeIter *iter);
|
||||
|
Loading…
Reference in New Issue
Block a user