rpms/polyxmass-bin/F-8 polyxmass-bin-gtk-tooltip.patch, NONE, 1.1 polyxmass-bin.spec, 1.8, 1.9

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Fri Oct 26 09:38:25 UTC 2007


Author: awjb

Update of /cvs/pkgs/rpms/polyxmass-bin/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29737

Modified Files:
	polyxmass-bin.spec 
Added Files:
	polyxmass-bin-gtk-tooltip.patch 
Log Message:
- try at tooltip fix


polyxmass-bin-gtk-tooltip.patch:

--- NEW FILE polyxmass-bin-gtk-tooltip.patch ---
--- polyxmass/polyxcalc-ui-chempad.c.orig	2007-10-26 11:31:32.000000000 +0200
+++ polyxmass/polyxcalc-ui-chempad.c	2007-10-26 11:32:14.000000000 +0200
@@ -574,9 +574,9 @@
    */
   g_object_set_data (G_OBJECT (calcctxt->chempad_wnd), "table", table);
   
-  /* Create the tooltips.
+  /* Create the tooltips. -- awjb: not needed anymore
    */
-  tooltips = g_object_get_data (G_OBJECT (calcctxt->chempad_wnd), "tooltips");
+ /*  tooltips = g_object_get_data (G_OBJECT (calcctxt->chempad_wnd), "tooltips");
   
   if (tooltips == NULL)
     {
@@ -585,7 +585,7 @@
       g_object_set_data (G_OBJECT (calcctxt->chempad_wnd), 
 			 "tooltips", tooltips);
     }
-  
+  */
   /* Now we know how many iterations we'll have to deal with.
    */
   for (iter = 0 ; iter < count ; iter++)
--- polyxmass/polyxmass-ui-seqed-widget-context-menu.c.orig	2007-10-26 11:29:32.000000000 +0200
+++ polyxmass/polyxmass-ui-seqed-widget-context-menu.c	2007-10-26 11:31:07.000000000 +0200
@@ -75,9 +75,6 @@
   GtkWidget *seqed_widget_context_menu_chemistry_polymer_modif;
 
   GtkWidget *seqed_widget_context_menu_self_read_sequence_to_file;
-  GtkTooltips *tooltips;
-
-  tooltips = gtk_tooltips_new ();
 
   seqed_widget_context_menu = gtk_menu_new ();
 
@@ -400,9 +397,8 @@
 
   gtk_container_add (GTK_CONTAINER (seqed_widget_context_menu), 
 		     seqed_widget_context_menu_self_read_sequence_to_file);
-  gtk_tooltips_set_tip (tooltips, 
-			seqed_widget_context_menu_self_read_sequence_to_file, 
-			_("Self read the sequence (or the selection portion of it) to a file."), NULL);
+  gtk_widget_set_tooltip_text (seqed_widget_context_menu_self_read_sequence_to_file, 
+			_("Self read the sequence (or the selection portion of it) to a file."));
   g_signal_connect (G_OBJECT (seqed_widget_context_menu_self_read_sequence_to_file),
 		    "activate",
 		    G_CALLBACK (polyxmass_seqed_widget_context_menu_self_read_sequence_to_file),


Index: polyxmass-bin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/polyxmass-bin/F-8/polyxmass-bin.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- polyxmass-bin.spec	22 Aug 2007 20:21:01 -0000	1.8
+++ polyxmass-bin.spec	26 Oct 2007 09:37:52 -0000	1.9
@@ -1,6 +1,6 @@
 Name:           polyxmass-bin
 Version:        0.9.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The GNU polyxmass software suite
 
 Group:          Applications/Engineering
@@ -8,6 +8,8 @@
 URL:            http://www.polyxmass.org/
 Source0:        http://www.polyxmass.org/polyxmass-bin/downloads/0.9.7/polyxmass-bin-0.9.7.tar.gz
 Source1:        polyxmass.desktop
+Patch0:         polyxmass-bin-gtk-tooltip.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libpolyxmass-devel >= 0.9.0
@@ -35,6 +37,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure --disable-rpath --disable-static --without-included-gettext
@@ -70,6 +73,10 @@
 %exclude %{_datadir}/doc/polyxmass-bin
 
 %changelog
+* Fri Oct 26 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 0.9.7-2
+- migrate to new tooltips
+
 * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 - 0.9.7-1
 - version upgrade




More information about the fedora-extras-commits mailing list