Author: colossus
Date: 2008-06-27 17:51:05 +0000 (Fri, 27 Jun 2008)
New Revision: 27164
Modified:
xarchiver/trunk/TODO
xarchiver/trunk/src/pref_dialog.c
Log:
Fixed a crash in main.c:112 on 64 bit systems and wrong string comparison in
prefs_dialog.c. Thanks to Enrico Troeger for providing the patch.
Updated TODO file.
Modified: xarchiver/trunk/TODO
===================================================================
--- xarchiver/trunk/TODO 2008-06-27 16:08:46 UTC (rev 27163)
+++ xarchiver/trunk/TODO 2008-06-27 17:51:05 UTC (rev 27164)
@@ -1,3 +1,4 @@
+- fix the remaining bugs in bugzilla.xfce.org
- add ability to add files in specific archive directories.
- enrich the status bar
- to fix the arrow buttons
Modified: xarchiver/trunk/src/pref_dialog.c
===================================================================
--- xarchiver/trunk/src/pref_dialog.c 2008-06-27 16:08:46 UTC (rev 27163)
+++ xarchiver/trunk/src/pref_dialog.c 2008-06-27 17:51:05 UTC (rev 27164)
@@ -108,7 +108,9 @@
archive_type = g_list_first (ArchiveType);
while ( archive_type != NULL )
{
- if (archive_type->data == "tgz" || archive_type->data == "rpm"
|| (archive_type->data == "rar" && unrar) )
+ if (strcmp(archive_type->data, "tgz") == 0 ||
+ strcmp(archive_type->data, "rpm") == 0 ||
+ (strcmp(archive_type->data, "rar") == 0 && unrar) )
goto next;
else
gtk_combo_box_append_text (GTK_COMBO_BOX
(prefs_data->combo_prefered_format),archive_type->data );
@@ -382,7 +384,7 @@
{
gint *coords = NULL;
gchar *value;
- guint coords_len = 0;
+ gsize coords_len = 0;
gchar *config_dir = NULL;
gchar *xarchiver_config_dir = NULL;
GKeyFile *xa_key_file = g_key_file_new();
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits