aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-04-25 21:35:38 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-04-25 21:35:38 +0800
commit015345c4982b3ae2e092f1263f6d200958d24751 (patch)
tree5d5c2246b79deef0b11c9bd125e15b1ea3a3b452 /widgets/misc
parent7ab42c2897e3b1d62bd47550d91ec85a55b651a5 (diff)
downloadgsoc2013-evolution-015345c4982b3ae2e092f1263f6d200958d24751.tar.gz
gsoc2013-evolution-015345c4982b3ae2e092f1263f6d200958d24751.tar.zst
gsoc2013-evolution-015345c4982b3ae2e092f1263f6d200958d24751.zip
** Fix for bug #529893
2008-04-25 Danny Baumann <dannybaumann@web.de> ** Fix for bug #529893 * widgets/misc/e-dateedit.c (create_children): * widgets/misc/e-combo-cell-editable.c (build_popup): * widgets/misc/e-cell-date-edit.c (e_cell_date_edit_init): * widgets/table/e-table-header-item.c: (make_shaped_window_from_xpm): * widgets/table/e-cell-combo.c: (e_cell_combo_init): * widgets/table/e-cell-text.c: (ect_show_tooltip): * widgets/text/e-text.c: (_do_tooltip): * calendar/gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Properly set type hints for popup windows. svn path=/trunk/; revision=35416
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog9
-rw-r--r--widgets/misc/e-cell-date-edit.c2
-rw-r--r--widgets/misc/e-combo-cell-editable.c2
-rw-r--r--widgets/misc/e-dateedit.c2
4 files changed, 14 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 8769db20e9..46d95c292c 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,12 @@
+2008-04-25 Danny Baumann <dannybaumann@web.de>
+
+ ** Fix for bug #529893
+
+ * e-dateedit.c (create_children):
+ * e-combo-cell-editable.c (build_popup):
+ * e-cell-date-edit.c (e_cell_date_edit_init):
+ Properly set type hint on popup windows.
+
2008-04-22 Matthew Barnes <mbarnes@Redhat.com>
** Fixes part of bug #529641
diff --git a/widgets/misc/e-cell-date-edit.c b/widgets/misc/e-cell-date-edit.c
index 2b716e4622..b61bb3ce1b 100644
--- a/widgets/misc/e-cell-date-edit.c
+++ b/widgets/misc/e-cell-date-edit.c
@@ -172,6 +172,8 @@ e_cell_date_edit_init (ECellDateEdit *ecde)
ever be one popup in use at a time. */
ecde->popup_window = gtk_window_new (GTK_WINDOW_POPUP);
+ gtk_window_set_type_hint (GTK_WINDOW (ecde->popup_window),
+ GDK_WINDOW_TYPE_HINT_COMBO);
gtk_window_set_policy (GTK_WINDOW (ecde->popup_window),
TRUE, TRUE, FALSE);
diff --git a/widgets/misc/e-combo-cell-editable.c b/widgets/misc/e-combo-cell-editable.c
index c83525118a..1abfbbd61a 100644
--- a/widgets/misc/e-combo-cell-editable.c
+++ b/widgets/misc/e-combo-cell-editable.c
@@ -146,7 +146,7 @@ build_popup (EComboCellEditable *ecce)
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);
gtk_widget_show (frame);
gtk_container_add (GTK_CONTAINER (ecce->priv->popup), frame);
-
+ gtk_window_set_type_hint (GTK_WINDOW (ecce->priv->popup), GDK_WINDOW_TYPE_HINT_COMBO);
ecce->priv->tree_view = GTK_TREE_VIEW (gtk_tree_view_new ());
model = GTK_TREE_MODEL (gtk_list_store_new (1, G_TYPE_STRING));
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index d7ac43adcf..acfd0dfcc9 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -437,6 +437,8 @@ create_children (EDateEdit *dedit)
gtk_widget_show (priv->space);
priv->cal_popup = gtk_window_new (GTK_WINDOW_POPUP);
+ gtk_window_set_type_hint (GTK_WINDOW (priv->cal_popup),
+ GDK_WINDOW_TYPE_HINT_COMBO);
gtk_widget_set_events (priv->cal_popup,
gtk_widget_get_events (priv->cal_popup)
| GDK_KEY_PRESS_MASK);