gnome-commander r2460 - branches/gcmd-1-3/src



Author: epiotr
Date: Wed Feb 11 17:28:12 2009
New Revision: 2460
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2460&view=rev

Log:
GnomeCmdData: more C++ rework

Modified:
   branches/gcmd-1-3/src/gnome-cmd-data.cc
   branches/gcmd-1-3/src/gnome-cmd-data.h

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 Feb 11 17:28:12 2009
@@ -68,7 +68,6 @@
     gchar                *symlink_prefix;
 
     gchar                *ftp_anonymous_password;
-    gchar *mime_editor;
 };
 
 
@@ -1167,8 +1166,6 @@
         // free the font name strings
         g_free (priv->list_font);
 
-        g_free (priv->mime_editor);
-
         g_free (priv);
     }
 }
@@ -1364,7 +1361,7 @@
     editor = gnome_cmd_data_get_string ("/programs/editor", "gedit %s");
     differ = gnome_cmd_data_get_string ("/programs/differ", "meld %s");
     term   = gnome_cmd_data_get_string ("/programs/terminal", "xterm -hold -e %s");
-    mime_editor   = gnome_cmd_data_get_string ("/programs/mime_editor", "gnome-file-types-properties");
+    mime_editor = gnome_cmd_data_get_string ("/programs/mime_editor", "gnome-file-types-properties");
 
     use_gcmd_block = gnome_cmd_data_get_bool ("/programs/use_gcmd_block", FALSE);
 

Modified: branches/gcmd-1-3/src/gnome-cmd-data.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-data.h	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-data.h	Wed Feb 11 17:28:12 2009
@@ -277,9 +277,6 @@
 const gchar *gnome_cmd_data_get_list_font ();
 void gnome_cmd_data_set_list_font (const gchar *list_font);
 
-const gchar *gnome_cmd_data_get_mime_editor ();
-void gnome_cmd_data_set_mime_editor (const gchar *shell);
-
 const gchar *gnome_cmd_data_get_theme_icon_dir ();
 void gnome_cmd_data_set_theme_icon_dir (const gchar *dir);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]