Example #1
0
 def BeginTemplate(self):
     app_name = plist_helper.GetPlistFriendlyName(self.config['app_name'])
     if self._GetChromiumVersionString() is not None:
         self.WriteComment(self.config['build'] + ''' version: ''' + \
             self._GetChromiumVersionString())
     self._AddToStringTable(app_name, self.config['app_name'],
                            self.messages['mac_chrome_preferences']['text'])
Example #2
0
    def BeginTemplate(self):
        self._plist.attributes['version'] = '1'
        dict = self.AddElement(self._plist, 'dict')

        app_name = plist_helper.GetPlistFriendlyName(self.config['app_name'])
        self._AddStringKeyValuePair(dict, 'pfm_name', app_name)
        self._AddStringKeyValuePair(dict, 'pfm_description', '')
        self._AddStringKeyValuePair(dict, 'pfm_title', '')
        self._AddStringKeyValuePair(dict, 'pfm_version', '1')
        self._AddStringKeyValuePair(dict, 'pfm_domain',
                                    self.config['mac_bundle_id'])

        self._array = self._AddKeyValuePair(dict, 'pfm_subkeys', 'array')
Example #3
0
    def BeginTemplate(self):
        self._plist.attributes['version'] = '1'
        dict = self.AddElement(self._plist, 'dict')
        if self._GetChromiumVersionString() is not None:
            self.AddComment(self._plist, self.config['build'] + ' version: ' + \
                self._GetChromiumVersionString())
        app_name = plist_helper.GetPlistFriendlyName(self.config['app_name'])
        self._AddStringKeyValuePair(dict, 'pfm_name', app_name)
        self._AddStringKeyValuePair(dict, 'pfm_description', '')
        self._AddStringKeyValuePair(dict, 'pfm_title', '')
        self._AddRealKeyValuePair(dict, 'pfm_version', '1')
        self._AddStringKeyValuePair(dict, 'pfm_domain',
                                    self.config['mac_bundle_id'])

        self._array = self._AddKeyValuePair(dict, 'pfm_subkeys', 'array')
 def BeginTemplate(self):
     app_name = plist_helper.GetPlistFriendlyName(self.config['app_name'])
     self._AddToStringTable(app_name, self.config['app_name'],
                            self.messages['mac_chrome_preferences']['text'])
 def BeginTemplate(self):
     app_name = plist_helper.GetPlistFriendlyName(self.config['app_name'])
     self._AddToStringTable(
         app_name, self.config['app_name'],
         self.messages['IDS_POLICY_MAC_CHROME_PREFERENCES'])