From 015345c4982b3ae2e092f1263f6d200958d24751 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Fri, 25 Apr 2008 13:35:38 +0000 Subject: ** Fix for bug #529893 2008-04-25 Danny Baumann ** 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 --- widgets/table/ChangeLog | 9 +++++++++ widgets/table/e-cell-combo.c | 1 + widgets/table/e-cell-text.c | 1 + widgets/table/e-table-header-item.c | 1 + 4 files changed, 12 insertions(+) (limited to 'widgets/table') 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 + + ** 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 ** 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); -- cgit v1.2.3