diff options
author | Christian Grothoff <christian@grothoff.org> | 2005-07-16 16:36:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2005-07-16 16:36:33 +0000 |
commit | c30b6662df8b986e3be432480d9af129db74419b (patch) | |
tree | d7990e6aa16292ce38d2d61e92457c5caaa4929c | |
parent | 4b450c7e223279ebe55c4b57842910bb9ed6d261 (diff) | |
download | gnunet-gtk-c30b6662df8b986e3be432480d9af129db74419b.tar.gz gnunet-gtk-c30b6662df8b986e3be432480d9af129db74419b.zip |
fix
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | src/core/main.c | 2 | ||||
-rw-r--r-- | src/plugins/fs/meta.c | 8 |
3 files changed, 7 insertions, 4 deletions
@@ -8,7 +8,6 @@ | |||
8 | 5) why can the "file sharing" tab not be selected first | 8 | 5) 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!!!) |
11 | 6) i18n does not work (UTF-8/pango problems) | ||
12 | 11 | ||
13 | Later (0.7.1+): | 12 | Later (0.7.1+): |
14 | 1) auto-rename downloaded files | 13 | 1) 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 | ||