aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-05-31 06:41:45 +0000
committerChristian Grothoff <christian@grothoff.org>2007-05-31 06:41:45 +0000
commit87fd732d540c7097eb0f772be8ac610181cc2dc7 (patch)
tree1801870d1c279bf08b811afd29e51e9a2560fa49
parent5c7d3972327cfb5520d6e3d01cb50830f8ae098b (diff)
downloadgnunet-gtk-87fd732d540c7097eb0f772be8ac610181cc2dc7.tar.gz
gnunet-gtk-87fd732d540c7097eb0f772be8ac610181cc2dc7.zip
color coded search results
-rw-r--r--TODO17
-rw-r--r--po/de.gmobin21847 -> 21713 bytes
-rw-r--r--po/de.po27
-rw-r--r--po/fr.gmobin55049 -> 55049 bytes
-rw-r--r--po/fr.po26
-rw-r--r--po/gnunet-gtk.pot26
-rw-r--r--po/rw.gmobin736 -> 736 bytes
-rw-r--r--po/rw.po26
-rw-r--r--po/sv.gmobin51863 -> 51863 bytes
-rw-r--r--po/sv.po26
-rw-r--r--po/tr.gmobin54550 -> 54550 bytes
-rw-r--r--po/tr.po26
-rw-r--r--po/vi.gmobin11003 -> 11003 bytes
-rw-r--r--po/vi.po26
-rw-r--r--src/plugins/fs/download.c19
-rw-r--r--src/plugins/fs/fs.c22
-rw-r--r--src/plugins/fs/fs.h4
-rw-r--r--src/plugins/fs/search.c19
18 files changed, 160 insertions, 104 deletions
diff --git a/TODO b/TODO
index fee4af64..96084478 100644
--- a/TODO
+++ b/TODO
@@ -11,12 +11,12 @@ Notes:
11 Oh, and this is of course just a plan. And plans always change. 11 Oh, and this is of course just a plan. And plans always change.
12 12
130.7.2 (goal: re-enable all 0.7.0 features): 130.7.2 (goal: re-enable all 0.7.0 features):
14- create custom gtk logger (via memory logger?) 14- #917 (peer-info view)
15- color-coding of pending/completion of search results 15- #939 zero anonymity warning
16 should be made persistent (currently reverts to white 16- create custom gtk logger (via memory logger?) [see also #1027]
17 when gnunet-gtk is stopped and restarted); also need 17
18 to add color for results previously downloaded 180.7.2a:
19- re-enable advanced/namespace menus [pre1] 19- re-enable advanced/namespace menus
20 + namespace creation 20 + namespace creation
21 + namespace update 21 + namespace update
22 + namespace search 22 + namespace search
@@ -29,8 +29,8 @@ Notes:
29 * use new namespace APIs 29 * use new namespace APIs
30 * clean, short namespace search URIs 30 * clean, short namespace search URIs
31 31
32
320.7.3 (goal: polish): 330.7.3 (goal: polish):
33- #917 (peer-info view)
34- pop-up dialogs / context menus (show extra information, 34- pop-up dialogs / context menus (show extra information,
35 in particular full metadata) [ medium ] 35 in particular full metadata) [ medium ]
36- add right button popup menu operations for 36- add right button popup menu operations for
@@ -40,7 +40,8 @@ Notes:
40 pattern that must be matched for the lines to be displayed 40 pattern that must be matched for the lines to be displayed
41 (to further prune search results, for example) 41 (to further prune search results, for example)
42- gnunet-setup plugin 42- gnunet-setup plugin
43- gnunet-peer-info plugin 43- #1045 ability to pause a search
44- announce newly found namespaces to user -- #1040
44 45
450.7.4 (goal: expand features): 460.7.4 (goal: expand features):
46- chat 47- chat
diff --git a/po/de.gmo b/po/de.gmo
index e1ea0d4c..0aa8de61 100644
--- a/po/de.gmo
+++ b/po/de.gmo
Binary files differ
diff --git a/po/de.po b/po/de.po
index d2e1ae60..ef7a789b 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: GNUnet 0.7.0pre0\n" 9"Project-Id-Version: GNUnet 0.7.0pre0\n"
10"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n" 10"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n"
11"POT-Creation-Date: 2007-02-28 21:37-0700\n" 11"POT-Creation-Date: 2007-03-25 14:37-0600\n"
12"PO-Revision-Date: 2006-03-17 21:18+0100\n" 12"PO-Revision-Date: 2006-03-17 21:18+0100\n"
13"Last-Translator: Nils Durner <durner@gnunet.org>\n" 13"Last-Translator: Nils Durner <durner@gnunet.org>\n"
14"Language-Team: German <de@li.org>\n" 14"Language-Team: German <de@li.org>\n"
@@ -26,7 +26,8 @@ msgid "Show credits"
26msgstr "Credits anzeigen" 26msgstr "Credits anzeigen"
27 27
28#: gnunet-gtk.glade:90 28#: gnunet-gtk.glade:90
29msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1b</span>" 29#, fuzzy
30msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1c</span>"
30msgstr "<span size=\"x-large\">Willkommen bei gnunet-gtk 0.7.1b</span>" 31msgstr "<span size=\"x-large\">Willkommen bei gnunet-gtk 0.7.1b</span>"
31 32
32#: gnunet-gtk.glade:122 33#: gnunet-gtk.glade:122
@@ -1619,53 +1620,53 @@ msgstr ""
1619msgid "Location URIs are not yet supported" 1620msgid "Location URIs are not yet supported"
1620msgstr "" 1621msgstr ""
1621 1622
1622#: src/plugins/stats/functions.c:514 1623#: src/plugins/stats/functions.c:540
1623msgid "Connectivity" 1624msgid "Connectivity"
1624msgstr "Konnektivität" 1625msgstr "Konnektivität"
1625 1626
1626#: src/plugins/stats/functions.c:515 1627#: src/plugins/stats/functions.c:541
1627msgid "# connected nodes (100% = connection table size)" 1628msgid "# connected nodes (100% = connection table size)"
1628msgstr "# verbundener Knoten (100% = Größe der Verbindungstabelle)" 1629msgstr "# verbundener Knoten (100% = Größe der Verbindungstabelle)"
1629 1630
1630#: src/plugins/stats/functions.c:522 1631#: src/plugins/stats/functions.c:548
1631msgid "System load" 1632msgid "System load"
1632msgstr "" 1633msgstr ""
1633 1634
1634#: src/plugins/stats/functions.c:523 1635#: src/plugins/stats/functions.c:549
1635msgid "" 1636msgid ""
1636"CPU load (red), IO load (green), Network upload (yellow), Network download " 1637"CPU load (red), IO load (green), Network upload (yellow), Network download "
1637"(blue)" 1638"(blue)"
1638msgstr "" 1639msgstr ""
1639 1640
1640#: src/plugins/stats/functions.c:530 1641#: src/plugins/stats/functions.c:556
1641msgid "Datastore capacity" 1642msgid "Datastore capacity"
1642msgstr "" 1643msgstr ""
1643 1644
1644#: src/plugins/stats/functions.c:531 1645#: src/plugins/stats/functions.c:557
1645#, fuzzy 1646#, fuzzy
1646msgid "Data in datastore (in percent of allowed quota)" 1647msgid "Data in datastore (in percent of allowed quota)"
1647msgstr "CPU Last (in Prozent der erlaubten Last)" 1648msgstr "CPU Last (in Prozent der erlaubten Last)"
1648 1649
1649#: src/plugins/stats/functions.c:538 1650#: src/plugins/stats/functions.c:564
1650msgid "Inbound Traffic" 1651msgid "Inbound Traffic"
1651msgstr "Eingehender Netzwerkverkehr" 1652msgstr "Eingehender Netzwerkverkehr"
1652 1653
1653#: src/plugins/stats/functions.c:539 src/plugins/stats/functions.c:547 1654#: src/plugins/stats/functions.c:565 src/plugins/stats/functions.c:573
1654#, fuzzy 1655#, fuzzy
1655msgid "" 1656msgid ""
1656"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), " 1657"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), "
1657"limit (magenta)" 1658"limit (magenta)"
1658msgstr "Lärm (Rot), Inhalt (Grün), Anfragen (Gelb), Andere (Blau)" 1659msgstr "Lärm (Rot), Inhalt (Grün), Anfragen (Gelb), Andere (Blau)"
1659 1660
1660#: src/plugins/stats/functions.c:546 1661#: src/plugins/stats/functions.c:572
1661msgid "Outbound Traffic" 1662msgid "Outbound Traffic"
1662msgstr "Ausgehender Netzwerkverkehr" 1663msgstr "Ausgehender Netzwerkverkehr"
1663 1664
1664#: src/plugins/stats/functions.c:554 1665#: src/plugins/stats/functions.c:580
1665msgid "Routing Effectiveness" 1666msgid "Routing Effectiveness"
1666msgstr "" 1667msgstr ""
1667 1668
1668#: src/plugins/stats/functions.c:555 1669#: src/plugins/stats/functions.c:581
1669msgid "Current (red) and average (green) effectiveness (100% = perfect)" 1670msgid "Current (red) and average (green) effectiveness (100% = perfect)"
1670msgstr "" 1671msgstr ""
1671 1672
diff --git a/po/fr.gmo b/po/fr.gmo
index 12f3396b..5bb89239 100644
--- a/po/fr.gmo
+++ b/po/fr.gmo
Binary files differ
diff --git a/po/fr.po b/po/fr.po
index c4017fc0..d7207d36 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
7msgstr "" 7msgstr ""
8"Project-Id-Version: gnunet-gtk 0.7.0b\n" 8"Project-Id-Version: gnunet-gtk 0.7.0b\n"
9"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n" 9"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n"
10"POT-Creation-Date: 2007-02-28 21:37-0700\n" 10"POT-Creation-Date: 2007-03-25 14:37-0600\n"
11"PO-Revision-Date: 2006-06-24 18:08+0200\n" 11"PO-Revision-Date: 2006-06-24 18:08+0200\n"
12"Last-Translator: Milan <nalimilan@club.fr>\n" 12"Last-Translator: Milan <nalimilan@club.fr>\n"
13"Language-Team: French <gnomefr@traduc.org>\n" 13"Language-Team: French <gnomefr@traduc.org>\n"
@@ -25,7 +25,7 @@ msgstr "Voir les crédits"
25 25
26#: gnunet-gtk.glade:90 26#: gnunet-gtk.glade:90
27#, fuzzy 27#, fuzzy
28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1b</span>" 28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1c</span>"
29msgstr "<span size=\"x-large\">Bienvenue dans gnunet-gtk 0.7.0e</span>" 29msgstr "<span size=\"x-large\">Bienvenue dans gnunet-gtk 0.7.0e</span>"
30 30
31#: gnunet-gtk.glade:122 31#: gnunet-gtk.glade:122
@@ -1932,38 +1932,38 @@ msgstr "Utilisez la fonction de recherche pour les URI de mots-clés (KSK) !"
1932msgid "Location URIs are not yet supported" 1932msgid "Location URIs are not yet supported"
1933msgstr "Les URI de lieu ne sont pas encore supportées." 1933msgstr "Les URI de lieu ne sont pas encore supportées."
1934 1934
1935#: src/plugins/stats/functions.c:514 1935#: src/plugins/stats/functions.c:540
1936msgid "Connectivity" 1936msgid "Connectivity"
1937msgstr "Connexions" 1937msgstr "Connexions"
1938 1938
1939#: src/plugins/stats/functions.c:515 1939#: src/plugins/stats/functions.c:541
1940msgid "# connected nodes (100% = connection table size)" 1940msgid "# connected nodes (100% = connection table size)"
1941msgstr "Nombre de noeuds connectés (100% = taille de la table de connexion)" 1941msgstr "Nombre de noeuds connectés (100% = taille de la table de connexion)"
1942 1942
1943#: src/plugins/stats/functions.c:522 1943#: src/plugins/stats/functions.c:548
1944msgid "System load" 1944msgid "System load"
1945msgstr "" 1945msgstr ""
1946 1946
1947#: src/plugins/stats/functions.c:523 1947#: src/plugins/stats/functions.c:549
1948msgid "" 1948msgid ""
1949"CPU load (red), IO load (green), Network upload (yellow), Network download " 1949"CPU load (red), IO load (green), Network upload (yellow), Network download "
1950"(blue)" 1950"(blue)"
1951msgstr "" 1951msgstr ""
1952 1952
1953#: src/plugins/stats/functions.c:530 1953#: src/plugins/stats/functions.c:556
1954msgid "Datastore capacity" 1954msgid "Datastore capacity"
1955msgstr "" 1955msgstr ""
1956 1956
1957#: src/plugins/stats/functions.c:531 1957#: src/plugins/stats/functions.c:557
1958#, fuzzy 1958#, fuzzy
1959msgid "Data in datastore (in percent of allowed quota)" 1959msgid "Data in datastore (in percent of allowed quota)"
1960msgstr "Charge du processeur (en pourcentage de la charge allouée)" 1960msgstr "Charge du processeur (en pourcentage de la charge allouée)"
1961 1961
1962#: src/plugins/stats/functions.c:538 1962#: src/plugins/stats/functions.c:564
1963msgid "Inbound Traffic" 1963msgid "Inbound Traffic"
1964msgstr "Traffic entrant" 1964msgstr "Traffic entrant"
1965 1965
1966#: src/plugins/stats/functions.c:539 src/plugins/stats/functions.c:547 1966#: src/plugins/stats/functions.c:565 src/plugins/stats/functions.c:573
1967#, fuzzy 1967#, fuzzy
1968msgid "" 1968msgid ""
1969"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), " 1969"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), "
@@ -1972,15 +1972,15 @@ msgstr ""
1972"Bruit (rouge), Contenu (vert), Requêtes (jaune), Annonces de présence " 1972"Bruit (rouge), Contenu (vert), Requêtes (jaune), Annonces de présence "
1973"(bleu), autre (gris)" 1973"(bleu), autre (gris)"
1974 1974
1975#: src/plugins/stats/functions.c:546 1975#: src/plugins/stats/functions.c:572
1976msgid "Outbound Traffic" 1976msgid "Outbound Traffic"
1977msgstr "Traffic sortant" 1977msgstr "Traffic sortant"
1978 1978
1979#: src/plugins/stats/functions.c:554 1979#: src/plugins/stats/functions.c:580
1980msgid "Routing Effectiveness" 1980msgid "Routing Effectiveness"
1981msgstr "Efficacité du routage" 1981msgstr "Efficacité du routage"
1982 1982
1983#: src/plugins/stats/functions.c:555 1983#: src/plugins/stats/functions.c:581
1984msgid "Current (red) and average (green) effectiveness (100% = perfect)" 1984msgid "Current (red) and average (green) effectiveness (100% = perfect)"
1985msgstr "Efficacité courante (rouge) et moyenne (vert) (100% = parfaite)" 1985msgstr "Efficacité courante (rouge) et moyenne (vert) (100% = parfaite)"
1986 1986
diff --git a/po/gnunet-gtk.pot b/po/gnunet-gtk.pot
index 77413583..43f2fe87 100644
--- a/po/gnunet-gtk.pot
+++ b/po/gnunet-gtk.pot
@@ -8,7 +8,7 @@ msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n" 9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n" 10"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n"
11"POT-Creation-Date: 2007-02-28 21:37-0700\n" 11"POT-Creation-Date: 2007-03-25 14:37-0600\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n" 14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -25,7 +25,7 @@ msgid "Show credits"
25msgstr "" 25msgstr ""
26 26
27#: gnunet-gtk.glade:90 27#: gnunet-gtk.glade:90
28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1b</span>" 28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1c</span>"
29msgstr "" 29msgstr ""
30 30
31#: gnunet-gtk.glade:122 31#: gnunet-gtk.glade:122
@@ -1468,51 +1468,51 @@ msgstr ""
1468msgid "Location URIs are not yet supported" 1468msgid "Location URIs are not yet supported"
1469msgstr "" 1469msgstr ""
1470 1470
1471#: src/plugins/stats/functions.c:514 1471#: src/plugins/stats/functions.c:540
1472msgid "Connectivity" 1472msgid "Connectivity"
1473msgstr "" 1473msgstr ""
1474 1474
1475#: src/plugins/stats/functions.c:515 1475#: src/plugins/stats/functions.c:541
1476msgid "# connected nodes (100% = connection table size)" 1476msgid "# connected nodes (100% = connection table size)"
1477msgstr "" 1477msgstr ""
1478 1478
1479#: src/plugins/stats/functions.c:522 1479#: src/plugins/stats/functions.c:548
1480msgid "System load" 1480msgid "System load"
1481msgstr "" 1481msgstr ""
1482 1482
1483#: src/plugins/stats/functions.c:523 1483#: src/plugins/stats/functions.c:549
1484msgid "" 1484msgid ""
1485"CPU load (red), IO load (green), Network upload (yellow), Network download " 1485"CPU load (red), IO load (green), Network upload (yellow), Network download "
1486"(blue)" 1486"(blue)"
1487msgstr "" 1487msgstr ""
1488 1488
1489#: src/plugins/stats/functions.c:530 1489#: src/plugins/stats/functions.c:556
1490msgid "Datastore capacity" 1490msgid "Datastore capacity"
1491msgstr "" 1491msgstr ""
1492 1492
1493#: src/plugins/stats/functions.c:531 1493#: src/plugins/stats/functions.c:557
1494msgid "Data in datastore (in percent of allowed quota)" 1494msgid "Data in datastore (in percent of allowed quota)"
1495msgstr "" 1495msgstr ""
1496 1496
1497#: src/plugins/stats/functions.c:538 1497#: src/plugins/stats/functions.c:564
1498msgid "Inbound Traffic" 1498msgid "Inbound Traffic"
1499msgstr "" 1499msgstr ""
1500 1500
1501#: src/plugins/stats/functions.c:539 src/plugins/stats/functions.c:547 1501#: src/plugins/stats/functions.c:565 src/plugins/stats/functions.c:573
1502msgid "" 1502msgid ""
1503"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), " 1503"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), "
1504"limit (magenta)" 1504"limit (magenta)"
1505msgstr "" 1505msgstr ""
1506 1506
1507#: src/plugins/stats/functions.c:546 1507#: src/plugins/stats/functions.c:572
1508msgid "Outbound Traffic" 1508msgid "Outbound Traffic"
1509msgstr "" 1509msgstr ""
1510 1510
1511#: src/plugins/stats/functions.c:554 1511#: src/plugins/stats/functions.c:580
1512msgid "Routing Effectiveness" 1512msgid "Routing Effectiveness"
1513msgstr "" 1513msgstr ""
1514 1514
1515#: src/plugins/stats/functions.c:555 1515#: src/plugins/stats/functions.c:581
1516msgid "Current (red) and average (green) effectiveness (100% = perfect)" 1516msgid "Current (red) and average (green) effectiveness (100% = perfect)"
1517msgstr "" 1517msgstr ""
1518 1518
diff --git a/po/rw.gmo b/po/rw.gmo
index 4f3681ae..5aaa6ac0 100644
--- a/po/rw.gmo
+++ b/po/rw.gmo
Binary files differ
diff --git a/po/rw.po b/po/rw.po
index af19047d..e1669913 100644
--- a/po/rw.po
+++ b/po/rw.po
@@ -16,7 +16,7 @@ msgid ""
16msgstr "" 16msgstr ""
17"Project-Id-Version: GNUnet 0.7.0pre0\n" 17"Project-Id-Version: GNUnet 0.7.0pre0\n"
18"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n" 18"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n"
19"POT-Creation-Date: 2007-02-28 21:37-0700\n" 19"POT-Creation-Date: 2007-03-25 14:37-0600\n"
20"PO-Revision-Date: 2005-04-04 10:55-0700\n" 20"PO-Revision-Date: 2005-04-04 10:55-0700\n"
21"Last-Translator: Steven Michael Murphy <murf@e-tools.com>\n" 21"Last-Translator: Steven Michael Murphy <murf@e-tools.com>\n"
22"Language-Team: Kinyarwanda <translation-team-rw@lists.sourceforge.net>\n" 22"Language-Team: Kinyarwanda <translation-team-rw@lists.sourceforge.net>\n"
@@ -33,7 +33,7 @@ msgid "Show credits"
33msgstr "" 33msgstr ""
34 34
35#: gnunet-gtk.glade:90 35#: gnunet-gtk.glade:90
36msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1b</span>" 36msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1c</span>"
37msgstr "" 37msgstr ""
38 38
39#: gnunet-gtk.glade:122 39#: gnunet-gtk.glade:122
@@ -1569,54 +1569,54 @@ msgstr ""
1569msgid "Location URIs are not yet supported" 1569msgid "Location URIs are not yet supported"
1570msgstr "" 1570msgstr ""
1571 1571
1572#: src/plugins/stats/functions.c:514 1572#: src/plugins/stats/functions.c:540
1573msgid "Connectivity" 1573msgid "Connectivity"
1574msgstr "" 1574msgstr ""
1575 1575
1576#: src/plugins/stats/functions.c:515 1576#: src/plugins/stats/functions.c:541
1577#, fuzzy 1577#, fuzzy
1578msgid "# connected nodes (100% = connection table size)" 1578msgid "# connected nodes (100% = connection table size)"
1579msgstr "#100 Ukwihuza imbonerahamwe# Ingano" 1579msgstr "#100 Ukwihuza imbonerahamwe# Ingano"
1580 1580
1581#: src/plugins/stats/functions.c:522 1581#: src/plugins/stats/functions.c:548
1582msgid "System load" 1582msgid "System load"
1583msgstr "" 1583msgstr ""
1584 1584
1585#: src/plugins/stats/functions.c:523 1585#: src/plugins/stats/functions.c:549
1586msgid "" 1586msgid ""
1587"CPU load (red), IO load (green), Network upload (yellow), Network download " 1587"CPU load (red), IO load (green), Network upload (yellow), Network download "
1588"(blue)" 1588"(blue)"
1589msgstr "" 1589msgstr ""
1590 1590
1591#: src/plugins/stats/functions.c:530 1591#: src/plugins/stats/functions.c:556
1592msgid "Datastore capacity" 1592msgid "Datastore capacity"
1593msgstr "" 1593msgstr ""
1594 1594
1595#: src/plugins/stats/functions.c:531 1595#: src/plugins/stats/functions.c:557
1596#, fuzzy 1596#, fuzzy
1597msgid "Data in datastore (in percent of allowed quota)" 1597msgid "Data in datastore (in percent of allowed quota)"
1598msgstr "Ibirimo in Ku ijana Bya Ibirimo" 1598msgstr "Ibirimo in Ku ijana Bya Ibirimo"
1599 1599
1600#: src/plugins/stats/functions.c:538 1600#: src/plugins/stats/functions.c:564
1601msgid "Inbound Traffic" 1601msgid "Inbound Traffic"
1602msgstr "" 1602msgstr ""
1603 1603
1604#: src/plugins/stats/functions.c:539 src/plugins/stats/functions.c:547 1604#: src/plugins/stats/functions.c:565 src/plugins/stats/functions.c:573
1605#, fuzzy 1605#, fuzzy
1606msgid "" 1606msgid ""
1607"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), " 1607"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), "
1608"limit (magenta)" 1608"limit (magenta)"
1609msgstr "Umutuku Icyatsi Umuhondo Ikindi Ubururu" 1609msgstr "Umutuku Icyatsi Umuhondo Ikindi Ubururu"
1610 1610
1611#: src/plugins/stats/functions.c:546 1611#: src/plugins/stats/functions.c:572
1612msgid "Outbound Traffic" 1612msgid "Outbound Traffic"
1613msgstr "" 1613msgstr ""
1614 1614
1615#: src/plugins/stats/functions.c:554 1615#: src/plugins/stats/functions.c:580
1616msgid "Routing Effectiveness" 1616msgid "Routing Effectiveness"
1617msgstr "" 1617msgstr ""
1618 1618
1619#: src/plugins/stats/functions.c:555 1619#: src/plugins/stats/functions.c:581
1620msgid "Current (red) and average (green) effectiveness (100% = perfect)" 1620msgid "Current (red) and average (green) effectiveness (100% = perfect)"
1621msgstr "" 1621msgstr ""
1622 1622
diff --git a/po/sv.gmo b/po/sv.gmo
index 8d842720..40d84a2b 100644
--- a/po/sv.gmo
+++ b/po/sv.gmo
Binary files differ
diff --git a/po/sv.po b/po/sv.po
index bac0e576..16a26a39 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
7msgstr "" 7msgstr ""
8"Project-Id-Version: gnunet-gtk 0.7.0d\n" 8"Project-Id-Version: gnunet-gtk 0.7.0d\n"
9"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n" 9"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n"
10"POT-Creation-Date: 2007-02-28 21:37-0700\n" 10"POT-Creation-Date: 2007-03-25 14:37-0600\n"
11"PO-Revision-Date: 2006-05-23 22:27+0100\n" 11"PO-Revision-Date: 2006-05-23 22:27+0100\n"
12"Last-Translator: Daniel Nylander <po@danielnylander.se>\n" 12"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
13"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" 13"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@@ -25,7 +25,7 @@ msgstr "Visa tack"
25 25
26#: gnunet-gtk.glade:90 26#: gnunet-gtk.glade:90
27#, fuzzy 27#, fuzzy
28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1b</span>" 28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1c</span>"
29msgstr "<span size=\"x-large\">Välkommen till gnunet-gtk 0.7.0d</span>" 29msgstr "<span size=\"x-large\">Välkommen till gnunet-gtk 0.7.0d</span>"
30 30
31#: gnunet-gtk.glade:122 31#: gnunet-gtk.glade:122
@@ -1998,53 +1998,53 @@ msgstr "Använd sökfunktionen för nyckelord (KSK) URI:er!"
1998msgid "Location URIs are not yet supported" 1998msgid "Location URIs are not yet supported"
1999msgstr "Plats-URI:er stöds inte än" 1999msgstr "Plats-URI:er stöds inte än"
2000 2000
2001#: src/plugins/stats/functions.c:514 2001#: src/plugins/stats/functions.c:540
2002msgid "Connectivity" 2002msgid "Connectivity"
2003msgstr "Anslutningar" 2003msgstr "Anslutningar"
2004 2004
2005#: src/plugins/stats/functions.c:515 2005#: src/plugins/stats/functions.c:541
2006msgid "# connected nodes (100% = connection table size)" 2006msgid "# connected nodes (100% = connection table size)"
2007msgstr "# anslutna noder (100% = storlek för anslutningstabell)" 2007msgstr "# anslutna noder (100% = storlek för anslutningstabell)"
2008 2008
2009#: src/plugins/stats/functions.c:522 2009#: src/plugins/stats/functions.c:548
2010msgid "System load" 2010msgid "System load"
2011msgstr "" 2011msgstr ""
2012 2012
2013#: src/plugins/stats/functions.c:523 2013#: src/plugins/stats/functions.c:549
2014msgid "" 2014msgid ""
2015"CPU load (red), IO load (green), Network upload (yellow), Network download " 2015"CPU load (red), IO load (green), Network upload (yellow), Network download "
2016"(blue)" 2016"(blue)"
2017msgstr "" 2017msgstr ""
2018 2018
2019#: src/plugins/stats/functions.c:530 2019#: src/plugins/stats/functions.c:556
2020msgid "Datastore capacity" 2020msgid "Datastore capacity"
2021msgstr "" 2021msgstr ""
2022 2022
2023#: src/plugins/stats/functions.c:531 2023#: src/plugins/stats/functions.c:557
2024#, fuzzy 2024#, fuzzy
2025msgid "Data in datastore (in percent of allowed quota)" 2025msgid "Data in datastore (in percent of allowed quota)"
2026msgstr "CPU-belastning (i procent av tillåten belastning)" 2026msgstr "CPU-belastning (i procent av tillåten belastning)"
2027 2027
2028#: src/plugins/stats/functions.c:538 2028#: src/plugins/stats/functions.c:564
2029msgid "Inbound Traffic" 2029msgid "Inbound Traffic"
2030msgstr "Ingående trafik" 2030msgstr "Ingående trafik"
2031 2031
2032#: src/plugins/stats/functions.c:539 src/plugins/stats/functions.c:547 2032#: src/plugins/stats/functions.c:565 src/plugins/stats/functions.c:573
2033#, fuzzy 2033#, fuzzy
2034msgid "" 2034msgid ""
2035"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), " 2035"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), "
2036"limit (magenta)" 2036"limit (magenta)"
2037msgstr "Skräp (röd), Innehåll (grön), Frågor (gul), övrigt (blå)" 2037msgstr "Skräp (röd), Innehåll (grön), Frågor (gul), övrigt (blå)"
2038 2038
2039#: src/plugins/stats/functions.c:546 2039#: src/plugins/stats/functions.c:572
2040msgid "Outbound Traffic" 2040msgid "Outbound Traffic"
2041msgstr "Utgående trafik" 2041msgstr "Utgående trafik"
2042 2042
2043#: src/plugins/stats/functions.c:554 2043#: src/plugins/stats/functions.c:580
2044msgid "Routing Effectiveness" 2044msgid "Routing Effectiveness"
2045msgstr "" 2045msgstr ""
2046 2046
2047#: src/plugins/stats/functions.c:555 2047#: src/plugins/stats/functions.c:581
2048msgid "Current (red) and average (green) effectiveness (100% = perfect)" 2048msgid "Current (red) and average (green) effectiveness (100% = perfect)"
2049msgstr "" 2049msgstr ""
2050 2050
diff --git a/po/tr.gmo b/po/tr.gmo
index 586b903d..a4df6823 100644
--- a/po/tr.gmo
+++ b/po/tr.gmo
Binary files differ
diff --git a/po/tr.po b/po/tr.po
index 339a327a..422b4a74 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: gnunet-gtk 0.7.0d.tr\n" 9"Project-Id-Version: gnunet-gtk 0.7.0d.tr\n"
10"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n" 10"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n"
11"POT-Creation-Date: 2007-02-28 21:37-0700\n" 11"POT-Creation-Date: 2007-03-25 14:37-0600\n"
12"PO-Revision-Date: 2006-11-02 21:03+0200\n" 12"PO-Revision-Date: 2006-11-02 21:03+0200\n"
13"Last-Translator: Nilgün Belma Bugüner <nilgun@buguner.name.tr>\n" 13"Last-Translator: Nilgün Belma Bugüner <nilgun@buguner.name.tr>\n"
14"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n" 14"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
@@ -27,7 +27,7 @@ msgstr "Destekleyenleri göster"
27 27
28#: gnunet-gtk.glade:90 28#: gnunet-gtk.glade:90
29#, fuzzy 29#, fuzzy
30msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1b</span>" 30msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1c</span>"
31msgstr "<span size=\"x-large\">gnunet-gtk 0.7.0d sürümüne Hoşgeldiniz</span>" 31msgstr "<span size=\"x-large\">gnunet-gtk 0.7.0d sürümüne Hoşgeldiniz</span>"
32 32
33#: gnunet-gtk.glade:122 33#: gnunet-gtk.glade:122
@@ -1959,53 +1959,53 @@ msgstr ""
1959msgid "Location URIs are not yet supported" 1959msgid "Location URIs are not yet supported"
1960msgstr "Yöresel betimleyiciler henüz desteklenmiyor" 1960msgstr "Yöresel betimleyiciler henüz desteklenmiyor"
1961 1961
1962#: src/plugins/stats/functions.c:514 1962#: src/plugins/stats/functions.c:540
1963msgid "Connectivity" 1963msgid "Connectivity"
1964msgstr "Bağlanırlık" 1964msgstr "Bağlanırlık"
1965 1965
1966#: src/plugins/stats/functions.c:515 1966#: src/plugins/stats/functions.c:541
1967msgid "# connected nodes (100% = connection table size)" 1967msgid "# connected nodes (100% = connection table size)"
1968msgstr "# bağlı düğüm miktarı (100% = bağlantı tablosu boyu)" 1968msgstr "# bağlı düğüm miktarı (100% = bağlantı tablosu boyu)"
1969 1969
1970#: src/plugins/stats/functions.c:522 1970#: src/plugins/stats/functions.c:548
1971msgid "System load" 1971msgid "System load"
1972msgstr "" 1972msgstr ""
1973 1973
1974#: src/plugins/stats/functions.c:523 1974#: src/plugins/stats/functions.c:549
1975msgid "" 1975msgid ""
1976"CPU load (red), IO load (green), Network upload (yellow), Network download " 1976"CPU load (red), IO load (green), Network upload (yellow), Network download "
1977"(blue)" 1977"(blue)"
1978msgstr "" 1978msgstr ""
1979 1979
1980#: src/plugins/stats/functions.c:530 1980#: src/plugins/stats/functions.c:556
1981msgid "Datastore capacity" 1981msgid "Datastore capacity"
1982msgstr "" 1982msgstr ""
1983 1983
1984#: src/plugins/stats/functions.c:531 1984#: src/plugins/stats/functions.c:557
1985#, fuzzy 1985#, fuzzy
1986msgid "Data in datastore (in percent of allowed quota)" 1986msgid "Data in datastore (in percent of allowed quota)"
1987msgstr "İşlemci yükü (azamiye oranı olarak)" 1987msgstr "İşlemci yükü (azamiye oranı olarak)"
1988 1988
1989#: src/plugins/stats/functions.c:538 1989#: src/plugins/stats/functions.c:564
1990msgid "Inbound Traffic" 1990msgid "Inbound Traffic"
1991msgstr "Gelen Trafik" 1991msgstr "Gelen Trafik"
1992 1992
1993#: src/plugins/stats/functions.c:539 src/plugins/stats/functions.c:547 1993#: src/plugins/stats/functions.c:565 src/plugins/stats/functions.c:573
1994#, fuzzy 1994#, fuzzy
1995msgid "" 1995msgid ""
1996"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), " 1996"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), "
1997"limit (magenta)" 1997"limit (magenta)"
1998msgstr "Parazit (kırmızı), İçerik (yeşil), Sorgular (sarı), diğer (mavi)" 1998msgstr "Parazit (kırmızı), İçerik (yeşil), Sorgular (sarı), diğer (mavi)"
1999 1999
2000#: src/plugins/stats/functions.c:546 2000#: src/plugins/stats/functions.c:572
2001msgid "Outbound Traffic" 2001msgid "Outbound Traffic"
2002msgstr "Giden Trafik" 2002msgstr "Giden Trafik"
2003 2003
2004#: src/plugins/stats/functions.c:554 2004#: src/plugins/stats/functions.c:580
2005msgid "Routing Effectiveness" 2005msgid "Routing Effectiveness"
2006msgstr "" 2006msgstr ""
2007 2007
2008#: src/plugins/stats/functions.c:555 2008#: src/plugins/stats/functions.c:581
2009msgid "Current (red) and average (green) effectiveness (100% = perfect)" 2009msgid "Current (red) and average (green) effectiveness (100% = perfect)"
2010msgstr "" 2010msgstr ""
2011 2011
diff --git a/po/vi.gmo b/po/vi.gmo
index 0d15c4f2..6f9b615f 100644
--- a/po/vi.gmo
+++ b/po/vi.gmo
Binary files differ
diff --git a/po/vi.po b/po/vi.po
index 6d4df2b9..4568e432 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -6,7 +6,7 @@ msgid ""
6msgstr "" 6msgstr ""
7"Project-Id-Version: gnunet-gtk 0.7.0pre4\n" 7"Project-Id-Version: gnunet-gtk 0.7.0pre4\n"
8"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n" 8"Report-Msgid-Bugs-To: bug-gnunet@gnu.org\n"
9"POT-Creation-Date: 2007-02-28 21:37-0700\n" 9"POT-Creation-Date: 2007-03-25 14:37-0600\n"
10"PO-Revision-Date: 2005-07-05 22:33+0400\n" 10"PO-Revision-Date: 2005-07-05 22:33+0400\n"
11"Last-Translator: Phan Vinh Thinh <teppi82@gmail.com>\n" 11"Last-Translator: Phan Vinh Thinh <teppi82@gmail.com>\n"
12"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n" 12"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
@@ -25,7 +25,7 @@ msgstr "Hiển thị Lời cám ơn"
25 25
26#: gnunet-gtk.glade:90 26#: gnunet-gtk.glade:90
27#, fuzzy 27#, fuzzy
28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1b</span>" 28msgid "<span size=\"x-large\">Welcome to gnunet-gtk 0.7.1c</span>"
29msgstr "<span size=\"x-large\">Chào mừng tới gnunet-gtk 0.7.0e</span>" 29msgstr "<span size=\"x-large\">Chào mừng tới gnunet-gtk 0.7.0e</span>"
30 30
31#: gnunet-gtk.glade:122 31#: gnunet-gtk.glade:122
@@ -1559,51 +1559,51 @@ msgstr ""
1559msgid "Location URIs are not yet supported" 1559msgid "Location URIs are not yet supported"
1560msgstr "" 1560msgstr ""
1561 1561
1562#: src/plugins/stats/functions.c:514 1562#: src/plugins/stats/functions.c:540
1563msgid "Connectivity" 1563msgid "Connectivity"
1564msgstr "" 1564msgstr ""
1565 1565
1566#: src/plugins/stats/functions.c:515 1566#: src/plugins/stats/functions.c:541
1567msgid "# connected nodes (100% = connection table size)" 1567msgid "# connected nodes (100% = connection table size)"
1568msgstr "" 1568msgstr ""
1569 1569
1570#: src/plugins/stats/functions.c:522 1570#: src/plugins/stats/functions.c:548
1571msgid "System load" 1571msgid "System load"
1572msgstr "" 1572msgstr ""
1573 1573
1574#: src/plugins/stats/functions.c:523 1574#: src/plugins/stats/functions.c:549
1575msgid "" 1575msgid ""
1576"CPU load (red), IO load (green), Network upload (yellow), Network download " 1576"CPU load (red), IO load (green), Network upload (yellow), Network download "
1577"(blue)" 1577"(blue)"
1578msgstr "" 1578msgstr ""
1579 1579
1580#: src/plugins/stats/functions.c:530 1580#: src/plugins/stats/functions.c:556
1581msgid "Datastore capacity" 1581msgid "Datastore capacity"
1582msgstr "" 1582msgstr ""
1583 1583
1584#: src/plugins/stats/functions.c:531 1584#: src/plugins/stats/functions.c:557
1585msgid "Data in datastore (in percent of allowed quota)" 1585msgid "Data in datastore (in percent of allowed quota)"
1586msgstr "" 1586msgstr ""
1587 1587
1588#: src/plugins/stats/functions.c:538 1588#: src/plugins/stats/functions.c:564
1589msgid "Inbound Traffic" 1589msgid "Inbound Traffic"
1590msgstr "" 1590msgstr ""
1591 1591
1592#: src/plugins/stats/functions.c:539 src/plugins/stats/functions.c:547 1592#: src/plugins/stats/functions.c:565 src/plugins/stats/functions.c:573
1593msgid "" 1593msgid ""
1594"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), " 1594"Noise (red), Content (green), Queries (yellow), Hellos (blue), other (gray), "
1595"limit (magenta)" 1595"limit (magenta)"
1596msgstr "" 1596msgstr ""
1597 1597
1598#: src/plugins/stats/functions.c:546 1598#: src/plugins/stats/functions.c:572
1599msgid "Outbound Traffic" 1599msgid "Outbound Traffic"
1600msgstr "" 1600msgstr ""
1601 1601
1602#: src/plugins/stats/functions.c:554 1602#: src/plugins/stats/functions.c:580
1603msgid "Routing Effectiveness" 1603msgid "Routing Effectiveness"
1604msgstr "" 1604msgstr ""
1605 1605
1606#: src/plugins/stats/functions.c:555 1606#: src/plugins/stats/functions.c:581
1607msgid "Current (red) and average (green) effectiveness (100% = perfect)" 1607msgid "Current (red) and average (green) effectiveness (100% = perfect)"
1608msgstr "" 1608msgstr ""
1609 1609
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c
index 9b6839b8..15ed911d 100644
--- a/src/plugins/fs/download.c
+++ b/src/plugins/fs/download.c
@@ -309,7 +309,7 @@ fs_download_started(struct FSUI_DownloadList * fsui_dl,
309 gtk_tree_path_free(path); 309 gtk_tree_path_free(path);
310 gtk_tree_store_set(sl_parent->tree, 310 gtk_tree_store_set(sl_parent->tree,
311 &iter, 311 &iter,
312 SEARCH_CELL_BG_COLOR, "yellow", 312 SEARCH_CELL_BG_COLOR, getColorCode(URITRACK_DOWNLOAD_STARTED),
313 -1); 313 -1);
314 break; 314 break;
315 } 315 }
@@ -398,7 +398,7 @@ void fs_download_completed(DownloadList * downloadContext) {
398 gtk_tree_path_free(path); 398 gtk_tree_path_free(path);
399 gtk_tree_store_set(downloadContext->searchList->tree, 399 gtk_tree_store_set(downloadContext->searchList->tree,
400 &iter, 400 &iter,
401 SEARCH_CELL_BG_COLOR, "green", 401 SEARCH_CELL_BG_COLOR, getColorCode(URITRACK_DOWNLOAD_COMPLETED),
402 -1); 402 -1);
403 } 403 }
404 downloadContext->has_terminated = YES; 404 downloadContext->has_terminated = YES;
@@ -410,7 +410,20 @@ void fs_download_completed(DownloadList * downloadContext) {
410 * possibly refresh directory listing. 410 * possibly refresh directory listing.
411 */ 411 */
412void fs_download_aborted(DownloadList * downloadContext) { 412void fs_download_aborted(DownloadList * downloadContext) {
413 /* FIXME: update summary? / search list status entry! */ 413 GtkTreeIter iter;
414 GtkTreePath * path;
415
416 if (downloadContext->searchViewRowReference != NULL) {
417 path = gtk_tree_row_reference_get_path(downloadContext->searchViewRowReference);
418 gtk_tree_model_get_iter(GTK_TREE_MODEL(downloadContext->searchList->tree),
419 &iter,
420 path);
421 gtk_tree_path_free(path);
422 gtk_tree_store_set(downloadContext->searchList->tree,
423 &iter,
424 SEARCH_CELL_BG_COLOR, getColorCode(URITRACK_DOWNLOAD_ABORTED),
425 -1);
426 }
414 downloadContext->has_terminated = YES; 427 downloadContext->has_terminated = YES;
415 refreshDirectoryViewFromDisk(downloadContext); 428 refreshDirectoryViewFromDisk(downloadContext);
416} 429}
diff --git a/src/plugins/fs/fs.c b/src/plugins/fs/fs.c
index 4514bb9a..f3d4d459 100644
--- a/src/plugins/fs/fs.c
+++ b/src/plugins/fs/fs.c
@@ -649,4 +649,26 @@ void done_fs() {
649 CO_done(); 649 CO_done();
650} 650}
651 651
652
653const char * getColorCode(enum URITRACK_STATE state) {
654 if (state & (URITRACK_DIRECTORY_ADDED))
655 return "blue";
656 if (state & (URITRACK_INSERTED || URITRACK_INDEXED))
657 return "cyan";
658 if ( (state & URITRACK_DOWNLOAD_STARTED) &&
659 (0 == (state &
660 (URITRACK_DOWNLOAD_COMPLETED |
661 URITRACK_DOWNLOAD_ABORTED)) ) )
662 return "yellow";
663 if (state & URITRACK_DOWNLOAD_COMPLETED)
664 return "springgreen";
665 if (state & URITRACK_DOWNLOAD_ABORTED)
666 return "red";
667 if (state & (URITRACK_SEARCH_RESULT |
668 URITRACK_DIRECTORY_FOUND) )
669 return "gray";
670 return "white";
671}
672
673
652/* end of fs.c */ 674/* end of fs.c */
diff --git a/src/plugins/fs/fs.h b/src/plugins/fs/fs.h
index 0cba8086..efe5d0eb 100644
--- a/src/plugins/fs/fs.h
+++ b/src/plugins/fs/fs.h
@@ -29,6 +29,7 @@
29 29
30#include <GNUnet/gnunet_ecrs_lib.h> 30#include <GNUnet/gnunet_ecrs_lib.h>
31#include <GNUnet/gnunet_fsui_lib.h> 31#include <GNUnet/gnunet_fsui_lib.h>
32#include <GNUnet/gnunet_uritrack_lib.h>
32#include "gnunetgtk_common.h" 33#include "gnunetgtk_common.h"
33 34
34/** 35/**
@@ -316,4 +317,7 @@ extern GtkTreeStore * download_summary;
316 317
317extern GtkTreeStore * upload_summary; 318extern GtkTreeStore * upload_summary;
318 319
320const char * getColorCode(enum URITRACK_STATE state);
321
322
319#endif 323#endif
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c
index 3cbde2f9..a3ac8bc0 100644
--- a/src/plugins/fs/search.c
+++ b/src/plugins/fs/search.c
@@ -106,7 +106,11 @@ void addEntryToSearchTree(SearchList * searchContext,
106 unsigned long long size; 106 unsigned long long size;
107 char * size_h; 107 char * size_h;
108 GdkPixbuf * pixbuf; 108 GdkPixbuf * pixbuf;
109 enum URITRACK_STATE state;
109 110
111 state = URITRACK_getState(ectx,
112 cfg,
113 info->uri);
110 mime = getMimeTypeFromMetaData(info->meta); 114 mime = getMimeTypeFromMetaData(info->meta);
111 desc = getDescriptionFromMetaData(info->meta); 115 desc = getDescriptionFromMetaData(info->meta);
112 name = getFileNameFromMetaData(info->meta); 116 name = getFileNameFromMetaData(info->meta);
@@ -123,7 +127,7 @@ void addEntryToSearchTree(SearchList * searchContext,
123 SEARCH_PIXBUF, pixbuf, 127 SEARCH_PIXBUF, pixbuf,
124 SEARCH_URI, ECRS_dupUri(info->uri), 128 SEARCH_URI, ECRS_dupUri(info->uri),
125 SEARCH_META, ECRS_dupMetaData(info->meta), 129 SEARCH_META, ECRS_dupMetaData(info->meta),
126 SEARCH_CELL_BG_COLOR, "white", 130 SEARCH_CELL_BG_COLOR, getColorCode(state),
127 SEARCH_CELL_FG_COLOR, "black", 131 SEARCH_CELL_FG_COLOR, "black",
128 SEARCH_INTERNAL, searchContext, 132 SEARCH_INTERNAL, searchContext,
129 SEARCH_INTERNAL_PARENT, downloadParent, 133 SEARCH_INTERNAL_PARENT, downloadParent,
@@ -147,7 +151,18 @@ void fs_search_result_received(SearchList * searchContext,
147 const struct ECRS_URI * uri) { 151 const struct ECRS_URI * uri) {
148 GtkTreeStore * model; 152 GtkTreeStore * model;
149 GtkTreeIter iter; 153 GtkTreeIter iter;
150 154 enum URITRACK_STATE state;
155
156 state = URITRACK_getState(ectx,
157 cfg,
158 info->uri);
159 if ( (state & (URITRACK_INSERTED |
160 URITRACK_INDEXED) ) &&
161 (YES == GC_get_configuration_value_yesno(cfg,
162 "GNUNET-GTK",
163 "DISABLE-OWN",
164 YES)) )
165 return;
151 model = GTK_TREE_STORE(gtk_tree_view_get_model(searchContext->treeview)); 166 model = GTK_TREE_STORE(gtk_tree_view_get_model(searchContext->treeview));
152 gtk_tree_store_append(model, 167 gtk_tree_store_append(model,
153 &iter, 168 &iter,