aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-gui-util.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-04-21 00:55:05 +0800
committerChris Toshok <toshok@src.gnome.org>2004-04-21 00:55:05 +0800
commit7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3 (patch)
treefbe3f32e8ff59fdc8d1b15736f60d2f46d760a0a /addressbook/gui/widgets/eab-gui-util.c
parentc7dfd23ae4c53a4354601c5778f35287a368bd5a (diff)
downloadgsoc2013-evolution-7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3.tar
gsoc2013-evolution-7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3.tar.gz
gsoc2013-evolution-7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3.tar.bz2
gsoc2013-evolution-7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3.tar.lz
gsoc2013-evolution-7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3.tar.xz
gsoc2013-evolution-7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3.tar.zst
gsoc2013-evolution-7b60ae0ddae8f6efb02dafe5925fa93b87cbe8e3.zip
use cursor-mode="line" to get rid of the annoying cell cursor.
2004-04-20 Chris Toshok <toshok@ximian.com> * 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
Diffstat (limited to 'addressbook/gui/widgets/eab-gui-util.c')
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c6
1 files changed, 4 insertions, 2 deletions
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);
}