~ubuntu-branches/ubuntu/trusty/pcmanfm/trusty-proposed

« back to all changes in this revision

Viewing changes to src/settings.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee, Lu, Chao-Ming (Tetralet), Andrew Lee
  • Date: 2006-12-26 23:28:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061226232833-8d2ooh0v2m772zlc
Tags: 0.3.2.2-1
[ Lu, Chao-Ming (Tetralet) ]
* New upstream release 0.3.2.2.
  - Block unnecessary signal handlers to fix the performance problem
    caused when doing invert selection.
  - Fix a segfault in on_file_propertiesDlg_response triggered on 
    chown.
  - Fix let to avoid SegFault when file monitoring.
  - Mark some functions as static to avoid conflicts.
  - Invoke vfs_file_monitor_remove() with care.
  - Fix #ifdef EACCESS for FreeBSD.
  - Little fix for opening terminal with popup menu of desktop.
  - Skip desktop window in Alt+Tab.
* Applied a patch for "FTBFS on GNU/kFreeBSD (due to unsatisfied 
  Build-Depends on libhal-dev)" by 
  Petr Salinger <Petr.Salinger@seznam.cz> (Closes:#404050)

[ Andrew Lee ]
* Taken a entry from Enrico Zini's blog to README.Debian for how to
  replace nautilus with pcmanfm and provide genconf.sh 

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
typedef void ( *SettingsParseFunc ) ( char* line );
35
35
 
36
 
void color_from_str( GdkColor* ret, const char* value );
37
 
void save_color( FILE* file, const char* name, 
 
36
static void color_from_str( GdkColor* ret, const char* value );
 
37
static void save_color( FILE* file, const char* name, 
38
38
                 GdkColor* color );
39
39
 
40
 
void parse_general_settings( char* line )
 
40
static void parse_general_settings( char* line )
41
41
{
42
42
    char * sep = strstr( line, "=" );
43
43
    char* name;
97
97
    */
98
98
}
99
99
 
100
 
void color_from_str( GdkColor* ret, const char* value )
 
100
static void color_from_str( GdkColor* ret, const char* value )
101
101
{
102
102
    sscanf( value, "%d,%d,%d", 
103
103
            &ret->red, &ret->green, &ret->blue );
104
104
}
105
105
 
106
 
void save_color( FILE* file, const char* name, GdkColor* color )
 
106
static void save_color( FILE* file, const char* name, GdkColor* color )
107
107
{
108
108
    fprintf( file, "%s=%d,%d,%d\n", name, 
109
109
             color->red, color->green, color->blue );
110
110
}
111
111
 
112
 
void parse_window_state( char* line )
 
112
static void parse_window_state( char* line )
113
113
{
114
114
    char * sep = strstr( line, "=" );
115
115
    char* name;
137
137
    }
138
138
}
139
139
 
140
 
void parse_desktop_settings( char* line )
 
140
static void parse_desktop_settings( char* line )
141
141
{
142
142
    char * sep = strstr( line, "=" );
143
143
    char* name;