rpms/eel2/devel eel-2.24.0-fade.patch, 1.2, 1.3 eel2.spec, 1.105, 1.106

Ray Strode rstrode at fedoraproject.org
Wed Oct 22 19:46:26 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/eel2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4109

Modified Files:
	eel-2.24.0-fade.patch eel2.spec 
Log Message:
- Don't try to fade because of screen size changes.  It
  wouldn't look right if it did work, and it doesn't work
  anyway.


eel-2.24.0-fade.patch:

Index: eel-2.24.0-fade.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eel2/devel/eel-2.24.0-fade.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- eel-2.24.0-fade.patch	15 Oct 2008 15:48:02 -0000	1.2
+++ eel-2.24.0-fade.patch	22 Oct 2008 19:45:55 -0000	1.3
@@ -1,6 +1,6 @@
-diff -upb eel-2.24.0/eel/eel-background.c.fade eel-2.24.0/eel/eel-background.c
---- eel-2.24.0/eel/eel-background.c.fade	2008-09-08 17:26:14.000000000 -0400
-+++ eel-2.24.0/eel/eel-background.c	2008-10-15 11:19:31.000000000 -0400
+diff -up eel-2.24.1/eel/eel-background.c.fade eel-2.24.1/eel/eel-background.c
+--- eel-2.24.1/eel/eel-background.c.fade	2008-10-06 13:20:45.000000000 -0400
++++ eel-2.24.1/eel/eel-background.c	2008-10-22 15:44:09.000000000 -0400
 @@ -43,6 +43,9 @@
  #include <stdio.h>
  #define GNOME_DESKTOP_USE_UNSTABLE_API
@@ -19,7 +19,7 @@
  	int background_entire_width;
  	int background_entire_height;
  	GdkColor default_color;
-@@ -189,6 +194,12 @@ eel_background_finalize (GObject *object
+@@ -189,6 +193,12 @@ eel_background_finalize (GObject *object
  		background->details->background_pixmap = NULL;
  	}
  
@@ -32,7 +32,7 @@
  	g_free (background->details);
  
  	EEL_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
-@@ -611,25 +622,66 @@ eel_background_reset (EelBackground *bac
+@@ -611,25 +621,66 @@ eel_background_reset (EelBackground *bac
  }
  
  static void
@@ -105,7 +105,7 @@
  	pixmap = eel_background_get_pixmap_and_color (background,
  						      widget->window,
  						      &color, 
-@@ -645,30 +697,26 @@ eel_background_set_up_widget (EelBackgro
+@@ -645,30 +696,26 @@ eel_background_set_up_widget (EelBackgro
  		window = widget->window;
  	}
  
@@ -146,7 +146,7 @@
  	}
  	
  	if (pixmap) {
-@@ -677,8 +725,32 @@ eel_background_set_up_widget (EelBackgro
+@@ -677,8 +724,32 @@ eel_background_set_up_widget (EelBackgro
  }
  
  static void
@@ -179,7 +179,14 @@
  	eel_background_unrealize (background);
  	eel_background_set_up_widget (background, widget);
  
-@@ -704,7 +776,6 @@ screen_size_changed (GdkScreen *screen, 
+@@ -701,10 +772,13 @@ widget_style_set_cb (GtkWidget *widget, 
+ static void
+ screen_size_changed (GdkScreen *screen, EelBackground *background)
+ {
++	if (background->details->fade != NULL) {
++		g_object_unref (background->details->fade);
++		background->details->fade = NULL;
++	}
  	g_signal_emit (background, signals[APPEARANCE_CHANGED], 0);
  }
  
@@ -187,7 +194,7 @@
  static void
  widget_realized_setup (GtkWidget *widget, gpointer data)
  {
-@@ -715,6 +786,8 @@ widget_realized_setup (GtkWidget *widget
+@@ -715,6 +789,8 @@ widget_realized_setup (GtkWidget *widget
          if (background->details->is_desktop) {
  		GdkWindow *root_window;	
  		GdkScreen *screen;
@@ -196,7 +203,7 @@
  		
  		screen = gtk_widget_get_screen (widget);
  
-@@ -734,6 +807,18 @@ widget_realized_setup (GtkWidget *widget
+@@ -734,6 +810,18 @@ widget_realized_setup (GtkWidget *widget
  		} else {
  			background->details->use_common_pixmap = FALSE;
  		}


Index: eel2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eel2/devel/eel2.spec,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- eel2.spec	20 Oct 2008 12:33:54 -0000	1.105
+++ eel2.spec	22 Oct 2008 19:45:55 -0000	1.106
@@ -18,7 +18,7 @@
 Name:        eel2
 Summary:     Eazel Extensions Library
 Version:     2.24.1
-Release:     1%{?dist}
+Release:     2%{?dist}
 License:     LGPLv2+
 Group:       System Environment/Libraries
 Source:      http://download.gnome.org/sources/eel/2.24/eel-%{version}.tar.bz2
@@ -115,6 +115,11 @@
 %{_includedir}/eel-2
 
 %changelog
+* Wed Oct 22 2008 Ray Strode <rstrode at redhat.com> - 2.24.1-2
+- Don't try to fade because of screen size changes.  It
+  wouldn't look right if it did work, and it doesn't work
+  anyway.
+
 * Mon Oct 20 2008 Tomas Bzatek <tbzatek at redhat.com> - 2.24.1-1
 - Update to 2.24.1
 




More information about the scm-commits mailing list