diff options
author | Darin Adler <darin@src.gnome.org> | 2001-04-24 00:46:13 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-04-24 00:46:13 +0000 |
commit | a72923da4faaeec4f15abe06cbaf1691b3a660b0 (patch) | |
tree | 2e1bd6091a9bb7ea53444016ac6343b352c19f71 /src/nautilus-application.h | |
parent | dc5c20a6fe37f363d9231bb402b555a34894cd48 (diff) | |
download | nautilus-a72923da4faaeec4f15abe06cbaf1691b3a660b0.tar.gz |
reviewed by: John Sullivan <sullivan@eazel.com>
Add a new command-line option "--no-desktop" as requested by
fcrozat on behalf of people who want to run Nautilus under KDE as
well as under GNOME. The option has no effect if Nautilus is
already running, but if it's the first invocation of Nautilus,
then no desktop-related preferences show up and the desktop is
not shown regardless of the setting of those preferences.
* src/nautilus-main.c: (main): Add the no-desktop option. Make the
desktop-related preferences invisible if it's on, and pass it down
to the NautilusApplication.
* src/nautilus-application.h:
* src/nautilus-application.c: (nautilus_application_startup):
Don't start the desktop if no_desktop is passed in. Otherwise
decide based on the preference.
* libnautilus-extensions/nautilus-preferences-box.c:
(preferences_box_find_row): Mark this private function static.
(preferences_box_populate_pane): Get rid of code that would
translate the pane_name twice.
(nautilus_preferences_dialog_new): Simplified this code a bit.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(preferences_make_user_level_filtered_key),
(nautilus_preferences_get_is_invisible),
(nautilus_preferences_set_is_invisible),
(preferences_key_make_for_getter),
(nautilus_preferences_visible_in_current_user_level),
(nautilus_preferences_is_visible): Added new flag to make a
preference invisible.
* src/nautilus-first-time-druid.h:
* src/nautilus-first-time-druid.c: (set_up_gmc_transition_page),
(nautilus_first_time_druid_show): Removed code that used to make
the druid default based on the desktop preference.
Fixed the Tinderbox.
* libnautilus-extensions/nautilus-global-preferences.c:
(default_default_folder_viewer_callback): Allow NULL because that
happens during self-check.
Diffstat (limited to 'src/nautilus-application.h')
-rw-r--r-- | src/nautilus-application.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-application.h b/src/nautilus-application.h index d8f4d020e..064205022 100644 --- a/src/nautilus-application.h +++ b/src/nautilus-application.h @@ -57,8 +57,8 @@ NautilusApplication *nautilus_application_new (void); void nautilus_application_startup (NautilusApplication *application, gboolean kill_shell, gboolean restart_shell, - gboolean start_desktop, gboolean no_default_window, + gboolean no_desktop, gboolean do_first_time_druid_check, const char *default_geometry, const char *urls[]); |