diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-11-06 16:07:05 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2003-11-06 16:07:05 +0000 |
commit | e162b7dceb9596fa4a7d8a898d64b7c9031fd654 (patch) | |
tree | e7d763186488c9bb899f400f41ff8d41d2768573 /libnautilus-private/nautilus-global-preferences.c | |
parent | 3613a86b2039395b3ee229c901a00e35b85865b6 (diff) | |
download | nautilus-e162b7dceb9596fa4a7d8a898d64b7c9031fd654.tar.gz |
New desktop files
2003-11-06 Alexander Larsson <alexl@redhat.com>
* Makefile.am:
* nautilus-computer.desktop.in:
* nautilus-home.desktop.in:
New desktop files
* nautilus.desktop.in:
Make this one "browse filesystem"
* libnautilus-private/apps_nautilus_preferences.schemas.in:
* libnautilus-private/nautilus-global-preferences.c:
* libnautilus-private/nautilus-global-preferences.h:
computer desktop icon prefs
* libnautilus-private/nautilus-desktop-icon-file.c:
(update_info_from_link): Set permissions too
* libnautilus-private/nautilus-desktop-link-monitor.c:
* libnautilus-private/nautilus-desktop-link.[ch]:
Add computer icon
* src/Makefile.am:
* src/nautilus-connect-server-dialog.[ch]:
Connect server dialog
* src/file-manager/fm-directory-view.c:
Mount drives on activation.
* src/file-manager/fm-icon-container.c:
Sort computer first
* src/file-manager/fm-properties-window.c:
Put back NautilusDesktopLink handling for e.g. computer and home.
* src/nautilus-application.[ch]:
Reload dirs on mounts.
add browser_window argument on open window
* src/nautilus-main.c:
add browser_window argument on open window (--browser)
hack to register computer icon
* src/nautilus-shell-interface.idl:
* src/nautilus-shell.c:
add browser_window argument on open window
* src/nautilus-navigation-window-ui.xml:
* src/nautilus-spatial-window-ui.xml:
* src/nautilus-window-menus.c:
Add connect to server
Add computer
* src/nautilus-window.c:
Nice title for burn:///
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.c')
-rw-r--r-- | libnautilus-private/nautilus-global-preferences.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c index 252dd7889..29fb25dc4 100644 --- a/libnautilus-private/nautilus-global-preferences.c +++ b/libnautilus-private/nautilus-global-preferences.c @@ -56,6 +56,7 @@ static gpointer default_home_location_callback (void); static gpointer default_default_folder_viewer_callback (void); static void import_old_preferences_if_needed (void); static gpointer default_home_link_name (void); +static gpointer default_computer_link_name (void); static gpointer default_trash_link_name (void); /* An enumeration used for installing type specific preferences defaults. */ @@ -488,7 +489,7 @@ static const PreferenceDefault preference_defaults[] = { /* Desktop Preferences */ { NAUTILUS_PREFERENCES_DESKTOP_HOME_VISIBLE, PREFERENCE_BOOLEAN, - GINT_TO_POINTER (TRUE) + GINT_TO_POINTER (FALSE) }, { NAUTILUS_PREFERENCES_DESKTOP_HOME_NAME, @@ -497,6 +498,17 @@ static const PreferenceDefault preference_defaults[] = { default_home_link_name, g_free, }, + { NAUTILUS_PREFERENCES_DESKTOP_COMPUTER_VISIBLE, + PREFERENCE_BOOLEAN, + GINT_TO_POINTER (TRUE) + }, + + { NAUTILUS_PREFERENCES_DESKTOP_COMPUTER_NAME, + PREFERENCE_STRING, + NULL, + default_computer_link_name, g_free, + }, + { NAUTILUS_PREFERENCES_DESKTOP_TRASH_VISIBLE, PREFERENCE_BOOLEAN, GINT_TO_POINTER (TRUE) @@ -532,6 +544,12 @@ default_home_link_name (void) } static gpointer +default_computer_link_name (void) +{ + return g_strdup (_("Computer")); +} + +static gpointer default_trash_link_name (void) { return g_strdup (_("Trash")); |