aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-calendar-view.c1
-rw-r--r--widgets/ChangeLog7
-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
-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
-rw-r--r--widgets/text/e-text.c1
12 files changed, 42 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 558d9097df..a9772b73af 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2008-04-25 Danny Baumann <dannybaumann@web.de>
+
+ ** Fix for bug #529893
+
+ * gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
+ Properly set type hint on tooltip window.
+
2008-04-18 Milan Crha <mcrha@redhat.com>
** Fix for bug #509923
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 11a509aebe..2d35593103 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -2298,6 +2298,7 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data)
frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type ((GtkFrame *)frame, GTK_SHADOW_IN);
+ gtk_window_set_type_hint (GTK_WINDOW (pevent->tooltip), GDK_WINDOW_TYPE_HINT_TOOLTIP);
gtk_window_move ((GtkWindow *)pevent->tooltip, pevent->x +16, pevent->y+16);
gtk_container_add ((GtkContainer *)frame, box);
gtk_container_add ((GtkContainer *)pevent->tooltip, frame);
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index c904fc2fe7..d40f1f3755 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,10 @@
+2008-04-25 Danny Baumann <dannybaumann@web.de>
+
+ ** Fix for bug #529893
+
+ * text/e-text.c: (_do_tooltip):
+ Properly set type hint on tooltip window.
+
2008-04-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #529641
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);
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);
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index a87ed77781..8002295d89 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1997,6 +1997,7 @@ _do_tooltip (gpointer data)
tooltip_window = gtk_window_new (GTK_WINDOW_POPUP);
gtk_container_set_border_width (GTK_CONTAINER (tooltip_window), 1);
+ gtk_window_set_type_hint (GTK_WINDOW (tooltip_window), GDK_WINDOW_TYPE_HINT_TOOLTIP);
canvas = e_canvas_new ();