~ubuntu-branches/ubuntu/trusty/gimp/trusty

« back to all changes in this revision

Viewing changes to plug-ins/print/print-settings.c

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-08-14 09:57:17 UTC
  • mto: (1.1.21 upstream) (0.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090814095717-37dh2xqy5t0rurpk
ImportĀ upstreamĀ versionĀ 2.6.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
{
80
80
  GKeyFile *key_file = print_settings_key_file_from_settings (data);
81
81
 
82
 
  print_utils_key_file_save_as_rcfile (key_file, PRINT_SETTINGS_NAME);
83
 
 
84
82
  /* image setup */
85
83
  if (gimp_image_is_valid (data->image_id))
86
84
    {
104
102
                                             PRINT_SETTINGS_NAME);
105
103
    }
106
104
 
 
105
  /* some settings shouldn't be made persistent on a global level,
 
106
   * so they are only stored in the image, not in the rcfile
 
107
   */
 
108
  g_key_file_remove_key (key_file, PRINT_SETTINGS_NAME, "n-copies", NULL);
 
109
 
 
110
  print_utils_key_file_save_as_rcfile (key_file, PRINT_SETTINGS_NAME);
 
111
 
107
112
  g_key_file_free (key_file);
108
113
}
109
114