aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-01 06:32:52 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-01 06:32:52 +0800
commit3892c5df4d87257d373b766045cb7d3b3493481a (patch)
tree26e726dfe3bc56257c08dc6b3f1f935f4e61c227
parent1ad76125efe77fe8237c8bdf6dde4f0bacf92f38 (diff)
downloadgsoc2013-evolution-3892c5df4d87257d373b766045cb7d3b3493481a.tar
gsoc2013-evolution-3892c5df4d87257d373b766045cb7d3b3493481a.tar.gz
gsoc2013-evolution-3892c5df4d87257d373b766045cb7d3b3493481a.tar.bz2
gsoc2013-evolution-3892c5df4d87257d373b766045cb7d3b3493481a.tar.lz
gsoc2013-evolution-3892c5df4d87257d373b766045cb7d3b3493481a.tar.xz
gsoc2013-evolution-3892c5df4d87257d373b766045cb7d3b3493481a.tar.zst
gsoc2013-evolution-3892c5df4d87257d373b766045cb7d3b3493481a.zip
Fixed some warnings.
2000-07-31 Christopher James Lahey <clahey@helixcode.com> * component-factory.c, folder-browser.c: Fixed some warnings. * message-list.c: Made the icon column non sortable. svn path=/trunk/; revision=4440
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/component-factory.c2
-rw-r--r--mail/folder-browser.c2
-rw-r--r--mail/message-list.c8
4 files changed, 16 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e42dc3daf1..fe12023521 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-07-31 Christopher James Lahey <clahey@helixcode.com>
+
+ * component-factory.c, folder-browser.c: Fixed some warnings.
+
+ * message-list.c: Made the icon column non sortable.
+
2000-07-31 Dan Winship <danw@helixcode.com>
* mail-config.c (service_page_set_url): Fix a NULL-pointer strcmp
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 77f61508f2..8f25483f0d 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -269,7 +269,7 @@ real_create_imap_storage (gpointer user_data)
{
CamelException *ex;
EvolutionStorage *storage;
- char *p, *source, *dir_sep;
+ char *p, *source;
CamelStore *store;
CamelFolder *folder;
GPtrArray *lsub;
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 6768f0318f..27f345fce0 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -88,7 +88,7 @@ mail_uri_to_folder (const char *name)
if (store) {
CamelURL *url = CAMEL_SERVICE (store)->url;
- char *tree_name, *folder_name, *dir_sep;
+ char *folder_name;
/*dir_sep = CAMEL_IMAP_STORE (store)->dir_sep;*/
diff --git a/mail/message-list.c b/mail/message-list.c
index 4bf546f221..1a2c8fb3fd 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -465,6 +465,10 @@ message_list_init_header (MessageList *message_list)
message_list->render_message_status,
g_int_compare, FALSE);
+ gtk_object_set(GTK_OBJECT(message_list->table_cols[COL_MESSAGE_STATUS]),
+ "sortable", FALSE,
+ NULL);
+
message_list->table_cols [COL_PRIORITY] =
e_table_col_new (
COL_PRIORITY, _("Priority"),
@@ -479,6 +483,10 @@ message_list_init_header (MessageList *message_list)
message_list->render_attachment,
g_int_compare, FALSE);
+ gtk_object_set(GTK_OBJECT(message_list->table_cols[COL_ATTACHMENT]),
+ "sortable", FALSE,
+ NULL);
+
message_list->table_cols [COL_FROM] =
e_table_col_new (
COL_FROM, _("From"),