| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And fix make distcheck.
Although libnautilus-private seem self contained, it was actually
depending on the files on src/ for dnd.
Not only that, but files in libnautilus-private also were depending on
dnd files, which you can guess it's wrong.
Before the desktop split, this was working because the files were
distributed, but now was a problem since we reestructured the code, and
now nautilus being a library make distcheck stop working.
First solution was try to fix this inter dependency of files, but at
some point I realized that there was no real point on splitting some of
those files, because for example, is perfectly fine for dnd to need to
access the window functions, and it's perfectly fine for the widgets
in the private library to need to access to all dnd functions.
So seems to me the private library of nautilus is somehow an artificial
split, which provides more problems than solutions.
We needed libnautilus-private to have a private library that we could
isolate from extensions, but I don't think it worth given the problems
it provides, and also, this not so good logical split.
Right now, since with the desktop split we created a libnautilus to be
used by the desktop part of nautilus, extensions have access to all
the API of nautilus. We will think in future how this can be handled if
we want.
So for now, merge the libnautilus-private into src, and let's rethink
a better logic to split the code and the private parts of nautilus than
what we had.
Thanks a lot to Rafael Fonseca for helping in get this done.
https://bugzilla.gnome.org/show_bug.cgi?id=765543
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Vim and emacs modelines are used to specify some of the code style in the code.
However, this is misleading and poorly supported since nautilus had a mix of
code style for some time.
Also, the mode lines doesn't specify the whole code style, so we will need to
use a different tool as well to specify the whole code style.
For that, we can just use a different tool for everything.
So remove the mode lines, and in a short future we will reestyle the nautilus
code to have a single code style, and use a tool like editorconfig to specify
the whole code style.
|
|
|
|
|
| |
These days XDG_CURRENT_DESKTOP can contain multiple desktop names
seperated by ':'.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=674087
|
|
|
|
| |
nautilus_link_local_get_additional_text() is now unused.
|
|
|
|
| |
For some reason, this was ifdeffed out.
|
|
|
|
| |
We stopped supporting this everywhere else ages ago.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=653660
|
|
|
|
|
|
| |
Instead of a filename string.
This also has the side-effect of fixing
https://bugzilla.gnome.org/show_bug.cgi?id=615509
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-04 Alexander Larsson <alexl@redhat.com>
Bug 573991 – Nautilus does not recognize some .desktop files as launchers
* libnautilus-private/nautilus-link.c:
(nautilus_link_get_link_info_given_file_contents):
Don't try to sniff the contents, we'll handle that when parsing anyway.
And sniffing breaks if there are too much comments before the first group in
the desktop file.
svn path=/trunk/; revision=15052
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-02 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-link.c
(nautilus_link_local_set_key),
(nautilus_link_local_set_text),
(nautilus_link_local_set_icon):
Don't localize 'Icon=' keys.
Fixes Launchpad Bug #336679.
svn path=/trunk/; revision=15048
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-06 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-link.c (get_language),
(nautilus_link_local_set_key):
Pass a language code to g_key_file_set_locale_string() so that we can
actually rename .desktop files.
svn path=/trunk/; revision=14923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-12 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-link.c
(nautilus_link_get_link_icon_from_desktop):
Fix last commit to actually patch the right part of the file.
svn path=/trunk/; revision=14837
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-12 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-link.c
(nautilus_link_get_link_icon_from_desktop):
Fix last commit to actually patch the right part of the file.
svn path=/trunk/; revision=14836
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-12 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-link.c
(nautilus_link_get_link_info_given_file_contents):
Fix a crasher on broken desktop entry files.
Closes bug #567475.
svn path=/trunk/; revision=14835
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-link.[ch]:
* src/file-manager/fm-properties-window.c:
Use GKeyFile instead of GnomeDesktopItemp
svn path=/trunk/; revision=14692
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-27 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-directory-async.c
(link_info_got_data):
Pass link info's URI to
nautilus_link_get_link_info_given_file_contents().
* libnautilus-private/nautilus-link.c
(nautilus_link_get_link_uri_from_desktop),
(nautilus_link_get_link_info_given_file_contents):
* libnautilus-private/nautilus-link.h:
Add an input parameter for the link info's URI to
nautilus_link_get_link_info_given_file_contents().
In nautilus_link_get_link_uri_from_desktop(), when
a desktop icon has an "URI=filename" entry resolve
it like a symbolic link name relative to the link
info parent. Ideally, we'd have
g_file_parse_name_relative() which could do that for us,
but it would mangle URI's fragments and queries anyway.
svn path=/trunk/; revision=14668
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-19 Frederic Crozat <fcrozat@mandriva.com>
* libnautilus-private/nautilus-link.c:
Only strip icon name when it ends with a know
icon extension.
svn path=/trunk/; revision=13957
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-link.c:
(nautilus_link_get_link_icon_from_desktop):
Strip extension from non-absolute-filename icons.
This fixes icons for some old-school desktop files.
svn path=/trunk/; revision=13736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.[ch]:
* libnautilus-private/nautilus-file-private.h:
Add nautilus_file_is_launcher()
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-dnd.c:
* libnautilus-private/nautilus-link.[ch]
* libnautilus-private/nautilus-mime-actions.c:
* libnautilus-private/nautilus-program-choosing.[ch]:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-tree-view.c:
Remove weird desktop-file: and command: hacks, and
replace with usage and implementation of
nautilus_file_is_launcher().
This fixes some problems where the old desktop-file uri
was interpreted as an actual file.
svn path=/trunk/; revision=13734
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-24 Luca Ferretti <elle.uca@libero.it>
reviewed by: Alexander Larsson
* libnautilus-private/Makefile.am:
* libnautilus-private/nautilus-icon-names.h
Add a new file to define icon names, like
#define NAUTILUS_ICON_HOME "user-home"
using named icons from fd.o icon naming spec.
* libnautilus-private/nautilus-desktop-link.c:
(nautilus_desktop_link_new):
* libnautilus-private/nautilus-link.c:
(nautilus_link_get_link_icon_from_desktop):
* libnautilus-private/nautilus-trash-monitor.c:
(update_info_cb),
(nautilus_trash_monitor_init):
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-tree-view.c: (create_popup_menu),
(create_tree):
* src/nautilus-bookmark-list.c: (new_bookmark_from_uri):
* src/nautilus-connect-server-dialog-main.c: (main):
* src/nautilus-desktop-window.c: (real_get_icon):
* src/nautilus-main.c: (main):
* src/nautilus-pathbar.c: (get_icon_for_file_path),
(get_button_image), (is_file_path_mounted_mount),
(make_directory_button):
* src/nautilus-places-sidebar.c: (update_places),
(bookmarks_drop_uris):
* src/nautilus-window-menus.c:
Include nautilus-icon-name.h and use its icons defines.
This means that now Nautilus is using "user-home",
"user-desktop", "folder", "user-trash*", "computer",
"drive-harddisk", "folder-remote", "network-workgroup",
and "text-x-generic-template".
* src/network-scheme.desktop.in:
* nautilus-computer.desktop.in.in:
* nautilus-file-management-properties.desktop.in.in:
* nautilus-folder-handler.desktop.in.in:
* nautilus-home.desktop.in.in:
* nautilus.desktop.in.in:
Use icons from fd.o spec here too. In details, we have
Launcher | New Icon
----------------+----------------------
Computer | computer
File Browser | system-file-manager
Open Folder | folder-open
Home Folder | user-home
File Management | system-file-manager
Network | network-workgroup
For other details see bug #407130.
svn path=/trunk/; revision=13646
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-20 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-customization-data.c:
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-dnd.c:
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-file-utilities.c:
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-icon-dnd.c:
* libnautilus-private/nautilus-link.c:
* libnautilus-private/nautilus-search-engine-simple.c:
* libnautilus-private/nautilus-trash-monitor.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-properties-window.c:
* src/nautilus-pathbar.c:
* src/nautilus-property-browser.c:
Update to new gio file attribute names
svn path=/trunk/; revision=13538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-14 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-bookmark.c:
* libnautilus-private/nautilus-bookmark.h:
* libnautilus-private/nautilus-desktop-icon-file.c:
* libnautilus-private/nautilus-desktop-link-monitor.c:
* libnautilus-private/nautilus-desktop-link.c:
* libnautilus-private/nautilus-desktop-link.h:
* libnautilus-private/nautilus-directory-private.h:
* libnautilus-private/nautilus-directory.h:
* libnautilus-private/nautilus-emblem-utils.h:
* libnautilus-private/nautilus-file-changes-queue.h:
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-file-operations.h:
* libnautilus-private/nautilus-file-utilities.c:
* libnautilus-private/nautilus-file-utilities.h:
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-file.h:
* libnautilus-private/nautilus-icon-info.c:
* libnautilus-private/nautilus-icon-info.h:
* libnautilus-private/nautilus-link.c:
* libnautilus-private/nautilus-mime-actions.h:
* libnautilus-private/nautilus-mime-application-chooser.c:
* libnautilus-private/nautilus-monitor.c:
* libnautilus-private/nautilus-monitor.h:
* libnautilus-private/nautilus-open-with-dialog.c:
* libnautilus-private/nautilus-open-with-dialog.h:
* libnautilus-private/nautilus-program-choosing.c:
* libnautilus-private/nautilus-program-choosing.h:
* libnautilus-private/nautilus-progress-info.h:
* libnautilus-private/nautilus-recent.h:
* libnautilus-private/nautilus-search-directory.c:
* libnautilus-private/nautilus-search-engine-simple.c:
* libnautilus-private/nautilus-trash-monitor.c:
* libnautilus-private/nautilus-trash-monitor.h:
* libnautilus-private/nautilus-ui-utilities.c:
* libnautilus-private/nautilus-view-factory.h:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-container.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-tree-model.h:
* src/file-manager/fm-tree-view.c:
* src/nautilus-application.c:
* src/nautilus-application.h:
* src/nautilus-bookmark-list.c:
* src/nautilus-bookmark-list.h:
* src/nautilus-desktop-window.c:
* src/nautilus-image-properties-page.c:
* src/nautilus-location-entry.c:
* src/nautilus-navigation-window.c:
* src/nautilus-pathbar.c:
* src/nautilus-pathbar.h:
* src/nautilus-places-sidebar.c:
* src/nautilus-property-browser.c:
* src/nautilus-query-editor.c:
* src/nautilus-window-menus.c:
Only use <gio/gio.h> include
svn path=/trunk/; revision=13529
|
|
|
|
| |
svn path=/trunk/; revision=13464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-03-18 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/*.c:
* src/file-manager/*.c:
* src/*.c:
Use gi18n.h instead of deprecated gnome-i18n.h header.
* libnautilus-private/nautilus-query.c:
(nautilus_query_to_readable_string):
Mark string for translation.
* po/POTFILES.in:
Add nautilus-query.c
Patch from Wouter Bolsterlee <uws+gnome@xs4all.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-14 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-utilities.[ch]:
New function nautilus_ensure_unique_file_name
* libnautilus-private/nautilus-link.[ch]:
* libnautilus-private/nautilus-link-desktop-file.[ch]:
Uniquify name for nautilus_link_local_create if requested.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_handle_url_drop):
Uniquify desktop link name
Patch from Jorn Baayen <jbaayen@gnome.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-12 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/Makefile.am:
* libnautilus-private/nautilus-link-historical.c:
* libnautilus-private/nautilus-link-historical.h:
Remove historical link support.
* libnautilus-private/nautilus-link-desktop-file.[ch]:
* libnautilus-private/nautilus-link.[ch]:
Remove historical link support and unused functions.
* src/file-manager/fm-directory-view.h:
Remove unused declaration.
* src/file-manager/fm-icon-view.c:
Fix up due to small api change for nautilus-link.
* src/file-manager/fm-properties-window.c: (set_icon_callback):
Fix icon change for desktop files that point to nonexisting binaries.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-12 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-link-desktop-file.[ch]:
Make nautilus_link_desktop_file_local_create take both
display name and file name.
* libnautilus-private/nautilus-link.[ch]:
Make nautilus_link_local_create take both
display name and file name.
* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
Create desktop file ending in ".desktop".
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-09 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c: (nautilus_file_can_rename),
(nautilus_file_is_nautilus_link):
* libnautilus-private/nautilus-link.c:
(get_link_style_for_mime_type):
* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
application/x-desktop is the new desktop file mime type
|
|
|
|
|
|
|
|
| |
2003-11-19 Padraig O'Briain <padraig.obriain@sun.com>
* libnautilus-private/nautilus-link.c
(nautilus_link_get_link_info_given_file_contents): Do not return value
in function returing void. Fixes build problem.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-05 Alexander Larsson <alexl@redhat.com>
* configure.in:
Require new gnome-vfs
* components/tree/nautilus-tree-view.c:
* libnautilus-private/nautilus-desktop-link-monitor.c:
* libnautilus-private/nautilus-desktop-link.[ch]:
* libnautilus-private/nautilus-monitor.c:
* libnautilus-private/nautilus-trash-directory.c:
* libnautilus-private/nautilus-trash-monitor.[ch]:
* src/nautilus-application.c:
Use gnome-vfs-volume-manager instead of nautilus-volume-manager.c
* libnautilus-private/nautilus-desktop-icon-file.c:
Set the volume on the nautilusfile
* libnautilus-private/nautilus-directory-async.c:
Load volume info from link
* libnautilus-private/nautilus-file-attributes.h:
* libnautilus-private/nautilus-mime-actions.c:
Add new VOLUMES attribute
* libnautilus-private/nautilus-file-private.h:
Add has_volume and has_drive to NautilusFile
* libnautilus-private/nautilus-file.[ch]:
Add has_volume and has_drive to NautilusFile
Volumes/drives are sorted separately
* libnautilus-private/nautilus-link-desktop-file.[ch]:
* libnautilus-private/nautilus-link.[ch]:
Read drive and volume id from links
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/nautilus-desktop-icon-view-ui.xml:
Remove volume ops. Remove disks menu
* src/file-manager/fm-directory-view.c:
* src/file-manager/nautilus-directory-view-ui.xml:
Implement volume ops using gnome-vfs
* src/file-manager/fm-properties-window.c:
Handle drives/volumes
* src/nautilus-window.c:
Make a nicer title for some specific locations
* libnautilus-private/nautilus-volume-monitor.[ch]:
* libnautilus-private/Makefile.am
remove this old crap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-20 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-link-desktop-file.c:
(nautilus_link_desktop_file_local_create),
(nautilus_link_desktop_file_local_create_from_gnome_entry):
* libnautilus-private/nautilus-link-desktop-file.h:
* libnautilus-private/nautilus-link.c:
(nautilus_link_local_create),
(nautilus_link_local_create_from_gnome_entry):
* libnautilus-private/nautilus-link.h:
* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
Pass the screen number when creating nautilus links, fixes
#117946
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-20 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-link-desktop-file.c:
* libnautilus-private/nautilus-link-desktop-file.h:
New function nautilus_link_desktop_file_local_is_utf8.
* libnautilus-private/nautilus-link.c:
* libnautilus-private/nautilus-link.h:
New function nautilus_link_local_is_utf8.
* src/file-manager/fm-desktop-icon-view.c
(update_desktop_directory):
Recreate trash and homedir links if they are not in utf8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-07 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-file.c
(nautilus_file_can_rename): pass in info if we
have it already.
* src/file-manager/fm-desktop-icon-view.c
(update_trash_link_and_delete_copies),
(update_home_link_and_delete_copies),
(delete_all_mount_links): kill in favour of
(update_desktop_directory): so we don't stat / mime
sniff everything 3+ times.
(update_link_and_delete_copies): push this method and
it's file / sniff loop upwards.
* src/file-manager/fm-directory-view.c
(special_link_in_selection): upd.
(fm_directory_link_type_in_selection): kill, unused.
* libnautilus-private/nautilus-link.c
(get_link_style_for_local_file): operate on the passed
in GnomeVFSInfo if we have it.
* libnautilus-private/nautilus-dnd.c
(nautilus_drag_selection_includes_special_link): upd
for efficiency.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-17 Alex Graveley <alex@ximian.com>
* src/file-manager/fm-icon-view.c
(get_icon_drop_target_uri_callback): Pass file URI to
nautilus_link_*, instead of local path.
(icon_view_handle_uri_list): Ditto, for parent directory.
(icon_view_handle_uri_list): Ditto.
* src/file-manager/fm-icon-container.c
(fm_icon_container_get_icon_text): Pass file URI to
nautilus_link_*, instead of local path.
(get_sort_category): Ditto.
* src/file-manager/fm-directory-view.c
(fm_directory_link_type_in_selection): Pass file URI to
nautilus_link_*, instead of local path.
(special_link_in_selection): Ditto.
* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
Pass file URI to nautilus_link_*, instead of local path.
(trash_link_is_selection): Ditto.
(volume_link_is_selection): Ditto
(volume_link_device_type): Ditto.
* libnautilus-private/nautilus-file.c (rename_guts): Pass file URI
to nautilus_link_desktop_file_local_set_text(), handle non-local
launchers gracefully.
* libnautilus-private/nautilus-link-desktop-file.c: Use URIs
throughout, and load desktop items using
gnome_desktop_item_new_from_uri.
(nautilus_link_desktop_file_local_create): Use
gnome_desktop_item_new_from_string, instead of using fputs
directly.
* libnautilus-private/nautilus-link-historical.c: Use URIs instead
of local paths throughout.
* libnautilus-private/nautilus-link.c: Use URIs instead of local
paths throughout.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-27 Dave Emory Watson <dwatson@cs.ucr.edu>
* libnautilus-private/nautilus-link.c,
libnautilus-private/nautilus-link.h:
(nautilus_link_local_is_volume_link),
(nautilus_link_local_is_home_link),
(nautilus_link_local_is_trash_link),
(nautilus_link_local_is_special_link): Share code between different
link implementations so that home directory link behavior can be
controlled from one place.
* libnautilus-private/nautilus-link-desktop-file.c,
libnautilus-private/nautilus-link-desktop-file.h:
(nautilus_link_desktop_file_local_is_volume_link),
(nautilus_link_desktop_file_local_is_home_link),
(nautilus_link_desktop_file_local_is_trash_link): Remove.
* libnautilus-private/nautilus-link-historical.h,
libnautilus-private/nautilus-link-historical.c:
(nautilus_link_historical_local_is_volume_link),
(nautilus_link_historical_local_is_home_link),
(nautilus_link_historical_local_is_trash_link): Remove.
* libnautilus-private/nautilus-file-operations.c:
(is_special_link): Use nautilus_link_local_is_special_link.
src/file-manager/fm-directory-view.c:
(is_link_type_special): Remove.
(special_link_in_selection): Use nautilus_link_local_is_special_link.
* src/file-manager/fm-desktop-icon-view.c:
(update_home_link_and_delete_copies): Don't recreate the home directory
link when desktop==home.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-private/Makefile.am: Remove nautilus-desktop-file-loader.[ch].
* libnautilus-private/nautilus-desktop-file-loader.c: Remove.
* libnautilus-private/nautilus-desktop-file-loader.h: Remove.
* libnautilus-private/nautilus-directory-async.c:
(link_info_nautilus_link_read_callback): Pass in NULL for the new
optional URI parameter for parsing existing link files.
* libnautilus-private/nautilus-link-desktop-file.h:
* libnautilus-private/nautilus-link-desktop-file.c:
Change to use GnomeDesktopItem instead of NautilusDesktopFile.
* libnautilus-private/nautilus-link.h:
* libnautilus-private/nautilus-link.c:
(nautilus_link_get_link_uri_given_file_contents),
(nautilus_link_get_link_name_given_file_contents),
(nautilus_link_get_link_icon_given_file_contents):
Add optional URI parameter for parsing existing link files. This
is passed down to the GnomeDesktopItem level, which can sometimes
do a better job if it knows the URI.
* src/file-manager/fm-directory-view.c: (activate_callback):
Change to use GnomeDesktopItem instead of NautilusDesktopFile. Also,
simplify error handling.
* Many files:
Fix includes to use <> style in headers more consistently, and remove
unnecessarily includes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-19 jacob berkman <jacob@ximian.com>
* configure.in: require gnome-desktop library
* libnautilus-private/nautilus-icon-dnd.[ch]:
(nautilus_icon_dnd_uri_list_extract_uris),
(nautilus_icon_dnd_uri_list_free_strings): paste old gnome-mime
code here as we still need it
* libnautilus-private/nautilus-link-desktop-file.[ch]:
(nautilus_link_desktop_file_local_create_from_gnome_entry):
* libnautilus-private/nautilus-link-historical.[ch]:
(nautilus_link_historical_local_create_from_gnome_entry):
* libnautilus-private/nautilus-link.[ch]:
(nautilus_link_local_create_from_gnome_entry):
* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
port to gnome-desktop and re-enable
* src/nautilus-location-bar.c: (drag_data_received_callback): use
new uri list functions
* src/nautilus-zoom-control.c: (draw_number),
(nautilus_zoom_control_unload_images),
(nautilus_zoom_control_load_images): port to PangoLayout and
re-enable text fallback
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Require at least libxml 2.4.7, since that's
the version where xmlFree and friends were moved out of
<libxml/xmlmemory.h>.
* components/news/nautilus-news.c:
* components/text/nautilus-text-view.c:
* libnautilus-private/nautilus-customization-data.c:
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-find-icon-image.c:
* libnautilus-private/nautilus-link-desktop-file.c:
* libnautilus-private/nautilus-link-historical.c:
* libnautilus-private/nautilus-link.c:
* libnautilus-private/nautilus-metafile.c:
* libnautilus-private/nautilus-theme.c:
* libnautilus-private/nautilus-volume-monitor.c:
* src/nautilus-bookmark-list.c:
* src/nautilus-property-browser.c:
* src/nautilus-window-menus.c:
Remove unneeded include of <libxml/xmlmemory.h>.
* components/tree/nautilus-tree-model.c: (get_node_uri): New,
used only for logging ref. counts.
(decrement_ref_count): New.
(abandon_node_ref_count): New.
(abandon_dummy_row_ref_count): New.
(report_dummy_row_inserted): Do nothing if the parent is not yet
in the inserted state.
(report_dummy_row_deleted): Make it abandon any lingering ref
count that's still in the dummy row.
(report_node_inserted): Make it report that the dummy node is
inserted if the node starts with a dummy child. Also, set the new
inserted state so we know this node is live.
(report_node_contents_changed): Do nothing if the node is not
yet in the inserted state.
(report_node_has_child_toggled): Do nothing if the node is not yet
in the inserted state.
(report_dummy_row_contents_changed): Do nothing if the parent is
not yet in the inserted state.
(stop_monitoring_directory): Set done_loading to FALSE so we'll get
a dummy node for directories we are not monitoring.
(destroy_node_without_reporting): Abandon any ref count left in the
node. Also set the inserted state to FALSE before destroying children.
(destroy_node): Report if the parent gains a dummy node as a result
of destroying this node.
(update_node_without_reporting): Don't clear done_loading any more,
since stop_monitoring_directory does it now.
(reparent_node): Abandon any ref count that's still in the node
before reparenting it.
(schedule_destroy_unneeded_children): New.
(last_child_unref): Use new schedule_destroy_unneeded_children
function so we cna share code with the new abandon ref count functions.
(nautilus_tree_model_ref_node), (nautilus_tree_model_unref_node): Add
some logging for debugging purposes.
* components/tree/nautilus-tree-view.c: (compare_rows): Sort function
to use when GtkTreeModelSort works.
(create_tree): Hook up sort function.
|
|
|
|
|
|
|
|
|
| |
* libnautilus-private/nautilus-link.c:
(get_link_style_for_mime_type): Fix porting mistake that caused all
desktop files to be treated as Nautilus links.
* libnautilus-private/nautilus-file.c: (rename_callback):
Fix storage leak.
|
|
|
|
|
|
|
| |
* libnautilus-private/nautilus-file.c,
libnautilus-private/nautilus-link.c,
libnautilus-private/nautilus-mime-actions.c: Tweak headers for
latest gnome-vfs. I promise to stop messing with this now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-private/nautilus-file.c:
Remove include of gnome-vfs-mime-info.h. Also switch to
g_ascii_strcasecmp instead of g_strcasecmp.
* libnautilus-private/nautilus-icon-factory.c:
Remove includes of gnome-vfs-mime.h and gnome-vfs-mime-info.h.
* libnautilus-private/nautilus-link-desktop-file.c:
Remove include of gnome-vfs-mime.h.
* libnautilus-private/nautilus-link-historical.c:
(local_get_root_property): Rewrote to use
gnome_vfs_get_file_info. Removed include of gnome-vfs-mime.h.
* libnautilus-private/nautilus-link.c:
(get_link_style_for_mime_type): New function.
(get_link_style_for_local_file): New function, uses
gnome_vfs_get_file_info instead of gnome_vfs_get_mime_type.
(get_link_style_for_data): New function.
(nautilus_link_local_create),
(nautilus_link_local_set_icon), (nautilus_link_local_set_link_uri),
(nautilus_link_local_set_type),
(nautilus_link_local_get_additional_text),
(nautilus_link_local_get_link_uri),
(nautilus_link_local_get_link_type),
(nautilus_link_get_link_uri_given_file_contents),
(nautilus_link_get_link_name_given_file_contents),
(nautilus_link_get_link_icon_given_file_contents),
(nautilus_link_local_is_volume_link),
(nautilus_link_local_is_home_link),
(nautilus_link_local_is_trash_link),
(nautilus_link_local_create_from_gnome_entry):
Rewrote all of these to simplify and get rid of spread-out MIME
type code.
* libnautilus-private/nautilus-mime-actions.c:
Remove include of gnome-vfs-mime-info.h.
* src/Makefile.am: Remove extra dist-hook.
|
|
|
|
|
| |
* Lots of files:
libnautilus-private now compiles -- on to src
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* components/help/hyperbola-nav-index.c:
* components/help/hyperbola-nav-search.c:
* components/news/nautilus-news.c:
* components/text/nautilus-text-view.c:
* libnautilus-private/nautilus-customization-data.c:
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-directory-private.h:
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-icon-factory.c:
* libnautilus-private/nautilus-link-set.c:
* libnautilus-private/nautilus-link.c:
* libnautilus-private/nautilus-metafile.c:
* libnautilus-private/nautilus-metafile.h:
* libnautilus-private/nautilus-theme.c:
* libnautilus-private/nautilus-volume-monitor.c:
* src/nautilus-bookmark-list.c:
* src/nautilus-bookmark-parsing.c:
* src/nautilus-bookmark-parsing.h:
* src/nautilus-link-set-window.c:
* src/nautilus-main.c:
* src/nautilus-property-browser.c:
* src/nautilus-sidebar.c:
* src/nautilus-window-menus.c:
Change all libxml includes to use #include <libxml/*>
instead of #include <gnome-xml/*>.
|
|
|
|
|
| |
corresponding bugzilla.gnome.org bug. Also updated my
email address.
|