From 7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 20 Apr 2004 16:55:05 +0000 Subject: use cursor-mode="line" to get rid of the annoying cell cursor. 2004-04-20 Chris Toshok * gui/widgets/e-addressbook-view.etspec: use cursor-mode="line" to get rid of the annoying cell cursor. * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): create the image chooser even if we aren't given an initial filename. * gui/contact-editor/e-contact-editor.c (new_target_cb): addressbook_show_load_error_dialog -> eab_load_error_dialog. svn path=/trunk/; revision=25538 --- addressbook/gui/widgets/e-addressbook-view.etspec | 2 +- addressbook/gui/widgets/eab-gui-util.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-addressbook-view.etspec b/addressbook/gui/widgets/e-addressbook-view.etspec index 84f9ad44b8..8934900163 100644 --- a/addressbook/gui/widgets/e-addressbook-view.etspec +++ b/addressbook/gui/widgets/e-addressbook-view.etspec @@ -1,4 +1,4 @@ - + diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index eed07a3621..5415aa1700 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -970,13 +970,15 @@ eab_create_image_chooser_widget(gchar *name, { char *filename; GtkWidget *w = NULL; + + w = e_image_chooser_new (); + gtk_widget_show_all (w); + if (string1) { filename = e_icon_factory_get_icon_filename (string1, 48); - w = e_image_chooser_new (); e_image_chooser_set_from_file (E_IMAGE_CHOOSER (w), filename); - gtk_widget_show_all (w); g_free (filename); } -- cgit v1.2.3