~bcurtiswx/ubuntu/precise/empathy/3.4.2.3-0ubuntu1

« back to all changes in this revision

Viewing changes to src/empathy-about-dialog.c

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-21 15:12:56 UTC
  • mfrom: (1.1.84)
  • Revision ID: package-import@ubuntu.com-20111221151256-9b1pny75wphfmqd6
Tags: 3.3.3-0ubuntu1
* New upstream version
  - Require folks >= 0.6.6 (LP: #907501)
* debian/control
  - bump build depends for folks to >= 0.6.6
* debian/watch
  - use the .xz file

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
           "GNU General Public License for more details."),
89
89
        N_("You should have received a copy of the GNU General Public License "
90
90
           "along with Empathy; if not, write to the Free Software Foundation, Inc., "
91
 
           "51 Franklin Street, Fifth Floor, Boston, MA 02110-130159 USA")
 
91
           "51 Franklin Street, Fifth Floor, Boston, MA 02110-130159 USA"),
 
92
        NULL
92
93
};
93
94
 
94
95
void
95
96
empathy_about_dialog_new (GtkWindow *parent)
96
97
{
97
 
        gchar *license_trans;
98
 
 
99
 
        license_trans = g_strconcat (_(license[0]), "\n\n",
100
 
                                     _(license[1]), "\n\n",
101
 
                                     _(license[2]), "\n\n",
102
 
                                     NULL);
103
 
 
 
98
        GString *license_trans = g_string_new (NULL);
 
99
        int i;
 
100
 
 
101
        for (i = 0; license[i] != NULL; i++) {
 
102
                g_string_append (license_trans, _(license[i]));
 
103
                g_string_append (license_trans, "\n\n");
 
104
 
 
105
        }
104
106
        gtk_show_about_dialog (parent,
105
107
                               "artists", artists,
106
108
                               "authors", authors,
107
109
                               "comments", _("An Instant Messaging client for GNOME"),
108
 
                               "license", license_trans,
 
110
                               "license", license_trans->str,
109
111
                               "wrap-license", TRUE,
110
112
                               "copyright", "Imendio AB 2002-2007\nCollabora Ltd 2007-2011",
111
113
                               "documenters", documenters,
115
117
                               "website", WEB_SITE,
116
118
                               NULL);
117
119
 
118
 
        g_free (license_trans);
 
120
        g_string_free (license_trans, TRUE);
119
121
}
120
122
 
121
123