aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-11-14 21:02:01 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-11-14 21:02:01 +0800
commitd47593f8d0486b051c8c6f3754b01daf0a340112 (patch)
tree81b6d4e43f4d0d7443a5e2f5ebd95a871afb7172
parent43ba90e4c840115d383af629db88b9fbba87b82d (diff)
downloadgsoc2013-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
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-dateedit.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 97431a2a17..4e6d33ed30 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2005-09-28 Veerapuram Varadhan <vvaradhan@novell.com>
* e-attachment-bar.c (update): gtk_pixbuf_add_alpha returns a
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"));