aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
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/table
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/table')
-rw-r--r--widgets/table/ChangeLog9
-rw-r--r--widgets/table/e-cell-combo.c1
-rw-r--r--widgets/table/e-cell-text.c1
-rw-r--r--widgets/table/e-table-header-item.c1
4 files changed, 12 insertions, 0 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 419e2f0ab1..f872c0dc92 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,12 @@
+2008-04-25 Danny Baumann <dannybaumann@web.de>
+
+ ** Fix for bug #529893
+
+ * e-table-header-item.c: (make_shaped_window_from_xpm):
+ * e-cell-combo.c: (e_cell_combo_init):
+ * e-cell-text.c: (ect_show_tooltip):
+ Properly set type hints for popup windows.
+
2008-03-27 Milan Crha <mcrha@redhat.com>
** Fix for bug #519292
diff --git a/widgets/table/e-cell-combo.c b/widgets/table/e-cell-combo.c
index 6a8992d119..41e866a362 100644
--- a/widgets/table/e-cell-combo.c
+++ b/widgets/table/e-cell-combo.c
@@ -138,6 +138,7 @@ e_cell_combo_init (ECellCombo *ecc)
ever be one popup in use at a time. */
ecc->popup_window = gtk_window_new (GTK_WINDOW_POPUP);
+ gtk_window_set_type_hint (GTK_WINDOW (ecc->popup_window), GDK_WINDOW_TYPE_HINT_COMBO);
gtk_window_set_policy (GTK_WINDOW (ecc->popup_window),
TRUE, TRUE, FALSE);
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index ca66ea5cfa..d694f8b0d8 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -1571,6 +1571,7 @@ ect_show_tooltip (ECellView *ecell_view,
window = gtk_window_new (GTK_WINDOW_POPUP);
gtk_container_set_border_width (GTK_CONTAINER (window), 1);
+ gtk_window_set_type_hint (GTK_WINDOW (window), GDK_WINDOW_TYPE_HINT_TOOLTIP);
canvas = e_canvas_new ();
gtk_container_add (GTK_CONTAINER (window), canvas);
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index d0907d8a96..928a7e71e4 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -470,6 +470,7 @@ make_shaped_window_from_xpm (const char **xpm)
gtk_widget_push_colormap (gdk_rgb_get_colormap ());
win = gtk_window_new (GTK_WINDOW_POPUP);
+ gtk_window_set_type_hint (GTK_WINDOW (win), GDK_WINDOW_TYPE_HINT_NOTIFICATION);
pix = gtk_image_new_from_pixmap (pixmap, bitmap);
gtk_widget_realize (win);