Commit 963067da authored by Emmanuele Bassi's avatar Emmanuele Bassi Committed by Emmanuele Bassi

Mark string for translation. (#439437)

2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
	string for translation. (#439437)

svn path=/trunk/; revision=17865
parent 46703032
2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
string for translation. (#439437)
2007-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
......
......@@ -971,11 +971,8 @@ recent_meta_data_func (GtkTreeViewColumn *tree_column,
gpointer user_data)
{
GtkRecentInfo *info = NULL;
gchar *uri;
gchar *name;
GString *data;
data = g_string_new (NULL);
gchar *uri, *name;
gchar *str;
gtk_tree_model_get (model, iter,
RECENT_DISPLAY_NAME_COLUMN, &name,
......@@ -987,18 +984,13 @@ recent_meta_data_func (GtkTreeViewColumn *tree_column,
if (!name)
name = gtk_recent_info_get_short_name (info);
g_string_append_printf (data,
"<b>%s</b>\n"
"<small>Location: %s</small>",
name,
uri);
str = g_strconcat ("<b>", name, "</b>\n",
"<small>", _("Location:"), " ", uri, "</small>",
NULL);
g_object_set (cell,
"markup", data->str,
NULL);
g_object_set (cell, "markup", str, NULL);
g_string_free (data, TRUE);
g_free (uri);
g_free (name);
gtk_recent_info_unref (info);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment