gnome-commander r2109 - branches/gcmd-1-3/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2109 - branches/gcmd-1-3/src
- Date: Wed, 24 Sep 2008 17:52:21 +0000 (UTC)
Author: epiotr
Date: Wed Sep 24 17:52:21 2008
New Revision: 2109
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2109&view=rev
Log:
GnomeCmdData: more C++ rework
Modified:
branches/gcmd-1-3/src/gnome-cmd-data.cc
Modified: branches/gcmd-1-3/src/gnome-cmd-data.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-data.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-data.cc Wed Sep 24 17:52:21 2008
@@ -951,7 +951,7 @@
}
-inline void void GnomeCmdData::load_cmdline_history()
+inline void GnomeCmdData::load_cmdline_history()
{
cmdline_history = load_string_history ("/cmdline-history/line%d", -1);
}
@@ -1292,7 +1292,7 @@
g_free (theme_icon_dir);
priv->document_icon_dir = gnome_cmd_data_get_string ("/options/document_icon_dir", document_icon_dir);
g_free (document_icon_dir);
- priv->cmdline_history_length = gnome_cmd_data_get_int ("/options/cmdline_history_length", 16);
+ cmdline_history_length = gnome_cmd_data_get_int ("/options/cmdline_history_length", 16);
priv->btn_relief = (GtkReliefStyle) gnome_cmd_data_get_int ("/options/btn_relief", GTK_RELIEF_NONE);
filter_type = (Filter::Type) gnome_cmd_data_get_int ("/options/filter_type", Filter::TYPE_FNMATCH);
list_orientation = gnome_cmd_data_get_bool ("/options/list_orientation", FALSE);
@@ -1642,7 +1642,7 @@
gnome_cmd_data_set_int ("/options/icon_scale_quality", priv->icon_scale_quality);
gnome_cmd_data_set_string ("/options/theme_icon_dir", priv->theme_icon_dir);
gnome_cmd_data_set_string ("/options/document_icon_dir", priv->document_icon_dir);
- gnome_cmd_data_set_int ("/options/cmdline_history_length", priv->cmdline_history_length);
+ gnome_cmd_data_set_int ("/options/cmdline_history_length", cmdline_history_length);
gnome_cmd_data_set_int ("/options/btn_relief", priv->btn_relief);
gnome_cmd_data_set_int ("/options/filter_type", filter_type);
gnome_cmd_data_set_bool ("/options/list_orientation", list_orientation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]