aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
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
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')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.etspec2
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c6
2 files changed, 5 insertions, 3 deletions
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 @@
-<ETableSpecification draw-grid="true">
+<ETableSpecification draw-grid="true" cursor-mode="line">
<ETableColumn model_col= "2" _title="File As" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="string"/>
<ETableColumn model_col= "3" _title="Full Name" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="string"/>
<ETableColumn model_col= "4" _title="Given Name" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="string"/>
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);
}