[gnome-commander] XML config: set name of SearchConfig default_profile to "Default"



commit 671990ef82ec6bcc7ee9a1a59f141598161f5edb
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Apr 28 21:20:01 2011 +0200

    XML config: set name of SearchConfig default_profile to "Default"

 src/gnome-cmd-data.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index bde9ec6..e0313cd 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -96,7 +96,7 @@ struct GnomeCmdData
         SearchConfig(): width(600), height(400),
                         name_patterns(SEARCH_HISTORY_SIZE),
                         directories(SEARCH_HISTORY_SIZE),
-                        content_patterns(SEARCH_HISTORY_SIZE)   {}
+                        content_patterns(SEARCH_HISTORY_SIZE)   {  default_profile.name = "Default";  }
 
         friend XML::xstream &operator << (XML::xstream &xml, SearchConfig &cfg);
     };



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