aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-07-16 16:36:33 +0000
committerChristian Grothoff <christian@grothoff.org>2005-07-16 16:36:33 +0000
commitc30b6662df8b986e3be432480d9af129db74419b (patch)
treed7990e6aa16292ce38d2d61e92457c5caaa4929c
parent4b450c7e223279ebe55c4b57842910bb9ed6d261 (diff)
downloadgnunet-gtk-c30b6662df8b986e3be432480d9af129db74419b.tar.gz
gnunet-gtk-c30b6662df8b986e3be432480d9af129db74419b.zip
fix
-rw-r--r--TODO1
-rw-r--r--src/core/main.c2
-rw-r--r--src/plugins/fs/meta.c8
3 files changed, 7 insertions, 4 deletions
diff --git a/TODO b/TODO
index 3ab1bcf0..a8973b5a 100644
--- a/TODO
+++ b/TODO
@@ -8,7 +8,6 @@
85) why can the "file sharing" tab not be selected first 85) why can the "file sharing" tab not be selected first
9 (I can select first "General" and then "file sharing"!, 9 (I can select first "General" and then "file sharing"!,
10 glade shows no difference between the two!!!) 10 glade shows no difference between the two!!!)
116) i18n does not work (UTF-8/pango problems)
12 11
13Later (0.7.1+): 12Later (0.7.1+):
141) auto-rename downloaded files 131) auto-rename downloaded files
diff --git a/src/core/main.c b/src/core/main.c
index 9d6c0638..ab43f6d3 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -100,6 +100,8 @@ int main(int argc,
100 return 0; 100 return 0;
101 BINDTEXTDOMAIN(PACKAGE_NAME, PACKAGE_LOCALE_DIR); 101 BINDTEXTDOMAIN(PACKAGE_NAME, PACKAGE_LOCALE_DIR);
102 textdomain(PACKAGE); 102 textdomain(PACKAGE);
103 bind_textdomain_codeset("GNUnet", "UTF-8");
104 bind_textdomain_codeset("gnunet-gtk", "UTF-8");
103 startCron(); 105 startCron();
104 initGNUnetGTKCommon(); 106 initGNUnetGTKCommon();
105 root 107 root
diff --git a/src/plugins/fs/meta.c b/src/plugins/fs/meta.c
index 044e9d82..8009368f 100644
--- a/src/plugins/fs/meta.c
+++ b/src/plugins/fs/meta.c
@@ -108,9 +108,11 @@ void createMetaDataListTreeView(GladeXML * xml,
108 pixbuf = gdk_pixbuf_loader_get_pixbuf(loader); 108 pixbuf = gdk_pixbuf_loader_get_pixbuf(loader);
109 gdk_pixbuf_loader_close(loader, 109 gdk_pixbuf_loader_close(loader,
110 NULL); 110 NULL);
111 gtk_image_set_from_pixbuf(GTK_IMAGE(preview), 111 if (pixbuf != NULL) {
112 pixbuf); 112 gtk_image_set_from_pixbuf(GTK_IMAGE(preview),
113 g_object_unref(pixbuf); 113 pixbuf);
114 g_object_unref(pixbuf);
115 }
114 } 116 }
115} 117}
116 118