summaryrefslogtreecommitdiff
path: root/src/nautilus-information-panel.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2003-04-02 11:51:14 +0000
committerAlexander Larsson <alexl@src.gnome.org>2003-04-02 11:51:14 +0000
commit4e04c0a008356c211468a44a3a15a43fd9fe4dbd (patch)
tree07423c2626eace628bdca197ca0964fa27511ef2 /src/nautilus-information-panel.c
parent234e6a286bcf82adbb9462fb5870246f19c240b5 (diff)
downloadnautilus-4e04c0a008356c211468a44a3a15a43fd9fe4dbd.tar.gz
Convert file attributes from list of strings to a bitmask. Patch from
2003-04-02 Alexander Larsson <alexl@redhat.com> * components/notes/nautilus-notes.c: * components/tree/nautilus-tree-model.c: * components/tree/nautilus-tree-view.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-background.c: * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-file-attributes.h: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: (rename_callback), * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-link.c: * libnautilus-private/nautilus-merged-directory.c: * libnautilus-private/nautilus-mime-actions.c: * libnautilus-private/nautilus-mime-actions.h: * libnautilus-private/nautilus-program-choosing.c: * libnautilus-private/nautilus-trash-file.c: * libnautilus-private/nautilus-trash-monitor.c: * libnautilus-private/nautilus-vfs-directory.c: * libnautilus-private/nautilus-vfs-file.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-container.c: * src/file-manager/fm-properties-window.c: * src/nautilus-applicable-views.c: * src/nautilus-information-panel.c: * src/nautilus-sidebar-title.c: * src/nautilus-window-manage-views.c: * src/nautilus-window.c: * test/test-nautilus-mime-actions-set.c: * test/test-nautilus-mime-actions.c: Convert file attributes from list of strings to a bitmask. Patch from andersca@codefactory.se.
Diffstat (limited to 'src/nautilus-information-panel.c')
-rw-r--r--src/nautilus-information-panel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nautilus-information-panel.c b/src/nautilus-information-panel.c
index ea5043d10..968747719 100644
--- a/src/nautilus-information-panel.c
+++ b/src/nautilus-information-panel.c
@@ -1109,12 +1109,11 @@ nautilus_information_panel_update_appearance (NautilusInformationPanel *informat
static void
background_metadata_changed_callback (NautilusInformationPanel *information_panel)
{
- GList *attributes;
+ NautilusFileAttributes attributes;
gboolean ready;
attributes = nautilus_mime_actions_get_minimum_file_attributes ();
ready = nautilus_file_check_if_ready (information_panel->details->file, attributes);
- g_list_free (attributes);
if (ready) {
nautilus_information_panel_update_appearance (information_panel);
@@ -1132,7 +1131,7 @@ nautilus_information_panel_set_uri (NautilusInformationPanel *information_panel,
const char* initial_title)
{
NautilusFile *file;
- GList *attributes;
+ NautilusFileAttributes attributes;
g_return_if_fail (NAUTILUS_IS_INFORMATION_PANEL (information_panel));
g_return_if_fail (new_uri != NULL);
@@ -1166,7 +1165,6 @@ nautilus_information_panel_set_uri (NautilusInformationPanel *information_panel,
attributes = nautilus_mime_actions_get_minimum_file_attributes ();
nautilus_file_monitor_add (information_panel->details->file, information_panel, attributes);
- g_list_free (attributes);
background_metadata_changed_callback (information_panel);