rpms/gpredict/devel gpredict-0.8.0-tooltip.patch, NONE, 1.1 gpredict.spec, 1.11, 1.12

Denis Leroy (denis) fedora-extras-commits at redhat.com
Mon Aug 20 12:04:17 UTC 2007


Author: denis

Update of /cvs/pkgs/rpms/gpredict/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29504

Modified Files:
	gpredict.spec 
Added Files:
	gpredict-0.8.0-tooltip.patch 
Log Message:
Added patch for new GtkTooltip interface

gpredict-0.8.0-tooltip.patch:

--- NEW FILE gpredict-0.8.0-tooltip.patch ---
--- tmp/gpredict-0.8.0/src/sat-pref-map-view.c	2007-04-21 21:26:09.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-map-view.c	2007-08-20 13:48:09.000000000 +0200
@@ -118,7 +118,6 @@
 	GtkWidget *table;
 	gchar     *mapfile;
 	GdkPixbuf *obuf,*sbuf;
-	GtkTooltips *tips;
 
 
 	/* create header */
@@ -176,9 +175,7 @@
 
 	/* select button */
 	button = gtk_button_new_with_label (_("Select map"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, button,
-						  _("Click to select a map"), NULL);
+	gtk_widget_set_tooltip_text (button, _("Click to select a map"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 					  G_CALLBACK (select_map_cb), NULL);
 	gtk_table_attach (GTK_TABLE (table), button, 1, 2, 1, 2,
@@ -202,7 +199,6 @@
 create_bool_selectors   (GKeyFile *cfg, GtkBox *vbox)
 {
 	GtkWidget *label;
-	GtkTooltips *tips;
 	GtkWidget *hbox;
 
 
@@ -219,10 +215,7 @@
 
 	/* QTH info */
 	qth = gtk_check_button_new_with_label (_("QTH Info"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, qth,
-						  _("Show location information on the map"),
-						  NULL);
+	gtk_widget_set_tooltip_text (qth, _("Show location information on the map"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (qth),
 									  mod_cfg_get_bool (cfg,
@@ -239,10 +232,8 @@
 
 	/* Next Event */
 	next = gtk_check_button_new_with_label (_("Next Event"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, next,
-						  _("Show which satellite comes up next and at what time"),
-						  NULL);
+	gtk_widget_set_tooltip_text (next,
+						  _("Show which satellite comes up next and at what time"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (next),
 									  mod_cfg_get_bool (cfg,
@@ -259,10 +250,8 @@
 
 	/* Cursor position */
 	curs = gtk_check_button_new_with_label (_("Cursor Position"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, curs,
-						  _("Show the latitude and longitude of the mouse pointer"),
-						  NULL);
+	gtk_widget_set_tooltip_text (curs,
+						  _("Show the latitude and longitude of the mouse pointer"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (curs),
 									  mod_cfg_get_bool (cfg,
@@ -280,10 +269,8 @@
 
 	/* Grid */
 	grid = gtk_check_button_new_with_label (_("Grid Lines"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, grid,
-						  _("Show horizontal and vertical grid lines"),
-						  NULL);
+	gtk_widget_set_tooltip_text (grid,
+						  _("Show horizontal and vertical grid lines"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (grid),
 									  mod_cfg_get_bool (cfg,
@@ -312,7 +299,6 @@
 create_colour_selectors (GKeyFile *cfg, GtkBox *vbox)
 {
 	GtkWidget   *label;
-	GtkTooltips *tips;
 	GtkWidget   *table;
 	guint        rgba;   /* RRGGBBAA encoded colour */
 	guint16      alpha;  /* alpha channel 16 bits */
@@ -342,10 +328,7 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (qthc), TRUE);
 	gtk_table_attach (GTK_TABLE (table), qthc, 1, 2, 0, 1,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, qthc,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (qthc, _("Click to select a colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -369,10 +352,7 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (gridc), TRUE);
 	gtk_table_attach (GTK_TABLE (table), gridc, 3, 4, 0, 1,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, gridc,
-						  _("Click to select the grid colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (gridc, _("Click to select the grid colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -396,10 +376,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (tickc), TRUE);
 	gtk_table_attach (GTK_TABLE (table), tickc, 5, 6, 0, 1,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, tickc,
-						  _("Click to select the colour for tick labels"),
-						  NULL);
+	gtk_widget_set_tooltip_text (tickc,
+						  _("Click to select the colour for tick labels"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -423,10 +401,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (satc), TRUE);
 	gtk_table_attach (GTK_TABLE (table), satc, 1, 2, 1, 2,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, satc,
-						  _("Click to select satellite colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (satc,
+						  _("Click to select satellite colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -450,10 +426,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (ssatc), TRUE);
 	gtk_table_attach (GTK_TABLE (table), ssatc, 3, 4, 1, 2,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, ssatc,
-						  _("Click to select colour for selected satellites"),
-						  NULL);
+	gtk_widget_set_tooltip_text (ssatc,
+						  _("Click to select colour for selected satellites"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -477,10 +451,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (trackc), TRUE);
 	gtk_table_attach (GTK_TABLE (table), trackc, 5, 6, 1, 2,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, trackc,
-						  _("Click to select ground track colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (trackc,
+						  _("Click to select ground track colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -504,10 +476,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (covc), TRUE);
 	gtk_table_attach (GTK_TABLE (table), covc, 1, 2, 2, 3,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, covc,
-						  _("Colour for coverage Area (make it transparent)"),
-						  NULL);
+	gtk_widget_set_tooltip_text (covc,
+						  _("Colour for coverage Area (make it transparent)"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -531,10 +501,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (infofg), TRUE);
 	gtk_table_attach (GTK_TABLE (table), infofg, 3, 4, 2, 3,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, infofg,
-						  _("Click to select info text foreground colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (infofg,
+						  _("Click to select info text foreground colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -559,10 +527,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (infobg), TRUE);
 	gtk_table_attach (GTK_TABLE (table), infobg, 5, 6, 2, 3,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, infobg,
-						  _("Click to select info text background colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (infobg,
+						  _("Click to select info text background colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 								MOD_CFG_MAP_SECTION,
@@ -638,23 +604,19 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 					  G_CALLBACK (reset_cb), cfg);
 
-	tips = gtk_tooltips_new ();
 	if (cfg == NULL) {
-		gtk_tooltips_set_tip (tips, button,
-							  _("Reset settings to the default values."),
-							  NULL);
+		gtk_widget_set_tooltip_text (button,
+							  _("Reset settings to the default values."));
 	}
 	else {
-		gtk_tooltips_set_tip (tips, button,
-							  _("Reset module settings to the global values."),
-							  NULL);
+		gtk_widget_set_tooltip_text (button,
+							  _("Reset module settings to the global values."));
 	}
 
 	butbox = gtk_hbutton_box_new ();
--- tmp/gpredict-0.8.0/src/sat-pref-single-pass.c	2006-09-02 15:52:21.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-single-pass.c	2007-08-20 13:48:09.000000000 +0200
@@ -178,17 +178,13 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 			  G_CALLBACK (reset_cb), NULL);
 
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, button,
-			      _("Reset settings to the default values."),
-			      NULL);
+	gtk_widget_set_tooltip_text (button, _("Reset settings to the default values."));
 
 	butbox = gtk_hbutton_box_new ();
 	gtk_button_box_set_layout (GTK_BUTTON_BOX (butbox), GTK_BUTTONBOX_END);
--- tmp/gpredict-0.8.0/src/sat-pref-polar-view.c	2006-09-02 15:52:20.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-polar-view.c	2007-08-20 13:48:09.000000000 +0200
@@ -111,7 +111,6 @@
 {
 	GtkWidget *label;
 	GtkWidget *hbox;
-	GtkTooltips *tips;
 
 
 
@@ -129,42 +128,34 @@
 	/* N/E/S/W */
 	nesw = gtk_radio_button_new_with_label (NULL, "N/E/S/W");
 	gtk_box_pack_start (GTK_BOX (hbox), nesw, FALSE, TRUE, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, nesw,
+	gtk_widget_set_tooltip_text (nesw,
 			      "\tN\n"\
 			      "W\t\tE\n"\
-			      "\tS",
-			      NULL);
+			      "\tS");
 
 	/* N/W/S/E */
 	nwse = gtk_radio_button_new_with_label_from_widget (GTK_RADIO_BUTTON (nesw), "N/W/S/E");
 	gtk_box_pack_start (GTK_BOX (hbox), nwse, FALSE, TRUE, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, nwse,
+	gtk_widget_set_tooltip_text (nwse,
 			      "\tN\n"\
 			      "E\t\tW\n"\
-			      "\tS",
-			      NULL);
+			      "\tS");
 
 	/* S/E/N/W */
 	senw = gtk_radio_button_new_with_label_from_widget (GTK_RADIO_BUTTON (nesw), "S/E/N/W");
 	gtk_box_pack_start (GTK_BOX (hbox), senw, FALSE, TRUE, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, senw,
+	gtk_widget_set_tooltip_text (senw,
 			      "\tS\n"\
 			      "W\t\tE\n"\
-			      "\tN",
-			      NULL);
+			      "\tN");
 
 	/* S/W/N/E */
 	swne = gtk_radio_button_new_with_label_from_widget (GTK_RADIO_BUTTON (nesw), "S/W/N/E");
 	gtk_box_pack_start (GTK_BOX (hbox), swne, FALSE, TRUE, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, swne,
+	gtk_widget_set_tooltip_text (swne,
 			      "\tS\n"\
 			      "E\t\tW\n"\
-			      "\tW",
-			      NULL);
+			      "\tW");
 
 	/* read orientation */
 	if (cfg != NULL) {
@@ -233,7 +224,6 @@
 create_bool_selectors   (GKeyFile *cfg, GtkBox *vbox)
 {
 	GtkWidget *label;
-	GtkTooltips *tips;
 	GtkWidget *hbox;
 
 
@@ -250,10 +240,8 @@
 
 	/* QTH info */
 	qth = gtk_check_button_new_with_label (_("QTH Info"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, qth,
-			      _("Show location information on the polar plot"),
-			      NULL);
+	gtk_widget_set_tooltip_text (qth,
+			      _("Show location information on the polar plot"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (qth),
 					      mod_cfg_get_bool (cfg,
@@ -270,10 +258,8 @@
 
 	/* Next Event */
 	next = gtk_check_button_new_with_label (_("Next Event"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, next,
-			      _("Show which satellites comes up next and at what time"),
-			      NULL);
+	gtk_widget_set_tooltip_text (next,
+			      _("Show which satellites comes up next and at what time"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (next),
 					      mod_cfg_get_bool (cfg,
@@ -290,10 +276,8 @@
 
 	/* Cursor position */
 	curs = gtk_check_button_new_with_label (_("Cursor Position"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, curs,
-			      _("Show the azimuth and elevation of the mouse pointer"),
-			      NULL);
+	gtk_widget_set_tooltip_text (curs,
+			      _("Show the azimuth and elevation of the mouse pointer"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (curs),
 					      mod_cfg_get_bool (cfg,
@@ -311,10 +295,8 @@
 
 	/* Extra tick marks */
 	xtick = gtk_check_button_new_with_label (_("Extra Az Ticks"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, xtick,
-			      _("Show extra tick marks for every 30\302\260"),
-			      NULL);
+	gtk_widget_set_tooltip_text (xtick,
+			      _("Show extra tick marks for every 30\302\260"));
 	if (cfg != NULL) {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (xtick),
 					      mod_cfg_get_bool (cfg,
@@ -343,7 +325,6 @@
 create_colour_selectors (GKeyFile *cfg, GtkBox *vbox)
 {
 	GtkWidget   *label;
-	GtkTooltips *tips;
 	GtkWidget   *table;
 	guint        rgba;   /* RRGGBBAA encoded colour */
 	guint16      alpha;  /* alpha channel 16 bits */
@@ -373,10 +354,7 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (bgd), TRUE);
 	gtk_table_attach (GTK_TABLE (table), bgd, 1, 2, 0, 1,
 			  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, bgd,
-			      _("Click to select background colour"),
-			      NULL);
+	gtk_widget_set_tooltip_text (bgd, _("Click to select background colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 					MOD_CFG_POLAR_SECTION,
@@ -400,10 +378,7 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (axis), TRUE);
 	gtk_table_attach (GTK_TABLE (table), axis, 3, 4, 0, 1,
 			  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, axis,
-			      _("Click to select the axis colour"),
-			      NULL);
+	gtk_widget_set_tooltip_text (axis, _("Click to select the axis colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 					MOD_CFG_POLAR_SECTION,
@@ -427,10 +402,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (tick), TRUE);
 	gtk_table_attach (GTK_TABLE (table), tick, 5, 6, 0, 1,
 			  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, tick,
-			      _("Click to select the colour for tick labels"),
-			      NULL);
+	gtk_widget_set_tooltip_text (tick,
+			      _("Click to select the colour for tick labels"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 					MOD_CFG_POLAR_SECTION,
@@ -454,10 +427,7 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (sat), TRUE);
 	gtk_table_attach (GTK_TABLE (table), sat, 1, 2, 1, 2,
 			  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, sat,
-			      _("Click to select satellite colour"),
-			      NULL);
+	gtk_widget_set_tooltip_text (sat, _("Click to select satellite colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 					MOD_CFG_POLAR_SECTION,
@@ -481,10 +451,8 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (ssat), TRUE);
 	gtk_table_attach (GTK_TABLE (table), ssat, 3, 4, 1, 2,
 			  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, ssat,
-			      _("Click to select colour for selected satellites"),
-			      NULL);
+	gtk_widget_set_tooltip_text (ssat,
+			      _("Click to select colour for selected satellites"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 					MOD_CFG_POLAR_SECTION,
@@ -508,10 +476,7 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (track), TRUE);
 	gtk_table_attach (GTK_TABLE (table), track, 5, 6, 1, 2,
 			  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, track,
-			      _("Click to select track colour"),
-			      NULL);
+	gtk_widget_set_tooltip_text (track, _("Click to select track colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 					MOD_CFG_POLAR_SECTION,
@@ -535,10 +500,7 @@
 	gtk_color_button_set_use_alpha (GTK_COLOR_BUTTON (info), TRUE);
 	gtk_table_attach (GTK_TABLE (table), info, 1, 2, 2, 3,
 			  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, info,
-			      _("Click to select background colour"),
-			      NULL);
+	gtk_widget_set_tooltip_text (info, _("Click to select background colour"));
 	if (cfg != NULL) {
 		rgba = mod_cfg_get_int (cfg,
 					MOD_CFG_POLAR_SECTION,
@@ -571,23 +533,19 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 			  G_CALLBACK (reset_cb), cfg);
 
-	tips = gtk_tooltips_new ();
 	if (cfg == NULL) {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset settings to the default values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button,
+				      _("Reset settings to the default values."));
 	}
 	else {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset module settings to the global values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button,
+				      _("Reset module settings to the global values."));
 	}
 
 	butbox = gtk_hbutton_box_new ();
--- tmp/gpredict-0.8.0/src/sat-pref-layout.c	2006-09-02 15:52:20.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-layout.c	2007-08-20 13:48:09.000000000 +0200
@@ -484,23 +484,17 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 			  G_CALLBACK (reset_cb), cfg);
 
-	tips = gtk_tooltips_new ();
 	if (cfg == NULL) {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset settings to the default values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button, _("Reset settings to the default values."));
 	}
 	else {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset module settings to the global values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button, _("Reset module settings to the global values."));
 	}
 
 	butbox = gtk_hbutton_box_new ();
--- tmp/gpredict-0.8.0/src/gpredict-utils.c	2006-09-02 15:52:17.000000000 +0200
+++ gpredict-0.8.0/src/gpredict-utils.c	2007-08-20 13:53:18.000000000 +0200
@@ -50,7 +50,6 @@
         GtkWidget *image;
         GtkWidget *box;
         gchar     *path;
-        GtkTooltips *tips;
 
         path = icon_file_name (file);
         image = gtk_image_new_from_file (path);
@@ -63,8 +62,7 @@
         button = gtk_button_new ();
         gtk_container_add (GTK_CONTAINER (button), box);
 
-        tips = gtk_tooltips_new ();
-        gtk_tooltips_set_tip (tips, button, tooltip, NULL);
+        gtk_widget_set_tooltip_text (button, tooltip);
 
 
         return button;
@@ -85,7 +83,6 @@
         GtkWidget *image;
         GtkWidget *box;
         gchar     *path;
-        GtkTooltips *tips;
 
         path = icon_file_name (file);
         image = gtk_image_new_from_file (path);
@@ -98,8 +95,7 @@
         button = gtk_button_new ();
         gtk_container_add (GTK_CONTAINER (button), box);
 
-        tips = gtk_tooltips_new ();
-        gtk_tooltips_set_tip (tips, button, tooltip, NULL);
+        gtk_widget_set_tooltip_text (button, tooltip);
 
 
         return button;
@@ -117,7 +113,6 @@
         GtkWidget *button;
         GtkWidget *image;
         GtkWidget *box;
-        GtkTooltips *tips;
 	
 
         image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON);
@@ -129,8 +124,7 @@
         button = gtk_button_new ();
         gtk_container_add (GTK_CONTAINER (button), box);
 
-        tips = gtk_tooltips_new ();
-        gtk_tooltips_set_tip (tips, button, tooltip, NULL);
+        gtk_widget_set_tooltip_text (button, tooltip);
 
 
         return button;
@@ -180,7 +174,6 @@
         GtkWidget *button;
         GtkWidget *image;
         gchar     *path;
-        GtkTooltips *tips;
 
         path = icon_file_name (pixmapfile);
         image = gtk_image_new_from_file (path);
@@ -190,8 +183,7 @@
 	gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
         gtk_container_add (GTK_CONTAINER (button), image);
 
-        tips = gtk_tooltips_new ();
-        gtk_tooltips_set_tip (tips, button, tooltip, NULL);
+        gtk_widget_set_tooltip_text (button, tooltip);
 
 
         return button;
--- tmp/gpredict-0.8.0/src/sat-pref-multi-pass.c	2006-09-02 15:52:20.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-multi-pass.c	2007-08-20 13:48:09.000000000 +0200
@@ -184,17 +184,14 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 			  G_CALLBACK (reset_cb), NULL);
 
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, button,
-			      _("Reset settings to the default values."),
-			      NULL);
+	gtk_widget_set_tooltip_text (button,
+			      _("Reset settings to the default values."));
 
 	butbox = gtk_hbutton_box_new ();
 	gtk_button_box_set_layout (GTK_BUTTON_BOX (butbox), GTK_BUTTONBOX_END);
--- tmp/gpredict-0.8.0/src/mod-cfg.c	2007-02-13 22:51:20.000000000 +0100
+++ gpredict-0.8.0/src/mod-cfg.c	2007-08-20 13:48:09.000000000 +0200
@@ -454,7 +454,6 @@
 	GtkWidget   *add;
 	GtkWidget   *table;
 	GtkWidget   *label;
-	GtkTooltips *tooltips;
 	gchar       *icon;      /* windo icon file name */
 
 
@@ -510,13 +509,9 @@
 	else {
 		/* connect changed signal to text-checker */
 		gtk_entry_set_max_length (GTK_ENTRY (namew), 25);
-		tooltips = gtk_tooltips_new ();
-		gtk_tooltips_set_tip (tooltips, namew,
+		gtk_widget_set_tooltip_text (namew,
 							  _("Enter a short name for this module.\n"\
-								"Allowed charachters: 0..9, a..z, A..Z, - and _"),
-							  _("The name will be used to identify the module "\
-								"and it is also used a file name for saving the data."\
-								"Max length is 25 charachters."));
+								"Allowed charachters: 0..9, a..z, A..Z, - and _"));
 
 		/* attach changed signal so that we can enable OK button when
 		   a proper name has been entered
--- tmp/gpredict-0.8.0/src/gtk-sat-module-popup.c	2007-03-13 23:25:19.000000000 +0100
+++ gpredict-0.8.0/src/gtk-sat-module-popup.c	2007-08-20 13:53:51.000000000 +0200
@@ -237,7 +237,6 @@
 	GtkWidget    *entry;
 	GtkWidget    *label;
 	GtkWidget    *toggle;
-	GtkTooltips  *tooltips;
 	guint         response;
 	GtkSatModule *module = GTK_SAT_MODULE (data);
 	GtkSatModule *newmod;
@@ -263,13 +262,9 @@
 	entry = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (entry), 25);
 	gtk_entry_set_text (GTK_ENTRY (entry), module->name);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, entry,
+	gtk_widget_set_tooltip_text (entry,
 						  _("Enter a short name for this module.\n"\
-							"Allowed charachters: 0..9, a..z, A..Z, - and _"),
-						  _("The name will be used to identify the module "\
-							"and it is also used a file name for saving the data."\
-							"Max length is 25 charachters."));
+							"Allowed charachters: 0..9, a..z, A..Z, - and _"));
 
 	/* attach changed signal so that we can enable OK button when
 	   a proper name has been entered
@@ -286,11 +281,9 @@
 	/* check button */
 	toggle = gtk_check_button_new_with_label (_("Open module when created"));
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), TRUE);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, toggle,
+	gtk_widget_set_tooltip_text (toggle,
 						  _("If checked, the new module will be opened "\
-							"after it has been created"),
-						  NULL);
+							"after it has been created"));
 	gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
 						toggle, FALSE, FALSE, 20);
 	
--- tmp/gpredict-0.8.0/src/sat-pref-qth-editor.c	2007-05-30 22:09:29.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-qth-editor.c	2007-08-20 13:48:09.000000000 +0200
@@ -170,7 +170,6 @@
 {
 	GtkWidget   *table;
 	GtkWidget   *label;
-	GtkTooltips *tooltips;
 	GtkWidget   *locbut;
 	GtkWidget   *wxbut;
 
@@ -187,13 +186,9 @@
 	
 	name = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (name), 25);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, name,
+	gtk_widget_set_tooltip_text (name,
 						  _("Enter a short name for this ground station, e.g. callsign.\n"\
-							"Allowed charachters: 0..9, a..z, A..Z, - and _"),
-						  _("The name will be used to identify the ground station when "\
-							"it is presented to the user. Maximum allowed length "\
-							"is 25 charachters."));
+							"Allowed charachters: 0..9, a..z, A..Z, - and _"));
 	gtk_table_attach_defaults (GTK_TABLE (table), name, 1, 4, 0, 1);
 
 	/* attach changed signal so that we can enable OK button when
@@ -208,12 +203,8 @@
 	
 	desc = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (desc), 256);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, desc,
-						  _("Enter an optional description for this ground station."),
-						  _("The description can be used as additional "\
-							"information. It may be included when generating reports. "\
-							"The maximum length for the description is 256 characters."));
+	gtk_widget_set_tooltip_text (desc,
+								 _("Enter an optional description for this ground station."));
 	gtk_table_attach_defaults (GTK_TABLE (table), desc, 1, 4, 1, 2);
 
 	/* location */
@@ -223,10 +214,8 @@
 	
 	location = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (location), 50);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, location,
-						  _("Optional location of the ground station, fx. Copenhagen, Denmark."),
-						  NULL);
+	gtk_widget_set_tooltip_text (location,
+						  _("Optional location of the ground station, fx. Copenhagen, Denmark."));
 	gtk_table_attach_defaults (GTK_TABLE (table), location, 1, 3, 2, 3);
 
 	locbut = gpredict_hstock_button (GTK_STOCK_INDEX, _("Select"),
@@ -246,10 +235,8 @@
 	gtk_spin_button_set_increments (GTK_SPIN_BUTTON (lat), 0.0001, 1.0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (lat), TRUE);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (lat), 4);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, lat,
-						  _("Select the latitude of the ground station in decimal degrees."),
-						  NULL);
+	gtk_widget_set_tooltip_text (lat,
+						  _("Select the latitude of the ground station in decimal degrees."));
 	gtk_table_attach_defaults (GTK_TABLE (table), lat, 1, 2, 3, 4);
 
 	ns = gtk_combo_box_new_text ();
@@ -268,9 +255,8 @@
 	gtk_spin_button_set_increments (GTK_SPIN_BUTTON (lon), 0.0001, 1.0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (lon), TRUE);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (lon), 4);
-	gtk_tooltips_set_tip (tooltips, lon,
-						  _("Select the longitude of the ground station in decimal degrees."),
-						  NULL);
+	gtk_widget_set_tooltip_text (lon,
+						  _("Select the longitude of the ground station in decimal degrees."));
 	gtk_table_attach_defaults (GTK_TABLE (table), lon, 1, 2, 4, 5);
 
 	ew = gtk_combo_box_new_text ();
@@ -305,10 +291,7 @@
 
 	qra = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (qra), 6);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, qra,
-						  _("Maidenhead locator grid."),
-						  NULL);
+	gtk_widget_set_tooltip_text (qra, _("Maidenhead locator grid."));
 	gtk_table_attach_defaults (GTK_TABLE (table), qra, 1, 2, 5, 6);
 	qrasigid = g_signal_connect (qra, "changed",
 								 G_CALLBACK (qra_changed),
@@ -322,10 +305,9 @@
 	alt = gtk_spin_button_new_with_range (0, 5000, 1);
 	gtk_spin_button_set_increments (GTK_SPIN_BUTTON (alt), 1, 100);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (alt), TRUE);
-	gtk_tooltips_set_tip (tooltips, alt,
+	gtk_widget_set_tooltip_text (alt,
 						  _("Select the altitude of the ground station in meters or feet "\
-							"depending on your settings"),
-						  NULL);
+							"depending on your settings"));
 	gtk_table_attach_defaults (GTK_TABLE (table), alt, 1, 2, 6, 7);
 
 	if (sat_cfg_get_bool (SAT_CFG_BOOL_USE_IMPERIAL)) {
@@ -344,10 +326,7 @@
 
 	wx = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (wx), 4);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, wx,
-						  _("Four letter code for weather station"),
-						  NULL);
+	gtk_widget_set_tooltip_text (wx, _("Four letter code for weather station"));
 	gtk_table_attach_defaults (GTK_TABLE (table), wx, 1, 3, 7, 8);
 
 	wxbut = gpredict_hstock_button (GTK_STOCK_INDEX, _("Select"),
--- tmp/gpredict-0.8.0/src/sat-pref-sky-at-glance.c	2007-02-26 11:44:30.000000000 +0100
+++ gpredict-0.8.0/src/sat-pref-sky-at-glance.c	2007-08-20 13:48:09.000000000 +0200
@@ -61,7 +61,6 @@
 {
 	GtkWidget   *table;
 	GtkWidget   *label;
-	GtkTooltips *tips;
 	GtkWidget   *vbox;
 	GdkColor     col;
 	guint        rgb;   /* 0xRRGGBB encoded colour */
@@ -95,11 +94,9 @@
 					  GTK_SHRINK,
 					  0, 0);
 	timesp = gtk_spin_button_new_with_range (1, 24, 1);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, timesp,
+	gtk_widget_set_tooltip_text (timesp,
 						  _("The passes shown on the Sky at a Glance chart\n"\
-							"will begin within this number of hours."),
-						  NULL);
+							"will begin within this number of hours."));
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (timesp), 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (timesp), TRUE);
 	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (timesp), FALSE);
@@ -152,10 +149,7 @@
 	gtk_table_attach (GTK_TABLE (table), col1,
 					  1, 2, y+1, y+2,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col1,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col1, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_01);
 
 	rgb2gdk (rgb, &col);
@@ -174,10 +168,7 @@
 	gtk_table_attach (GTK_TABLE (table), col2,
 					  1, 2, y+2, y+3,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col2,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col2, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_02);
 
 	rgb2gdk (rgb, &col);
@@ -196,10 +187,7 @@
 	gtk_table_attach (GTK_TABLE (table), col3,
 					  1, 2, y+3, y+4,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col3,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col3, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_03);
 
 	rgb2gdk (rgb, &col);
@@ -218,10 +206,7 @@
 	gtk_table_attach (GTK_TABLE (table), col4,
 					  1, 2, y+4, y+5,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col4,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col4, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_04);
 
 	rgb2gdk (rgb, &col);
@@ -240,10 +225,7 @@
 	gtk_table_attach (GTK_TABLE (table), col5,
 					  1, 2, y+5, y+6,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col5,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col5, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_05);
 
 	rgb2gdk (rgb, &col);
@@ -263,10 +245,7 @@
 	gtk_table_attach (GTK_TABLE (table), col6,
 					  4, 5, y+1, y+2,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col6,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col6, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_06);
 
 	rgb2gdk (rgb, &col);
@@ -285,10 +264,7 @@
 	gtk_table_attach (GTK_TABLE (table), col7,
 					  4, 5, y+2, y+3,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col7,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col7, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_07);
 
 	rgb2gdk (rgb, &col);
@@ -307,10 +283,7 @@
 	gtk_table_attach (GTK_TABLE (table), col8,
 					  4, 5, y+3, y+4,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col8,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col8, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_08);
 
 	rgb2gdk (rgb, &col);
@@ -329,10 +302,7 @@
 	gtk_table_attach (GTK_TABLE (table), col9,
 					  4, 5, y+4, y+5,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col9,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col9, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_09);
 
 	rgb2gdk (rgb, &col);
@@ -351,10 +321,7 @@
 	gtk_table_attach (GTK_TABLE (table), col10,
 					  4, 5, y+5, y+6,
 					  GTK_FILL , GTK_FILL, 0, 0);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, col10,
-						  _("Click to select a colour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (col10, _("Click to select a colour"));
 	rgb = sat_cfg_get_int (SAT_CFG_INT_SKYATGL_COL_10);
 
 	rgb2gdk (rgb, &col);
@@ -485,17 +452,14 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 					  G_CALLBACK (reset_cb), NULL);
 
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, button,
-						  _("Reset settings to the default values."),
-						  NULL);
+	gtk_widget_set_tooltip_text (button,
+						  _("Reset settings to the default values."));
 
 	butbox = gtk_hbutton_box_new ();
 	gtk_button_box_set_layout (GTK_BUTTON_BOX (butbox), GTK_BUTTONBOX_END);
--- tmp/gpredict-0.8.0/src/gtk-sat-module-tmg.c	2007-03-22 22:14:20.000000000 +0100
+++ gpredict-0.8.0/src/gtk-sat-module-tmg.c	2007-08-20 13:54:52.000000000 +0200
@@ -59,7 +59,6 @@
     GtkWidget   *vbox, *hbox, *table;
     GtkWidget   *image;
 	GtkWidget   *label;
-    GtkTooltips *tips;
     gchar       *title;
 	gchar       *buff;
 
@@ -90,8 +89,7 @@
     gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (mod->tmgFwd), TRUE);
     image = gtk_image_new_from_stock (GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_BUTTON);
     gtk_container_add (GTK_CONTAINER (mod->tmgFwd), image);
-    tips = gtk_tooltips_new ();
-    gtk_tooltips_set_tip (tips, mod->tmgFwd, _("Play forward"), NULL);
+    gtk_widget_set_tooltip_text (mod->tmgFwd, _("Play forward"));
     g_signal_connect (mod->tmgFwd, "toggled", G_CALLBACK (tmg_fwd), mod);
     gtk_box_pack_end (GTK_BOX (hbox), mod->tmgFwd, FALSE, FALSE, 0);
 
@@ -100,8 +98,7 @@
     gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (mod->tmgStop), FALSE);
     image = gtk_image_new_from_stock (GTK_STOCK_MEDIA_PAUSE, GTK_ICON_SIZE_BUTTON);
     gtk_container_add (GTK_CONTAINER (mod->tmgStop), image);
-    tips = gtk_tooltips_new ();
-    gtk_tooltips_set_tip (tips, mod->tmgStop, _("Stop"), NULL);
+    gtk_widget_set_tooltip_text (mod->tmgStop, _("Stop"));
     g_signal_connect (mod->tmgStop, "toggled", G_CALLBACK (tmg_stop), mod);
     gtk_box_pack_end (GTK_BOX (hbox), mod->tmgStop, FALSE, FALSE, 0);
 
@@ -111,15 +108,13 @@
     image = gtk_image_new_from_stock (GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_BUTTON);
 	gtk_widget_set_direction (image, GTK_TEXT_DIR_RTL);
     gtk_container_add (GTK_CONTAINER (mod->tmgBwd), image);
-    tips = gtk_tooltips_new ();
-    gtk_tooltips_set_tip (tips, mod->tmgBwd, _("Play backwards"), NULL);
+    gtk_widget_set_tooltip_text (mod->tmgBwd, _("Play backwards"));
     g_signal_connect (mod->tmgBwd, "toggled", G_CALLBACK (tmg_bwd), mod);
     gtk_box_pack_end (GTK_BOX (hbox), mod->tmgBwd, FALSE, FALSE, 0);
 
 	/* reset time */
 	mod->tmgReset = gtk_button_new_with_label (_("Reset"));
-    tips = gtk_tooltips_new ();
-    gtk_tooltips_set_tip (tips, mod->tmgReset, _("Reset to current date and time"), NULL);
+    gtk_widget_set_tooltip_text (mod->tmgReset, _("Reset to current date and time"));
     g_signal_connect (mod->tmgReset, "clicked", G_CALLBACK (tmg_reset), mod);
     gtk_box_pack_end (GTK_BOX (hbox), mod->tmgReset, FALSE, FALSE, 10);
 
@@ -156,10 +151,8 @@
 									   GTK_UPDATE_IF_VALID);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (mod->tmgHour), 0);
 	//FIXME gtk_spin_button_set_value (GTK_SPIN_BUTTON (mod->tmgHour), 2);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, mod->tmgHour,
-						  _("Use this control to set the hour"),
-						  NULL);
+	gtk_widget_set_tooltip_text (mod->tmgHour,
+						  _("Use this control to set the hour"));
 	g_signal_connect (mod->tmgHour, "value-changed",
 					  G_CALLBACK (tmg_time_set), mod);
 	gtk_table_attach (GTK_TABLE (table), mod->tmgHour,
@@ -176,10 +169,8 @@
 									   GTK_UPDATE_IF_VALID);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (mod->tmgMin), 0);
 	//FIXME gtk_spin_button_set_value (GTK_SPIN_BUTTON (mod->tmgMin), 2);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, mod->tmgMin,
-						  _("Use this control to set the minutes"),
-						  NULL);
+	gtk_widget_set_tooltip_text (mod->tmgMin,
+						  _("Use this control to set the minutes"));
 	g_signal_connect (mod->tmgMin, "value-changed",
 					  G_CALLBACK (tmg_time_set), mod);
 	gtk_table_attach (GTK_TABLE (table), mod->tmgMin,
@@ -196,10 +187,8 @@
 									   GTK_UPDATE_IF_VALID);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (mod->tmgSec), 0);
 	//FIXME gtk_spin_button_set_value (GTK_SPIN_BUTTON (mod->tmgSec), 2);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, mod->tmgSec,
-						  _("Use this control to set the seconds"),
-						  NULL);
+	gtk_widget_set_tooltip_text (mod->tmgSec,
+						  _("Use this control to set the seconds"));
 	g_signal_connect (mod->tmgSec, "value-changed",
 					  G_CALLBACK (tmg_time_set), mod);
 	gtk_table_attach (GTK_TABLE (table), mod->tmgSec,
@@ -216,10 +205,8 @@
 									   GTK_UPDATE_IF_VALID);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (mod->tmgMsec), 0);
 	//FIXME gtk_spin_button_set_value (GTK_SPIN_BUTTON (mod->tmgMsec), 2);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, mod->tmgMsec,
-						  _("Use this control to set the milliseconds"),
-						  NULL);
+	gtk_widget_set_tooltip_text (mod->tmgMsec,
+						  _("Use this control to set the milliseconds"));
 	g_signal_connect (mod->tmgMsec, "value-changed",
 					  G_CALLBACK (tmg_time_set), mod);
 	gtk_table_attach (GTK_TABLE (table), mod->tmgMsec,
@@ -236,10 +223,8 @@
 									   GTK_UPDATE_IF_VALID);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (mod->tmgFactor), 0);
 	gtk_spin_button_set_value (GTK_SPIN_BUTTON (mod->tmgFactor), 1);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, mod->tmgFactor,
-						  _("Time throttle / compression factor"),
-						  NULL);
+	gtk_widget_set_tooltip_text (mod->tmgFactor,
+						  _("Time throttle / compression factor"));
 	g_signal_connect (mod->tmgFactor, "value-changed",
 					  G_CALLBACK (tmg_throttle), mod);
 	gtk_table_attach (GTK_TABLE (table), mod->tmgFactor,
--- tmp/gpredict-0.8.0/src/sat-pref-formats.c	2007-01-20 19:06:50.000000000 +0100
+++ gpredict-0.8.0/src/sat-pref-formats.c	2007-08-20 13:48:09.000000000 +0200
@@ -89,21 +89,18 @@
 GtkWidget *sat_pref_formats_create ()
 {
 	GtkWidget   *vbox,*tfbox;
-	GtkTooltips *tips;
 	gchar       *text;
 
 	/* use local time */
 	tzcheck = gtk_check_button_new_with_label (_("Show local time instead of UTC."));
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (tzcheck),
 								  sat_cfg_get_bool (SAT_CFG_BOOL_USE_LOCAL_TIME));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, tzcheck, tztips, NULL);
+	gtk_widget_set_tooltip_text (tzcheck, tztips);
 
 	/* time format */
 	tfentry = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (tfentry), TIME_FORMAT_MAX_LENGTH);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, tfentry, tftips, NULL);
+	gtk_widget_set_tooltip_text (tfentry, tftips);
 
 	text = sat_cfg_get_str (SAT_CFG_STR_TIME_FORMAT);
 	gtk_entry_set_text (GTK_ENTRY (tfentry), text);
@@ -117,8 +114,7 @@
 	/* reset button */
 	tfreset = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (tfreset, "clicked", G_CALLBACK (reset_cb), NULL);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, tfreset, _("Reset to default value"), NULL);
+	gtk_widget_set_tooltip_text (tfreset, _("Reset to default value"));
 
 	tfbox = gtk_hbox_new (FALSE, 5);
 	gtk_box_pack_start (GTK_BOX (tfbox), gtk_label_new (_("Time format:")),
@@ -131,15 +127,13 @@
 	nsewcheck = gtk_check_button_new_with_label (_("Use N/S/E/W for geographical coordinates."));
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (nsewcheck),
 								  sat_cfg_get_bool (SAT_CFG_BOOL_USE_NSEW));	
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, nsewcheck, nsewtips, NULL);
+	gtk_widget_set_tooltip_text (nsewcheck, nsewtips);
 
 	/* unit */
 	useimporg = sat_cfg_get_bool (SAT_CFG_BOOL_USE_IMPERIAL);
 	impcheck = gtk_check_button_new_with_label (_("Use Imperial units instead of Metric."));
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (impcheck), useimporg);	
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, impcheck, imptips, NULL);
+	gtk_widget_set_tooltip_text (impcheck, imptips);
 	/* connect sat-pref-qth hook */
 	g_signal_connect (impcheck, "toggled", G_CALLBACK (systog_cb), NULL);
 			 
--- tmp/gpredict-0.8.0/src/sat-pref-list-view.c	2007-05-30 22:49:17.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-list-view.c	2007-08-20 13:48:09.000000000 +0200
@@ -71,7 +71,6 @@
 GtkWidget *sat_pref_list_view_create (GKeyFile *cfg)
 {
 	GtkWidget *vbox;
-	GtkTooltips *tips;
 	gint      i;
 	GtkWidget *table,*label;
 
@@ -158,13 +157,11 @@
 		g_signal_connect (G_OBJECT (ruleshint), "toggled",
 						  G_CALLBACK (toggle_rh_cb), NULL);
 
-		tips = gtk_tooltips_new ();
-		gtk_tooltips_set_tip (tips, ruleshint,
+		gtk_widget_set_tooltip_text (ruleshint,
 							  _("Enabling rules hint may make reading across many "\
 								"columns easier. By default the satlist will be rendered "\
 								"with alternating colours, but the exact behaviour is "\
-								"up to the theme engine."),
-							  NULL);
+								"up to the theme engine."));
 
 		gtk_box_pack_start (GTK_BOX (vbox), gtk_hseparator_new (), FALSE, FALSE, 0);
 
@@ -247,23 +244,19 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 			  G_CALLBACK (reset_cb), cfg);
 
-	tips = gtk_tooltips_new ();
 	if (cfg == NULL) {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset settings to the default values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button,
+				      _("Reset settings to the default values."));
 	}
 	else {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset module settings to the global values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button,
+				      _("Reset module settings to the global values."));
 	}
 
 	butbox = gtk_hbutton_box_new ();
--- tmp/gpredict-0.8.0/src/sat-pref-conditions.c	2006-12-10 21:07:56.000000000 +0100
+++ gpredict-0.8.0/src/sat-pref-conditions.c	2007-08-20 13:48:09.000000000 +0200
@@ -59,7 +59,6 @@
 {
 	GtkWidget   *table;
 	GtkWidget   *label;
-	GtkTooltips *tips;
 	GtkWidget   *vbox;
 
 
@@ -79,12 +78,10 @@
 					  GTK_SHRINK,
 					  0, 0);
 	minel = gtk_spin_button_new_with_range (0, 90, 1);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, minel,
+	gtk_widget_set_tooltip_text (minel,
 						  _("Elevation threshold for passes.\n"\
 							"Passes with maximum elevation below this limit "\
-							"will be omitted"),
-						  NULL);
+							"will be omitted"));
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (minel), 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (minel), TRUE);
 	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (minel), FALSE);
@@ -131,10 +128,8 @@
 					  GTK_SHRINK,
 					  0, 0);
 	numpass = gtk_spin_button_new_with_range (5, 50, 1);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, numpass,
-						  _("The maximum number of passes to predict."),
-						  NULL);
+	gtk_widget_set_tooltip_text (numpass,
+						  _("The maximum number of passes to predict."));
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (numpass), 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (numpass), TRUE);
 	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (numpass), FALSE);
@@ -157,11 +152,9 @@
 					  GTK_SHRINK,
 					  0, 0);
 	lookahead = gtk_spin_button_new_with_range (1, 14, 1);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, lookahead,
+	gtk_widget_set_tooltip_text (lookahead,
 						  _("Only passes that occur within the specified "\
-							"number of days will be shown."),
-						  NULL);
+							"number of days will be shown."));
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (lookahead), 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (lookahead), TRUE);
 	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (lookahead), FALSE);
@@ -209,11 +202,9 @@
 					  GTK_SHRINK,
 					  0, 0);
 	res = gtk_spin_button_new_with_range (1, 600, 1);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, res,
+	gtk_widget_set_tooltip_text (res,
 						  _("Gpredict will try to show the pass details "\
-							"with the specified time resolution."),
-						  NULL);
+							"with the specified time resolution."));
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (res), 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (res), TRUE);
 	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (res), FALSE);
@@ -243,11 +234,9 @@
 					  GTK_SHRINK,
 					  0, 0);
 	nument = gtk_spin_button_new_with_range (10, 200, 1);
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, nument,
+	gtk_widget_set_tooltip_text (nument,
 						  _("Gpredict will try to keep the number of rows "\
-							"in the detailed prediction within this limit."),
-						  NULL);
+							"in the detailed prediction within this limit."));
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (nument), 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (nument), TRUE);
 	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (nument), FALSE);
@@ -335,17 +324,14 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 					  G_CALLBACK (reset_cb), NULL);
 
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, button,
-						  _("Reset settings to the default values."),
-						  NULL);
+	gtk_widget_set_tooltip_text (button,
+						  _("Reset settings to the default values."));
 
 	butbox = gtk_hbutton_box_new ();
 	gtk_button_box_set_layout (GTK_BUTTON_BOX (butbox), GTK_BUTTONBOX_END);
--- tmp/gpredict-0.8.0/src/sat-pref-tle.c	2006-10-14 23:30:50.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-tle.c	2007-08-20 13:48:09.000000000 +0200
@@ -215,7 +215,6 @@
 {
 	GtkWidget   *label;
 	GtkWidget   *table;
-	GtkTooltips *tips;
 
 	/* auto update */
 	label = gtk_label_new (NULL);
@@ -236,12 +235,10 @@
 	server = gtk_entry_new ();
 	if (sat_cfg_get_str (SAT_CFG_STR_TLE_SERVER))
 		gtk_entry_set_text (GTK_ENTRY (server), sat_cfg_get_str (SAT_CFG_STR_TLE_SERVER));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, server,
+	gtk_widget_set_tooltip_text (server,
 						  _("Enter URL for remote server including directory, i.e.\n"\
 							"protocol://servername/directory\n"\
-							"Protocol can be both http and ftp."),
-						  NULL); 
+							"Protocol can be both http and ftp.")); 
 	g_signal_connect (server, "changed", G_CALLBACK (value_changed_cb), NULL);
 	gtk_table_attach (GTK_TABLE (table), server, 1, 2, 0, 1,
 					  GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
@@ -254,11 +251,9 @@
 	proxy = gtk_entry_new ();
 	if (sat_cfg_get_str (SAT_CFG_STR_TLE_PROXY))
 		gtk_entry_set_text (GTK_ENTRY (proxy), sat_cfg_get_str (SAT_CFG_STR_TLE_PROXY));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, proxy,
+	gtk_widget_set_tooltip_text (proxy,
 						  _("Enter URL for local proxy server. e.g.\n"\
-							"http://my.proxy.com"),
-						  NULL); 
+							"http://my.proxy.com")); 
 	g_signal_connect (proxy, "changed", G_CALLBACK (value_changed_cb), NULL);
 	gtk_table_attach (GTK_TABLE (table), proxy, 1, 2, 1, 2,
 					  GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
@@ -271,11 +266,9 @@
 	files = gtk_entry_new ();
 	if (sat_cfg_get_str (SAT_CFG_STR_TLE_FILES))
 		gtk_entry_set_text (GTK_ENTRY (files), sat_cfg_get_str (SAT_CFG_STR_TLE_FILES));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, files,
+	gtk_widget_set_tooltip_text (files,
 						  _("Enter list of files to fetch from remote server.\n"\
-							"The files should be separated with ; (semicolon)"),
-						  NULL); 
+							"The files should be separated with ; (semicolon)")); 
 	g_signal_connect (files, "changed", G_CALLBACK (value_changed_cb), NULL);
 	gtk_table_attach (GTK_TABLE (table), files, 1, 2, 2, 3,
 					  GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
@@ -313,17 +306,14 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 					  G_CALLBACK (reset_cb), NULL);
 
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, button,
-						  _("Reset settings to the default values."),
-						  NULL);
+	gtk_widget_set_tooltip_text (button,
+						  _("Reset settings to the default values."));
 
 	butbox = gtk_hbutton_box_new ();
 	gtk_button_box_set_layout (GTK_BUTTON_BOX (butbox), GTK_BUTTONBOX_END);
--- tmp/gpredict-0.8.0/src/sat-pref-refresh.c	2006-09-02 15:52:21.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-refresh.c	2007-08-20 13:48:09.000000000 +0200
@@ -413,23 +413,17 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 			  G_CALLBACK (reset_cb), cfg);
 
-	tips = gtk_tooltips_new ();
 	if (cfg == NULL) {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset settings to the default values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button, _("Reset settings to the default values."));
 	}
 	else {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset module settings to the global values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button, _("Reset module settings to the global values."));
 	}
 
 	butbox = gtk_hbutton_box_new ();
--- tmp/gpredict-0.8.0/src/gtk-sat-tree.c	2007-01-19 21:02:09.000000000 +0100
+++ gpredict-0.8.0/src/gtk-sat-tree.c	2007-08-20 13:55:33.000000000 +0200
@@ -176,7 +176,6 @@
 	GtkCellRenderer    *renderer;
 	GtkTreeViewColumn  *column;
 	GtkWidget          *hbox;
-	GtkTooltips        *tips;
 	GtkWidget          *expbut;
 	GtkWidget          *colbut;
 
@@ -264,17 +263,13 @@
 
 	/* expand and collabse buttons */
 	expbut = gtk_button_new_with_label (_("Expand"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, expbut,
-						  _("Expand all nodes in the tree to make it searchable"),
-						  NULL);
+	gtk_widget_set_tooltip_text (expbut,
+						  _("Expand all nodes in the tree to make it searchable"));
 	g_signal_connect (expbut, "clicked", G_CALLBACK (expand_cb), sat_tree);
 
 	colbut = gtk_button_new_with_label (_("Collapse"));
-	tips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tips, colbut,
-						  _("Collapse all nodes in the tree"),
-						  NULL);
+	gtk_widget_set_tooltip_text (colbut,
+						  _("Collapse all nodes in the tree"));
 	g_signal_connect (colbut, "clicked", G_CALLBACK (collapse_cb), sat_tree);
 
 	hbox = gtk_hbutton_box_new ();
--- tmp/gpredict-0.8.0/src/qth-editor.c	2007-05-30 22:15:30.000000000 +0200
+++ gpredict-0.8.0/src/qth-editor.c	2007-08-20 13:48:09.000000000 +0200
@@ -185,7 +185,6 @@
 {
 	GtkWidget   *table;
 	GtkWidget   *label;
-	GtkTooltips *tooltips;
 	GtkWidget   *locbut;
 	GtkWidget   *wxbut;
 
@@ -202,13 +201,9 @@
 	
 	name = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (name), 25);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, name,
+	gtk_widget_set_tooltip_text (name,
 						  _("Enter a short name for this ground station, e.g. callsign.\n"\
-							"Allowed charachters: 0..9, a..z, A..Z, - and _"),
-						  _("The name will be used to identify the ground station "\
-							"when it is presented to the user. Maximum allowed length "\
-							"is 25 charachters."));
+							"Allowed charachters: 0..9, a..z, A..Z, - and _"));
 	gtk_table_attach_defaults (GTK_TABLE (table), name, 1, 4, 0, 1);
 
 	/* attach changed signal so that we can enable OK button when
@@ -223,12 +218,8 @@
 	
 	desc = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (desc), 256);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, desc,
-						  _("Enter an optional description for this ground station."),
-						  _("The description for the ground station can be used as additional "\
-							"information. It may be included when generating reports. "\
-							"The maximum length for the description is 256 characters."));
+	gtk_widget_set_tooltip_text (desc,
+								 _("Enter an optional description for this ground station."));
 	gtk_table_attach_defaults (GTK_TABLE (table), desc, 1, 4, 1, 2);
 
 	/* location */
@@ -238,10 +229,8 @@
 	
 	location = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (location), 50);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, location,
-						  _("Optional location of the ground station, fx. Copenhagen, Denmark."),
-						  NULL);
+	gtk_widget_set_tooltip_text (location,
+								 _("Optional location of the ground station, fx. Copenhagen, Denmark."));
 	gtk_table_attach_defaults (GTK_TABLE (table), location, 1, 3, 2, 3);
 
 	locbut = gpredict_hstock_button (GTK_STOCK_INDEX, _("Select"),
@@ -261,10 +250,8 @@
 	gtk_spin_button_set_increments (GTK_SPIN_BUTTON (lat), 0.01, 1.0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (lat), TRUE);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (lat), 4);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, lat,
-						  _("Select the latitude of the ground station in decimal degrees."),
-						  NULL);
+	gtk_widget_set_tooltip_text (lat,
+						  _("Select the latitude of the ground station in decimal degrees."));
 	gtk_table_attach_defaults (GTK_TABLE (table), lat, 1, 2, 3, 4);
 
 	ns = gtk_combo_box_new_text ();
@@ -283,9 +270,8 @@
 	gtk_spin_button_set_increments (GTK_SPIN_BUTTON (lon), 0.01, 1.0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (lon), TRUE);
 	gtk_spin_button_set_digits (GTK_SPIN_BUTTON (lon), 4);
-	gtk_tooltips_set_tip (tooltips, lon,
-						  _("Select the longitude of the ground station in decimal degrees."),
-						  NULL);
+	gtk_widget_set_tooltip_text (lon,
+						  _("Select the longitude of the ground station in decimal degrees."));
 	gtk_table_attach_defaults (GTK_TABLE (table), lon, 1, 2, 4, 5);
 
 	ew = gtk_combo_box_new_text ();
@@ -320,10 +306,7 @@
 
 	qra = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (qra), 6);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, qra,
-						  _("Maidenhead locator grid."),
-						  NULL);
+	gtk_widget_set_tooltip_text (qra, _("Maidenhead locator grid."));
 	gtk_table_attach_defaults (GTK_TABLE (table), qra, 1, 2, 5, 6);
 	qrasigid = g_signal_connect (qra, "changed",
 								 G_CALLBACK (qra_changed),
@@ -337,10 +320,9 @@
 	alt = gtk_spin_button_new_with_range (0, 5000, 1);
 	gtk_spin_button_set_increments (GTK_SPIN_BUTTON (alt), 1, 100);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (alt), TRUE);
-	gtk_tooltips_set_tip (tooltips, alt,
+	gtk_widget_set_tooltip_text (alt,
 						  _("Select the altitude of the ground station in meters or feet "\
-							"depending on your settings"),
-						  NULL);
+							"depending on your settings"));
 	gtk_table_attach_defaults (GTK_TABLE (table), alt, 1, 2, 6, 7);
 
 	if (sat_cfg_get_bool (SAT_CFG_BOOL_USE_IMPERIAL)) {
@@ -359,10 +341,8 @@
 
 	wx = gtk_entry_new ();
 	gtk_entry_set_max_length (GTK_ENTRY (wx), 4);
-	tooltips = gtk_tooltips_new ();
-	gtk_tooltips_set_tip (tooltips, wx,
-						  _("Four letter code for weather station"),
-						  NULL);
+	gtk_widget_set_tooltip_text (wx,
+						  _("Four letter code for weather station"));
 	gtk_table_attach_defaults (GTK_TABLE (table), wx, 1, 3, 7, 8);
 
 	wxbut = gpredict_hstock_button (GTK_STOCK_INDEX, _("Select"),
--- tmp/gpredict-0.8.0/src/sat-pref-single-sat.c	2006-09-02 15:52:21.000000000 +0200
+++ gpredict-0.8.0/src/sat-pref-single-sat.c	2007-08-20 13:48:09.000000000 +0200
@@ -214,23 +214,17 @@
 {
 	GtkWidget   *button;
 	GtkWidget   *butbox;
-	GtkTooltips *tips;
 
 
 	button = gtk_button_new_with_label (_("Reset"));
 	g_signal_connect (G_OBJECT (button), "clicked",
 			  G_CALLBACK (reset_cb), cfg);
 
-	tips = gtk_tooltips_new ();
 	if (cfg == NULL) {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset settings to the default values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button, _("Reset settings to the default values."));
 	}
 	else {
-		gtk_tooltips_set_tip (tips, button,
-				      _("Reset module settings to the global values."),
-				      NULL);
+		gtk_widget_set_tooltip_text (button, _("Reset module settings to the global values."));
 	}
 
 	butbox = gtk_hbutton_box_new ();


Index: gpredict.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gpredict/devel/gpredict.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- gpredict.spec	20 Aug 2007 10:39:25 -0000	1.11
+++ gpredict.spec	20 Aug 2007 12:03:42 -0000	1.12
@@ -6,6 +6,7 @@
 License:        GPLv2+
 URL:            http://groundstation.sourceforge.net/gpredict/
 Source0:        http://prdownloads.sourceforge.net/groundstation/%{name}-%{version}.tar.gz
+Patch0:         gpredict-0.8.0-tooltip.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel >= 2.8.0
@@ -25,6 +26,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .tooltip
 
 
 %build
@@ -85,6 +87,7 @@
 %changelog
 * Mon Aug 20 2007 Denis Leroy <denis at poolshark.org> - 0.8.0-3
 - Updated License tag
+- Added patch for new GtkTooltip interface
 
 * Tue Jun 19 2007 Denis Leroy <denis at poolshark.org> - 0.8.0-2
 - Fixed desktop StartupNotify line




More information about the fedora-extras-commits mailing list