~ubuntu-branches/ubuntu/lucid/nautilus-actions/lucid

« back to all changes in this revision

Viewing changes to libnautilus-actions/nautilus-actions-config-gconf-reader.c

  • Committer: Bazaar Package Importer
  • Author(s): Christine Spang
  • Date: 2006-05-02 21:15:03 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060502211503-ygoa8zap193bi9gq
Tags: 1.2-1
* New upstream release.
  - Add support for filtering using mimetypes of selected files
  - Add support for choice about case sensitiveness of file patterns
  - New Tango style icons
  - Grammar and spelling errors fixed
  - Fix segfault when defining an action with an empty file pattern
  - Fix a crash when selecting a cdrom drive with Nautilus 2.14
  - Added Bengali translation; others updated
  - Other minor bugfixes
* Bumped standards version to 2.7.0.0; no change.
* Added debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <config.h>
25
25
#include <uuid/uuid.h>
 
26
#include <string.h>
26
27
#include "nautilus-actions-config-gconf-reader.h"
27
28
#include "nautilus-actions-config-gconf-private.h"
28
29
 
167
168
                        g_slist_foreach (list, (GFunc)g_free, NULL);
168
169
                        g_slist_free (list);
169
170
                }
 
171
                else if (g_str_has_suffix (key, ACTION_MATCHCASE_ENTRY))
 
172
                {
 
173
                        nautilus_actions_config_action_set_match_case (action, gconf_value_get_bool (value));
 
174
                }
 
175
                else if (g_str_has_suffix (key, ACTION_MIMETYPES_ENTRY))
 
176
                {
 
177
                        list = NULL;
 
178
                        g_slist_foreach (gconf_value_get_list (value), (GFunc) copy_list, &list);
 
179
                        nautilus_actions_config_action_set_mimetypes (action, list);
 
180
                        g_slist_foreach (list, (GFunc)g_free, NULL);
 
181
                        g_slist_free (list);
 
182
                }
170
183
                else if (g_str_has_suffix (key, ACTION_ISFILE_ENTRY))
171
184
                {
172
185
                        nautilus_actions_config_action_set_is_file (action, gconf_value_get_bool (value));