After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570733 - Get rid of gnome-config in gnome-commander
Get rid of gnome-config in gnome-commander
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: application
1.2.x
Other Linux
: Normal normal
: 2.0
Assigned To: GNOME Commander maintainer(s)
epiotr
Depends on:
Blocks: 589072
 
 
Reported: 2009-02-05 23:44 UTC by André Klapper
Modified: 2019-04-13 10:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-02-05 23:44:29 UTC
According to http://live.gnome.org/LibgnomeMustDie , gnome-config has been
replaced by GConf and GKeyFile.

See
http://library.gnome.org/devel/libgnome/stable/libgnome-gnome-config.html


./gnome-commander/libgcmd/libgcmd-data.c:    gnome_config_set_string (path, value);
./gnome-commander/libgcmd/libgcmd-data.c:    gnome_config_set_int (path, value);
./gnome-commander/libgcmd/libgcmd-data.c:    gnome_config_set_bool (path, value);
./gnome-commander/libgcmd/libgcmd-data.c:    gchar *value = gnome_config_get_string_with_default (path, &b);
./gnome-commander/libgcmd/libgcmd-data.c:    gint value = gnome_config_get_int_with_default (path, &b);
./gnome-commander/libgcmd/libgcmd-data.c:    gboolean value = gnome_config_get_bool_with_default (path, &b);
./gnome-commander/src/intviewer/viewer-utils.cc:    gchar *value = gnome_config_get_string_with_default (path, &b);
./gnome-commander/src/intviewer/viewer-utils.cc:    gint value = gnome_config_get_int_with_default (path, &b);
./gnome-commander/src/intviewer/viewer-utils.cc:    gboolean value = gnome_config_get_bool_with_default (path, &b);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_string(GVIEWER_DEFAULT_PATH_PREFIX "charset", settings.charset);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_string(GVIEWER_DEFAULT_PATH_PREFIX "fixed_font_name", settings.fixed_font_name);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_string(GVIEWER_DEFAULT_PATH_PREFIX "variable_font_name", settings.variable_font_name);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_bool(GVIEWER_DEFAULT_PATH_PREFIX "hex_offset_display", settings.hex_decimal_offset);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_bool(GVIEWER_DEFAULT_PATH_PREFIX "wrap_mode", settings.wrap_mode);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_int(GVIEWER_DEFAULT_PATH_PREFIX "font_size", settings.font_size);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_int(GVIEWER_DEFAULT_PATH_PREFIX "tab_size ", settings.tab_size);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_int(GVIEWER_DEFAULT_PATH_PREFIX "binary_bytes_per_line", settings.binary_bytes_per_line);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_int(GVIEWER_DEFAULT_PATH_PREFIX "x", settings.rect.x);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_int(GVIEWER_DEFAULT_PATH_PREFIX "y", settings.rect.y);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_int(GVIEWER_DEFAULT_PATH_PREFIX "width", settings.rect.width);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_set_int(GVIEWER_DEFAULT_PATH_PREFIX "height", settings.rect.height);
./gnome-commander/src/intviewer/viewer-window.cc:    gnome_config_sync();
./gnome-commander/src/gnome-cmd-data.cc:    gint value = gnome_config_get_int_with_default (path, &b);
./gnome-commander/src/gnome-cmd-data.cc:        gnome_config_set_int (tmp, priv->bookmark_dialog_col_width[i]);
./gnome-commander/src/gnome-cmd-data.cc:    gnome_config_clean_key (G_DIR_SEPARATOR_S PACKAGE "/quick-connect/host");
./gnome-commander/src/gnome-cmd-data.cc:    gnome_config_clean_key (G_DIR_SEPARATOR_S PACKAGE "/quick-connect/port");
./gnome-commander/src/gnome-cmd-data.cc:    gnome_config_clean_key (G_DIR_SEPARATOR_S PACKAGE "/quick-connect/user");
./gnome-commander/src/gnome-cmd-data.cc:    gnome_config_set_int ("/gnome-commander-size/main_win/width", main_win_width);
./gnome-commander/src/gnome-cmd-data.cc:    gnome_config_set_int ("/gnome-commander-size/main_win/height", main_win_height);
./gnome-commander/src/gnome-cmd-data.cc:        gnome_config_set_int (tmp, fs_col_width[i]);
./gnome-commander/src/gnome-cmd-data.cc:    gnome_config_clean_section (G_DIR_SEPARATOR_S PACKAGE "/ftp");
./gnome-commander/src/gnome-cmd-data.cc:    gnome_config_sync ();
./gnome-commander/src/gnome-cmd-user-actions.cc:    for (gpointer i=gnome_config_init_iterator(section_path.c_str()); (i=gnome_config_iterator_next(i, &key, &action_name)); )
./gnome-commander/src/gnome-cmd-user-actions.cc:    gnome_config_clean_section (section_path.c_str());
./gnome-commander/src/gnome-cmd-user-actions.cc:        gnome_config_set_string (path.c_str(), action_name.c_str());
Comment 1 Uwe Scholz 2016-08-08 19:01:16 UTC
This bug is now partially fixed in the current development branch of Gcmd: All gnome-config references have been vanished up to three occurrences in src/gnome-cmd-data.cc. Inside this source file gnome-config is still needed for the migration of the old gnome-config options into dconf via GSettings. Therefore, I'm leaving this bug open until gnome-config can be removed completely. This will happen at another stable Gcmd release > v1.6.
Comment 2 GNOME Infrastructure Team 2018-08-03 17:54:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-commander/issues/27.
Comment 3 Uwe Scholz 2019-04-13 10:38:57 UTC
Will be fixed in Gnome Commander 1.10.1.