mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
Register default folder viewer enumeration too.
2002-03-05 Anders Carlsson <andersca@gnu.org> * libnautilus-private/nautilus-global-preferences.c (nautilus_global_preferences_init_with_folder_browsing): Register default folder viewer enumeration too.
This commit is contained in:
parent
0e7e5c7153
commit
562a291711
2 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-03-05 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* libnautilus-private/nautilus-global-preferences.c
|
||||
(nautilus_global_preferences_init_with_folder_browsing):
|
||||
Register default folder viewer enumeration too.
|
||||
|
||||
2002-03-05 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* src/file-manager/fm-directory-view.c
|
||||
|
|
|
@ -911,7 +911,7 @@ void
|
|||
nautilus_global_preferences_init_with_folder_browsing (void)
|
||||
{
|
||||
static gboolean browse_initialized = FALSE;
|
||||
static const PreferenceDefault browse_def = {
|
||||
static const PreferenceDefault browse_default = {
|
||||
NAUTILUS_PREFERENCES_DEFAULT_FOLDER_VIEWER,
|
||||
PREFERENCE_INTEGER,
|
||||
NULL, default_default_folder_viewer_callback, NULL,
|
||||
|
@ -925,9 +925,12 @@ nautilus_global_preferences_init_with_folder_browsing (void)
|
|||
}
|
||||
browse_initialized = TRUE;
|
||||
|
||||
global_preferences_install_one_default (browse_def.name,
|
||||
browse_def.type,
|
||||
&browse_def);
|
||||
eel_preferences_set_enumeration_id (browse_default.name,
|
||||
browse_default.enumeration_id);
|
||||
|
||||
global_preferences_install_one_default (browse_default.name,
|
||||
browse_default.type,
|
||||
&browse_default);
|
||||
|
||||
eel_preferences_add_callback (NAUTILUS_PREFERENCES_DEFAULT_FOLDER_VIEWER,
|
||||
default_folder_viewer_changed_callback,
|
||||
|
|
Loading…
Reference in a new issue