mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
(gtk) #832: XML entity references are displayed instead of some characters
This commit is contained in:
parent
488217258a
commit
04fafeadbd
1 changed files with 2 additions and 4 deletions
|
@ -89,7 +89,7 @@ parsepath( const tr_torrent * tor,
|
|||
{
|
||||
GtkTreeModel * model;
|
||||
GtkTreeIter * parent, start, iter;
|
||||
char * file, * lower, * mykey, *escaped=0;
|
||||
char * file, * lower, * mykey;
|
||||
const char * stock;
|
||||
int priority = 0;
|
||||
gboolean enabled = TRUE;
|
||||
|
@ -135,16 +135,14 @@ parsepath( const tr_torrent * tor,
|
|||
enabled = tr_torrentGetFileDL( tor, index );
|
||||
}
|
||||
|
||||
escaped = g_markup_escape_text (file, -1);
|
||||
gtk_tree_store_set( store, &iter, FC_INDEX, index,
|
||||
FC_LABEL, escaped,
|
||||
FC_LABEL, file,
|
||||
FC_KEY, mykey,
|
||||
FC_STOCK, stock,
|
||||
FC_PRIORITY, priorityToString(priority),
|
||||
FC_ENABLED, enabled,
|
||||
FC_SIZE, size, -1 );
|
||||
done:
|
||||
g_free( escaped );
|
||||
g_free( mykey );
|
||||
g_free( lower );
|
||||
g_free( file );
|
||||
|
|
Loading…
Reference in a new issue