mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
![Cosimo Cecchi](/assets/img/avatar_default.png)
2009-01-31 Cosimo Cecchi <cosimoc@gnome.org> * libnautilus-private/nautilus-directory-async.c (lacks_link_info), (monitor_includes_file), (link_info_done), (link_info_got_data), (link_info_start): * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c (nautilus_file_clear_info), (nautilus_file_should_show), (filter_hidden_and_backup_partition_callback), (nautilus_file_is_foreign_link): * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-link.c (string_array_contains), (nautilus_link_get_link_info_given_file_contents): * libnautilus-private/nautilus-link.h: * src/file-manager/fm-desktop-icon-view.c (fm_desktop_icon_view_init): * src/file-manager/fm-directory-view.c (fm_directory_view_init), (fm_directory_view_should_show_file), (fm_directory_view_set_show_foreign): * src/file-manager/fm-directory-view.h: * src/file-manager/fm-tree-model.c (should_show_file): Follow the "OnlyShowIn" and "NotShowIn" == GNOME keys for .desktop files, when they are put on the desktop. Thanks to Federico Mena Quintero and Jared Moore (#338933). svn path=/trunk/; revision=14905
55 lines
2.2 KiB
C
55 lines
2.2 KiB
C
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
|
|
|
|
nautilus-link.h: .
|
|
|
|
Copyright (C) 2001 Red Hat, Inc.
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License as
|
|
published by the Free Software Foundation; either version 2 of the
|
|
License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public
|
|
License along with this program; if not, write to the
|
|
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA.
|
|
|
|
Authors: Jonathan Blandford <jrb@redhat.com>
|
|
*/
|
|
|
|
#ifndef NAUTILUS_LINK_H
|
|
#define NAUTILUS_LINK_H
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
gboolean nautilus_link_local_create (const char *directory_uri,
|
|
const char *base_name,
|
|
const char *display_name,
|
|
const char *image,
|
|
const char *target_uri,
|
|
const GdkPoint *point,
|
|
int screen,
|
|
gboolean unique_filename);
|
|
gboolean nautilus_link_local_set_text (const char *uri,
|
|
const char *text);
|
|
gboolean nautilus_link_local_set_icon (const char *uri,
|
|
const char *icon);
|
|
char * nautilus_link_local_get_text (const char *uri);
|
|
char * nautilus_link_local_get_additional_text (const char *uri);
|
|
char * nautilus_link_local_get_link_uri (const char *uri);
|
|
void nautilus_link_get_link_info_given_file_contents (const char *file_contents,
|
|
int link_file_size,
|
|
const char *file_uri,
|
|
char **uri,
|
|
char **name,
|
|
char **icon,
|
|
gboolean *is_launcher,
|
|
gboolean *is_foreign);
|
|
|
|
#endif /* NAUTILUS_LINK_H */
|