[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp lib/gtksheet/gtksheet.c src/ui/gui/psppire...
From: |
John Darrington |
Subject: |
[Pspp-cvs] pspp lib/gtksheet/gtksheet.c src/ui/gui/psppire... |
Date: |
Sun, 08 Jul 2007 06:13:06 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: John Darrington <jmd> 07/07/08 06:13:06
Modified files:
lib/gtksheet : gtksheet.c
src/ui/gui : psppire-dialog.c
Log message:
Set type hints for older gtk versions
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/lib/gtksheet/gtksheet.c?cvsroot=pspp&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/psppire-dialog.c?cvsroot=pspp&r1=1.6&r2=1.7
Patches:
Index: lib/gtksheet/gtksheet.c
===================================================================
RCS file: /sources/pspp/pspp/lib/gtksheet/gtksheet.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- lib/gtksheet/gtksheet.c 7 Jul 2007 01:52:44 -0000 1.19
+++ lib/gtksheet/gtksheet.c 8 Jul 2007 06:13:06 -0000 1.20
@@ -5318,8 +5318,10 @@
hw->window = gtk_window_new (GTK_WINDOW_POPUP);
+#if GTK_CHECK_VERSION (2, 9, 0)
gtk_window_set_type_hint (GTK_WINDOW (hw->window),
GDK_WINDOW_TYPE_HINT_TOOLTIP);
+#endif
gtk_widget_set_app_paintable (hw->window, TRUE);
gtk_window_set_resizable (GTK_WINDOW (hw->window), FALSE);
Index: src/ui/gui/psppire-dialog.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/psppire-dialog.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- src/ui/gui/psppire-dialog.c 7 Jul 2007 06:14:28 -0000 1.6
+++ src/ui/gui/psppire-dialog.c 8 Jul 2007 06:13:06 -0000 1.7
@@ -231,6 +231,9 @@
g_value_init (&value, orientation_spec->value_type);
g_param_value_set_default (orientation_spec, &value);
+ gtk_window_set_type_hint (GTK_WINDOW (dialog),
+ GDK_WINDOW_TYPE_HINT_DIALOG);
+
dialog_set_orientation (dialog, &value);
g_value_unset (&value);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp lib/gtksheet/gtksheet.c src/ui/gui/psppire...,
John Darrington <=