aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-offline-handler.c6
-rw-r--r--shell/main.c1
3 files changed, 11 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index e2bcae1ae9..0ee2de2aab 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-09 Jeremy Katz <katzj@redhat.com>
+
+ * main.c: Add a #include to fix a warning.
+
+ * e-shell-offline-handler.c (update_dialog_clist): Use a list
+ store instead of a tree model for the store.
+
2003-05-08 Ettore Perazzoli <ettore@ximian.com>
[#42342]
diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c
index 4b22bdbf1d..4e87d3dcae 100644
--- a/shell/e-shell-offline-handler.c
+++ b/shell/e-shell-offline-handler.c
@@ -33,6 +33,7 @@
#include "e-shell-marshal.h"
+#include <gtk/gtkcellrenderertext.h>
#include <gtk/gtkclist.h>
#include <gtk/gtkdialog.h>
#include <gtk/gtklabel.h>
@@ -548,8 +549,7 @@ update_dialog_clist (EShellOfflineHandler *offline_handler)
{
EShellOfflineHandlerPrivate *priv;
GtkWidget *tree_view;
- GtkTreeModel *model;
- GtkTreeModel *model_sort;
+ GtkListStore *model;
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
@@ -569,7 +569,7 @@ update_dialog_clist (EShellOfflineHandler *offline_handler)
model = gtk_list_store_new (1, G_TYPE_STRING);
g_hash_table_foreach (priv->id_to_component_info, update_dialog_tree_view_hash_foreach, model);
- gtk_tree_view_set_model (GTK_TREE_VIEW (tree_view), model);
+ gtk_tree_view_set_model (GTK_TREE_VIEW (tree_view), GTK_TREE_MODEL(model));
}
static void
diff --git a/shell/main.c b/shell/main.c
index e41058377f..37cb7cdc8b 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -24,6 +24,7 @@
#include "e-util/e-dialog-utils.h"
#include "e-util/e-gtk-utils.h"
+#include "e-util/e-proxy.h"
#include "e-icon-factory.h"
#include "e-shell-constants.h"