diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-11-14 21:02:01 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-11-14 21:02:01 +0800 |
commit | d47593f8d0486b051c8c6f3754b01daf0a340112 (patch) | |
tree | 81b6d4e43f4d0d7443a5e2f5ebd95a871afb7172 /widgets/misc/e-dateedit.c | |
parent | 43ba90e4c840115d383af629db88b9fbba87b82d (diff) | |
download | gsoc2013-evolution-d47593f8d0486b051c8c6f3754b01daf0a340112.tar.gz gsoc2013-evolution-d47593f8d0486b051c8c6f3754b01daf0a340112.tar.zst gsoc2013-evolution-d47593f8d0486b051c8c6f3754b01daf0a340112.zip |
Set a size for the date edit widgets, so that it doesnt expand too much.
2005-11-14 Srinivasa Ragavan <sragavan@novell.com>
* e-dateedit.c (create_children): Set a size for the date
edit widgets, so that it doesnt expand too much.
svn path=/trunk/; revision=30604
Diffstat (limited to 'widgets/misc/e-dateedit.c')
-rw-r--r-- | widgets/misc/e-dateedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 739146710b..f6a25c500b 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -335,6 +335,7 @@ create_children (EDateEdit *dedit) atk_object_set_description (a11y, _("Text entry to input date")); atk_object_set_name (a11y, _("Text Date Entry")); gtk_box_pack_start (GTK_BOX (dedit), priv->date_entry, FALSE, TRUE, 0); + gtk_widget_set_size_request (priv->date_entry, 80, -1); g_signal_connect (priv->date_entry, "key_press_event", G_CALLBACK (on_date_entry_key_press), @@ -369,6 +370,7 @@ create_children (EDateEdit *dedit) priv->time_combo = gtk_combo_new (); gtk_box_pack_start (GTK_BOX (dedit), priv->time_combo, FALSE, TRUE, 0); + gtk_widget_set_size_request (priv->time_combo, 90, -1); rebuild_time_popup (dedit); a11y = gtk_widget_get_accessible (priv->time_combo); atk_object_set_description (a11y, _("Combo box to select time")); |